This repository has been archived by the owner on Oct 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathkatello-configure.spec
795 lines (720 loc) · 38.4 KB
/
katello-configure.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
# vim: sw=4:ts=4:et
#
# Copyright 2013 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implied warranties of MERCHANTABILITY,
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
# have received a copy of GPLv2 along with this software; if not, see
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
%global homedir %{_datarootdir}/katello/install
%if "%{?scl}" == "ruby193"
%global scl_prefix %{scl}-
%global scl_ruby /usr/bin/ruby193-ruby
%global scl_puppet /usr/bin/ruby193-puppet
%else
%global scl_ruby /usr/bin/ruby
%global scl_puppet /usr/bin/puppet
%endif
Name: katello-configure
Version: 1.5.1
Release: 1%{?dist}
Summary: Configuration tool for Katello
Group: Applications/Internet
License: GPLv2
URL: http://www.katello.org
Source0: https://fedorahosted.org/releases/k/a/katello/%{name}-%{version}.tar.gz
Requires: %{?scl_prefix}puppet >= 2.6.6
Requires: coreutils
Requires: wget
Requires: katello-certs-tools
Requires: nss-tools
Requires: openssl
Requires: policycoreutils-python
Requires: initscripts
Requires: libselinux-ruby
Requires: %{?scl_prefix}rubygem(rake)
Requires: %{?scl_prefix}rubygem(ruby-progressbar)
%if 0%{?fedora} > 18
BuildRequires: %{?scl_prefix}ruby(release)
%else
BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1
%endif
BuildRequires: /usr/bin/pod2man
BuildRequires: findutils %{?scl_prefix}puppet >= 2.6.6
BuildRequires: sed
BuildArch: noarch
%description
Provides katello-configure script which configures Katello installation and
katello-upgrade which handles upgrades between versions.
%package foreman
BuildArch: noarch
Summary: install and configure Foreman on the same machine
Requires: foreman
Requires: foreman-postgresql
Requires: %{?scl_prefix}rubygem(foreman-katello-engine)
Requires: %{?scl_prefix}rubygem(katello-foreman-engine)
%description foreman
Install and configure Foreman on the same machine. With this subpackage installed,
running katello-configure will configure the Foreman as well.
%package foreman-proxy
BuildArch: noarch
Summary: install and configure Foreman smart proxy
# We use the puppet modules provided by the comunity
Requires: %{name}
Requires: foreman-installer
Requires: foreman-proxy tftp-server dhcp bind
Obsoletes: foreman-proxy-installer < 1.0.2
Provides: foreman-proxy-installer = 1.0.2
%description foreman-proxy
Install and configure Foreman smart proxy. With this subpackage installed,
new script called foreman-proxy-installer will be available. It's possible
to use just this package to install the proxy on different system than katello
or foreman itself.
%prep
%setup -q
%build
%if ! 0%{?fastbuild:1}
#check syntax of main configure script and libs
%{scl_ruby} -c bin/* lib/puppet/parser/functions/*rb
#check syntax for all puppet scripts
# Puppet Bug #16006 (puppet 2.7 not working without a hostname)
find -name '*.pp' | FACTER_hostname=builder xargs -t %{scl_puppet} parser validate
#check for puppet erb syntax errors
%if %{?scl:1}%{!?scl:0}
find modules/ -name \*erb | xargs aux/scl_check_erb
%else
find modules/ -name \*erb | xargs aux/check_erb
%endif
%endif
# README is development (git) only
rm -f upgrade-scripts/README
#replace shebangs for SCL
%if %{?scl:1}%{!?scl:0}
sed -ri '1,$s|/usr/bin/ruby|/usr/bin/ruby193-ruby|' upgrade-scripts/* bin/* lib/util/*
sed -ri '1,$s|/usr/bin/rake|/usr/bin/ruby193-rake|' upgrade-scripts/*
sed -ri '1,$s|puppet apply|/usr/bin/ruby193-puppet apply|' bin/katello-configure
%endif
#build katello-configure man page
THE_VERSION=%version perl -000 -ne 'if ($X) { s/^THE_VERSION/$ENV{THE_VERSION}/; s/\s+CLI_OPTIONS/$C/; s/^CLI_OPTIONS_LONG/$X/; print; next } ($t, $l, $v, $d) = /^#\s*(.+?\n)(.+\n)?(\S+)\s*=\s*(.*?)\n+$/s; $l =~ s/^#\s*//gm; $l = $t if not $l; ($o = $v) =~ s/_/-/g; $x .= qq/=item --$o=<\U$v\E>\n\n$l\nThe default value is "$d".\n\n/; $C .= "\n [ --$o=<\U$v\E> ]"; $X = $x if eof' default-answer-file man/katello-configure.pod \
| /usr/bin/pod2man --name=%{name} -c "Katello Reference" --section=1 --release=%{version} - man/katello-configure.man1
#build katello-upgrade man page
sed -e 's/THE_VERSION/%version/g' man/katello-upgrade.pod | /usr/bin/pod2man --name=katello-upgrade -c "Katello Reference" --section=1 --release=%{version} - man/katello-upgrade.man1
#build katello-passwd man page
sed -i "s/THE_VERSION/%version/g" man/katello-passwd.pod bin/katello-passwd
/usr/bin/pod2man --name=%{name} -c "Katello Reference" --section=1 --release=%{version} man/katello-passwd.pod man/katello-passwd.man1
#build katello-configure-answer man page
sed -i "s/THE_VERSION/%version/g" man/katello-configure-answer.pod bin/katello-configure-answer
/usr/bin/pod2man --name=%{name} -c "Katello Reference" --section=1 --release=%{version} man/katello-configure-answer.pod man/katello-configure-answer.man1
%install
#prepare dir structure
install -d -m 0755 %{buildroot}%{_sbindir}
install -m 0755 bin/katello-configure %{buildroot}%{_sbindir}
install -m 0755 bin/katello-upgrade %{buildroot}%{_sbindir}
install -m 0755 bin/katello-passwd %{buildroot}%{_sbindir}
install -m 0755 bin/katello-configure-answer %{buildroot}%{_sbindir}
install -m 0755 bin/foreman-proxy-configure %{buildroot}%{_sbindir}
install -d -m 0755 %{buildroot}%{homedir}
install -d -m 0755 %{buildroot}%{homedir}/puppet/modules
cp -Rp modules/* %{buildroot}%{homedir}/puppet/modules
install -d -m 0755 %{buildroot}%{homedir}/puppet/lib
cp -Rp lib/* %{buildroot}%{homedir}/puppet/lib
cp -Rp foreman-proxy %{buildroot}%{homedir}
install -m 0644 default-answer-file %{buildroot}%{homedir}
install -m 0644 options-format-file %{buildroot}%{homedir}
install -d -m 0755 %{buildroot}%{_mandir}/man1
install -m 0644 man/katello-configure.man1 %{buildroot}%{_mandir}/man1/katello-configure.1
install -m 0644 man/katello-upgrade.man1 %{buildroot}%{_mandir}/man1/katello-upgrade.1
install -m 0644 man/katello-passwd.man1 %{buildroot}%{_mandir}/man1/katello-passwd.1
install -m 0644 man/katello-configure-answer.man1 %{buildroot}%{_mandir}/man1/katello-configure-answer.1
install -d -m 0755 %{buildroot}%{homedir}/upgrade-scripts
cp -Rp upgrade-scripts/* %{buildroot}%{homedir}/upgrade-scripts
chmod +x -R %{buildroot}%{homedir}/upgrade-scripts/*
%files
%{homedir}/
%{_sbindir}/katello-configure
%{_sbindir}/katello-upgrade
%{_sbindir}/katello-passwd
%{_sbindir}/katello-configure-answer
%{_mandir}/man1/katello-configure.1*
%{_mandir}/man1/katello-upgrade.1*
%{_mandir}/man1/katello-passwd.1*
%{_mandir}/man1/katello-configure-answer.1*
%exclude %{homedir}/puppet/modules/foreman
%exclude %{homedir}/foreman-proxy
%files foreman
%{homedir}/puppet/modules/foreman
%files foreman-proxy
%{_sbindir}/foreman-proxy-configure
%{homedir}/foreman-proxy
%changelog
* Fri Oct 11 2013 Partha Aji <[email protected]> 1.5.1-1
- Bumping package versions for 1.5 ([email protected])
* Fri Oct 11 2013 Partha Aji <[email protected]> 1.4.8-1
- Merge pull request #55 from daviddavis/temp/20131010125310
- Merge pull request #52 from ehelms/bug-902437 ([email protected])
- 1017449: Update the pulp config ([email protected])
- Merge pull request #54 from daviddavis/956650 ([email protected])
- 956650: Escaping pulp login ([email protected])
- Fix race condition ([email protected])
- Bug 902437: Adding comment pointing users to the proper location to make
configuration changes. The default answer file also contains comments to help
guide users in generating the proper configuration option structure.
- Fix symlink to candlepin cert ([email protected])
* Fri Sep 27 2013 Partha Aji <[email protected]> 1.4.7-1
- Script to start foreman only if available ([email protected])
- Autobuild f19 packages ([email protected])
- 1010404: Earlier fix introduced string replacement issue
* Fri Sep 20 2013 Partha Aji <[email protected]> 1.4.6-1
- Fixed qpidd config templates issue for RHEL 6 ([email protected])
- Configure foreman to be able to authenticate against nodes
- Set headers for foreman client authentication ([email protected])
- Updated installer to work with tomcat & httpd in f19 ([email protected])
- Make sure the ca cert is not already installed ([email protected])
- Install candlepin CA ([email protected])
* Fri Aug 30 2013 Partha Aji <[email protected]> 1.4.5-1
- Updated ruby abi to get it work for f19 ([email protected])
- Updated tito props to include f19 ([email protected])
- Merge pull request #41 from Katello/bkearney/1000147
- 1000147: Set the url prefix in the subscription manager install script
- Merge pull request #39 from thomasmckay/998631-task-statuses
- 998631-task-statuses - clear task statuses references before deleting
- 998717-no-signo - headpin mode skips signo ([email protected])
- 994326 - fully specify the path of the commands ([email protected])
- 994326 - remove path stanza that hozes SCL's pathing ([email protected])
* Wed Jul 31 2013 Bryan Kearney <[email protected]> 1.4.4-1
- 976556 - Enforce Signo URL in foreman ([email protected])
- 975925-deployment - use correct var in candlepin.conf
- Extract foreman-proxy-configure script from Katello's foreman-install repo
- Merge pull request #33 from komidore64/validate_ldap ([email protected])
- 973630 - redirect to https only if the path begins with '/katello'
- 966204 - validate_ldap flag not created in katello.yml leading to ldap
validation failures ([email protected])
- 958177-headpin-urls - moved weburl and apiurl outside to they are set in both
headpin and katello ([email protected])
- 972230 - decreasing pulp concurrency count ([email protected])
- 970264: Use the deployment_url parameter to configure where signo should
authenticate users ([email protected])
- order of substituion matter ([email protected])
- Merge pull request #27 from ares/bug/966256_ldap_fluff_upgrade
- 958177-fix - corrected variable ([email protected])
- There must be end of line ([email protected])
- 966256 - Fixes for new ldap_fluff API ([email protected])
- Merge pull request #25 from ares/feature/signo_branding ([email protected])
- Configure Signo app mode ([email protected])
- 958177-cpurl - set candlepin.conf web and api url ([email protected])
- Set HOME=${foreman::app_root} for foreman Rails actions ([email protected])
- scl_root - add parameter and use in puppet template ([email protected])
- Add home environment. ([email protected])
- Merge pull request #19 from mccun934/scl-enable ([email protected])
- feedback from msuchy during PR - more files to SCL ([email protected])
- extra else needed removal ([email protected])
- no need for older puppet support ([email protected])
- switch to puppet 3 syntax and fix variable name for scl_puppet
- remove mistaken commit that hard coded SCL path ([email protected])
- more SCL support for katello-configure exec and using wrapper
- scl the call to ruby in the build step ([email protected])
- forgot build requires ... ([email protected])
- SCL puppet requirement ([email protected])
- make katello-configure SCL compliant ([email protected])
- issue 2287 - fixing user pass install not working ([email protected])
- Merge pull request #17 from ehelms/cfse-removal ([email protected])
- Merge pull request #16 from ares/bug/961395_ldap_support ([email protected])
- Technical Debt - Removing 'cfse' references. ([email protected])
- Merge pull request #14 from xsuchy/pull-req-scl-rake ([email protected])
- Allows LDAP configuration also in Signo ([email protected])
- Restart Signo after configuration change ([email protected])
- we do not need plain rake on non SCL, but we need SCL version
- 961162 - fix foreman_db_migrate_done location ([email protected])
- Revert "Revert "Fix missing square bracket"" ([email protected])
- Revert "Fix missing square bracket" ([email protected])
- Fix missing square bracket ([email protected])
- Use fqdn in foreman_url settings ([email protected])
- Merge pull request #3 from witlessbird/candlepin-cert-consumer
- Correct Katello url for Headpin mode as well ([email protected])
- replaced exec-based link creation with the 'puppet-way'
- BZ #956256 and #956261: added a link to candlepin-cert-consumer package that
omits fqdn of the server and the version from the file name.
* Tue May 07 2013 Mike McCune <[email protected]> 1.4.3-1
- Add katello-foreman integration part ([email protected])
- Run token generating under root ([email protected])
- Allow http for foreman in case of unattended installation ([email protected])
- Run foreman tasks under foreman user ([email protected])
- workaround that "tito tag" does not create correct path in metadata file if
package is in git-root ([email protected])
- another workaround that "tito tag" does not create correct path in metadata
file if package is in git-root ([email protected])
- copy nightly scripts from katello.git ([email protected])
- Install Signo by katello-configure ([email protected])
- Katello configure support for Signo ([email protected])
* Sat Apr 27 2013 Mike McCune <[email protected]> 1.4.2-1
- adding rel-eng dir for new location ([email protected])
- Adding License to new repository. ([email protected])
- fixing issue where scl was used even in fedora ([email protected])
- treat CentOS like RHEL, otherwise the install fails ([email protected])
- fixing path to rails script ([email protected])
- using our rails script for upgrade runners ([email protected])
- moving to /usr/share/katello/ before each upgrade script
- reordering upgrade scritps and converting ruby scripts to runner
- adding support for runner scripts for katello upgrade ([email protected])
- deleting all existing task statuses as part of 1.3 upgrade
- 1861 - don't use waitretry as it backs off and causes multi-minute waits
* Fri Apr 12 2013 Justin Sherrill <[email protected]> 1.4.1-1
- version bump to 1.4 ([email protected])
* Fri Apr 12 2013 Justin Sherrill <[email protected]> 1.3.7-1
- Remove Foreman specific code - update scripts ([email protected])
- Make installation of Foreman optional ([email protected])
- katello-configure - fix headpin mode ([email protected])
- run rake tasks from upgrade script in SC environment ([email protected])
- katello-configure - fix running foreman-config for scl ([email protected])
- katello-configure - scl prefix for working with software collections
- use pulp settings for default virtualhost ([email protected])
- 948754 - downcase the value for pulp url ([email protected])
- katello-configure - install and set up foreman-katello-engine
- Use service-wait for elasticsearch in katello-configure ([email protected])
- remove old changelog entries ([email protected])
- Katello Configure - Updates Pulp and Katello Apache configuration templates
to include Fedora 18 configuration. ([email protected])
- 889488 - foreman reconfigure speedup ([email protected])
- katello-configure - Include param name into wrong param error message
- Use spaces instead of tabs in katello-configure scripts ([email protected])
- Katello-Configure - Changes the SSLRenegBufferSize for the Pulp Apache
configuration to 1MB to reflect the change that Pulp made as part of bug
908082. ([email protected])
- 912442 - correcting failed installer for candlepin-ca cert
- 912442-candlepin-cert - do not overwrite candlepin-upstream-ca.crt
- Fixed issue with connecting to pulp db ([email protected])
- rename katello-defaults.yml to katello_defaults.yml ([email protected])
- Added support for old versions of rhsm ([email protected])
- 866493 - frequent SSL renegotiations and log level ([email protected])
- 883037 - require explicit user password in katello-configure
- add default values to configuration ([email protected])
- one last try at fixing CI build ([email protected])
- changing mongo status to check port access ([email protected])
- removing copyright notice from template ([email protected])
- add embed_yard_documentation option to katello-configure tamplate
- Added support for systems with older version of rhsm ([email protected])
- configure subscription manager using the config command instead of sed
* Wed Jan 30 2013 Justin Sherrill <[email protected]> 1.3.6-1
- removing pulpv2 prefix from pulpv2 branch ([email protected])
* Tue Jan 29 2013 Justin Sherrill <[email protected]> 1.3.5.pulpv2-1
- fixing sync hanging in pulpv2 ([email protected])
* Sun Jan 27 2013 Justin Sherrill <[email protected]> 1.3.4.pulpv2-1
- changing pulp configure to use ssl for qpid ([email protected])
* Fri Jan 25 2013 Justin Sherrill <[email protected]> 1.3.3.pulpv2-1
- fixing pulpv2 version in spec ([email protected])
- fixing commented line in server.conf ([email protected])
- 877387 - Candlepin CA certificate mode in RPM ([email protected])
- Automatic commit of package [katello-configure] release [1.3.3-1].
- emails - add default From to login/password emails ([email protected])
- adding thumbslug to headpin's ping function and tests, etc
- 890000 - enabling certv3 in candlepin conf ([email protected])
- run security:generate_token only if token does not exist ([email protected])
- generate token for foreman ([email protected])
- Automatic commit of package [katello-configure] release [1.3.2-1].
- do not continue if something fails ([email protected])
- add service-wait to path ([email protected])
- enable logging of all output ([email protected])
- tee could not be used, because it is executed under postgres which does not
have acl for /var/log/foo ([email protected])
- 889488 - change selinux identity to system_u ([email protected])
- 889488 - run createdb only if needed ([email protected])
- 889488 - run create user only if it is needed ([email protected])
- fix typo ([email protected])
- 885261 - katello-configure now always loads answer file ([email protected])
- move loop over puppet output to shared function ([email protected])
- remove dead code ([email protected])
- remove dead code ([email protected])
- add upgrade script to upgrade old configuration to a new one
- fix 'nil' bug in katello-configure when running with --no-bars option
- add --katello-configuration-files-only option to katello-configure
- if nobars is set then progress_bar is not defined ([email protected])
- 865860: Change the default org and orgunit values for the candlepin cert
- logging - orchestration logger and uuid request tracking
- 885261 - org deletion should remove rh provider ([email protected])
- 758813: Disable basic and trusted auth in the candlepin engine since it is
not required. ([email protected])
- fix packaging and katello-configure ([email protected])
* Tue Jan 15 2013 Justin Sherrill <[email protected]> 1.3.3-1
- emails - add default From to login/password emails ([email protected])
- 890000 - enabling certv3 in candlepin conf ([email protected])
- run security:generate_token only if token does not exist ([email protected])
- generate token for foreman ([email protected])
- do not continue if something fails ([email protected])
- add service-wait to path ([email protected])
- enable logging of all output ([email protected])
- tee could not be used, because it is executed under postgres which does not
have acl for /var/log/foo ([email protected])
- 889488 - change selinux identity to system_u ([email protected])
- 889488 - run createdb only if needed ([email protected])
- 889488 - run create user only if it is needed ([email protected])
* Tue Jan 08 2013 Lukas Zapletal <[email protected]> 1.3.2-1
- fix typo
- Merge pull request #1271 from lzap/orch-logging
- Merge pull request #1259 from lzap/org-delete-885261
- 885261 - katello-configure now always loads answer file
- move loop over puppet output to shared function
- remove dead code
- Merge pull request #1314 from xsuchy/pull-req-pg24
- add upgrade script to upgrade old configuration to a new one
- fix 'nil' bug in katello-configure when running with --no-bars option
- add --katello-configuration-files-only option to katello-configure
- Merge pull request #1297 from Katello/bkearney/865860
- Merge pull request #1256 from bkearney/bkearney/758813
- if nobars is set then progress_bar is not defined
- 865860: Change the default org and orgunit values for the candlepin cert
- if foreman is stopped, status returns 3 - in such case return 0 to make
puppet happy
- logging - orchestration logger and uuid request tracking
- 885261 - org deletion should remove rh provider
- 758813: Disable basic and trusted auth in the candlepin engine since it is
not required.
- fix packaging and katello-configure
* Tue Dec 18 2012 Miroslav Suchý <[email protected]> 1.3.1-1
- stop foreman only if it is running ([email protected])
- when finishing, reset title of progress bar back to original state
- make parse_answer_option function ([email protected])
- move creation of temp config file to shared functions ([email protected])
- move creation of answer file to shared functions ([email protected])
- move show_resulting_answer_file to shared functions ([email protected])
- move code parsing answer_file to shared functions ([email protected])
- move check for root uid to shared functions ([email protected])
- move remove_option() to shared functions ([email protected])
- simplify progress bar ([email protected])
- Bumping package versions for 1.3. ([email protected])
* Thu Dec 06 2012 Eric D Helms <[email protected]> 1.2.1-1
- katello-configure - setting foreman default values to make provisioning
possible ([email protected])
- katello-configure - make Foreman accessible through http ([email protected])
- bundler.d - applying changes for the spec ([email protected])
- katello-configure - stop foreman before dropping the database
- katello-configure-answer review fix ([email protected])
- conf-answer - finishing kconf refactoring ([email protected])
- 882167 - katello-upgrade fails to call cpdb ([email protected])
- conf-answer - introducing katello-configure-answer ([email protected])
- conf-answer - refactoring PREFIX variable ([email protected])
- conf-answer - reafactoring check_options_against_default
- move check_hostname() to functions.rb ([email protected])
- move _request_option_interactively() to functions.rb ([email protected])
- move _read_password() to functions.rb ([email protected])
- move _is_option_true() to functions.rb ([email protected])
- move _get_valid_option_value() to functions.rb ([email protected])
- move read_options_format() to functions.rb ([email protected])
- move ERROR_CODES and exit_with() to functions.rb ([email protected])
- move read_answer_file() to functions.rb ([email protected])
- foreman 404 error configure fix - missing dep ([email protected])
- bundler_ext - development mode support
- bundler_ext - missing colon in configure ([email protected])
- bundler_ext - no need to run bundler during configure steps
- katello-configure - make sure Foreman is accessible through https only
- bundler_ext - no need to run bundler during configure ([email protected])
- katello-configure - fix default values for term size ([email protected])
- katello-configure - make exec defaults more suitable for us
- Adding client-ca.pem to /etc/thumbslug for thumbslug .27 ([email protected])
- katello-upgrade - fix in katello-configure first installation
- katello-upgrade - tomcat start fix ([email protected])
- katello-upgrade - review changes ([email protected])
- katello-upgrade redesign ([email protected])
- Added default value for Foreman admin's email ([email protected])
- 874160 - adding ES reindex after we migrate during upgrade
- katello-configure - support reset data for the foreman ([email protected])
- candlepin-cert-consumer.rpm should require subscription-manager
- 872096 - restart services and remove upgrade -y option ([email protected])
- 872493 - Katello-configure --reset-data incorrectly sets mongod up
- enabling foreman authentication by default ([email protected])
- adding missing require for foreman service ([email protected])
- puppet race condition in foreman ([email protected])
- katello-configure - always chomp generated password ([email protected])
- 872096 - add katello-configure into katello-upgrade ([email protected])
- adding OpenJDK check into katello-configure ([email protected])
- wrapping headpin only gems to the if statement ([email protected])
- moving .bundle/config out of RPM to configure ([email protected])
- 868916 - make sure we create this directory in the spec ([email protected])
- 868916 - wait for elasticsearch and start httpd during upgrade
- precreating log file for foreman with correct perms - dep
- precreating log file for foreman with correct perms ([email protected])
- replacing constant with variable in puppet ([email protected])
- changing user under foreman-config is run ([email protected])
- headpin-foreman - fence foreman code when not configuring katello
- 868916 - katello-upgrade bash array fix ([email protected])
- 865811 - use the concurrency level calculation suggested in BZ
- katello-configure - enclose the values in hyphens ([email protected])
- 865811 - set concurrency threshold for pulp ([email protected])
- raise errors on Foreman Katello DB inconsistency ([email protected])
- katello-configure - fix headpin installation ([email protected])
- do not call pulp service script, call qpidd and mongodb directly
- Bumping package versions for 1.1. ([email protected])
- katello-configure - set oauth params when installing the server
- move missing foreman user creation out of migration to upgrade script
- do not print SQL query on output as it will confuse grep ([email protected])
- use md5 for connection to postgres instead of ident ([email protected])
- pass password to candlepin cpdb ([email protected])
- call /usr/share/candlepin/cpdb as postgres user ([email protected])
- removing sqlexec.pp ([email protected])
- when connecting to postgres DB you have to be postgres user
- Revert "802346 - wait for postgres to come up in puppet" ([email protected])
- 850569 - use ident method in pg_hba.conf ([email protected])
* Fri Oct 12 2012 Lukas Zapletal <[email protected]> 1.1.11-1
- 862441 - correcting error message for upgrade
- puppet - fixing web workers issue
- 860709 - pulp-migrate was not executed during upgrade
- Merge pull request #701 from mbacovsky/858283_workers
- Added --katello-web-workers and --foreman-web-worker params to installer
* Thu Sep 27 2012 Miroslav Suchý <[email protected]> 1.1.10-1
- 858360 - Making katello-upgrade START services after upgrade is complete
- 859407 - puppet timeout set to 0 for some steps ([email protected])
- Rakefile could not be in -devel package as katello-configure call db:migrate
and seed_with_logging rake tasks ([email protected])
- 858277 - tomcat6 service dependency ([email protected])
- 857913 - katello-upgrade system call improvement ([email protected])
- 858038 - optimizing memory division ([email protected])
- 858038 - thin process calculator fix ([email protected])
- 858013 - katello job workers configure option ([email protected])
- 857913 - katello-upgrade auto-stop now working ([email protected])
- 856220 - tomcat6 now requires keystore symlink ([email protected])
- 856220 - refactoring katello_keystore variable ([email protected])
- removing example upgrade scripts ([email protected])
- 856220 - mongodb now configured with journal ([email protected])
* Wed Sep 12 2012 Miroslav Suchý <[email protected]> 1.1.9-1
- 856220 - adding time to puppet log ([email protected])
- Removing extra configure code for headpin bin; adding provides to cli script
for headpin ([email protected])
- Fencing headpin CLI into katello cli. CLI will now load appropriate functions
based on client.conf configuration. Katello cli now ships with headpin
symlink ([email protected])
- it is better to use "service" as it runs in predictable environment
- 819593 - RHSM now use /subscription as ultimate location ([email protected])
* Thu Sep 06 2012 Ivan Necas <[email protected]> 1.1.8-1
- fastbuild - adding macro for all spec files ([email protected])
- foreman-configure - fix ordering issue in puppet module ([email protected])
* Fri Aug 31 2012 Miroslav Suchý <[email protected]> 1.1.7-1
- rename puppet/ to katello-configure/ ([email protected])
* Wed Aug 29 2012 Ivan Necas <[email protected]> 1.1.6-1
- 849224 - thin now listens only on localhost ([email protected])
* Thu Aug 23 2012 Mike McCune <[email protected]> 1.1.5-1
- katello-configure - install and config Foreman with Katello
- configure - workaround for puppet bug 16006 ([email protected])
* Thu Aug 16 2012 Lukas Zapletal <[email protected]> 1.1.4-1
- 828369 - katello.conf owned by katello:katello
* Sat Aug 11 2012 Miroslav Suchý <[email protected]> 1.1.3-1
- remove ssh pub keys ([email protected])
- puppet - make sure we deploy previous certificate before generating new one
- 820624 - make pgsql to listen only on localhost ([email protected])
* Sat Aug 04 2012 Miroslav Suchý <[email protected]> 1.1.2-1
- 845224 - fix adding broker cert to nssdb ([email protected])
* Thu Aug 02 2012 Miroslav Suchý <[email protected]> 1.1.1-1
- rb19 - fixing typo in requires ([email protected])
- buildroot and %%clean section is not needed ([email protected])
- rb19 - correcting requires for fedora guidelines ([email protected])
- rb19 - adding missing require ([email protected])
- rb19 - fixing collate ([email protected])
- rb19 - adding puppet bundler check ([email protected])
- rb19 - one more UTF8 fix ([email protected])
- rb19 - setting collate ([email protected])
- rb19 - invalid char ([email protected])
- rb19 - warning msg ([email protected])
- rb19 - adding check ([email protected])
- rb19 - extra comma ([email protected])
- Bumping package versions for 1.1. ([email protected])
* Tue Jul 31 2012 Miroslav Suchý <[email protected]> 1.0.1-1
- bump up version to 1.0 ([email protected])
* Tue Jul 31 2012 Miroslav Suchý <[email protected]> 0.2.39-1
- update copyright years ([email protected])
* Mon Jul 30 2012 Miroslav Suchý <[email protected]> 0.2.38-1
- Fix Ruby 1.9.3 compatibility issue in Puppet manifest ([email protected])
* Mon Jul 30 2012 Miroslav Suchý <[email protected]> 0.2.37-1
- puppet - nss generation ordering issue ([email protected])
- puppet - pulp migrate must run before apache2 ensure ([email protected])
* Mon Jul 30 2012 Miroslav Suchý <[email protected]> 0.2.36-1
- puppet - fixing pulp migrate race condition (typo) ([email protected])
- puppet - fixing pulp migrate race condition ([email protected])
* Mon Jul 30 2012 Miroslav Suchý <[email protected]> 0.2.35-1
- puppet - adding more logging to cert creation ([email protected])
- point Source0 to fedorahosted.org where tar.gz are stored ([email protected])
* Fri Jul 27 2012 Lukas Zapletal <[email protected]> 0.2.34-1
- puppet - better help strings for reset options
- puppet - when installer fails print info about katello-debug
- puppet - adding mongod to the service-wait script
- puppet - apache2/pulp reloading was not working with systemd
- puppet - reset tasks must not return non-zero
- puppet - adding service-wait wrapper script
- 840595 - katello-configure --help optparse.rb error fix
- puppet - remove color codes from puppet log file
- puppet - upgrade scripts are marked only during first installation
- puppet - tomcat6 had problems with restarts in headpin mode
- puppet - reuse secret token also for headpin deployment
- puppet - wrap long lines for optparse
- puppet - introducing temp answer file for dangerous options
- puppet - adding k-c options -d and -b
- puppet - implementing reset_data and reset_cache options
- puppet - split add-private-key-to-nss-db into two actions
- puppet - adding logging to cpinit phase
- puppet - create katello-configure subdir for logs
- puppet - do not restart httpd everytime
- puppet - use refreshonly for cert generation
- puppet - do not rewrite pulp user pass everytime
- puppet - remove generated string from all config headers
- puppet - get rid of cpsetup and use dpdb directly
- puppet - notify services when changing config files
- puppet - do not regenerate oauth_secret every puppet run
- puppet - use keystore_password_file for tomcat too
- puppet - allowing users to set pgsql superuser password
- puppet - cleaning up default answers file
- puppet - not changing seeds.rb anymore with puppet
- puppet - moving config_value function to rails context
- puppet - adding warning comment to all configuration files
- puppet - do not regenerate tomcat password everytime
- puppet - adding elastic search parameters
- puppet - removing log dir mangling
- puppet - removing warning message
- installer review - reformatting
- installer review - adding missing log_base require
- installer review - reformatting
- installer review - introducing cpsetup_done file
- installer review - reformatting
* Fri Jul 27 2012 Miroslav Suchý <[email protected]> 0.2.33-1
- Making auto-stop services optional ([email protected])
- Making the script call katello-system instead of individual system calls
thanks to msuchys update ([email protected])
- 820280 : print output from service $ stop ([email protected])
- 820280 : katello-upgrad should also stop httpd & elasticsearch. Using confirm
method for input ([email protected])
- 820280 - katello-upgrade should stop the services it requires to be stopped
* Thu Jul 26 2012 Miroslav Suchý <[email protected]> 0.2.32-1
- Making katello db migration upgrade script start backend services
- moving katello db migration to after pulp & candlepins ([email protected])
* Mon Jul 23 2012 Lukas Zapletal <[email protected]> 0.2.31-1
- %%defattr is not needed since rpm 4.4
* Mon Jul 16 2012 Lukas Zapletal <[email protected]> 0.2.30-1
- ldap provided by ldap_fluff. Adds support for FreeIPA & Active Directory
- fixes an incompatibility with newer puppet versions
* Mon Jul 02 2012 Lukas Zapletal <[email protected]> 0.2.29-1
- 834697 - explicitly disable qpid authentication
* Wed Jun 27 2012 Lukas Zapletal <[email protected]> 0.2.28-1
- 835152 - logs in advanced during installation fix
- fix indention
- 835152 - creating logs in advanced during installation
- pubkeys - editing README with more details
- pugkeys - adding pubkey list and Makefile
- instead of hard setting stty, restore previous value
- Fix indentation.
- 828533 - changing to proper QPIDD SSL port
- Change puppet config to generate encrypted db pass
* Mon Jun 25 2012 Lukas Zapletal <[email protected]> 0.2.27-1
- BZ 825262: support for moving systems between environments from CLI
* Mon Jun 18 2012 Lukas Zapletal <[email protected]> 0.2.26-1
- katello-upgrade is looking only for scripts marked as executable
- 824362 - puppet preallocates journal on F16+
* Thu May 24 2012 Lukas Zapletal <[email protected]> 0.2.25-1
- 821532 - Removing extraneous hornetq files to fix candlepin upgrades
- 824362 - workaround for mongodb/systemd Fedora bug
- Adding users to katello group the puppet way
* Mon May 21 2012 Lukas Zapletal <[email protected]> 0.2.24-1
- Add exit_with to reconfigure attempt.
* Fri May 18 2012 Lukas Zapletal <[email protected]> 0.2.23-1
- removing mod_authz_ldap from dependencies
* Thu May 17 2012 Lukas Zapletal <[email protected]> 0.2.22-1
- encryption - plain text passwords encryption
* Wed May 16 2012 Mike McCune <[email protected]> 0.2.21-1
- 817933 part deux - also going to read these from katello-configure bin
- 818679 - making some of the LDAP comments for katello-configure more helpful
- 795869 - Fixing org name in katello-configure to accept spaces but still
create a proper candlepin key ([email protected])
* Thu May 10 2012 Lukas Zapletal <[email protected]> 0.2.20-1
- 820273 - removed change to example script
- 820273 - correct example and real upgrade scripts
- Adding back db_user & db_name to cpsetup call
- Pass the keystore/truststore password into cpsetup
- 816188 - installer minimum is 2 thins now
- Modify the installation and upgrade process for the candlepin usage of
liquibase.
- 809823 - Blocking katello-configure from installing katello if headpin is
installed
- 799979 - updated candlepin option to allow any characters in system name
- upgrade script - moving it all back to the package katello-configure
- upgrade script - man page
- upgrade script - subscripts being filtered accoring to a deployment at
runtime
- upgrade script - logging
* Fri Apr 27 2012 Lukas Zapletal <[email protected]> 0.2.19-1
- Set the rails relative url in the installer based on the deployment option
- Installer updates upgrade history to record upgrades already included in the
build
- upgrade script introduced
- Loading group roles from ldap
- First verision of Katello upgrade script
- 811011 - adding keep alive and expires
* Fri Apr 06 2012 Lukas Zapletal <[email protected]> 0.2.18-1
- puppet - adding pulp migration logging
* Mon Apr 02 2012 Lukas Zapletal <[email protected]> 0.2.17-1
- 794778 - option ssl_ca_certificate is set for pulp V1
- 768399 - deployment configure values are checked
- 805436 - Parametrize Candlepin db credentials, keystore and postgre passwords