-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathrubygem-hocon.rb
More file actions
19 lines (17 loc) · 857 Bytes
/
rubygem-hocon.rb
File metadata and controls
19 lines (17 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#####
# Component release information:
# https://rubygems.org/gems/hocon
# https://github.com/puppetlabs/ruby-hocon/tags
# (Not up to date) https://github.com/puppetlabs/ruby-hocon/blob/main/HISTORY.md
# (Not up to date) https://github.com/puppetlabs/ruby-hocon/releases
#####
component 'rubygem-hocon' do |pkg, settings, _platform|
### Maintained by update_gems automation ###
pkg.version '1.4.0'
pkg.sha256sum 'e71023ed7c56ae780ec34c0ce7789a233bcead08c045d50bc7b3af40f5afcd80'
### End automated maintenance section ###
instance_eval File.read('configs/components/_base-rubygem.rb')
# Overwrite the base rubygem's default GEM_HOME with the vendor gem directory
# shared by puppet and puppetserver. Fall-back to gem_home for other projects.
pkg.environment 'GEM_HOME', (settings[:puppet_gem_vendor_dir] || settings[:gem_home])
end