Created
March 9, 2016 09:02
-
-
Save jerith/814f9d386a8c6005f1c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/puppet/puppet-bootstrap.sh b/puppet/puppet-bootstrap.sh | |
index c6d896c..4b1fbbe 100755 | |
--- a/puppet/puppet-bootstrap.sh | |
+++ b/puppet/puppet-bootstrap.sh | |
@@ -35,7 +35,9 @@ fi | |
# If we're using Puppet 4.x, symlink it into /usr/sbin because sudo and $PATH. | |
if [ -x /opt/puppetlabs/bin/puppet -a ! -e /usr/sbin/puppet ]; then | |
- ln -s /opt/puppetlabs/bin/puppet /usr/sbin/puppet | |
+ ln -s /opt/puppetlabs/bin/puppet /usr/sbin/puppet | |
+ # We need to install this where puppet's ruby can find it. | |
+ /opt/puppetlabs/bin/gem install --no-ri --no-rdoc inifile | |
fi | |
# Install some dependencies. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment