justinstoller / bolt-vanagon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bolt Vanagon Project

This project uses vanagon to generate installable packages for Puppet Bolt.

Not all Bolt dependencies are configured here:

  • Dependencies shared between this and other Puppet vanagon projects are loaded from puppet-runtime's bolt-runtime and pe-bolt-server projects.
  • Dependencies specific to Bolt are configured in this project.

Updating rubygem versions

A script has been provided to help updating versions of existing gems. Run as

./generate.rb /path/to/bolt/Gemfile.lock

It will skip gems that are not currently managed (i.e. don't have a rubygem-*.rb file) to avoid adding gems provided by bolt-runtime or that are unneeded. New gems must be manually added, which can be as simple as touch configs/components/rubygem-<newgem>.rb.

Gems that have not yet been mirrored internally will also not be updated. The script will provide the command to run to update them in the release-new HipChat room. For example

Could not update foo, please mirror with: !mirrorsource https://rubygems.org/downloads/foo-0.0.1.gem

After mirroring gems, rerun the script to update their component configs.

Run the project

bundle install
bundle exec build puppet-bolt el-7-x86_64

If the packaging works, it will place a package in the output/ folder.

About

License:Apache License 2.0


Languages

Language:Ruby 38.4%Language:HTML 35.3%Language:VBScript 11.0%Language:Shell 6.6%Language:Makefile 3.8%Language:Dockerfile 2.5%Language:PowerShell 1.2%Language:Batchfile 1.2%