Created
July 12, 2012 11:52
-
-
Save dizz/3097690 to your computer and use it in GitHub Desktop.
foreman preseed default finish file
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
cat > /etc/puppet/puppet.conf << EOF | |
<%= snippets "puppet.conf" %> | |
EOF | |
/bin/sed -i 's/^START=no/START=yes/' /etc/default/puppet | |
/bin/touch /etc/puppet/namespaceauth.conf | |
/usr/sbin/puppetd --config /etc/puppet/puppet.conf --onetime --tags no_such_tag --server <%= @host.puppetmaster %>.<%= @host.domain %> --no-daemonize | |
/usr/bin/wget --quiet --output-document=/dev/null --no-check-certificate <%= foreman_url %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment