Use the puppet-agent ruby in config_version.rb
Prior to this, the config_version.rb script (used for r10k) attempted to use the system ruby to parse the script. This caused problems on Puppet masters that don't have `ruby` in PATH. This fixes that by hardcoding the puppet-agent's ruby in the shebang.
This commit is contained in:
parent
c221d72929
commit
09df4b4961
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
#!/opt/puppetlabs/puppet/bin/ruby
|
||||
begin
|
||||
require 'rugged'
|
||||
require 'socket'
|
||||
|
Loading…
Reference in New Issue
Block a user