git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authormail_redacted_for_web 2017-12-15 12:48:47 -0600
committermail_redacted_for_web 2017-12-15 12:48:47 -0600
commit09df4b4961da424319d5208740aebbc9009eaa7b (patch)
tree8a8e351d0090a2bb1fb78561463ae24171dde245 /scripts
parentc221d72929e8bc1aea51b18a0b3c690306331117 (diff)
downloadcontrol-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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/config_version.rb2
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'