|
<%#
|
|
kind: finish
|
|
name: Community Preseed Finish
|
|
oses:
|
|
- Debian 6.0
|
|
- Debian 7.0
|
|
- Ubuntu 10.04
|
|
- Ubuntu 12.04
|
|
- Ubuntu 13.04
|
|
%>
|
|
cat > /etc/puppet/puppet.conf << EOF
|
|
<%= snippet "puppet.conf" %>
|
|
EOF
|
|
/bin/sed -i 's/^START=no/START=yes/' /etc/default/puppet
|
|
/bin/touch /etc/puppet/namespaceauth.conf
|
|
/usr/bin/puppet agent --config /etc/puppet/puppet.conf --onetime --tags no_such_tag --server <%= @host.puppetmaster %> --no-daemonize
|
|
/usr/bin/wget --quiet --output-document=/dev/null --no-check-certificate <%= foreman_url %>
|