Created
June 16, 2016 13:42
-
-
Save bryantrobbins/48d4fa36b4310961b81860693af9b07f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash -v | |
echo "Updating packages" | |
yum update -y | |
echo "Installing yum packages" | |
yum install -y rubygems git puppet3 | |
echo "Installing rubygems" | |
gem install r10k hiera-eyaml hiera-eyaml-kms | |
bash /root/init/update.sh | |
echo "Done with INIT." |
This file contains hidden or 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
#!/bin/bash -v | |
echo "Running r10k" | |
pushd /root/init | |
/usr/local/bin/r10k puppetfile install -v debug &> r10k.log | |
echo "Running Puppet" | |
puppet apply site.pp --hiera_config hiera.yaml --modulepath=modules:site --parser future &> puppet.log | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment