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
/
katello-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 <paji@redhat.com> 1.5.1-1
- Bumping package versions for 1.5 (paji@redhat.com)
* Fri Oct 11 2013 Partha Aji <paji@redhat.com> 1.4.8-1
- Merge pull request #55 from daviddavis/temp/20131010125310
(parthaa@gmail.com)
- Merge pull request #52 from ehelms/bug-902437 (ericdhelms@gmail.com)
- 1017449: Update the pulp config (daviddavis@redhat.com)
- Merge pull request #54 from daviddavis/956650 (daviddavis@redhat.com)
- 956650: Escaping pulp login (daviddavis@redhat.com)
- Fix race condition (mhulan@redhat.com)
- 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.
(ericdhelms@gmail.com)
- Fix symlink to candlepin cert (mhulan@redhat.com)
* Fri Sep 27 2013 Partha Aji <paji@redhat.com> 1.4.7-1
- Script to start foreman only if available (paji@redhat.com)
- Autobuild f19 packages (paji@redhat.com)
- 1010404: Earlier fix introduced string replacement issue
(bkearney@redhat.com)
* Fri Sep 20 2013 Partha Aji <paji@redhat.com> 1.4.6-1
- Fixed qpidd config templates issue for RHEL 6 (paji@redhat.com)
- Configure foreman to be able to authenticate against nodes
(inecas@redhat.com)
- Set headers for foreman client authentication (inecas@redhat.com)
- Updated installer to work with tomcat & httpd in f19 (paji@redhat.com)
- Make sure the ca cert is not already installed (inecas@redhat.com)
- Install candlepin CA (mhulan@redhat.com)
* Fri Aug 30 2013 Partha Aji <paji@redhat.com> 1.4.5-1
- Updated ruby abi to get it work for f19 (paji@redhat.com)
- Updated tito props to include f19 (paji@redhat.com)
- Merge pull request #41 from Katello/bkearney/1000147
(bryan.kearney@gmail.com)
- 1000147: Set the url prefix in the subscription manager install script
(bkearney@redhat.com)
- Merge pull request #39 from thomasmckay/998631-task-statuses
(thomasmckay@redhat.com)
- 998631-task-statuses - clear task statuses references before deleting
(thomasmckay@redhat.com)
- 998717-no-signo - headpin mode skips signo (thomasmckay@redhat.com)
- 994326 - fully specify the path of the commands (mmccune@redhat.com)
- 994326 - remove path stanza that hozes SCL's pathing (mmccune@redhat.com)
* Wed Jul 31 2013 Bryan Kearney <bkearney@redhat.com> 1.4.4-1
- 976556 - Enforce Signo URL in foreman (mhulan@redhat.com)
- 975925-deployment - use correct var in candlepin.conf
(thomasmckay@redhat.com)
- Extract foreman-proxy-configure script from Katello's foreman-install repo
(inecas@redhat.com)
- Merge pull request #33 from komidore64/validate_ldap (komidore64@gmail.com)
- 973630 - redirect to https only if the path begins with '/katello'
(inecas@redhat.com)
- 966204 - validate_ldap flag not created in katello.yml leading to ldap
validation failures (komidore64@gmail.com)
- 958177-headpin-urls - moved weburl and apiurl outside to they are set in both
headpin and katello (thomasmckay@redhat.com)
- 972230 - decreasing pulp concurrency count (jsherril@redhat.com)
- 970264: Use the deployment_url parameter to configure where signo should
authenticate users (bkearney@redhat.com)
- order of substituion matter (msuchy@redhat.com)
- Merge pull request #27 from ares/bug/966256_ldap_fluff_upgrade
(ares@igloonet.cz)
- 958177-fix - corrected variable (thomasmckay@redhat.com)
- There must be end of line (mhulan@redhat.com)
- 966256 - Fixes for new ldap_fluff API (mhulan@redhat.com)
- Merge pull request #25 from ares/feature/signo_branding (inecas@redhat.com)
- Configure Signo app mode (mhulan@redhat.com)
- 958177-cpurl - set candlepin.conf web and api url (thomasmckay@redhat.com)
- Set HOME=${foreman::app_root} for foreman Rails actions (inecas@redhat.com)
- scl_root - add parameter and use in puppet template (bbuckingham@redhat.com)
- Add home environment. (bkearney@redhat.com)
- Merge pull request #19 from mccun934/scl-enable (bbuckingham@redhat.com)
- feedback from msuchy during PR - more files to SCL (mmccune@redhat.com)
- extra else needed removal (mmccune@redhat.com)
- no need for older puppet support (mmccune@redhat.com)
- switch to puppet 3 syntax and fix variable name for scl_puppet
(mmccune@redhat.com)
- remove mistaken commit that hard coded SCL path (mmccune@redhat.com)
- more SCL support for katello-configure exec and using wrapper
(mmccune@redhat.com)
- scl the call to ruby in the build step (mmccune@redhat.com)
- forgot build requires ... (mmccune@redhat.com)
- SCL puppet requirement (mmccune@redhat.com)
- make katello-configure SCL compliant (mmccune@redhat.com)
- issue 2287 - fixing user pass install not working (jsherril@redhat.com)
- Merge pull request #17 from ehelms/cfse-removal (ericdhelms@gmail.com)
- Merge pull request #16 from ares/bug/961395_ldap_support (ares@igloonet.cz)
- Technical Debt - Removing 'cfse' references. (ehelms@redhat.com)
- Merge pull request #14 from xsuchy/pull-req-scl-rake (miroslav@suchy.cz)
- Allows LDAP configuration also in Signo (mhulan@redhat.com)
- Restart Signo after configuration change (mhulan@redhat.com)
- we do not need plain rake on non SCL, but we need SCL version
(msuchy@redhat.com)
- 961162 - fix foreman_db_migrate_done location (inecas@redhat.com)
- Revert "Revert "Fix missing square bracket"" (jweiss@redhat.com)
- Revert "Fix missing square bracket" (mmccune@redhat.com)
- Fix missing square bracket (jweiss@redhat.com)
- Use fqdn in foreman_url settings (inecas@redhat.com)
- Merge pull request #3 from witlessbird/candlepin-cert-consumer
(witlessbird@gmail.com)
- Correct Katello url for Headpin mode as well (mhulan@redhat.com)
- replaced exec-based link creation with the 'puppet-way'
(dmitri@appliedlogic.ca)
- 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.
(dmitri@appliedlogic.ca)
* Tue May 07 2013 Mike McCune <mmccune@redhat.com> 1.4.3-1
- Add katello-foreman integration part (necasik@gmail.com)
- Run token generating under root (mhulan@redhat.com)
- Allow http for foreman in case of unattended installation (necasik@gmail.com)
- Run foreman tasks under foreman user (mhulan@redhat.com)
- workaround that "tito tag" does not create correct path in metadata file if
package is in git-root (msuchy@redhat.com)
- another workaround that "tito tag" does not create correct path in metadata
file if package is in git-root (msuchy@redhat.com)
- copy nightly scripts from katello.git (msuchy@redhat.com)
- Install Signo by katello-configure (ares@igloonet.cz)
- Katello configure support for Signo (ares@igloonet.cz)
* Sat Apr 27 2013 Mike McCune <mmccune@redhat.com> 1.4.2-1
- adding rel-eng dir for new location (mmccune@redhat.com)
- Adding License to new repository. (ehelms@redhat.com)
- fixing issue where scl was used even in fedora (jsherril@redhat.com)
- treat CentOS like RHEL, otherwise the install fails (mmccune@redhat.com)
- fixing path to rails script (jsherril@redhat.com)
- using our rails script for upgrade runners (jsherril@redhat.com)
- moving to /usr/share/katello/ before each upgrade script
(jsherril@redhat.com)
- reordering upgrade scritps and converting ruby scripts to runner
(jsherril@redhat.com)
- adding support for runner scripts for katello upgrade (jsherril@redhat.com)
- deleting all existing task statuses as part of 1.3 upgrade
(jsherril@redhat.com)
- 1861 - don't use waitretry as it backs off and causes multi-minute waits
(mmccune@redhat.com)
* Fri Apr 12 2013 Justin Sherrill <jsherril@redhat.com> 1.4.1-1
- version bump to 1.4 (jsherril@redhat.com)
* Fri Apr 12 2013 Justin Sherrill <jsherril@redhat.com> 1.3.7-1
- Remove Foreman specific code - update scripts (inecas@redhat.com)
- Make installation of Foreman optional (inecas@redhat.com)
- katello-configure - fix headpin mode (inecas@redhat.com)
- run rake tasks from upgrade script in SC environment (msuchy@redhat.com)
- katello-configure - fix running foreman-config for scl (inecas@redhat.com)
- katello-configure - scl prefix for working with software collections
(inecas@redhat.com)
- use pulp settings for default virtualhost (jsherril@redhat.com)
- 948754 - downcase the value for pulp url (inecas@redhat.com)
- katello-configure - install and set up foreman-katello-engine
(inecas@redhat.com)
- Use service-wait for elasticsearch in katello-configure (inecas@redhat.com)
- remove old changelog entries (msuchy@redhat.com)
- Katello Configure - Updates Pulp and Katello Apache configuration templates
to include Fedora 18 configuration. (ehelms@redhat.com)
- 889488 - foreman reconfigure speedup (inecas@redhat.com)
- katello-configure - Include param name into wrong param error message
(inecas@redhat.com)
- Use spaces instead of tabs in katello-configure scripts (inecas@redhat.com)
- Katello-Configure - Changes the SSLRenegBufferSize for the Pulp Apache
configuration to 1MB to reflect the change that Pulp made as part of bug
908082. (ehelms@redhat.com)
- 912442 - correcting failed installer for candlepin-ca cert
(lzap+git@redhat.com)
- 912442-candlepin-cert - do not overwrite candlepin-upstream-ca.crt
(thomasmckay@redhat.com)
- Fixed issue with connecting to pulp db (mbacovsk@redhat.com)
- rename katello-defaults.yml to katello_defaults.yml (pchalupa@redhat.com)
- Added support for old versions of rhsm (mbacovsk@redhat.com)
- 866493 - frequent SSL renegotiations and log level (lzap+git@redhat.com)
- 883037 - require explicit user password in katello-configure
(tstrachota@redhat.com)
- add default values to configuration (pchalupa@redhat.com)
- one last try at fixing CI build (jsherril@redhat.com)
(jsherril@redhat.com)
- changing mongo status to check port access (jsherril@redhat.com)
- removing copyright notice from template (jsherril@redhat.com)
- add embed_yard_documentation option to katello-configure tamplate
(pchalupa@redhat.com)
- Added support for systems with older version of rhsm (mbacovsk@redhat.com)
- configure subscription manager using the config command instead of sed
(mbacovsk@redhat.com)
* Wed Jan 30 2013 Justin Sherrill <jsherril@redhat.com> 1.3.6-1
- removing pulpv2 prefix from pulpv2 branch (jsherril@redhat.com)
* Tue Jan 29 2013 Justin Sherrill <jsherril@redhat.com> 1.3.5.pulpv2-1
- fixing sync hanging in pulpv2 (jsherril@redhat.com)
* Sun Jan 27 2013 Justin Sherrill <jsherril@redhat.com> 1.3.4.pulpv2-1
- changing pulp configure to use ssl for qpid (jsherril@redhat.com)
* Fri Jan 25 2013 Justin Sherrill <jsherril@redhat.com> 1.3.3.pulpv2-1
- fixing pulpv2 version in spec (jsherril@redhat.com)
- fixing commented line in server.conf (jsherril@redhat.com)
- 877387 - Candlepin CA certificate mode in RPM (ares@igloonet.cz)
- Automatic commit of package [katello-configure] release [1.3.3-1].
(jsherril@redhat.com)
- emails - add default From to login/password emails (bbuckingham@redhat.com)
- adding thumbslug to headpin's ping function and tests, etc
(komidore64@gmail.com)
- 890000 - enabling certv3 in candlepin conf (jomara@redhat.com)
- run security:generate_token only if token does not exist (msuchy@redhat.com)
- generate token for foreman (msuchy@redhat.com)
- Automatic commit of package [katello-configure] release [1.3.2-1].
(lzap+git@redhat.com)
- do not continue if something fails (msuchy@redhat.com)
- add service-wait to path (msuchy@redhat.com)
- enable logging of all output (msuchy@redhat.com)
- tee could not be used, because it is executed under postgres which does not
have acl for /var/log/foo (msuchy@redhat.com)
- 889488 - change selinux identity to system_u (msuchy@redhat.com)
- 889488 - run createdb only if needed (msuchy@redhat.com)
- 889488 - run create user only if it is needed (msuchy@redhat.com)
- fix typo (msuchy@redhat.com)
- 885261 - katello-configure now always loads answer file (lzap+git@redhat.com)
- move loop over puppet output to shared function (msuchy@redhat.com)
- remove dead code (msuchy@redhat.com)
- remove dead code (msuchy@redhat.com)
- add upgrade script to upgrade old configuration to a new one
(pchalupa@redhat.com)
- fix 'nil' bug in katello-configure when running with --no-bars option
(pchalupa@redhat.com)
- add --katello-configuration-files-only option to katello-configure
(pchalupa@redhat.com)
- if nobars is set then progress_bar is not defined (msuchy@redhat.com)
- 865860: Change the default org and orgunit values for the candlepin cert
(bkearney@redhat.com)
- logging - orchestration logger and uuid request tracking
(lzap+git@redhat.com)
- 885261 - org deletion should remove rh provider (lzap+git@redhat.com)
- 758813: Disable basic and trusted auth in the candlepin engine since it is
not required. (bkearney@redhat.com)
- fix packaging and katello-configure (pchalupa@redhat.com)
* Tue Jan 15 2013 Justin Sherrill <jsherril@redhat.com> 1.3.3-1
- emails - add default From to login/password emails (bbuckingham@redhat.com)
- 890000 - enabling certv3 in candlepin conf (jomara@redhat.com)
- run security:generate_token only if token does not exist (msuchy@redhat.com)
- generate token for foreman (msuchy@redhat.com)
- do not continue if something fails (msuchy@redhat.com)
- add service-wait to path (msuchy@redhat.com)
- enable logging of all output (msuchy@redhat.com)
- tee could not be used, because it is executed under postgres which does not
have acl for /var/log/foo (msuchy@redhat.com)
- 889488 - change selinux identity to system_u (msuchy@redhat.com)
- 889488 - run createdb only if needed (msuchy@redhat.com)
- 889488 - run create user only if it is needed (msuchy@redhat.com)
* Tue Jan 08 2013 Lukas Zapletal <lzap+git@redhat.com> 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ý <msuchy@redhat.com> 1.3.1-1
- stop foreman only if it is running (msuchy@redhat.com)
- when finishing, reset title of progress bar back to original state
(msuchy@redhat.com)
- make parse_answer_option function (msuchy@redhat.com)
- move creation of temp config file to shared functions (msuchy@redhat.com)
- move creation of answer file to shared functions (msuchy@redhat.com)
- move show_resulting_answer_file to shared functions (msuchy@redhat.com)
- move code parsing answer_file to shared functions (msuchy@redhat.com)
- move check for root uid to shared functions (msuchy@redhat.com)
- move remove_option() to shared functions (msuchy@redhat.com)
- simplify progress bar (msuchy@redhat.com)
- Bumping package versions for 1.3. (ehelms@redhat.com)
* Thu Dec 06 2012 Eric D Helms <ehelms@redhat.com> 1.2.1-1
- katello-configure - setting foreman default values to make provisioning
possible (inecas@redhat.com)
- katello-configure - make Foreman accessible through http (inecas@redhat.com)
- bundler.d - applying changes for the spec (lzap+git@redhat.com)
- katello-configure - stop foreman before dropping the database
(inecas@redhat.com)
- katello-configure-answer review fix (lzap+git@redhat.com)
- conf-answer - finishing kconf refactoring (lzap+git@redhat.com)
- 882167 - katello-upgrade fails to call cpdb (lzap+git@redhat.com)
- conf-answer - introducing katello-configure-answer (lzap+git@redhat.com)
- conf-answer - refactoring PREFIX variable (lzap+git@redhat.com)
- conf-answer - reafactoring check_options_against_default
(lzap+git@redhat.com)
- move check_hostname() to functions.rb (msuchy@redhat.com)
- move _request_option_interactively() to functions.rb (msuchy@redhat.com)
- move _read_password() to functions.rb (msuchy@redhat.com)
- move _is_option_true() to functions.rb (msuchy@redhat.com)
- move _get_valid_option_value() to functions.rb (msuchy@redhat.com)
- move read_options_format() to functions.rb (msuchy@redhat.com)
- move ERROR_CODES and exit_with() to functions.rb (msuchy@redhat.com)
- move read_answer_file() to functions.rb (msuchy@redhat.com)
- foreman 404 error configure fix - missing dep (lzap+git@redhat.com)
- bundler_ext - development mode support
- bundler_ext - missing colon in configure (lzap+git@redhat.com)
- bundler_ext - no need to run bundler during configure steps
(lzap+git@redhat.com)
- katello-configure - make sure Foreman is accessible through https only
(inecas@redhat.com)
- bundler_ext - no need to run bundler during configure (lzap+git@redhat.com)
- katello-configure - fix default values for term size (inecas@redhat.com)
- katello-configure - make exec defaults more suitable for us
(inecas@redhat.com)
- Adding client-ca.pem to /etc/thumbslug for thumbslug .27 (jomara@redhat.com)
- katello-upgrade - fix in katello-configure first installation
(lzap+git@redhat.com)
- katello-upgrade - tomcat start fix (lzap+git@redhat.com)
- katello-upgrade - review changes (lzap+git@redhat.com)
- katello-upgrade redesign (lzap+git@redhat.com)
- Added default value for Foreman admin's email (mbacovsk@redhat.com)
- 874160 - adding ES reindex after we migrate during upgrade
(lzap+git@redhat.com)
- katello-configure - support reset data for the foreman (inecas@redhat.com)
- candlepin-cert-consumer.rpm should require subscription-manager
(msuchy@redhat.com)
- 872096 - restart services and remove upgrade -y option (lzap+git@redhat.com)
- 872493 - Katello-configure --reset-data incorrectly sets mongod up
(lzap+git@redhat.com)
- enabling foreman authentication by default (lzap+git@redhat.com)
- adding missing require for foreman service (lzap+git@redhat.com)
- puppet race condition in foreman (lzap+git@redhat.com)
- katello-configure - always chomp generated password (inecas@redhat.com)
- 872096 - add katello-configure into katello-upgrade (lzap+git@redhat.com)
- adding OpenJDK check into katello-configure (lzap+git@redhat.com)
- wrapping headpin only gems to the if statement (lzap+git@redhat.com)
- moving .bundle/config out of RPM to configure (lzap+git@redhat.com)
- 868916 - make sure we create this directory in the spec (mmccune@redhat.com)
- 868916 - wait for elasticsearch and start httpd during upgrade
(lzap+git@redhat.com)
- precreating log file for foreman with correct perms - dep
(lzap+git@redhat.com)
- precreating log file for foreman with correct perms (lzap+git@redhat.com)
- replacing constant with variable in puppet (lzap+git@redhat.com)
- changing user under foreman-config is run (lzap+git@redhat.com)
- headpin-foreman - fence foreman code when not configuring katello
(thomasmckay@redhat.com)
- 868916 - katello-upgrade bash array fix (lzap+git@redhat.com)
- 865811 - use the concurrency level calculation suggested in BZ
(inecas@redhat.com)
- katello-configure - enclose the values in hyphens (inecas@redhat.com)
- 865811 - set concurrency threshold for pulp (msuchy@redhat.com)
- raise errors on Foreman Katello DB inconsistency (pchalupa@redhat.com)
- katello-configure - fix headpin installation (inecas@redhat.com)
- do not call pulp service script, call qpidd and mongodb directly
(msuchy@redhat.com)
- Bumping package versions for 1.1. (lzap+git@redhat.com)
- katello-configure - set oauth params when installing the server
(inecas@redhat.com)
- move missing foreman user creation out of migration to upgrade script
(pchalupa@redhat.com)
- do not print SQL query on output as it will confuse grep (msuchy@redhat.com)
- use md5 for connection to postgres instead of ident (msuchy@redhat.com)
- pass password to candlepin cpdb (msuchy@redhat.com)
- call /usr/share/candlepin/cpdb as postgres user (msuchy@redhat.com)
- removing sqlexec.pp (msuchy@redhat.com)
- when connecting to postgres DB you have to be postgres user
(msuchy@redhat.com)
- Revert "802346 - wait for postgres to come up in puppet" (msuchy@redhat.com)
- 850569 - use ident method in pg_hba.conf (msuchy@redhat.com)
* Fri Oct 12 2012 Lukas Zapletal <lzap+git@redhat.com> 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ý <msuchy@redhat.com> 1.1.10-1
- 858360 - Making katello-upgrade START services after upgrade is complete
(jomara@redhat.com)
- 859407 - puppet timeout set to 0 for some steps (lzap+git@redhat.com)
- Rakefile could not be in -devel package as katello-configure call db:migrate
and seed_with_logging rake tasks (msuchy@redhat.com)
- 858277 - tomcat6 service dependency (lzap+git@redhat.com)
- 857913 - katello-upgrade system call improvement (lzap+git@redhat.com)
- 858038 - optimizing memory division (lzap+git@redhat.com)
- 858038 - thin process calculator fix (lzap+git@redhat.com)
- 858013 - katello job workers configure option (lzap+git@redhat.com)
- 857913 - katello-upgrade auto-stop now working (lzap+git@redhat.com)
- 856220 - tomcat6 now requires keystore symlink (lzap+git@redhat.com)
- 856220 - refactoring katello_keystore variable (lzap+git@redhat.com)
- removing example upgrade scripts (lzap+git@redhat.com)
- 856220 - mongodb now configured with journal (lzap+git@redhat.com)
* Wed Sep 12 2012 Miroslav Suchý <msuchy@redhat.com> 1.1.9-1
- 856220 - adding time to puppet log (lzap+git@redhat.com)
- Removing extra configure code for headpin bin; adding provides to cli script
for headpin (jomara@redhat.com)
- Fencing headpin CLI into katello cli. CLI will now load appropriate functions
based on client.conf configuration. Katello cli now ships with headpin
symlink (jomara@redhat.com)
- it is better to use "service" as it runs in predictable environment
(msuchy@redhat.com)
- 819593 - RHSM now use /subscription as ultimate location (msuchy@redhat.com)
* Thu Sep 06 2012 Ivan Necas <inecas@redhat.com> 1.1.8-1
- fastbuild - adding macro for all spec files (lzap+git@redhat.com)
- foreman-configure - fix ordering issue in puppet module (inecas@redhat.com)
* Fri Aug 31 2012 Miroslav Suchý <msuchy@redhat.com> 1.1.7-1
- rename puppet/ to katello-configure/ (msuchy@redhat.com)
* Wed Aug 29 2012 Ivan Necas <inecas@redhat.com> 1.1.6-1
- 849224 - thin now listens only on localhost (lzap+git@redhat.com)
* Thu Aug 23 2012 Mike McCune <mmccune@redhat.com> 1.1.5-1
- katello-configure - install and config Foreman with Katello
(inecas@redhat.com)
- configure - workaround for puppet bug 16006 (lzap+git@redhat.com)
* Thu Aug 16 2012 Lukas Zapletal <lzap+git@redhat.com> 1.1.4-1
- 828369 - katello.conf owned by katello:katello
* Sat Aug 11 2012 Miroslav Suchý <msuchy@redhat.com> 1.1.3-1
- remove ssh pub keys (msuchy@redhat.com)
- puppet - make sure we deploy previous certificate before generating new one
(inecas@redhat.com)
- 820624 - make pgsql to listen only on localhost (lzap+git@redhat.com)
* Sat Aug 04 2012 Miroslav Suchý <msuchy@redhat.com> 1.1.2-1
- 845224 - fix adding broker cert to nssdb (inecas@redhat.com)
* Thu Aug 02 2012 Miroslav Suchý <msuchy@redhat.com> 1.1.1-1
- rb19 - fixing typo in requires (lzap+git@redhat.com)
- buildroot and %%clean section is not needed (msuchy@redhat.com)
- rb19 - correcting requires for fedora guidelines (lzap+git@redhat.com)
- rb19 - adding missing require (lzap+git@redhat.com)
- rb19 - fixing collate (lzap+git@redhat.com)
- rb19 - adding puppet bundler check (lzap+git@redhat.com)
- rb19 - one more UTF8 fix (lzap+git@redhat.com)
- rb19 - setting collate (lzap+git@redhat.com)
- rb19 - invalid char (lzap+git@redhat.com)
- rb19 - warning msg (lzap+git@redhat.com)
- rb19 - adding check (lzap+git@redhat.com)
- rb19 - extra comma (lzap+git@redhat.com)
- Bumping package versions for 1.1. (msuchy@redhat.com)
* Tue Jul 31 2012 Miroslav Suchý <msuchy@redhat.com> 1.0.1-1
- bump up version to 1.0 (msuchy@redhat.com)
* Tue Jul 31 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.39-1
- update copyright years (msuchy@redhat.com)
* Mon Jul 30 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.38-1
- Fix Ruby 1.9.3 compatibility issue in Puppet manifest (inecas@redhat.com)
* Mon Jul 30 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.37-1
- puppet - nss generation ordering issue (lzap+git@redhat.com)
- puppet - pulp migrate must run before apache2 ensure (lzap+git@redhat.com)
* Mon Jul 30 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.36-1
- puppet - fixing pulp migrate race condition (typo) (lzap+git@redhat.com)
- puppet - fixing pulp migrate race condition (lzap+git@redhat.com)
* Mon Jul 30 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.35-1
- puppet - adding more logging to cert creation (lzap+git@redhat.com)
- point Source0 to fedorahosted.org where tar.gz are stored (msuchy@redhat.com)
* Fri Jul 27 2012 Lukas Zapletal <lzap+git@redhat.com> 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ý <msuchy@redhat.com> 0.2.33-1
- Making auto-stop services optional (jomara@redhat.com)
- Making the script call katello-system instead of individual system calls
thanks to msuchys update (jomara@redhat.com)
- 820280 : print output from service $ stop (jomara@redhat.com)
- 820280 : katello-upgrad should also stop httpd & elasticsearch. Using confirm
method for input (jomara@redhat.com)
- 820280 - katello-upgrade should stop the services it requires to be stopped
(jomara@redhat.com)
* Thu Jul 26 2012 Miroslav Suchý <msuchy@redhat.com> 0.2.32-1
- Making katello db migration upgrade script start backend services
(jsherril@redhat.com)
- moving katello db migration to after pulp & candlepins (jsherril@redhat.com)
* Mon Jul 23 2012 Lukas Zapletal <lzap+git@redhat.com> 0.2.31-1
- %%defattr is not needed since rpm 4.4
* Mon Jul 16 2012 Lukas Zapletal <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 0.2.29-1
- 834697 - explicitly disable qpid authentication
* Wed Jun 27 2012 Lukas Zapletal <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 0.2.27-1
- BZ 825262: support for moving systems between environments from CLI
* Mon Jun 18 2012 Lukas Zapletal <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 0.2.24-1
- Add exit_with to reconfigure attempt.
* Fri May 18 2012 Lukas Zapletal <lzap+git@redhat.com> 0.2.23-1
- removing mod_authz_ldap from dependencies
* Thu May 17 2012 Lukas Zapletal <lzap+git@redhat.com> 0.2.22-1
- encryption - plain text passwords encryption
* Wed May 16 2012 Mike McCune <mmccune@redhat.com> 0.2.21-1
- 817933 part deux - also going to read these from katello-configure bin
(jomara@redhat.com)
- 818679 - making some of the LDAP comments for katello-configure more helpful
(jomara@redhat.com)
- 795869 - Fixing org name in katello-configure to accept spaces but still
create a proper candlepin key (jomara@redhat.com)
* Thu May 10 2012 Lukas Zapletal <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 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 <lzap+git@redhat.com> 0.2.18-1
- puppet - adding pulp migration logging
* Mon Apr 02 2012 Lukas Zapletal <lzap+git@redhat.com> 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