diff options
author | mail_redacted_for_web | 2017-12-15 12:48:47 -0600 |
---|---|---|
committer | mail_redacted_for_web | 2017-12-15 12:48:47 -0600 |
commit | 09df4b4961da424319d5208740aebbc9009eaa7b (patch) | |
tree | 8a8e351d0090a2bb1fb78561463ae24171dde245 | |
parent | c221d72929e8bc1aea51b18a0b3c690306331117 (diff) | |
download | control-repo-template-09df4b4961da424319d5208740aebbc9009eaa7b.tar.bz2 |
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.
-rwxr-xr-x | scripts/config_version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config_version.rb b/scripts/config_version.rb index 5aade34..9ccd8d5 100755 --- a/scripts/config_version.rb +++ b/scripts/config_version.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#!/opt/puppetlabs/puppet/bin/ruby begin require 'rugged' require 'socket' |