#!/bin/sh

#
# This script registers 'puppet' in /etc/hosts
#
. /etc/profile

grep "puppet" /etc/hosts || echo "@puppetServer puppet" >> /etc/hosts

#!/bin/sh

#
# This script registers 'puppet' in /etc/hosts
#
. /etc/profile

grep "puppet" /etc/hosts || echo "@puppetServer puppet" >> /etc/hosts
echo -e "START=yes\nDAEMON_OPTS=\"\"\n" > /etc/default/puppet
/etc/init.d/puppet start

Enable the puppet agent on worker
Enable the puppet agent on worker
