Compare commits

...
Sign in to create a new pull request.

266 commits

Author SHA1 Message Date
Terje Røsten
3eddbf4082 Add patch from openvox to fix dnf5 issue 2025-10-03 11:27:30 +02:00
Fedora Release Engineering
9b710b2b23 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:16:56 +00:00
Ewoud Kohl van Wijngaarden
2c952e70a2
Update to 8.10.0
... rhbz#2291351
- Ruby 3.3 compatibility fix rhbz#2280109
- Ruby 3.4 compatibility fix rhbz#2349352
2025-04-15 16:07:03 +02:00
Zbigniew Jędrzejewski-Szmek
86d01f52bb Add sysusers.d config file to allow rpm to create users/groups automatically 2025-01-29 14:38:27 +01:00
Fedora Release Engineering
a5bd42b30d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 11:04:53 +00:00
Fedora Release Engineering
f99c309c62 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 08:44:12 +00:00
Breno Brand Fernandes
e2a1828ffc Bugfix on readme 2024-04-20 02:25:33 -04:00
Breno Brand Fernandes
81ec2372e4 Testing and push steps in the readme 2024-04-20 02:17:34 -04:00
Breno Brand Fernandes
4f21b7c12e Update to 8.6.0 (fixes rhbz#2274550) 2024-04-20 02:06:10 -04:00
Ewoud Kohl van Wijngaarden
c9ee8964f8
Update to 8.5.1 (fixes rhbz#2259039) 2024-03-11 00:48:11 +01:00
Ewoud Kohl van Wijngaarden
d304672e2f
Add a small README to simplify updating 2024-03-10 23:29:00 +01:00
Ewoud Kohl van Wijngaarden
007a2a2a0e
Add EPEL to gating config 2024-03-10 16:30:09 +01:00
Fedora Release Engineering
2b273833ea Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 00:21:48 +00:00
Fedora Release Engineering
59844c2777 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:35:43 +00:00
Ewoud Kohl van Wijngaarden
59974bc913
Update command in comment for correct sources
The git tags are now prefixed by v so the regex needs to reflect that.
2023-11-17 15:22:25 +01:00
Ewoud Kohl van Wijngaarden
4ba8b5f472
Update to 8.3.1 (fixes rhbz#2233957) 2023-11-14 23:24:04 +01:00
Fedora Release Engineering
e61e5b0571 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 06:31:21 +00:00
Breno Brand Fernandes
0c86f5071f Include files for 8.1.0 2023-06-23 04:42:06 -04:00
Breno Brand Fernandes
b435333ebc Build puppet 8.1.0 2023-06-23 04:41:22 -04:00
Breno Brand Fernandes
145f512cd2 Update src files for 7.24 2023-06-08 00:40:23 -04:00
Breno Brand Fernandes
aecd12514f Update puppet to 7.24.0 2023-06-08 00:32:38 -04:00
Fedora Release Engineering
cd482a042b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:29:45 +00:00
Ewoud Kohl van Wijngaarden
c3ff3326f1
Update to 7.21.0 2022-12-17 14:22:29 +01:00
Ewoud Kohl van Wijngaarden
5c59d45ff4
Add gating on tests 2022-10-20 14:11:06 +02:00
Ewoud Kohl van Wijngaarden
44f1d5e10b
Update to 7.20.0 2022-10-20 14:04:02 +02:00
Ewoud Kohl van Wijngaarden
870fc73fa1
Update to 7.19.0 2022-09-17 14:54:56 +02:00
Ewoud Kohl van Wijngaarden
9017a79c57
Update to 7.18.0 2022-08-30 18:51:06 +02:00
Fedora Release Engineering
b4b3086744 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:37:30 +00:00
Ewoud Kohl van Wijngaarden
786139b961
Add tests using tmt 2022-06-21 12:03:18 +02:00
Ewoud Kohl van Wijngaarden
65dda53fbe
Require at least concurrent-ruby 1.1.9
Fixes rhbz#2077122
2022-06-15 13:54:33 +02:00
Ewoud Kohl van Wijngaarden
ddd86b7d5d
Update to 7.17.0 2022-06-01 18:35:13 +02:00
Ewoud Kohl van Wijngaarden
4bc6604985
Update to 7.16.0 2022-04-20 11:39:10 +02:00
Fedora Release Engineering
73e16243b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:39:28 +00:00
Igor Raits
bc15811b40
Drop unneded dependency on cpp-hocon
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2021-11-27 17:32:09 +01:00
Breno Brand Fernandes
d3d27b1e3f Updating sources 2021-11-18 20:32:45 -05:00
Breno Brand Fernandes
4f3b23ce3b Update to 7.12.1 2021-11-18 20:32:28 -05:00
Ewoud Kohl van Wijngaarden
a9a7dc1d70
Update to 7.9.0
- Update bundled modules (and sort them)
- Update gem dependencies
- Revert paths to FHS standards
2021-08-18 18:32:37 +02:00
Ewoud Kohl van Wijngaarden
f132964acb
Remove unused file
In 4ecda1c3d8 this was removed from the
spec file but the file remained in the repository.

Fixes: 4ecda1c3d8
2021-08-17 12:43:15 +02:00
Ewoud Kohl van Wijngaarden
6ac02046f5
Ignore mockbuild's results_puppet directory 2021-08-17 12:43:15 +02:00
Fedora Release Engineering
f9f2ad1c13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 04:16:15 +00:00
Breno Brand Fernandes
8535a17a66 Updated puppet url 2021-07-07 17:23:50 -04:00
Breno Brand Fernandes
2ab5939cfe Cleaning up the spec file, adding suggestions from ekohl (Ewoud Kohl van Wijngaarden) 2021-07-05 19:37:02 -04:00
Breno Brand Fernandes
f61ad04915 Changed ownership of files in /etc/puppetlabs 2021-07-04 10:41:18 -04:00
Breno Brand Fernandes
42eb2eff11 Updated sources with missing file 2021-07-01 10:42:41 -04:00
Breno Brand Fernandes
cfea9bd83e Removed old gpg 2021-07-01 10:31:50 -04:00
Breno Brand Fernandes
d4979b9a4d Changed back paths due to conflicts with other packages 2021-07-01 10:29:51 -04:00
Breno Brand Fernandes
4ecda1c3d8 Puppet 7.7 build -- ruby 3 2021-07-01 09:27:07 -04:00
Zbigniew Jędrzejewski-Szmek
a95697f47f Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:58 +01:00
Fedora Release Engineering
e8e5fc2c0d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:45:16 +00:00
Fedora Release Engineering
eae5785be4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 23:10:54 +00:00
Terje Rosten
0e3a651935 Update to 5.5.20 and add patches to work (somewhat) with ruby 2.7 2020-05-02 12:46:44 +02:00
Igor Raits
558a3731eb
Fixup conditionals for EL8
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-13 16:38:50 +02:00
Terje Rosten
e3ee5466f4 5.5.18 2020-02-05 19:33:40 +01:00
Fedora Release Engineering
ef734ac796 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 09:58:50 +00:00
Alfredo Moralejo
1b29836c46 Add rubygem-multi_json as dependency
It's dependency upstream and without it fail to build modules in some cases, depending on the structure of metadata.json.

[1] https://github.com/puppetlabs/puppet/blob/5.5.x/.gemspec#L41
[2] https://github.com/puppetlabs/puppet/blob/5.5.x/lib/puppet/util/json.rb#L18
2019-12-04 16:59:26 +00:00
Terje Røsten
d9d4410a87 Prefer /run over /var/run (rhbz#1710635) 2019-09-22 11:54:12 +02:00
Terje Røsten
e24a065f4c Drop buildroot prefix in nm_dispatcher_dir macro
Fix wrong path for gem in puppetet_gem.rb (rhbz#1751385),
  report and fix from Lucien Weller, thanks!
2019-09-22 11:35:32 +02:00
Lucien Weller
d6582b3eec fix: fixed wrong path for gem in puppet_gem.rb
fixes issue https://bugzilla.redhat.com/show_bug.cgi?id=1751385
2019-09-12 07:29:41 +02:00
Lubomir Rintel
38afc62ebd Move the NetworkManager dispatcher script out of /etc
It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.
2019-08-22 17:07:29 +02:00
Fedora Release Engineering
f96b2ccfcc - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:30:58 +00:00
Terje Røsten
4561a4c947 Minor clean up 2019-03-13 19:30:59 +01:00
Terje Røsten
d434511db2 Move sysconfdirs to headless too 2019-03-08 00:00:05 +01:00
Terje Røsten
7c468502ac Move reqs to headless 2019-03-07 23:43:40 +01:00
Terje Røsten
2745c62d0c 5.5.10 2019-03-07 20:33:12 +01:00
Terje Røsten
f04e1ae2d4 Split off headless subpackage, based on idea from Bogdan Dobrelya 2019-03-07 19:58:29 +01:00
Terje Røsten
86277f74ea Revert use of systemd_ordering macro 2019-02-17 22:13:51 +01:00
Bogdan Dobrelya
4ff2bb73dd Revert "Optimize systemd dependency for containers"
It was generally a mistake to use `%systemd_ordering` in those
circumstances, as the tmpfiles stuff doesn't work and populate the
`/tmp` and `/run` directories. The reason why the packages install is
that all the commands in the macros have `|| :` at the end, so their
error state is ignored.

Something to re-consider for future attempts to fix/improve that:
If the tmpfiles and such were split out into a subpackage that'd be
required if and only if the kernel was installed or being installed,
that might work.

Related: rhbz#1654672
Related-Bug: #1804822
This reverts commit e07ed63d65.
2019-02-11 14:27:29 +01:00
Fedora Release Engineering
a99941884f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 05:00:16 +00:00
Igor Gnatenko
91b4fb283d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
Terje Røsten
9dd95c8357 Add changelog and fix rpmbuild warnings 2019-01-22 21:04:34 +01:00
Bogdan Dobrelya
e07ed63d65 Optimize systemd dependency for containers
According to https://fedoraproject.org/wiki/Packaging:Scriptlets:
If a package is suitable for installation without systemd (in a
container image, for example) and does not require any of the
systemd mechanisms such as tmpfiles.d, then the systemd_ordering macro
MAY be used instead of the systemd_requires macro.

That is exactly the case we want to address for container images
when installing packages in it.

Resolves: rhbz#1654672
Related-Bug: #1804822
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-01-22 16:17:35 +01:00
Haikel Guemar
e3e8e56c1f Use %autosetup and refresh patches 2019-01-07 16:26:04 +01:00
Haikel Guemar
e03d1b2aeb Upstream 5.5.6
Fix issues with RHEL > 7
2019-01-07 15:55:27 +01:00
Haikel Guemar
f6d76875bb Add missing patches 2018-10-31 11:42:37 +01:00
Haikel Guemar
177186787b Upload 5.5.6 sources 2018-10-31 11:40:26 +01:00
Haikel Guemar
b517787a5d Upstream 5.5.6
Fix issues with RHEL > 7
2018-10-31 11:33:14 +01:00
Haikel Guemar
2f24705a1a Fix epoch issues when rebuilding on RHEL
Do not require rebuilds on either Fedora/EPEL
2018-07-24 14:12:08 +02:00
Fedora Release Engineering
e56aacf581 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:00:19 +00:00
Jason Tibbitts
9e6b608e9d Remove needless use of %defattr 2018-07-10 02:16:36 -05:00
Haikel Guemar
662af13417 Fix sources 2018-06-08 16:31:21 +02:00
Haikel Guemar
ffcca8958d Add missing sources 2018-06-08 16:15:14 +02:00
Haikel Guemar
9f0248bc8c Upload upstream 5.5.1 sources 2018-06-08 16:01:21 +02:00
Haikel Guemar
752b2fb7d1 Upstream 5.5.1
Unmaintained editor extensions were removed upstream (PUP-7558)
Deprecated commands were removed: inspect (PUP-893), extlookup2hiera (PUP-3478)
Refreshed patches
2018-06-08 16:00:30 +02:00
Terje Røsten
dd73184c04 Update to 4.10.10 2018-03-15 19:35:09 +01:00
Igor Gnatenko
95e93227e2
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:32:09 +01:00
Igor Gnatenko
e6cad21997 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:21:08 +01:00
Fedora Release Engineering
0e7dd9783d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:58:55 +00:00
James Hogarth
f6aa910dc4 F28 facter3 change means puppet needs to require the ruby bindings for facter 2017-11-07 11:50:36 +00:00
Fedora Release Engineering
22bc31c361 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:10:55 +00:00
Dominic Cleal
c7f00c0890
Update to 4.10.1 2017-05-31 15:13:50 +01:00
Dominic Cleal
e98f95dcba
Remove Fedora release restrictions from DNF package provider 2017-05-31 10:12:07 +01:00
Dominic Cleal
1d46e992af
Update to 4.8.2 2017-05-25 10:34:03 +01:00
Ville Skyttä
f2dd544f62
Move tmpfiles.d config to %{_tmpfilesdir}, install LICENSE as %license
Fixes BZ#1413215
2017-05-23 10:27:24 +01:00
Dominic Cleal
a3757312cb
Fix remote code execution via YAML deserialization
* CVE-2017-2295
* https://puppet.com/security/cve/cve-2017-2295
* 06d8c51

Fixes BZ#1452654
2017-05-23 09:18:55 +01:00
Dominic Cleal
6d30d07d32
Fix Ruby 2.4 compatibility, xmlrpc/OpenSSL patches
* 484623ed
* 578687a0

Fixes BZ#1443673, BZ#1440710
2017-05-18 08:33:52 +01:00
Fedora Release Engineering
c99223fa4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:58:29 +00:00
Haikel Guemar
425e308276 Push missing sources 2017-01-19 14:10:42 +01:00
Haikel Guemar
fd11541cf6 Upload 4.6.2 sources 2016-09-14 18:49:38 +02:00
Haikel Guemar
1651fc68ec Upstream 4.6.1 2016-09-14 18:20:40 +02:00
Fedora Release Engineering
06db339585 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:36:08 +00:00
Martin Mágr
6e2b94ac46 Remove safe_yaml vendored library
Hardcoded safe_yaml requirement breaks Puppet 4.x.
This patch removes dependency on this rubygem.

Resolves: rhbz#1261091
2015-09-08 21:59:53 +02:00
Gael Chamoulaud
c3e621009b Update to Upstream 4.2.1
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-07-29 22:22:23 +02:00
Lukas Zapletal
19ce87e9b9 1246238 - systemd service type changed to 'simple' 2015-07-28 17:21:36 +02:00
Lukas Zapletal
a75fde8e51 Call exec rather that spawn sub-process because of signals 2015-07-21 15:17:15 +02:00
Dennis Gilmore
aa57ca9677 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 17:59:20 +00:00
Haikel Guemar
8433963672 Upstream 4.1.0
- Fix Puppet belief that Fedora is OpenBSD (PUP-4491)
2015-05-24 00:17:26 +02:00
Haikel Guemar
e9ad987644 Fix puppet paths and unit files (upstream #12185) 2015-05-17 18:24:27 +02:00
Haikel Guemar
d81485e91e Upload 4.0.0 sources 2015-04-29 01:55:16 +02:00
Haikel Guemar
0690abb537 Upload 4.0.0 sources 2015-04-29 01:51:38 +02:00
Haikel Guemar
d6be7b0d43 Upstream 4.0.0 2015-04-29 01:43:02 +02:00
Haikel Guemar
9320d61fcf Upload 4.0.0-rc1 sources 2015-04-29 01:42:07 +02:00
Haikel Guemar
8ebb464e36 Upgrade to Puppet 4 rc1
F22 introduces ruby 2.2
2015-04-29 01:00:27 +02:00
Orion Poplawski
0812b79b16 Do not unbundle puppet's semantic module 2015-04-22 22:32:31 -06:00
Orion Poplawski
fe6b061c3b Require rubygem(pathspec) and rubygem(semantic) 2015-04-19 17:41:52 -06:00
Orion Poplawski
a570e09aee Upload the correct .asc file 2015-03-31 13:33:39 -06:00
Orion Poplawski
9b46536457 Upload .asc, move wrapper to git 2015-03-31 13:29:36 -06:00
Orion Poplawski
9e801e0a86 Unbundle libs (bug #1198366) 2015-03-31 13:27:33 -06:00
Orion Poplawski
18c8fd0746 Update to 3.7.5 2015-03-31 13:20:14 -06:00
Orion Poplawski
6f97f078db Remove old sources 2015-03-16 20:43:05 -06:00
Haikel Guemar
ac936bf6ef Use systemd macros (RHBZ #1197239) 2015-02-28 19:56:53 +01:00
Orion Poplawski
86c8bf8264 Bump release 2014-09-30 11:49:07 -06:00
Orion Poplawski
47b591509d Drop server deps and configuration changes (bug #1144298) 2014-09-30 11:47:44 -06:00
Orion Poplawski
c4780059ba Fix %files for routes.yaml 2014-09-19 09:08:28 -06:00
Jeroen van Meeuwen (Ergo Project)
b9ef767673 Drop yum proxy patch 2014-09-19 01:29:08 +02:00
Jeroen van Meeuwen (Ergo Project)
e0e2f3d386 Update to 3.7.1 2014-09-19 01:27:27 +02:00
Lukas Zapletal
df03ac73d7 1131398 - added start-puppet-ca wrapper into files section 2014-08-19 10:34:19 +02:00
Lukas Zapletal
eca3bbded3 1131398 - added start-puppet-ca wrapper 2014-08-19 10:32:43 +02:00
Pádraig Brady
6c0d425952 allow yumrepo proxy attribute to be set to _none_
Backport https://github.com/puppetlabs/puppet/pull/2767
Resolves rhbz#1114723
2014-07-01 01:12:11 +01:00
Orion Poplawski
392e745c60 Update to 3.6.2 2014-06-16 12:46:37 -06:00
Dennis Gilmore
985e763c63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:33:57 -05:00
Sam Kottler
773d1a3b37 Remove superfluous logic and update to 3.6.0 2014-05-18 13:17:55 -04:00
Sam Kottler
dd20568b00 Fix my email 2014-04-28 11:57:37 -04:00
Sam Kottler
cb9ecce5c6 Update to 3.5.1 2014-04-28 11:35:10 -04:00
Lukas Zapletal
28934567ac RHBZ#1070395 - fixed error in postun scriplet 2014-04-08 14:55:28 +02:00
Lukas Zapletal
3925895740 Uploading fixed start-puppet-wrapper (typo) - correction 2014-04-08 14:10:39 +02:00
Lukas Zapletal
056a731487 Uploading fixed start-puppet-wrapper (typo) 2014-04-08 13:59:03 +02:00
Lukas Zapletal
a5e1463d8f Activating wrapper scripts for systemd service files 2014-04-08 13:55:21 +02:00
Sam Kottler
72665614ad Update to 3.4.3 2014-02-24 11:37:03 -05:00
Sam Kottler
b8e7d983fc Bump version for the new requires 2014-01-29 19:49:01 +01:00
Sam Kottler
487cbd9511 Add rubygem(rgen) runtime reuqirement 2014-01-29 19:47:14 +01:00
Sam Kottler
4854041889 Bump the release to -4 2014-01-23 17:31:09 +00:00
Sam Kottler
dc3f6cc0ce Use localstatedir macro for upgrade file 2014-01-23 17:30:14 +00:00
Sam Kottler
80fdd334dd Enable puppet.service during upgrade if puppetagent.service was previously enabled 2014-01-17 06:35:46 -05:00
Sam Kottler
f217cd3609 Remove repeated Group 2014-01-16 10:54:00 +01:00
Sam Kottler
7add85ccbb Add changelog entry and bump version since scratch-build was okay 2014-01-16 10:52:47 +01:00
Sam Kottler
f127291835 Remove F18 conditionals since it's EOL now 2014-01-16 10:51:44 +01:00
Sam Kottler
a162ea3e6c Add sources for 3.4.2 2014-01-14 05:51:41 -05:00
Sam Kottler
77ef7b1da5 Update to 3.4.2 to mitigate CVE-2013-4969 (BZ#1047792) 2014-01-14 05:51:01 -05:00
Sam Kottler
5559ba0d44 Update to 3.3.2 2013-11-18 15:19:53 -05:00
Sam Kottler
a6f20025cc Add patch to convert nil resource parameter values to undef (BZ#1028930) 2013-11-16 19:26:49 +00:00
Sam Kottler
bfd9d58741 Ensure the old agent binary gets stopped since the init script doesn't reference it (BZ##1024538) 2013-11-05 16:32:41 -05:00
Sam Kottler
f3709825f2 Make the wrapper a source 2013-11-01 18:54:49 -04:00
Sam Kottler
f9345f3eba Whoops, add the script to the sources now that it's in the lookaside 2013-11-01 18:40:12 -04:00
Lukas Zapletal
38ef600898 Add a start wrapper for the agent and master so the master can be labelled properly (BZ#1012426) 2013-11-01 18:29:00 -04:00
Orion Poplawski
f035778694 Update to 3.3.1 2013-10-07 20:12:14 -06:00
Sam Kottler
e892b45bc0 Add both new sources 2013-09-13 11:18:58 -04:00
Sam Kottler
0752946bb5 Add tarball, too 2013-09-13 11:12:30 -04:00
Sam Kottler
c32be462c8 Fixes BZ#1007917: upgrade to 3.3.0 2013-09-13 11:10:20 -04:00
Sam Kottler
18b5f8c9a4 Add a missing '2013' to the CVE ID 2013-08-30 08:20:40 -04:00
Sam Kottler
d18dcc4677 Remove patches detected by 'fedpkg unused-patches' 2013-08-30 08:11:43 -04:00
Sam Kottler
22bd772c97 Update to 3.2.4 2013-08-30 08:10:02 -04:00
Sam Kottler
60573050f5 Fix the date in the changelog 2013-08-29 00:27:19 -04:00
Sam Kottler
c334976fe7 Update to 3.2.2 2013-08-29 00:25:25 -04:00
Sam Kottler
3a358afc43 Increment the release 2013-08-04 22:20:18 -04:00
Sam Kottler
ad48aa39a3 Add tar as an installation requirement (BZ #994477) 2013-08-04 22:03:38 -04:00
Orion Poplawski
1b60bcc22c Use systemd semantics and name in NM dispatcher script 2013-07-30 11:02:54 -06:00
Sam Kottler
89a7f1cde9 Remove superfluous line from the changelog 2013-07-27 15:30:18 +00:00
Sam Kottler
b8dbec7d9d Add hard dependency on Ruby (fixes BZ #985208) 2013-07-27 15:28:42 +00:00
Orion Poplawski
3a1fcf5477 Fix rhel ruby conditional 2013-04-16 11:04:38 -06:00
Orion Poplawski
9e7b9c6ccc Add patch for ruby 2.0 support 2013-04-16 10:56:33 -06:00
Vít Ondruch
154f044388 Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 2013-03-15 13:17:55 +01:00
Michael Stahnke
e22a5fac51 Update Puppet to 2.6.18 for various security fixes
BZ#920845

Fixes for CVE-2013-1640 CVE-2013-1652 CVE-2013-1653 CVE-2013-1654
CVE-2013-1655 CVE-2013-2274 CVE-2013-2275

see puppetlabs.com/security for more information.

This commit also rebases the webrick compatibility patch to be a cherry-pick
from upstream rather than a Fedora-specific patch.

Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
2013-03-13 17:28:57 -07:00
Michael Stahnke
ba611d6989 Merge branch 'f18' 2013-03-07 17:47:12 -08:00
Michael Stahnke
398854873e Update patch to 3.1.0 2013-03-07 17:38:27 -08:00
Michael Stahnke
d1a6c22676 remove the asc file laying around 2013-03-07 17:35:20 -08:00
Michael Stahnke
d40fa44259 Update F18 Puppet to 3.1.0
This is the update to 3.1.0 which is a working Puppet on Ruby 1.9.3.
This update differs from rawhide slightly in that we are keeping systemV
init scripts rather than using Systemd since this is an update within
F18.

Note that 2.7.x on F18 with F18's ruby did not work and was an
unsupported combination from upstream. This resolves that issue and
rebases Puppet. This is not backward compatible, but since 2.7.x of
Puppet didn't work, I thought it was probably ok.

Merge branch 'master' into f18

Conflicts:
	puppet.spec
	puppetmaster-old-client-compat.patch

Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
2013-03-07 17:32:37 -08:00
Daniel Drake
821adb9431 Improve compat with old clients 2013-03-07 16:19:05 -06:00
Daniel Drake
bf3db4410d Improve compat with old clients 2013-03-07 16:17:48 -06:00
Michael Stahnke
ebf700d449 Resolve merge conflict from mass rebuild 2013-02-27 14:45:21 -08:00
Dennis Gilmore
986d96a1ae - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 12:32:18 -06:00
Michael Stahnke
3194a84e47 Update rawhide to 3.1.0 2013-02-13 16:29:16 -08:00
Michael Stahnke
9d740cbb34 Update gitignore once more
Updating to fix typo of ac to asc. Also re-adding /puppet-*/.
2012-12-28 17:41:02 -08:00
Michael Stahnke
77fca2933e Stop fighting .gitignore
The settings in the .gitignore file were preventing my commit from
actually working. Boo.

Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
2012-12-28 12:26:53 -08:00
Michael Stahnke
be0b3c3e4b Update sources 2012-12-28 11:04:01 -08:00
Michael Stahnke
b547e9d820 Update sources 2012-12-28 11:03:39 -08:00
Moses Mendoza
56cea4008a Update puppet spec to 3.0.2
This patch updates the puppet spec for upstream version 3.0.2. Puppet
3.0.2 includes service management files for systemd, which ships with
F17, so this updates the spec to include systemd conditionals where
applicable. Several deprecated manpages and executables, including
everything Puppet shipped in %{_sbindir}, are removed in Puppet 3.0.x as
well; This commit updates the spec as such. The patch for commit a71208b
is removed as its in the 3.0.2 source. Per existing comments, the
deprecated puppetstoredconfigclean.rb script is removed. Additionally,
the patch for preserving timestamps in install.rb is removed, as this
has been merged into upstream. Puppet 3.0.2 requires ruby >= 1.8.7 and
facter >= 1.6.6, so updated BuildRequires and Requires are added for
these. A new requires of hiera >= 1.0.0 is added as well. Puppet >=
3.0.0 also entirely absorbed the source of the package hiera-puppet, so
this is obsoleted and provided here. Finally, the built-in mongrel
support is removed in puppet 3.x, so the reference to it is removed in
the spec.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
2012-12-28 11:00:57 -08:00
Todd Zullinger
e6d8c53229 Preserve timestamps when installing files 2012-07-12 00:37:23 -04:00
Todd Zullinger
eda1b9242b Improve NetworkManager compatibility, thanks to Orion Poplawski (#532085) 2012-07-12 00:04:26 -04:00
Todd Zullinger
f4d623b933 Update to 2.7.18, fixes CVE-2012-3864, CVE-2012-3865, CVE-2012-3866, CVE-2012-3867 2012-07-11 09:13:49 -04:00
Todd Zullinger
0d23510c6b Backport patch to silence confine warnings in ruby-1.9.3 2012-04-25 10:34:07 -04:00
Todd Zullinger
cab382d4ed Minor rpmlint fixes 2012-04-25 10:34:07 -04:00
Todd Zullinger
ee3397dec3 Drop %post hacks to deal with upgrades from 0.25
No supported Fedora release ever shipped 0.25.  If/when we merge 2.7
back to EPEL, we won't want this cruft there either.
2012-04-25 10:34:07 -04:00
Todd Zullinger
ffddaa3465 Update to 2.7.13
Note that the license has changed from GPLv2 to ASL 2.0.

With 2.7, the puppetstoredconfigclean script has been dropped from ext/
because 'puppet node clean' performs this task.  Unfortunately, it does
more than just cleaning up the storeconfig db (removing signed
certificates and reports), so we can't just call 'puppet node clean'.
Instead, restore the script and add a note that it is deprecated,
pointing to 'puppet node clean' as the supported method of cleaning
storedconfig and other node data.
2012-04-25 10:34:06 -04:00
Todd Zullinger
2b0f973a67 Correct permissions of /var/log/puppet (0750)
When puppet master runs, it will set these permissions, and then rpm
verification fails.  Set it correctly in %files to avoid this.
2012-04-12 13:55:31 -04:00
Todd Zullinger
df2d26be18 Update to 2.6.16, fixes CVE-2012-1986, CVE-2012-1987, and CVE-2012-1988 2012-04-11 16:03:19 -04:00
Todd Zullinger
f1b9453318 Update to 2.6.14, fixes CVE-2012-1053 and CVE-2012-1054 2012-02-22 20:51:05 -05:00
Todd Zullinger
73d9e79655 Only try to run 0.25.x -> 2.6.x pid file updates on EL
No supported Fedora releases ever had 0.25.5, so they could never
require the ugly upgrade code in %post.  If/when we move EL to 2.7.x,
these can be dropped entirely.
2012-02-21 14:39:09 -05:00
Todd Zullinger
05448476bc Use ruby($lib) for augeas and shadow requirements
This is more compatible with all Fedora and EPEL branches than using the
ruby-$lib package name.
2012-02-21 14:15:33 -05:00
Todd Zullinger
56447683b8 Update install locations for Fedora-17 / Ruby-1.9 2012-02-21 14:15:33 -05:00
Todd Zullinger
763a50f37c Bump minimum ruby version to 1.8.5 now that EL-4 is all but dead
Ruby 1.8.1 was only supported on a best-effort basis for agent use only,
mostly for EL-4 support.  With EL-4 going EOL in a few weeks, we can
forget about 1.8.1
2012-02-21 14:15:29 -05:00
Todd Zullinger
18da23901d Move rpmlint fixes to %prep, add a few additional fixes 2012-02-21 14:14:48 -05:00
Todd Zullinger
04a1f392df Revert to minimal patch for augeas >= 0.10 (bz#771097)
After discussion in bugzilla, it's clear that a more minimal backport of
changes to resolve issues with augeas >= 0.10 is the better approach.

(That and I missed the patch which Dominic had helpfully attached to the
bug when he initially filed it.)
2012-01-05 00:49:19 -05:00
Todd Zullinger
9844a131e2 Cherry-pick various augeas fixes from upstream (bz#771097)
When augeas reached 0.10.0, various version tests failed.  This is fixed
in the 2.7.x branch of puppet, but a few other changes were also made
since then, making a very minimal cherry-pick fix difficult.  The other
changes are reasonably small and are also worth of backporting to our
2.6.x packages.
2012-01-01 23:13:08 -05:00
Todd Zullinger
e080a6a4c0 Update to 2.6.13 2011-12-14 12:46:40 -05:00
Todd Zullinger
47fcf33655 Apply partial fix for upstream #9167
Tagmail report sends email when nothing happens.  This is a partial fix
because it doesn't handle --noop mode.
2011-10-24 14:53:28 -04:00
Todd Zullinger
65b5b66a83 Update to 2.6.12, fixes CVE-2011-3872
This includes and upstream patch to restore Mongrel XMLRPC functionality
(upstream #10244) which was accidentally dropped in 2.6.12.
2011-10-24 14:52:40 -04:00
Todd Zullinger
62983f0d68 Apply upstream security patches
Fixes for CVE-2011-3869, CVE-2011-3870, CVE-2011-3871, and upstream
ticket #9793 are included. Further details can be found in the upstream
announcement:

http://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb
2011-09-30 17:57:25 -04:00
Todd Zullinger
e29affe666 Apply upstream patch for CVE-2011-3848 2011-09-27 20:39:11 -04:00
Todd Zullinger
702351f53f Remove extra mkdir in tmpfiles.d setup 2011-03-27 23:01:33 -04:00
Todd Zullinger
97a1f9e0c1 Apply a few upstream fixes for 0.25.5 regressions
The patches are from 2.6.7rc1.

(#4922) Don't truncate remotely-sourced files on 404
(#5073) Download plugins even if you're filtering on tags
(#5428) More fully "stub" Puppet::Resource::Reference for use with
storedconfigs
2011-03-16 17:01:09 -04:00
Todd Zullinger
9bfa9137f0 Support tmpfiles.d for Fedora >= 15 (#656677) 2011-03-16 10:41:44 -04:00
Todd Zullinger
930375d8ab Require libselinux-utils when selinux support is enabled
Some of the selinux types/providers call binaries from libselinux-utils
directly.  Ideally, these would be converted to use the ruby bindings,
but it is not clear if that is feasible at this time.
2011-03-16 10:38:27 -04:00
Todd Zullinger
6e7f2a531d Properly restart puppet agent/master daemons on upgrades from 0.25.x
The pidfile changed from 0.25.x to 2.6.x.  Attempt to handle upgrades
without leaving the old process running.
2011-03-16 10:36:41 -04:00
Todd Zullinger
9bf6b15a1e Create and own /usr/share/puppet/modules (#615432) 2011-03-16 10:35:31 -04:00
Todd Zullinger
42f1b77581 Fix License tag, puppet is now GPLv2 only
Upstream is exploring the possibility of moving to a more liberal
license like the Apache Software License and the advice of their legal
team was that it would be easier to move from GPLv2 than GPLv2 or later.
2011-03-16 10:24:57 -04:00
Todd Zullinger
d072deb126 Ensure %pre exits cleanly 2011-03-16 10:23:45 -04:00
Todd Zullinger
c1c8031682 Update to 2.6.6 2011-03-16 10:20:24 -04:00
Dennis Gilmore
291d3b1607 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 11:19:58 -06:00
Fedora Release Engineering
00ea468432 dist-git conversion 2010-07-29 09:54:08 +00:00
Todd Zullinger
9110c70d10 Update to 0.25.5
- Adjust selinux conditional for EL-6
- Apply rundir-perms patch from tarball rather than including it separately
- Update URL's to reflect the new puppetlabs.com domain
2010-05-18 02:02:12 +00:00
Todd Zullinger
bf0afbcfa0 Update to 0.25.4 2010-01-31 14:50:45 +00:00
Todd Zullinger
7cf223fb4c Apply upstream patch to fix cron resources (upstream #2845) 2010-01-20 01:23:50 +00:00
Todd Zullinger
2703742d93 Replace %%define with %%global for macros 2010-01-12 04:04:51 +00:00
Todd Zullinger
ed84aa863a Replace %%define with %%global for macros 2010-01-05 21:47:02 +00:00
Todd Zullinger
3e7073eecc Remove unused patches 2010-01-05 21:33:30 +00:00
Todd Zullinger
298cd0f156 - Update to 0.25.2
- Fixes CVE-2010-0156, tmpfile security issue (#502881)
- Install auth.conf, puppetqd manpage, and queuing examples/docs
2010-01-05 21:30:27 +00:00
Todd Zullinger
0838ed6def Bump and rebuild to get 0.25.1 into rawhide 2009-12-03 20:06:15 +00:00
Jeroen van Meeuwen
5442b23413 0.25.1 2009-11-26 07:23:04 +00:00
Bill Nottingham
863097c2b4 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:31:48 +00:00
Todd Zullinger
53644be932 Fix a number of packaging and source bugs
Fri Aug 07 2009 Todd Zullinger <tmz@pobox.com> - 0.24.8-4
- Fix status -p handling on older RHEL (#501577)
- Fix condrestart when daemon's aren't running (#480600)
- Fix timeout reading /proc/mounts (upstream #1963)
- Fix permissions on /var/log/puppet (#495096)
- Fix rails test for activerecord-2.3 (#515728)
Wed Jun 24 2009 Jeroen van Meeuwen <kanarip@kanarip.com>
- Fix permissions on /var/run/puppet/ (#495096)
- Support initializing supplementary groups (#1806, #475201, Till Maas)
- Own the correct vim directory
- Move ext/ outside of doc datadir (rpmlint)
- Require ruby(selinux) rather then libselinux-ruby (#507848)
2009-08-08 15:17:00 +00:00
Jesse Keating
5e5467ffeb - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 19:39:51 +00:00
Jeroen van Meeuwen
3a9df1343a 0.24.8-2 2009-06-24 11:45:39 +00:00
Todd Zullinger
33c6c9b550 Update to 0.24.8
- Quiet output from %pre
- Use upstream install script
- Increase required facter version to >= 1.5
2009-03-24 00:08:05 +00:00
Jesse Keating
4f6a0a0b26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-27 03:00:30 +00:00
Todd Zullinger
c0270277a4 Remove redundant useradd from %%pre 2008-12-16 22:46:36 +00:00
Jeroen van Meeuwen
79c31eb8eb 0.24.7-3 2008-12-16 09:02:06 +00:00
Jeroen van Meeuwen
2f7f048893 0.24.7-1 2008-12-16 08:42:47 +00:00
David Lutterkort
e1df5a4049 Use fixed uid/gid pair across all active branches 2008-12-15 11:23:59 +00:00
Todd Zullinger
1e6ad1bd64 - Update to 0.24.6
- Require ruby-shadow on Fedora and RHEL >= 5
- Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch
- Require chkconfig and initstripts for preun, post, and postun scripts
- Conditionally restart puppet in %postun
- Ensure %preun, %post, and %postun scripts exit cleanly
- Create puppet user/group according to Fedora packaging guidelines
- Quiet a few rpmlint complaints
- Remove useless %pbuild macro
- Make specfile more like the Fedora/EPEL template
2008-10-23 21:09:00 +00:00
David Lutterkort
7237c7549d New version 2008-07-28 17:30:00 +00:00
David Lutterkort
808a825079 New version; add man pages 2008-03-25 22:05:48 +00:00
David Lutterkort
69169c6345 New version 0.24.3 2008-03-24 18:27:18 +00:00
David Lutterkort
994dbbd9f5 New version 2008-03-05 22:41:48 +00:00
David Lutterkort
948fae3890 New version 2007-12-22 22:29:40 +00:00
David Lutterkort
5a39f5bf87 Use updated upstream tarball that contains yumhelper.py 2007-12-17 22:22:18 +00:00
David Lutterkort
f4b7031e1b New version 2007-12-14 19:25:44 +00:00
David Lutterkort
ec1aecc45e Version 0.23.2 2007-08-22 17:21:40 +00:00
David Lutterkort
e21f0c20e4 Version 0.23.1 2007-07-27 00:06:30 +00:00
David Lutterkort
e18f387eca Version 0.23.0 2007-06-21 21:38:49 +00:00
David Lutterkort
8bb22052ec New version 0.22.4 2007-05-03 18:13:30 +00:00
David Lutterkort
314198b31f New version 0.22.3 2007-03-31 01:06:54 +00:00
David Lutterkort
5b273b73e2 New version 0.22.2 2007-03-20 00:14:34 +00:00
David Lutterkort
e4f049dd07 Fix lockdir problem in puppetd.conf 2007-02-12 14:53:12 +00:00
David Lutterkort
7bce7b24ed New version 0.22.1 2007-02-03 19:35:12 +00:00
David Lutterkort
fcff0e11c3 New version 0.22.0 2007-01-06 00:22:27 +00:00
David Lutterkort
e58cbb0d73 New version 0.20.1 2006-11-14 02:22:46 +00:00
David Lutterkort
269ed3c6f7 New version 0.20.0 2006-10-24 00:26:21 +00:00
David Lutterkort
5e89698301 Update to 0.19.3 2006-09-26 14:03:26 +00:00
David Lutterkort
a05502a5af auto-import puppet-0.19.1-1 on branch devel from puppet-0.19.1-1.src.rpm
Version 0.19.1
2006-09-18 13:11:15 +00:00
David Lutterkort
266b8846cc No rebuild for FC6 needed - already built for new version on 2006-09-07 2006-09-13 09:09:28 +00:00
David Lutterkort
f255b7b337 New version 2006-09-08 01:02:52 +00:00
Ville Skyttä
690f44c3f5 http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild 2006-08-27 21:00:26 +00:00
David Lutterkort
a0148e4944 Fix shebang lines in executables 2006-08-01 23:50:39 +00:00
David Lutterkort
bf901103f3 Version 0.18.4 2006-08-01 22:20:27 +00:00
David Lutterkort
ff4285b1ae auto-import puppet-0.18.3-1 on branch devel from puppet-0.18.3-1.src.rpm
New Version 0.18.3
2006-07-15 01:43:36 +00:00
David Lutterkort
e23a2a8c6d auto-import puppet-0.18.2-1 on branch devel from puppet-0.18.2-1.src.rpm 2006-07-12 01:01:04 +00:00
18 changed files with 1207 additions and 21 deletions

View file

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
*~
*.rpm
*.tar.gz
*.tar.gz.asc
/puppet-*/
/.build*.log
results_puppet/
/tests/*/log.txt

View file

@ -0,0 +1,41 @@
From 2032d928c2520cba988fe57f888011a286bae1c8 Mon Sep 17 00:00:00 2001
From: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Date: Wed, 5 Mar 2025 14:01:47 +0100
Subject: [PATCH] Avoid closing directory we're iterating
Ruby 3.4 started error checking directory access and starts to raise
Errno::EBADF.
This particular loop iterates on all open file descriptors and one is
the directory listing from Dir.foreach.
In the past this could have led to leaked file descriptors, but it's
unlikely since it's likely the last opened file descriptor and have the
highest number.
Link: https://github.com/ruby/ruby/commit/f2919bd11c570fc5f5440d1f101be38f61e3d16b
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2349352
---
lib/puppet/util.rb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index 06c7b11815db..37b37d614d3a 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -478,8 +478,10 @@ module Util
$stderr = STDERR
begin
- Dir.foreach('/proc/self/fd') do |f|
- if f != '.' && f != '..' && f.to_i >= 3
+ d = Dir.new('/proc/self/fd')
+ ignore_fds = ['.', '..', d.fileno.to_s]
+ d.each_child do |f|
+ if !ignore_fds.include?(f) && f.to_i >= 3
begin
IO.new(f.to_i).close
rescue
--
2.49.0

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: puppet
# $Id$
NAME := puppet
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

48
README.md Normal file
View file

@ -0,0 +1,48 @@
# Puppet
This is the packaging for [Puppet](https://puppet.com/).
The files are downloaded from [downloads.puppet.com](https://downloads.puppet.com/puppet/) since they contain GPG signed tarballs, unlike on Rubygems.
Additionally it vendors various Puppet modules to match upstream's [puppet-agent config](https://github.com/puppetlabs/puppet-agent).
## Updating
Typically you will be notified via [release-monitoring](https://release-monitoring.org/project/7018/), which creates a Bugzilla.
Start with bumping the spec and reference the Bugzilla number.
```
BZ=2151953 VERSION=7.21.0
commit_message="Update to $VERSION (fixes rhbz#$BZ)"
rpmdev-bumpspec --new="$VERSION" --comment="$commit_message" puppet.spec
```
Then verify whether any vendored modules need to be updated.
See the lines in the spec file itself on how to do that.
In addition to that the dependencies should be verified.
Once that's done, retrieve the sources:
```
spectool --get-files puppet.spec
```
Then upload the sources:
```
spectool --list-files puppet.spec | awk '/https:/ { print $2 }' | xargs -n 1 basename | xargs fedpkg new-sources --offline
```
Test out a scratch build:
```
koji build --scratch rawhide $(fedpkg srpm 2>/dev/null | grep ^Wrote | rev | cut -d "/" -f1 | rev)
```
If it looks all right, drop the `--offline` parameter from the spectool.
Commit, push, build, update
```
# git additions/removals/etc at this point
fedpkg commit -m "$commit_message"
fedpk build --target rawhide
fedpkg update
```

View file

@ -0,0 +1,31 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFyrv4oBEADhL8iyDPZ+GWN7L+A8dpEpggglxTtL7qYNyN5Uga2j0cusDdOD
ftPHsurLjfxtc2EFGdFK/N8y4LSpq+nOeazhkHcPeDiWC2AuN7+NGjH9LtvMUqKy
NWPhPYP2r/xPL547oDMdvLXDH5n+FsLFW8QgATHk4AvlIhGng0gWu80OqTCiL0HC
W7TftkF8ofP8k90SnLYbI9HDVOj6VYYtqG5NeoCHGAqrb79G/jq64Z/gLktD3IrB
CxYhKFfJtZ/BSDB8Aa4ht+jIyeFCNSbGyfFfWlHKvF3JngS/76Y7gxX1sbR3gHJQ
hO25AQdsPYKxgtIgNeB9/oBp1+V3K1W/nta4gbDVwJWCqDRbEFlHIdV7fvV/sqiI
W7rQ60aAY7J6Gjt/aUmNArvT8ty3szmhR0wEEU5/hhIVV6VjS+AQsI8pFv6VB8bJ
TLfOBPDW7dw2PgyWhVTEN8KW/ckyBvGmSdzSgAhw+rAe7li50/9e2H8eiJgBbGid
8EQidZgkokh331CMDkIA6F3ygiB+u2ZZ7ywxhxIRO70JElIuIOiofhVfRnh/ODlH
X7eD+cA2rlLQd2yWf4diiA7C9R8r8vPrAdp3aPZ4xLxvYYZV8E1JBdMus5GRy4rB
Avetp0Wx/1r9zVDKD/J1bNIlt0SR9FTmynZj4kLWhoCqmbrLS35325sS6wARAQAB
tEhQdXBwZXQsIEluYy4gUmVsZWFzZSBLZXkgKFB1cHBldCwgSW5jLiBSZWxlYXNl
IEtleSkgPHJlbGVhc2VAcHVwcGV0LmNvbT6JAlQEEwEKAD4WIQTWgR7Tre64RBr1
qo9FKLbNnmHvJgUCXKu/igIbAwUJC0c1AAULCQgHAwUVCgkICwUWAgMBAAIeAQIX
gAAKCRBFKLbNnmHvJg/vD/0eOl/pBb6ooGnzg2qoD+XwgOK3HkTdvGNZKGsIrhUG
q6O0zoyPW8v9b/i7QEDre8QahARmMAEQ+T3nbNVzw4kpE+YIrEkKjoJsrF8/K/1L
zBHJCc3S9oF9KubG5BuQ4bAmcvnI+qpEYbSTLHztYGUfXAGu+MnaDf4C60G7zM6m
ec4bX8lVnt+gcsGGGCdN89XsZLBNdv21z9xMeaAPiRYJpbqwrb8cYbKQeqFSQt2M
UylN5oVeN77Q8iyXSyVwpc6uKzXdQ8bVPbKUTWSXQ4SSp0HJjtAMiDH2pjty4PG6
EgZ6/njJLOzQ29ZgFrS19XLONlptHwKzLYB8nJhJvGHfzzInmNttDtNwTA6IxpsR
4aCnrPWFJRCbmMBNXvBR9B/O+e/T5ngL21ipMEwzEOiQlRSacnO2pICwZ5pARMRI
dxq/5BQYry9HNlJDGR7YIfn7i0oCGk5BxwotSlAPw8jFpNU/zTOvpQAdPvZje2JP
6GS+hYxSdHsigREXI2gxTvpcLk8LOe9PsqJv631e6Kvn9P9OHiihIp8G9fRQ8T7y
elHcNanV192mfbWxJhDAcQ+JEy9883lOanaCoaf/7z4kdmCQLz5/oNg2K0qjSgZH
JY/gxCOwuAuUJlLcAXQG6txJshfMxyQUO46DXg0/gjwkKgT/9PbTJEN/WN/G6n1h
lQ==
=nKF2
-----END PGP PUBLIC KEY BLOCK-----

16
gating.yaml Normal file
View file

@ -0,0 +1,16 @@
--- !Policy
product_versions:
- epel-*
- fedora-*
decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- epel-*
- fedora-*
decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

21
logrotate Normal file
View file

@ -0,0 +1,21 @@
# Generic logrotate config for Red Hat systems. Works with both official
# Fedora and RHEL packages as well as PuppetLabs distributions.
/var/log/puppetlabs/masterhttp.log /var/log/puppet/masterhttp.log {
compress
missingok
notifempty
nocreate
}
/var/log/puppetlabs/puppetd.log /var/log/puppet/puppetd.log {
compress
missingok
notifempty
nocreate
sharedscripts
postrotate
([ -x /etc/init.d/puppet ] && /etc/init.d/puppet rotate > /dev/null 2>&1) ||
([ -x /usr/bin/systemctl ] && /usr/bin/systemctl kill -s USR2 puppet.service > /dev/null 2>&1) || true
endscript
}

84
openvox-dnf5.patch Normal file
View file

@ -0,0 +1,84 @@
commit 26d3405df7f35497ec07942c44c292bb25d60210
Author: Lars Haugan <lars.haugan@sparebank1.no>
Date: Mon Dec 23 14:56:21 2024 +0100
Add fix for package running dnf5 on fedora
Fedora 41 introduced dnf5 which has deprecated the use of the flags '-d'
and '-e'. This change removes the options
Signed-off-by: Lars Haugan <lars.haugan@sparebank1.no>
diff --git a/lib/puppet/provider/package/dnfmodule.rb b/lib/puppet/provider/package/dnfmodule.rb
index 8d58d2fdd8..de052ad744 100644
--- a/lib/puppet/provider/package/dnfmodule.rb
+++ b/lib/puppet/provider/package/dnfmodule.rb
@@ -35,7 +35,7 @@ Puppet::Type.type(:package).provide :dnfmodule, :parent => :dnf do
def self.instances
packages = []
- cmd = "#{command(:dnf)} module list -y -d 0 -e #{error_level}"
+ cmd = "#{command(:dnf)} module list -y"
execute(cmd).each_line do |line|
# select only lines with actual packages since DNF clutters the output
next unless line =~ /\[[eix]\][, ]/
@@ -90,7 +90,7 @@ Puppet::Type.type(:package).provide :dnfmodule, :parent => :dnf do
enable(args)
else
begin
- execute([command(:dnf), 'module', 'install', '-d', '0', '-e', self.class.error_level, '-y', args])
+ execute([command(:dnf), 'module', 'install', '-y', args])
rescue Puppet::ExecutionFailure => e
# module has no default profile and no profile was requested, so just enable the stream
# DNF versions prior to 4.2.8 do not need this workaround
@@ -117,20 +117,20 @@ Puppet::Type.type(:package).provide :dnfmodule, :parent => :dnf do
end
def enable(args = @resource[:name])
- execute([command(:dnf), 'module', 'enable', '-d', '0', '-e', self.class.error_level, '-y', args])
+ execute([command(:dnf), 'module', 'enable', '-y', args])
end
def uninstall
- execute([command(:dnf), 'module', 'remove', '-d', '0', '-e', self.class.error_level, '-y', @resource[:name]])
+ execute([command(:dnf), 'module', 'remove', '-y', @resource[:name]])
reset # reset module to the default stream
end
def disable(args = @resource[:name])
- execute([command(:dnf), 'module', 'disable', '-d', '0', '-e', self.class.error_level, '-y', args])
+ execute([command(:dnf), 'module', 'disable', '-y', args])
end
def reset
- execute([command(:dnf), 'module', 'reset', '-d', '0', '-e', self.class.error_level, '-y', @resource[:name]])
+ execute([command(:dnf), 'module', 'reset', '-y', @resource[:name]])
end
def flavor
diff --git a/lib/puppet/provider/package/yum.rb b/lib/puppet/provider/package/yum.rb
index 15bc372c6b..6c0f85e31b 100644
--- a/lib/puppet/provider/package/yum.rb
+++ b/lib/puppet/provider/package/yum.rb
@@ -247,7 +247,7 @@ Puppet::Type.type(:package).provide :yum, :parent => :rpm, :source => :rpm do
update_command = self.class.update_command
# If not allowing virtual packages, do a query to ensure a real package exists
unless @resource.allow_virtual?
- execute([command(:cmd), '-d', '0', '-e', error_level, '-y', install_options, :list, wanted].compact)
+ execute([command(:cmd), '-y', install_options, :list, wanted].compact)
end
should = @resource.should(:ensure)
@@ -307,10 +307,7 @@ Puppet::Type.type(:package).provide :yum, :parent => :rpm, :source => :rpm do
end
end
- # Yum on el-4 and el-5 returns exit status 0 when trying to install a package it doesn't recognize;
- # ensure we capture output to check for errors.
- no_debug = Puppet.runtime[:facter].value('os.release.major').to_i > 5 ? ["-d", "0"] : []
- command = [command(:cmd)] + no_debug + ["-e", error_level, "-y", install_options, operation, wanted].compact
+ command = [command(:cmd)] + ["-y", install_options, operation, wanted].compact
output = execute(command)
if output.to_s =~ /^No package #{wanted} available\.$/

7
plans/lookup.fmf Normal file
View file

@ -0,0 +1,7 @@
summary: Run puppet lookup
prepare:
how: install
package: puppet
execute:
how: tmt
script: puppet lookup --explain foo

5
plans/smoke.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View file

@ -0,0 +1,8 @@
#!/bin/bash
#
# Restart puppet on network changes to pickup changes to /etc/resolv.conf
#
# https://projects.puppetlabs.com/issues/2776
# https://bugzilla.redhat.com/532085
[[ $2 =~ ^(up|down)$ ]] && /bin/systemctl condrestart puppetagent.service || :

884
puppet.spec Normal file
View file

@ -0,0 +1,884 @@
%global nm_dispatcher_dir %{_prefix}/lib/NetworkManager
%global puppet_libdir %{ruby_vendorlibdir}
%global puppet_vendor_mod_dir %{_datadir}/%{name}/vendor_modules
Name: puppet
Version: 8.10.0
Release: 3%{?dist}
Summary: Network tool for managing many disparate systems
License: Apache-2.0
URL: https://puppet.com
Source0: https://downloads.puppetlabs.com/puppet/%{name}-%{version}.tar.gz
Source1: https://downloads.puppetlabs.com/puppet/%{name}-%{version}.tar.gz.asc
Source2: RPM-GPG-KEY-puppet-20250406
# Get these by checking out the right tag from https://github.com/puppetlabs/puppet-agent and:
# sed 's|.\+puppetlabs/\([a-z_-]\+\).git.\+tags/v\?\([0-9\.]\+\)"}|https://forge.puppet.com/v3/files/\1-\2.tar.gz|' configs/components/module-puppetlabs-*.json
Source3: https://forge.puppet.com/v3/files/puppetlabs-augeas_core-1.5.0.tar.gz
Source4: https://forge.puppet.com/v3/files/puppetlabs-cron_core-1.3.0.tar.gz
Source5: https://forge.puppet.com/v3/files/puppetlabs-host_core-1.3.0.tar.gz
Source6: https://forge.puppet.com/v3/files/puppetlabs-mount_core-1.3.0.tar.gz
Source7: https://forge.puppet.com/v3/files/puppetlabs-scheduled_task-3.2.0.tar.gz
Source8: https://forge.puppet.com/v3/files/puppetlabs-selinux_core-1.4.0.tar.gz
Source9: https://forge.puppet.com/v3/files/puppetlabs-sshkeys_core-2.5.0.tar.gz
Source10: https://forge.puppet.com/v3/files/puppetlabs-yumrepo_core-2.1.0.tar.gz
Source11: https://forge.puppet.com/v3/files/puppetlabs-zfs_core-1.6.1.tar.gz
Source12: https://forge.puppet.com/v3/files/puppetlabs-zone_core-1.2.0.tar.gz
Source13: puppet-nm-dispatcher.systemd
Source14: start-puppet-wrapper
Source15: logrotate
Patch: 0001-Avoid-closing-directory-we-re-iterating.patch
Patch: openvox-dnf5.patch
BuildArch: noarch
# ruby-devel does not require the base package, but requires -libs instead
BuildRequires: ruby
BuildRequires: ruby-devel
BuildRequires: rubygem-json
BuildRequires: facter
BuildRequires: hiera
BuildRequires: systemd
BuildRequires: gnupg2
Requires: hiera >= 3.3.1
Requires: facter >= 4.3.0
Requires: rubygem(concurrent-ruby) >= 1.1.9
Requires: rubygem(deep_merge) >= 1.0
Requires: rubygem(facter) >= 4.3.0
Requires: rubygem(multi_json) >= 1.13
Requires: rubygem(puppet-resource_api) >= 1.5
Requires: rubygem(semantic_puppet) >= 1.0.2
Requires: rubygem(scanf) >= 1.0
Requires: ruby-augeas >= 0.5.0
# racc was a default gem, is now a bundled gem but shipped as a sepeate package
Requires: (ruby-default-gems < 3.3 or rubygem(racc))
Requires: augeas >= 1.10.1
Requires: augeas-libs >= 1.10.1
Requires: ruby(selinux) libselinux-utils
Obsoletes: puppet-headless < 6.0.0
Obsoletes: puppet-server < 6.0.0
Obsoletes: puppet < 6.0.0
%description
Puppet lets you centrally manage every important aspect of your system using a
cross-platform specification language that manages all the separate elements
normally aggregated in different files, like users, cron jobs, and hosts,
along with obviously discrete elements like packages, services, and files.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1
cp -a %{sources} .
for f in puppetlabs-*.tar*; do
tar xvf $f
done
# Puppetlabs messed up with default paths
find -type f -exec \
sed -i \
-e 's|/etc/puppetlabs/puppet|%{_sysconfdir}/%{name}|' \
-e 's|/etc/puppetlabs/code|%{_sysconfdir}/%{name}/code|' \
-e 's|/opt/puppetlabs/puppet/bin|%{_bindir}|' \
-e 's|/opt/puppetlabs/puppet/cache|%{_sharedstatedir}/%{name}|' \
-e 's|/opt/puppetlabs/puppet/public|%{_sharedstatedir}/%{name}/public|' \
-e 's|/opt/puppetlabs/puppet/share/locale|%{_datadir}/%{name}/locale|' \
-e 's|/opt/puppetlabs/puppet/modules|%{_datadir}/%{name}/modules|' \
-e 's|/opt/puppetlabs/puppet/vendor_modules|%{_datadir}/%{name}/vendor_modules|' \
-e 's|/var/log/puppetlabs/puppet|%{_localstatedir}/log/%{name}|' \
'{}' +
# Create a sysusers.d config file
cat >puppet.sysusers.conf <<EOF
u puppet 52 'Puppet' - -
EOF
%install
ruby install.rb --destdir=%{buildroot} \
--bindir=%{_bindir} \
--configdir=%{_sysconfdir}/%{name} \
--codedir=%{_sysconfdir}/%{name}/code \
--logdir=%{_localstatedir}/log/%{name} \
--rundir=%{_rundir}/%{name} \
--localedir=%{_datadir}/%{name}/locale \
--vardir=%{_sharedstatedir}/%{name} \
--publicdir=%{_sharedstatedir}/%{name}/public \
--sitelibdir=%{puppet_libdir}
mkdir -p %{buildroot}%{_datadir}/%{name}/vendor_modules
for d in $(find -mindepth 1 -maxdepth 1 -type d -name 'puppetlabs-*'); do
modver=${d#*-}
mod=${modver%-*}
cp -a $d %{buildroot}%{_datadir}/%{name}/vendor_modules/$mod
done
install -Dp -m0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
install -d -m0755 %{buildroot}%{_unitdir}
install -Dp -m0644 ext/systemd/puppet.service %{buildroot}%{_unitdir}/%{name}.service
install -D -m0644 puppet.sysusers.conf %{buildroot}%{_sysusersdir}/puppet.conf
# Note(hguemar): Conflicts with config file from hiera package
rm %{buildroot}%{_sysconfdir}/%{name}/hiera.yaml
# Install a NetworkManager dispatcher script to pickup changes to
# /etc/resolv.conf and such (https://bugzilla.redhat.com/532085).
install -Dpv -m0755 %{SOURCE13} \
%{buildroot}%{nm_dispatcher_dir}/dispatcher.d/98-%{name}
# Install the ext/ directory to %%{_datadir}/%%{name}
install -d %{buildroot}%{_datadir}/%{name}
cp -a ext/ %{buildroot}%{_datadir}/%{name}
# Install wrappers for SELinux
install -Dp -m0755 %{SOURCE14} %{buildroot}%{_bindir}/start-puppet-agent
sed -i 's|^ExecStart=.*/bin/puppet|ExecStart=%{_bindir}/start-puppet-agent|' \
%{buildroot}%{_unitdir}/%{name}.service
# Setup tmpfiles.d config
mkdir -p %{buildroot}%{_tmpfilesdir}
echo "D %{_rundir}/%{name} 0755 %{name} %{name} -" > \
%{buildroot}%{_tmpfilesdir}/%{name}.conf
# Unbundle
# Note(hguemar): remove unrelated OS/distro specific folders
# These mess-up with RPM automatic dependencies compute by adding
# unnecessary deps like /sbin/runscripts
# some other things were removed with the patch
rm -r %{buildroot}%{_datadir}/%{name}/ext/{debian,osx,solaris,suse,windows,systemd,redhat}
rm %{buildroot}%{_datadir}/%{name}/ext/{build_defaults.yaml,project_data.yaml}
%files
%attr(-, puppet, puppet) %{_localstatedir}/log/%{name}
%attr(-, root, root) %{_datadir}/%{name}
%{_unitdir}/%{name}.service
%{_tmpfilesdir}/%{name}.conf
%dir %{nm_dispatcher_dir}
%dir %{nm_dispatcher_dir}/dispatcher.d
%{nm_dispatcher_dir}/dispatcher.d/98-puppet
# Vendor modules
%doc %{_datadir}/%{name}/vendor_modules/*/*.md
%doc %{_datadir}/%{name}/vendor_modules/*/readmes
%license %{_datadir}/%{name}/vendor_modules/*/LICENSE
# Strip development files
%exclude %{_datadir}/%{name}/vendor_modules/*/.{github,puppet-lint.rc,sync.yml}
%exclude %{_datadir}/%{name}/vendor_modules/*/{CODEOWNERS,Gemfile,appveyor.yml,spec}
%doc README.md examples
%license LICENSE
%{_datadir}/ruby/vendor_ruby/hiera
%{_datadir}/ruby/vendor_ruby/hiera_puppet.rb
%{_datadir}/ruby/vendor_ruby/puppet
%{_datadir}/ruby/vendor_ruby/puppet_pal.rb
%{_datadir}/ruby/vendor_ruby/puppet.rb
%{_datadir}/ruby/vendor_ruby/puppet_x.rb
%dir %{_sharedstatedir}/%{name}
%dir %{_sharedstatedir}/%{name}/public
%{_bindir}/puppet
%{_bindir}/start-puppet-agent
%{_mandir}/man5/puppet.conf.5*
%{_mandir}/man8/puppet-plugin.8*
%{_mandir}/man8/puppet-report.8*
%{_mandir}/man8/puppet-resource.8*
%{_mandir}/man8/puppet-script.8*
%{_mandir}/man8/puppet-ssl.8*
%{_mandir}/man8/puppet-agent.8*
%{_mandir}/man8/puppet.8*
%{_mandir}/man8/puppet-apply.8*
%{_mandir}/man8/puppet-catalog.8*
%{_mandir}/man8/puppet-config.8*
%{_mandir}/man8/puppet-describe.8*
%{_mandir}/man8/puppet-device.8*
%{_mandir}/man8/puppet-doc.8*
%{_mandir}/man8/puppet-epp.8*
%{_mandir}/man8/puppet-facts.8*
%{_mandir}/man8/puppet-filebucket.8*
%{_mandir}/man8/puppet-generate.8*
%{_mandir}/man8/puppet-help.8*
%{_mandir}/man8/puppet-lookup.8*
%{_mandir}/man8/puppet-module.8*
%{_mandir}/man8/puppet-node.8*
%{_mandir}/man8/puppet-parser.8*
%config(noreplace) %attr(-, root, root) %dir %{_sysconfdir}/%{name}
%config(noreplace) %attr(-, root, root) %dir %{_sysconfdir}/%{name}/code
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/%{name}/puppet.conf
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/logrotate.d/%{name}
%ghost %attr(755, puppet, puppet) %{_rundir}/%{name}
%{_sysusersdir}/puppet.conf
%post
%systemd_post %{name}.service
%postun
%systemd_postun_with_restart %{name}.service
%changelog
* Fri Oct 03 2025 Terje Rosten <terjeros@gmail.com> - 8.10.0-3
- Add patch from openvox to fix dnf5 issue
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Apr 15 2025 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 8.10.0-1
- Update to 8.10.0 (fixes rhbz#2291351)
- Ruby 3.3 regexp incompability bugfix (fixes rhbz#2280109)
- Ruby 3.4 closedir bugfix (fixes rhbz#2349352)
* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 8.6.0-4
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Apr 20 2024 Breno Brand Fernandes <breno.brandfernandes@achievers.com> - 8.6.0-1
- Update to 8.6.0 (fixes rhbz#2274550)
* Sun Mar 10 2024 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 8.5.1-1
- Update to 8.5.1 (fixes rhbz#2259039)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 14 2023 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 8.3.1-1
- Update to 8.3.1 (fixes rhbz#2233957)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 8 2023 Breno Brand Fernandes <brandfbb@gmail.com> - 8.1.0-1
- Build 8.1.0
* Thu Jun 8 2023 Breno Brand Fernandes <brandfbb@gmail.com> - 7.24.0-1
- Build 7.24.0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.21.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Dec 17 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.21.0-1
- Update to 7.21.0 (fixes rhbz#2151953)
* Thu Oct 20 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.20.0-1
- Update to 7.20.0 (fixes rhbz#2126546)
* Sat Sep 17 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.19.0-1
- Update to 7.19.0 (fixes rhbz#2126546)
* Tue Aug 30 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.18.0-1
- Update to 7.18.0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.17.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.17.0-2
- Require at least concurrent-ruby 1.1.9 (fixes rhbz#2077122)
* Wed Jun 01 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.17.0-1
- Update to 7.17.0
* Wed Apr 20 2022 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 7.16.0-1
- Update to 7.16.0
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 27 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 7.12.1-2
- Drop obsolete dependency on cpp-hocon
* Thu Nov 18 2021 Breno Brand Fernandes <brandfbb@gmail.com> - 7.12.1-1
- Update to 7.12.1
* Tue Aug 17 2021 Ewoud Kohl van Wijngaarden <ewoud+fedora@kohlvanwijngaarden.nl> - 7.9.0-1
- Update to 7.9.0
- Revert paths to FHS standards
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 07 2021 Breno Brand Fernandes <brandfbb@gmail.com> - 7.7.0-2
- Updated puppet url
* Mon Jul 05 2021 Breno Brand Fernandes <brandfbb@gmail.com> - 7.7.0-2
- Cleaning up the spec file, adding suggestions from ekohl (Ewoud Kohl van Wijngaarden)
* Tue Jun 15 2021 Breno Brand Fernandes <brandfbb@gmail.com> - 7.7.0-1
- Update to 7.7.0 - latest version that supports ruby 3.0
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.5.20-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 02 2020 Terje Rosten <terje.rosten@ntnu.no> - 5.5.20-1
- 5.5.20
- Add patches to work (somewhat) with ruby 2.7
* Mon Feb 03 2020 Terje Rosten <terje.rosten@ntnu.no> - 5.5.18-1
- 5.5.18
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.10-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 04 2019 Alfrdo Moralejo <amoralej@redhat.com> - 5.5.10-9
- Add rubygem-multi_json as dependency.
* Sun Sep 22 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-8
- Prefer /run over /var/run (rhbz#1710635)
* Sun Sep 22 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-7
- Drop buildroot prefix in nm_dispatcher_dir macro
- Fix wrong path for gem in puppetet_gem.rb (rhbz#1751385),
report and fix from Lucien Weller, thanks!
* Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 5.5.10-6
- Move the NetworkManager dispatcher script out of /etc
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Mar 13 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-4
- Minor clean up
* Thu Mar 07 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-3
- Move sysconfdirs to headless too
* Thu Mar 07 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-2
- Move reqs to headless
* Thu Mar 07 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.10-1
- 5.5.10
* Thu Mar 07 2019 Terje Rosten <terje.rosten@ntnu.no> - 5.5.6-6
- Split off headless subpackage, based on idea from Bogdan Dobrelya
* Sun Feb 17 2019 Bogdan Dobrelya <bdobreli@redhat.com> - 5.5.6-5
- Revert use of systemd_ordering macro
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jan 22 2019 Bogdan Dobrelya <bdobreli@redhat.com> - 5.5.6-3
- Use systemd_ordering macro
* Wed Oct 31 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 5.5.6-1
- Upstream 5.5.6
- Fix issues with RHEL > 7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue May 8 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 5.5.1-1
- Upstream 5.5.1
- Unmaintained editor extensions were removed upstream (PUP-7558)
- Deprecated commands were removed: inspect (PUP-893), extlookup2hiera (PUP-3478)
- Refreshed patches
* Thu Mar 15 2018 Terje Rosten <terje.rosten@ntnu.no> - 4.10.10-1
- Update to 4.10.10
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Nov 07 2017 James Hogarth <james.hogarth@gmail.com> - 4.10.1-3
- F28 facter3 change means puppet needs to require the ruby bindings for facter
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed May 31 2017 Dominic Cleal <dominic@cleal.org> - 4.10.1-1
- Update to 4.10.1
* Wed May 31 2017 Dominic Cleal <dominic@cleal.org> - 4.8.2-2
- Remove Fedora release restrictions from DNF package provider
* Thu May 25 2017 Dominic Cleal <dominic@cleal.org> - 4.8.2-1
- Update to 4.8.2
* Tue May 23 2017 Ville Skyttä <ville.skytta@iki.fi> - 4.6.2-5
- Move tmpfiles.d config to %%{_tmpfilesdir}
- Install LICENSE as %%license
* Tue May 23 2017 Dominic Cleal <dominic@cleal.org> - 4.6.2-4
- Fix remote code exec via YAML deserialization (BZ#1452654, CVE-2017-2295)
* Thu May 18 2017 Dominic Cleal <dominic@cleal.org> - 4.6.2-3
- Fix Ruby 2.4 compatibility, xmlrpc + OpenSSL errors (BZ#1443673, BZ#1440710)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Sep 13 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 4.6.2-1
- Upstream 4.6.2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jul 29 2015 Gael Chamoulaud <gchamoul@redhat.com> - 4.2.1-2
- Remove usage of vendored library safe_yaml (rhbz#1261091)
* Wed Jul 29 2015 Gael Chamoulaud <gchamoul@redhat.com> - 4.2.1-1
- Upstream 4.2.1
* Tue Jul 28 2015 Lukas Zapletal <lzap+rpm@redhat.com> 4.1.0-4
- 1246238 - systemd service type changed to 'simple'
* Tue Jul 21 2015 Lukas Zapletal <lzap+rpm@redhat.com> 4.1.0-3
- Puppet agent is started via exec rather than sub-process
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 23 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 4.1.0-1
- Upstream 4.1.0
- Fix Puppet belief that Fedora is OpenBSD (PUP-4491)
* Sun May 17 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 4.0.0-2
- Fix puppet paths and unit files (upstream #12185)
* Tue Apr 28 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 4.0.0-1
- Upstream 4.0.0
* Mon Apr 27 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 4.0.0-0.1rc1
- Upstream 4.0.0
- Fix issue codedir path
- Fix init provider for Fedora (systemd is default on all supported releases now)
* Wed Apr 22 2015 Orion Poplawski <orion@cora.nwra.com> - 3.7.5-4
- Do not unbundle puppet's semantic module
* Sun Apr 19 2015 Orion Poplawski <orion@cora.nwra.com> - 3.7.5-3
- Require rubygem(pathspec) and rubygem(semantic)
* Tue Mar 31 2015 Orion Poplawski <orion@cora.nwra.com> - 3.7.5-2
- Unbundle libs (bug #1198366)
* Tue Mar 31 2015 Orion Poplawski <orion@cora.nwra.com> - 3.7.5-1
- Update to 3.7.5
* Sat Feb 28 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 3.7.1-3
- Use systemd macros (RHBZ #1197239)
* Tue Sep 30 2014 Orion Poplawski <orion@cora.nwra.com> - 3.7.1-2
- Drop server deps and configuration changes (bug #1144298)
* Wed Sep 17 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.7.1-1
- Update to 3.7.1
* Tue Aug 19 2014 Lukas Zapletal <lzap+rpm@redhat.com> 3.6.2-3
- 1131398 - added start-puppet-ca SELinux wrapper binary
* Mon Jun 30 2014 Pádraig Brady <pbrady@redhat.com> - 3.6.2-2
- Allow yumrepo proxy attribute to be set to _none_
* Mon Jun 16 2014 Orion Poplawski <orion@cora.nwra.com> - 3.6.2-1
- Update to 3.6.2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun May 18 2014 Sam Kottler <skottler@fedoraproject.org> 3.6.0-1
- Remove logic specific to unsupported versions of Fedora
- Update to 3.6.0
* Mon Apr 28 2014 Sam Kottler <skottler@fedoraproject.org> 3.5.1-1
- Update to 3.5.1
* Tue Apr 08 2014 Lukas Zapletal <lzap+rpm@redhat.com> 3.4.3-3
- RHBZ#1070395 - fixed error in postun scriplet
- Reformatted all scriplets and corrected exit codes
* Tue Apr 08 2014 Lukas Zapletal <lzap+rpm@redhat.com> 3.4.3-2
- Fixed systemd unit files - wrappers are now in use and master starts
with correct context
* Mon Feb 24 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.3-1
- Update to 3.4.3
* Wed Jan 29 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.2-5
- Add rubygem(rgen) runtime dependency
* Thu Jan 23 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.2-4
- Use localstatedir macro instead of /tmp
* Fri Jan 17 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.2-3
- Enable puppet.service during upgrade if puppetagent.service was previously enabled
* Thu Jan 16 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.2-2
- Remove F18 conditionals now that it's EOL
* Tue Jan 14 2014 Sam Kottler <skottler@fedoraproject.org> - 3.4.2-1
- Update to 3.4.2 to mitigate CVE-2013-4969 (BZ#1047792)
* Mon Nov 18 2013 Sam Kottler <skottler@fedoraproject.org> - 3.3.2-1
- Update to 3.3.2 (BZ#1031810)
* Sat Nov 16 2013 Sam Kottler <skottler@fedoraproject.org> - 3.3.1-3
- Add patch to convert nil resource parameter values to undef (BZ#1028930)
* Fri Nov 1 2013 Lukas Zapletal <lzap+rpm[@]redhat.com> - 3.3.1-2
- Added SELinux wrappers for daemon processes
* Mon Oct 7 2013 Orion Poplawski <orion@cora.nwra.com> - 3.3.1-1
- Update to 3.3.1
* Fri Sep 13 2013 Sam Kottler <skottler@fedoraproject.org> - 3.3.0-1
- Update to 3.3.0 and remove the rundir-perms patch since it's no longer needed
* Fri Aug 30 2013 Sam Kottler <skottler@fedoraproject.org> - 3.2.4-1
- Update to 3.2.4 to fix CVE-2013-4761 and CVE-2013-4956
* Thu Aug 29 2013 Sam Kottler <skottler@fedoraproject.org> - 3.2.2-1
- Update to 3.2.2
* Wed Aug 7 2013 Sam Kottler <skottler@fedoraproject.org> - 3.1.1-6
- Add tar as an installation requirement
* Tue Jul 30 2013 Orion Poplawski <orion@cora.nwra.com> - 3.1.1-5
- Use systemd semantics and name in NM dispatcher script
* Fri Jul 26 2013 Sam Kottler <skottler@fedoraproject.org> - 3.1.1-4
- Add hard dependency on ruby
* Tue Apr 16 2013 Orion Poplawski <orion@cora.nwra.com> - 3.1.1-3
- Add upstream patch for ruby 2.0 support
- Fix rhel ruby conditional
* Fri Mar 15 2013 Vít Ondruch <vondruch@redhat.com> - 3.1.1-2
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Wed Mar 13 2013 Michael Stahnke <stahnma@puppetlabs.com> - 3.1.1-1
- Fixes for CVE-2013-1640 CVE-2013-1652 CVE-2013-1653 CVE-2013-1654
- CVE-2013-1655 CVE-2013-2274 CVE-2013-2275
* Thu Mar 07 2013 Michael Stahnke <stahnma@puppetlabs.com> - 3.1.0-4
- Disable systemd in F18 as per bz#873853
- Update Patch0 to work with 3.1
* Thu Mar 7 2013 Daniel Drake <dsd@laptop.org> - 3.1.0-2
- Improve server compatibility with old puppet clients (#831303)
* Mon Feb 11 2013 Sam Kottler <shk@redhat.com> - 3.1.0-1
- Update to 3.1.0
* Tue Oct 30 2012 Moses Mendoza <moses@puppetlabs.com> - 3.0.2-1
- Update to 3.0.2
- Update new dependencies (ruby >= 1.8.7, facter >= 1.6.6, hiera >= 1.0.0)
- Update for manpage and file changes in upstream
- Add conditionals for systemd service management
- Remove 0001-Ruby-1.9.3-has-a-different-error-when-require-fails.patch
- Remove 0001-Preserve-timestamps-when-installing-files.patch
* Wed Jul 11 2012 Todd Zullinger <tmz@pobox.com> - 2.7.18-1
- Update to 2.7.17, fixes CVE-2012-3864, CVE-2012-3865, CVE-2012-3866,
CVE-2012-3867
- Improve NetworkManager compatibility, thanks to Orion Poplawski (#532085)
- Preserve timestamps when installing files
* Wed Apr 25 2012 Todd Zullinger <tmz@pobox.com> - 2.7.13-1
- Update to 2.7.13
- Change license from GPLv2 to ASL 2.0
- Drop %%post hacks to deal with upgrades from 0.25
- Minor rpmlint fixes
- Backport patch to silence confine warnings in ruby-1.9.3
* Wed Apr 11 2012 Todd Zullinger <tmz@pobox.com> - 2.6.16-1
- Update to 2.6.16, fixes CVE-2012-1986, CVE-2012-1987, and CVE-2012-1988
- Correct permissions of /var/log/puppet (0750)
* Wed Feb 22 2012 Todd Zullinger <tmz@pobox.com> - 2.6.14-1
- Update to 2.6.14, fixes CVE-2012-1053 and CVE-2012-1054
* Mon Feb 13 2012 Todd Zullinger <tmz@pobox.com> - 2.6.13-3
- Move rpmlint fixes to %%prep, add a few additional fixes
- Bump minimum ruby version to 1.8.5 now that EL-4 is all but dead
- Update install locations for Fedora-17 / Ruby-1.9
- Use ruby($lib) for augeas and shadow requirements
- Only try to run 0.25.x -> 2.6.x pid file updates on EL
* Thu Jan 05 2012 Todd Zullinger <tmz@pobox.com> - 2.6.13-2
- Revert to minimal patch for augeas >= 0.10 (bz#771097)
* Wed Dec 14 2011 Todd Zullinger <tmz@pobox.com> - 2.6.13-1
- Update to 2.6.13
- Cherry-pick various augeas fixes from upstream (bz#771097)
* Sun Oct 23 2011 Todd Zullinger <tmz@pobox.com> - 2.6.12-1
- Update to 2.6.12, fixes CVE-2011-3872
- Add upstream patch to restore Mongrel XMLRPC functionality (upstream #10244)
- Apply partial fix for upstream #9167 (tagmail report sends email when nothing
happens)
* Thu Sep 29 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-3
- Apply upstream patches for CVE-2011-3869, CVE-2011-3870, CVE-2011-3871, and
upstream #9793
* Tue Sep 27 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-2
- Apply upstream patch for CVE-2011-3848
* Wed Mar 16 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-1
- Update to 2.6.6
- Ensure %%pre exits cleanly
- Fix License tag, puppet is now GPLv2 only
- Create and own /usr/share/puppet/modules (#615432)
- Properly restart puppet agent/master daemons on upgrades from 0.25.x
- Require libselinux-utils when selinux support is enabled
- Support tmpfiles.d for Fedora >= 15 (#656677)
- Apply a few upstream fixes for 0.25.5 regressions
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon May 17 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1
- Update to 0.25.5
- Adjust selinux conditional for EL-6
- Apply rundir-perms patch from tarball rather than including it separately
- Update URL's to reflect the new puppetlabs.com domain
* Fri Jan 29 2010 Todd Zullinger <tmz@pobox.com> - 0.25.4-1
- Update to 0.25.4
* Tue Jan 19 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-2
- Apply upstream patch to fix cron resources (upstream #2845)
* Mon Jan 11 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-1
- Update to 0.25.3
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1.1
- Replace %%define with %%global for macros
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
- Update to 0.25.2
- Fixes CVE-2010-0156, tmpfile security issue (#502881)
- Install auth.conf, puppetqd manpage, and queuing examples/docs
* Wed Nov 25 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.25.1-1
- New upstream version
* Tue Oct 27 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.3
- Update to 0.25.1
- Include the pi program and man page (R.I.Pienaar)
* Sat Oct 17 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.2.rc2
- Update to 0.25.1rc2
* Tue Sep 22 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.1.rc1
- Update to 0.25.1rc1
- Move puppetca to puppet package, it has uses on client systems
- Drop redundant %%doc from manpage %%file listings
* Fri Sep 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-1
- Update to 0.25.0
- Fix permissions on /var/log/puppet (#495096)
- Install emacs mode and vim syntax files (#491437)
- Install ext/ directory in %%{_datadir}/%%{name} (/usr/share/puppet)
* Mon May 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-0.1.beta1
- Update to 0.25.0beta1
- Make Augeas and SELinux requirements build time options
* Mon Mar 23 2009 Todd Zullinger <tmz@pobox.com> - 0.24.8-1
- Update to 0.24.8
- Quiet output from %%pre
- Use upstream install script
- Increase required facter version to >= 1.5
* Tue Dec 16 2008 Todd Zullinger <tmz@pobox.com> - 0.24.7-4
- Remove redundant useradd from %%pre
* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 0.24.7-3
- New upstream version
- Set a static uid and gid (#472073, #471918, #471919)
- Add a conditional requirement on libselinux-ruby for Fedora >= 9
- Add a dependency on ruby-augeas
* Wed Oct 22 2008 Todd Zullinger <tmz@pobox.com> - 0.24.6-1
- Update to 0.24.6
- Require ruby-shadow on Fedora and RHEL >= 5
- Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch
- Require chkconfig and initstripts for preun, post, and postun scripts
- Conditionally restart puppet in %%postun
- Ensure %%preun, %%post, and %%postun scripts exit cleanly
- Create puppet user/group according to Fedora packaging guidelines
- Quiet a few rpmlint complaints
- Remove useless %%pbuild macro
- Make specfile more like the Fedora/EPEL template
* Mon Jul 28 2008 David Lutterkort <dlutter@redhat.com> - 0.24.5-1
- Add /usr/bin/puppetdoc
* Thu Jul 24 2008 Brenton Leanhardt <bleanhar@redhat.com>
- New version
- man pages now ship with tarball
- examples/code moved to root examples dir in upstream tarball
* Tue Mar 25 2008 David Lutterkort <dlutter@redhat.com> - 0.24.4-1
- Add man pages (from separate tarball, upstream will fix to
include in main tarball)
* Mon Mar 24 2008 David Lutterkort <dlutter@redhat.com> - 0.24.3-1
- New version
* Wed Mar 5 2008 David Lutterkort <dlutter@redhat.com> - 0.24.2-1
- New version
* Sat Dec 22 2007 David Lutterkort <dlutter@redhat.com> - 0.24.1-1
- New version
* Mon Dec 17 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-2
- Use updated upstream tarball that contains yumhelper.py
* Fri Dec 14 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-1
- Fixed license
- Munge examples/ to make rpmlint happier
* Wed Aug 22 2007 David Lutterkort <dlutter@redhat.com> - 0.23.2-1
- New version
* Thu Jul 26 2007 David Lutterkort <dlutter@redhat.com> - 0.23.1-1
- Remove old config files
* Wed Jun 20 2007 David Lutterkort <dlutter@redhat.com> - 0.23.0-1
- Install one puppet.conf instead of old config files, keep old configs
around to ease update
- Use plain shell commands in install instead of macros
* Wed May 2 2007 David Lutterkort <dlutter@redhat.com> - 0.22.4-1
- New version
* Thu Mar 29 2007 David Lutterkort <dlutter@redhat.com> - 0.22.3-1
- Claim ownership of _sysconfdir/puppet (bz 233908)
* Mon Mar 19 2007 David Lutterkort <dlutter@redhat.com> - 0.22.2-1
- Set puppet's homedir to /var/lib/puppet, not /var/puppet
- Remove no-lockdir patch, not needed anymore
* Mon Feb 12 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-2
- Fix bogus config parameter in puppetd.conf
* Sat Feb 3 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-1
- New version
* Fri Jan 5 2007 David Lutterkort <dlutter@redhat.com> - 0.22.0-1
- New version
* Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-2
- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or
later to allow building on older fedora releases
* Mon Nov 13 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-1
- New version
* Mon Oct 23 2006 David Lutterkort <dlutter@redhat.com> - 0.20.0-1
- New version
* Tue Sep 26 2006 David Lutterkort <dlutter@redhat.com> - 0.19.3-1
- New version
* Mon Sep 18 2006 David Lutterkort <dlutter@redhat.com> - 0.19.1-1
- New version
* Thu Sep 7 2006 David Lutterkort <dlutter@redhat.com> - 0.19.0-1
- New version
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-2
- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
executables. Otherwise, initscripts break since pidof can't find the
right process
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1
- New version
* Fri Jul 14 2006 David Lutterkort <dlutter@redhat.com> - 0.18.3-1
- New version
* Wed Jul 5 2006 David Lutterkort <dlutter@redhat.com> - 0.18.2-1
- New version
* Wed Jun 28 2006 David Lutterkort <dlutter@redhat.com> - 0.18.1-1
- Removed lsb-config.patch and yumrepo.patch since they are upstream now
* Mon Jun 19 2006 David Lutterkort <dlutter@redhat.com> - 0.18.0-1
- Patch config for LSB compliance (lsb-config.patch)
- Changed config moves /var/puppet to /var/lib/puppet, /etc/puppet/ssl
to /var/lib/puppet, /etc/puppet/clases.txt to /var/lib/puppet/classes.txt,
/etc/puppet/localconfig.yaml to /var/lib/puppet/localconfig.yaml
* Fri May 19 2006 David Lutterkort <dlutter@redhat.com> - 0.17.2-1
- Added /usr/bin/puppetrun to server subpackage
- Backported patch for yumrepo type (yumrepo.patch)
* Wed May 3 2006 David Lutterkort <dlutter@redhat.com> - 0.16.4-1
- Rebuilt
* Fri Apr 21 2006 David Lutterkort <dlutter@redhat.com> - 0.16.0-1
- Fix default file permissions in server subpackage
- Run puppetmaster as user puppet
- rebuilt for 0.16.0
* Mon Apr 17 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-2
- Don't create empty log files in post-install scriptlet
* Fri Apr 7 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-1
- Rebuilt for new version
* Wed Mar 22 2006 David Lutterkort <dlutter@redhat.com> - 0.15.1-1
- Patch0: Run puppetmaster as root; running as puppet is not ready
for primetime
* Mon Mar 13 2006 David Lutterkort <dlutter@redhat.com> - 0.15.0-1
- Commented out noarch; requires fix for bz184199
* Mon Mar 6 2006 David Lutterkort <dlutter@redhat.com> - 0.14.0-1
- Added BuildRequires for ruby
* Wed Mar 1 2006 David Lutterkort <dlutter@redhat.com> - 0.13.5-1
- Removed use of fedora-usermgmt. It is not required for Fedora Extras and
makes it unnecessarily hard to use this rpm outside of Fedora. Just
allocate the puppet uid/gid dynamically
* Sun Feb 19 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-4
- Use fedora-usermgmt to create puppet user/group. Use uid/gid 24. Fixed
problem with listing fileserver.conf and puppetmaster.conf twice
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-3
- Fix puppetd.conf
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-2
- Changes to run puppetmaster as user puppet
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-1
- Don't mark initscripts as config files
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.12.0-2
- Fix BuildRoot. Add dist to release
* Tue Jan 17 2006 David Lutterkort <dlutter@redhat.com> - 0.11.0-1
- Rebuild
* Thu Jan 12 2006 David Lutterkort <dlutter@redhat.com> - 0.10.2-1
- Updated for 0.10.2 Fixed minor kink in how Source is given
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-3
- Added basic fileserver.conf
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-1
- Updated. Moved installation of library files to sitelibdir. Pulled
initscripts into separate files. Folded tools rpm into server
* Thu Nov 24 2005 Duane Griffin <d.griffin@psenterprise.com>
- Added init scripts for the client
* Wed Nov 23 2005 Duane Griffin <d.griffin@psenterprise.com>
- First packaging

12
sources
View file

@ -0,0 +1,12 @@
SHA512 (puppet-8.10.0.tar.gz) = 5fc7842695c12ba07ffafbc6e1b1bc0efab8d3b2587a01aabb8fd8c6de07c6e227b741190b138eeac94ae2ac557fe9909d836827f79292b981e5d0bd2f53b91b
SHA512 (puppet-8.10.0.tar.gz.asc) = 4f938b43edb84f99f6e2154f767452b954427f4f8604c6aa8baf76503b7b9924b1a579cad6666b84d1b5c8a5ede1df5a373882e3644f9e1c930c214a2aba64d8
SHA512 (puppetlabs-augeas_core-1.5.0.tar.gz) = b480356bea541b26966a300cd4505e94fd8a21f93a3946824250bf1d864f2d65676c17be2c954769ee21c4cd7314c53cc5f4986651513079868fafca27873e48
SHA512 (puppetlabs-cron_core-1.3.0.tar.gz) = 7687240dd12b90d57ac76e3553db8b3dd981ace76141abff3199dce6b08a2b1153e31ebc52aa1b2b3498cf5e4b5f717f3ba8cace1d70991fcffe463de0a8a8e5
SHA512 (puppetlabs-host_core-1.3.0.tar.gz) = b2b3e4d64818189babb2958742cd8b1d71273fed7142ed0f5f556ea5519fa33acec0255008398d059fd9a22fefc095f25872f77e47ea5755e729b78202cfc1fb
SHA512 (puppetlabs-mount_core-1.3.0.tar.gz) = b99825a614e54a0d5bc99061cfa88de4fe7a8b1d4cfded04a113594ec4107a685fa872a8e2c956026d7f99284ac181549cb8243b94b46721c7617c82489a2cfd
SHA512 (puppetlabs-scheduled_task-3.2.0.tar.gz) = e6ba41bfc1b636c2c7a997a1b70e4a37f59abfd19ff338acd6c1a50fc8d9ac2f40feb9565cd52cb6ec1677c88d85cdda152f7ec05393ca94f3a01321fbca262d
SHA512 (puppetlabs-selinux_core-1.4.0.tar.gz) = c212d1ad6bd4aaf58723aa0a5902e1ef90c481e333fa6b04dec53ee7badfd5d4869f0f6851b469d54368b47eac807c794e630ddd8a6be50397360281acc80ab1
SHA512 (puppetlabs-sshkeys_core-2.5.0.tar.gz) = 8793e4d198de50167bdde5e49f77ba62e2c08232bbc4d861dc7e3d6b24248c94f6c0d025679978efaf5d0413e1390b41224ca0222148feb8e7061950b6d567c4
SHA512 (puppetlabs-yumrepo_core-2.1.0.tar.gz) = 3f129b1c2c8ca8eaf105839db4f07f51c1c1723b9d6545ea672b95c14915003f95b1fc92308e280552cee0e27505ce09db7ceb5c219ec274c63b91ca04dee758
SHA512 (puppetlabs-zfs_core-1.6.1.tar.gz) = a1fa2b90beeb7f2798c59e5932d4320af8baf1b9f18775716bbdeee172331efb93c8e6510bf7798552d74982bd8999ee092968ecba251c590b6c921d2b8d8992
SHA512 (puppetlabs-zone_core-1.2.0.tar.gz) = 0cae94798551875dbbb362956d39cdcf63f8c07a6ca330394966ce49385497028134927751c7f91a992a51be3acff5781788689b72af4b25ba8493931e635c87

8
start-puppet-wrapper Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
#
# This is wrapper script to start puppet which is used to support starting
# puppet daemon processes with correct SELinux context.
#
# Call exec rather that spawn sub-process because of signals
exec /usr/bin/puppet $*

4
tests/smoke/main.fmf Normal file
View file

@ -0,0 +1,4 @@
summary: Basic smoke testing
require: puppet
test: ./test.sh
framework: beakerlib

29
tests/smoke/test.sh Executable file
View file

@ -0,0 +1,29 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
. /usr/share/beakerlib/beakerlib.sh || exit 1
rlJournalStart
rlPhaseStartSetup
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
rlRun "pushd $tmp"
rlRun "set -o pipefail"
rlAssertRpm puppet
rlPhaseEnd
rlPhaseStartTest
rlRun -s "puppet --help" 0 "Check help message"
rlAssertNotGrep "warning" $rlRun_LOG -i
rlRun "echo \"file { '${tmp}/applied-file': ensure => file, content => 'Hello World' }\" | puppet apply" 0 "Apply manifest"
rlAssertExists "${tmp}/applied-file"
rlAssertGrep "Hello World" "applied-file"
rlRun "puppet resource exec test command='/usr/bin/rm ${tmp}/applied-file'" 0 "Exec resource"
rlAssertNotExists "${tmp}/applied-file"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $tmp" 0 "Remove tmp directory"
rlPhaseEnd
rlJournalEnd