-
-
Save quidome/28bf8e588277837190a3 to your computer and use it in GitHub Desktop.
bootstrap puppet agent on smartos
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
#!/bin/bash | |
# For installation of puppet by gem for smartos | |
# | |
RUBY=ruby193 | |
PUPPETVERSION=3.7.4 | |
# install ruby | |
pkgin -y in ${RUBY} | |
mkdir -p /var/lib | |
gem install --no-ri --no-rdoc --version=${PUPPETVERSION} puppet | |
puppet resource group puppet ensure=present | |
puppet resource user puppet ensure=present gid=puppet shell='/bin/false' | |
puppet agent --test --server ${PUPPETMASTER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment