Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Provided the folder parth of puppet module #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bin/puppet-cloud
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:?"Need to set AWS_SECRET_ACCESS_KE

case "$1" in

apply) puppet apply "$2" --modulepath ../ --test
apply) puppet apply "$2" --/etc/puppet/modules/AWS-Instance ../ --test
;;
graph) if [ ! -e "graphs" ];
then
mkdir "graphs"
fi
puppet apply "$2" --modulepath ../ --noop --graph --graphdir graphs
puppet apply "$2" --/etc/puppet/modules/AWS-Instance ../ --noop --graph --graphdir graphs
;;
list) puppet resource "${@:2}" --modulepath ../
list) puppet resource "${@:2}" --/etc/puppet/modules/AWS-Instance ../
;;
*) echo "Usage : puppet cloud graph|list|apply ARGS"
exit
Expand Down