forked from Katello/katello-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkatello-installer.spec
381 lines (350 loc) · 18.8 KB
/
katello-installer.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
# Not building for scl rigth now
%undefine scl_prefix
%global scl_ruby /usr/bin/ruby
Name: katello-installer
Version: 2.1.0
Release: 1%{?dist}
Summary: Puppet-based installer for the Katello and Katello Capsule
Group: Applications/System
License: GPLv3+ and ASL 2.0
URL: http://katello.org
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: %{?scl_prefix}rubygem-kafo
Requires: %{?scl_prefix}rubygem-apipie-bindings >= 0.0.6
Requires: foreman-selinux
%description
A set of tools for installation of Katello and Katello Capsule,
including Foreman and Foreman Proxy.
%prep
%setup -q
%build
#replace shebangs
sed -ri '1sX(/usr/bin/ruby|/usr/bin/env ruby)X%{scl_ruby}X' bin/*
#configure the paths
sed -ri 'sX\./configX%{_sysconfdir}/%{name}Xg' bin/* config/*
sed -ri 'sX\:installer_dir.*$X:installer_dir: %{_datadir}/%{name}Xg' config/*
sed -ri 'sX\:modules_dir.*$X:modules_dir: %{_datadir}/%{name}/modulesXg' config/*
sed -ri 'sX\:hooks_dir.*$X:hooks_dir: %{_datadir}/%{name}/hooksXg' config/*
%install
install -d -m0755 %{buildroot}%{_sysconfdir}/%{name}
install -d -m0755 %{buildroot}%{_localstatedir}/log/%{name}
install -d -m0755 %{buildroot}/%{_datadir}/%{name}
install -d -m0755 %{buildroot}/%{_sbindir}
cp -dpR bin modules hooks checks %{buildroot}/%{_datadir}/%{name}
cp -dpR config/* %{buildroot}/%{_sysconfdir}/%{name}
ln -sf %{_datadir}/%{name}/bin/katello-installer %{buildroot}/%{_sbindir}/katello-installer
ln -sf %{_datadir}/%{name}/bin/katello-devel-installer %{buildroot}/%{_sbindir}/katello-devel-installer
ln -sf %{_datadir}/%{name}/bin/capsule-installer %{buildroot}/%{_sbindir}/capsule-installer
ln -sf %{_datadir}/%{name}/bin/capsule-certs-generate %{buildroot}/%{_sbindir}/capsule-certs-generate
%files
%defattr(-,root,root,-)
%doc README.*
%{_datadir}/%{name}
%dir %{_sysconfdir}/%{name}
%dir %{_localstatedir}/log/%{name}
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/answers.katello-installer.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/answers.katello-devel-installer.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/answers.capsule-certs-generate.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/answers.capsule-installer.yaml
%config %{_sysconfdir}/%{name}/config_header.txt
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/katello-installer.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/katello-devel-installer.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/capsule-certs-generate.yaml
%config(noreplace) %attr(600, root, root) %{_sysconfdir}/%{name}/capsule-installer.yaml
%{_sbindir}/katello-installer
%{_sbindir}/katello-devel-installer
%{_sbindir}/capsule-installer
%{_sbindir}/capsule-certs-generate
%changelog
* Fri Sep 12 2014 Justin Sherrill <[email protected]> 2.1.0-1
- bumping version to 2.1 ([email protected])
* Fri Sep 12 2014 Justin Sherrill <[email protected]> 2.0.0-1
- bumping version to 2.0 ([email protected])
- fixes #7386 - fixing install with capsule-tftp=true ([email protected])
- fixes #7296, BZ1135127 - update pulp module ([email protected])
- refs #7104 - update service_wait module ([email protected])
- Fixes #7104,7239 - update certs and service_wait modules ([email protected])
- Fixes #7159: Add missing foreman proxy options to capsule.
- refs #7264 - update puppet-elasticsearch module ([email protected])
- refs #7264 - check for java, unless installing for capsule & update
elasticsearch ([email protected])
- Fixes #5219: Add option to clear Pulp data. ([email protected])
* Wed Aug 27 2014 Justin Sherrill <[email protected]> 0.0.20-1
- Merge pull request #109 from jlsherrill/releng ([email protected])
- Merge pull request #108 from jlsherrill/7219 ([email protected])
- refs #5271 - update tito for el7 ([email protected])
- fixes #7219 - use /rhsm for bootstrap rpm on dev install
- fixes #7210 - make sure the Package['pulp-server'] is defined
- Merge pull request #83 from ehelms/fixes-5218 ([email protected])
- Refs #6297 - update puppet-katello module ([email protected])
- Refs #6297 - use foreman-tasks instead of katello-jobs ([email protected])
- Merge pull request #105 from jlsherrill/7145 ([email protected])
- fixes #7150 - stop elasticsearch before resetting data ([email protected])
- fixes #7145 - do not try to use ipv6 for service-wait network checks
- Refs #6875,#7115 - Update pulp,certs and capsule module ([email protected])
- Fixes #6875 - Ability to pass own server certs for apache and smart-proxy
- fixes #7108 - if using pulp at all, override both pulp and pulpnode settings
- Fixes #7077, #7006: update puppet-pulp module. ([email protected])
- fixes #7029,7007 - updating pulp-certs module ([email protected])
- Merge pull request #95 from jlsherrill/pulp_plugin ([email protected])
- refs #6330 - adding default option for pulp_master ([email protected])
- Merge pull request #99 from jmontleon/foreman-selinux-hard-dependency
- Merge pull request #96 from iNecas/issue/6927 ([email protected])
- Fixes #6927 - move checks on pulp capsule preconditions to pre_validate hook
- Added foreman-selinux as hard dependency ([email protected])
- Merge pull request #92 from bkearney/bkearney/6823 ([email protected])
- Refs #5029 - specify inital org and location ([email protected])
- Fixes #6823 : Use kilobytes instead of human readable strings and be more
permissive if mongo already exists ([email protected])
- refs #6698, #6491 update katello common and capsule modules
- Merge pull request #91 from ehelms/fixes-6699 ([email protected])
- Fixes #6699: Fix broken devel installs and include missing HTTP configs.
- Merge pull request #86 from bkearney/bkearney/6675 ([email protected])
- Merge pull request #84 from ehelms/fixes-6530 ([email protected])
- Fixes #6530: Update proxy configurations for Pulp. ([email protected])
- Refs #6445 - Foreman update ([email protected])
- Fixes #6675: Verify that the hostname is all lowercase before starting the
installation. ([email protected])
- Refs #6126: Updates to include setting RHSM url to /rhsm
- Merge pull request #80 from ehelms/fixes-6458 ([email protected])
- Fixes #6278 : Add additional checks to the installer. ([email protected])
- Fixes #5218: Add option to clear Puppet environments from disk.
- Refs #6418 - Fix keytool use for Java 6 compatibility. ([email protected])
- Fixes 5599: Set certs expiration to 20 years. ([email protected])
- Fixes #6458: Update Foreman modules to allow setting user parameters.
- Refs #6148: Add Candlepin/Qpid integration. ([email protected])
- Fixes #4650,#6359 - sets consumer rpm katello.yml ([email protected])
- Refs #6360 - Updated pulp module to include selinux fix ([email protected])
- Update puppet modules ([email protected])
- Switch to puppetforge xinetd module ([email protected])
- Fixes #5639: Adds proxy configuration options for Katello and Pulp.
- Fixes BZ 1103224 - increase the timeout on passenger start
- Merge pull request #70 from iNecas/master ([email protected])
- Fixes #6143 and #5823 - support RHEL 7 and correct rhsm.conf config value
- Fixes #6077, #6088 - update puppet-capsule module ([email protected])
- Fixes #5012: Point at upstream postgresql module to prevent Candlepin DB
error, BZ1072708. ([email protected])
- Fixes #5992 and #5993 - update katello_devel and pulp modules
- Update puppet modules ([email protected])
- Merge pull request #64 from iNecas/apipie-bindings-deps ([email protected])
- Refs #4244: Prevent seg fault on Ruby 1.8.7. ([email protected])
- Refs #5815 - install dependencies for successful proxy registration
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Merge pull request #60 from ehelms/fixes-5751 ([email protected])
- Update puppet modules ([email protected])
- Fixes #5678: Specifying consistent log directory for installer logs.
- Fixes #5704: Removing unused foreman_api gem requirement.
- Fixes #5641: Setting EPEL and SCL enablement to false by default.
- Update puppet modules ([email protected])
- Remove rvm from Puppetfile ([email protected])
- Refs #5423 - update package description ([email protected])
- Refs #5423 - make the example working directly ([email protected])
- Refs #5423 - inform about where capsule-installer is coming from
- Refs #5423 - unify the config files naming ([email protected])
- Fixes #5423 - capsule-certs-generate and capsule-installer scripts
- Fixes #5579: Adding checks/ directory to the RPM spec. ([email protected])
- Fixes #5576 - make sure the params file for discovery plugin is loaded
- Removing RVM module. ([email protected])
- Update puppet modules ([email protected])
- Fixes #5476: Adding documentation to specify how to handle installer issues.
- Merge pull request #45 from jlsherrill/plugin ([email protected])
- Merge pull request #44 from dgoodwin/update-modules ([email protected])
- references #4991 - adding foreman plugins to default install
- Merge pull request #41 from ehelms/fixes-5131 ([email protected])
- Merge pull request #37 from ehelms/fixes-4770 ([email protected])
- Update puppet modules ([email protected])
- Minor touchups to README for updating modules. ([email protected])
- Fixes #5131: Adds hooks to display UI url and capsule information post
install. ([email protected])
- Fixes #4770: Adding reset option to installer script. ([email protected])
- Merge pull request #39 from mccun934/20140402-1013 ([email protected])
- addresses #5020 by merging upstream puppet module changes
- fixes #5035 by adding gem info to the README ([email protected])
- Update puppet modules ([email protected])
- Fixes #4909: Enabling locations by default. ([email protected])
- Copy in cecks dir from f-i ([email protected])
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Adds a katello-devel-installer command to run an install of a Katello
development setup. ([email protected])
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Apache cert name updates. ([email protected])
- Update puppet modules ([email protected])
- Update puppet modules ([email protected])
- Remove temporary workaround for apache module ([email protected])
- Merge pull request #28 from ehelms/remove-rpms ([email protected])
- Update puppet modules ([email protected])
- locking down mysql and firewall deps ([email protected])
- Removing errant RPMs from source. ([email protected])
- Update to librarian ([email protected])
- Update README ([email protected])
- Merge commit '0695216e35d54ea03c415c4c77b3a8bff209c104' into capsule
- Squashed 'modules/katello/' changes from 18f4d5d..02b8cbe ([email protected])
- Merge commit '03f7ef40106b4d2b5da36eb97ecf13caf99b7f79' into capsule
- Squashed 'modules/pulp/' changes from b5eac8f..9366559 ([email protected])
- Squashed 'modules/katello/' changes from 8e5af7b..18f4d5d ([email protected])
- Merge commit '02e68fc88d56bab8240d2d41e3d74efc1ef2f5b5' into capsule
- Merge commit 'bfebfd738bbcc0e869abe91f64d414265fe83951' into capsule
- Squashed 'modules/certs/' changes from 7e897f5..75bb0e6 ([email protected])
- Merge commit 'd03bcb25393f8c72026d23de96ca3e2740b66856' as 'modules/capsule'
- Squashed 'modules/capsule/' content from commit 131a8fd ([email protected])
- Merge commit 'ebd2dd0ea5add08b87abe7043130be42e15c50f9' into capsule
- Squashed 'modules/candlepin/' changes from 26380df..6a80309
- improve scratch building ([email protected])
- Enforce params prefixing ([email protected])
- Initial support of capsule settings ([email protected])
- Setting certs group to 'foreman' in the answers file. ([email protected])
- Merge commit '9108da73f0e516ba971108e85bdb60bd3ac51dea'
- Squashed 'modules/qpid/' changes from f450601..b39fa9d ([email protected])
- Squashed 'modules/pulp/' changes from faa7ef8..b5eac8f ([email protected])
- Merge commit '420337d0f21c0edb9ea3804cee8a3c69ea329c4c'
- Squashed 'modules/katello/' changes from 2a9487c..8e5af7b
- Merge commit '5b815112fdb762c4f9f71429f9dc693955e93425'
- Squashed 'modules/certs/' changes from c5901b0..7e897f5
- Merge commit '289d1d49bd2992d833ae9031760ca4ef3a8afbd3'
- Squashed 'modules/candlepin/' changes from 2db3623..26380df
- Merge commit 'fcd38a8c240b5a4258b05cd41d44d4abe6329397'
- Removing errant reference to puppet-kafo that got renamed to
katello_installer. ([email protected])
- Merge pull request #22 from jlsherrill/foreman_updates ([email protected])
- removing apache from katello submodule list ([email protected])
- Squashed 'modules/pulp/' changes from bd76690..faa7ef8 ([email protected])
- Squashed 'modules/katello/' changes from 3f76715..2a9487c
- Squashed 'modules/certs/' changes from 9514640..c5901b0 ([email protected])
- removing unused modules ([email protected])
- Merge commit '46043a2e66ba961063d2399f79549099e5f51e6c' ([email protected])
- Squashed 'modules/foreman/' changes from dce8ded..2436921
- Merge commit 'd2b3eed8cb9d72f15a5b5c7c3361f976d1bc7563' ([email protected])
- Squashed 'modules/foreman_proxy/' changes from abfdf11..b157cc1
- Merge commit '8b4a4bb571bb4d209e6309d77c91d669ca2f1258' ([email protected])
- Squashed 'modules/puppet/' changes from 7a03de3..488e069
- Merge commit '025cb0dc100ddea59c294b2b37117eba2b658437' ([email protected])
- Merge commit 'c7f64591f097fbc8b951ceb0eae4c9aeeecc722c' ([email protected])
- Squashed 'modules/tftp/' changes from 59b902d..19369d2 ([email protected])
- Squashed 'modules/dns/' changes from ef5e288..06f8dec ([email protected])
- Merge commit 'f03a89617e17b9ad95a7bb60a2b0a78a88a2eccc' ([email protected])
- Squashed 'modules/dhcp/' changes from 0dc6d29..3ecc8b2 ([email protected])
- Merge commit '0c571d25647f6d20c08a05835b16a3f7cd725678' ([email protected])
- Squashed 'modules/apache/' changes from 94c1b55..c9fef6c
- updating foreman installer module list ([email protected])
- Setting the node-install modules dir as a configuration variable such that
the node-install command isn't relative to the install directory.
- Fixes issue with with Puppet 3+ calling custom functions. ([email protected])
* Wed Jan 22 2014 Eric D Helms <[email protected]> 0.0.19-1
- new package built with tito
* Tue Oct 22 2013 Unknown name <[email protected]> 0.0.18-1
- 1021119 - make sure private keys are never world readable ([email protected])
- Document the parameters of the pulp class ([email protected])
- 1020975 - do not create node cert repos with a url ([email protected])
* Tue Oct 15 2013 Ivan Necas <[email protected]>
- Update foreman puppet modules ([email protected])
- 1017449: Updating pulp server.conf ([email protected])
* Fri Oct 11 2013 Unknown name <[email protected]> 0.0.16-1
- 1017074 - correctly set the flags for config files in spec
- Update the modules to Foreman 1.3-rc4 ([email protected])
* Wed Oct 02 2013 Ivan Necas <[email protected]> 0.0.15-1
- Merge pull request #2 from domcleal/tftp_servername ([email protected])
- 975166 - expose tftp_servername ([email protected])
- Fix indentation ([email protected])
* Wed Oct 02 2013 Ivan Necas <[email protected]> 0.0.14-1
- Install pulp-puppet-plugins to support puppet content on child
* Wed Oct 02 2013 Ivan Necas <[email protected]> 0.0.13-1
- Properly set the owner for /etc/puppet/environments ([email protected])
* Fri Sep 27 2013 Ivan Necas <[email protected]> 0.0.12-1
- Make sure goferd is restarted when server.conf changes ([email protected])
* Fri Sep 27 2013 Ivan Necas <[email protected]> 0.0.11-1
- Update the configuration for pulp-2.3 ([email protected])
* Tue Sep 24 2013 Ivan Necas <[email protected]> 0.0.10-1
- 1009964 - Revert "Workaround for #3080 - install foreman-selinux whenever
passenger is used" ([email protected])
* Mon Sep 23 2013 Ivan Necas <[email protected]> 0.0.9-1
- Sanitize Katello output ([email protected])
* Wed Sep 18 2013 Ivan Necas <[email protected]> 0.0.8-1
- Paremetrize dns zone name ([email protected])
* Tue Sep 17 2013 Ivan Necas <[email protected]> 0.0.7-1
- Make sure the CA is deployed to foreman before registering the smart proxy
* Tue Sep 17 2013 Ivan Necas <[email protected]> 0.0.6-1
- Whitespace ([email protected])
- No services installed by default ([email protected])
- Certs for foreman, smart-proxy and puppetmaster ([email protected])
- Ability to install foreman-proxy specific tools on master ([email protected])
- Don't register in foreman unless specified explicitly ([email protected])
- Use yum to install the package when not available locally ([email protected])
- Basic katello_repo and katello_activation_key provider ([email protected])
- Always generate all the certs that could be used by the node
* Fri Sep 13 2013 Ivan Necas <[email protected]> 0.0.5-1
- Support for installing puppet server and CA ([email protected])
* Thu Sep 12 2013 Ivan Necas <[email protected]> 0.0.4-1
- Don't save answers for node-certs-generate ([email protected])
- Make sure oauth secret is set when registering foreman proxy
- Make sure the system is registered to katello only when installing pulp node
- first cut on foreman-proxy installation ([email protected])
- Get submodules from foreman-installer ([email protected])
* Mon Sep 09 2013 Ivan Necas <[email protected]> 0.0.3-1
- Fix generating certs on master ([email protected])
* Mon Sep 09 2013 Ivan Necas <[email protected]> 0.0.2-1
- Random password for the pulp admin ([email protected])
- Validate params ([email protected])
- Set up releasers ([email protected])
- Set the zero exit code if everything's fine ([email protected])
* Wed Sep 04 2013 Ivan Necas <[email protected]> 0.0.1-1
- new package built with tito