Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Package the hiera-eyaml gems for Puppet 5 on Ubuntu

License

Notifications You must be signed in to change notification settings

alphagov/verify-pkg-hiera-eyaml

Repository files navigation

verify-pkg-hiera-eyaml

This repository allows packaging for Ubuntu of hiera-eyaml for Puppet versions which include their own bundled Ruby in /opt/puppetlabs/puppet

Usage: ./build.sh <version suffix>

Generated Debian packages will be placed in output/trusty/

How this works

See build.sh for the details, but in summary:

Gemfile.hiera-eyaml specifies the gems we want to package into .deb packages

Gemfile.buildtools specifies gems we need in order to do that (at the time of writing, this is just fpm)

hiera-eyaml-gpg and ruby-gpg are bundled into hiera-eyaml-gpg and the build tools are bundled into buildtools. We then use fpm to package the hiera-eyaml-gpg and ruby-gpg gems into Debian packages with a custom gempath that matches the one for Puppetlabs' puppet-agent package and its bundled ruby.

We also prefix the names of the generated .deb packages with puppet5-rubygem- so that they do not conflict with system packages (since they're installed into a different gempath, they cannot conflict or be used by the system ruby).

About

Package the hiera-eyaml gems for Puppet 5 on Ubuntu

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages