Skip to content

Instantly share code, notes, and snippets.

@richleland
Created January 29, 2013 16:15
Show Gist options
  • Save richleland/4665442 to your computer and use it in GitHub Desktop.
Save richleland/4665442 to your computer and use it in GitHub Desktop.
export MODULE_PATH="/etc/puppet/modules/common"
mkdir -p $MODULE_PATH
for mod in apache foreman foreman_proxy passenger puppet tftp xinetd; do
mkdir -p $MODULE_PATH/$mod
wget http://github.com/theforeman/puppet-$mod/tarball/master -O - | tar xzvf - -C $MODULE_PATH/$mod --strip-components=1
done;
echo include puppet, puppet::server, foreman, foreman_proxy | puppet apply --modulepath $MODULE_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment