Commit d9a5425f authored by totalreset's avatar totalreset
Browse files

added apply.sh

parent 3625aa40
# This will apply the puppet configurations.
mkdir -p /etc/puppet/private/nodes/
touch /etc/puppet/private/nodes/`hostname`.yaml
puppet apply --hiera_config=/etc/puppet/code/hiera.yaml --modulepath=/etc/puppet/modules:/etc/puppet/code/modules/ /etc/puppet/code/manifests/webserver.pp
puppet apply --modulepath=/etc/puppet/modules:/etc/puppet/code/modules/ /etc/puppet/code/manifests/webserver.pp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment