puppetlabs / puppetlabs-terraform

Bolt Terraform plugin
Apache License 2.0
6 stars 18 forks source link

(packaging) Resolve Gem dependency conflict for ship job #11

Closed donoghuc closed 4 years ago

donoghuc commented 4 years ago

The module ship to forge job requires puppet5 which is incompatible with modern bolt. Even though bolt is only a development dependency bundler still want to resolve it. This commit guards installing bolt on the presence of a GEM_BOLT environment variable similar to how it is handled in the puppet_agent module. https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/749575b9558742bd781f110c4ff213cebf589cd3/Gemfile#L70-L73