Skip to content

Commit 09df4b4

Browse files
committed
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.
1 parent c221d72 commit 09df4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/config_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env ruby
1+
#!/opt/puppetlabs/puppet/bin/ruby
22
begin
33
require 'rugged'
44
require 'socket'

0 commit comments

Comments
 (0)