rpms / puppet

Created 6 years ago
Maintained by brandfbb
The puppet rpms
Members 6
Breno Brand Fernandes committed 3 days ago

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