puppet/README.md
2024-03-10 23:29:00 +01:00

1.1 KiB

Puppet

This is the packaging for Puppet. The files are downloaded from downloads.puppet.com since they contain GPG signed tarballs, unlike on Rubygems. Additionally it vendors various Puppet modules to match upstream's puppet-agent config.

Updating

Typically you will be notified via release-monitoring, which creates a Bugzilla. Start with bumping the spec and reference the Bugzilla number.

BZ=2151953 VERSION=7.21.0 ; rpmdev-bumpspec --new="$VERSION" --comment="Update to $VERSION (fixes rhbz#$BZ)" 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

If it looks all right, drop the --offline parameter.