Created
October 13, 2011 08:11
-
-
Save larstobi/1283703 to your computer and use it in GitHub Desktop.
Bootstraps a puppet master node until a running puppetmaster server. Uses https://gist.github.com/1283705
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 | |
source bootstrap_functions.sh | |
ensure_packages_installed "git ruby ruby-irb rubygems httpd" | |
ensure_user_present "puppet" | |
ensure_directory "/etc/puppet" | |
ensure_file "/etc/puppet/puppet.conf" "puppet.master.conf" | |
ensure_yum_repo "my.repo" | |
ensure_vhost_present "yum.conf" | |
ensure_package_installed "rubygem-puppet" | |
exec_puppet_apply "puppetmaster.pp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment