Skip to content

Instantly share code, notes, and snippets.

@jerith
Created March 9, 2016 09:02
Show Gist options
  • Save jerith/814f9d386a8c6005f1c0 to your computer and use it in GitHub Desktop.
Save jerith/814f9d386a8c6005f1c0 to your computer and use it in GitHub Desktop.
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