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>
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.
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.
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
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.)
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.
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
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.
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.
- 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