added coded to allow person to specify alternate client bucket path

This commit is contained in:
Rilindo Foster 2016-05-20 20:47:23 -05:00
parent 6328f39dad
commit 5ded388eb3

View File

@ -8,8 +8,8 @@ if ARGV.length < 1
exit 1
end
target_path = ARGV.shift
clientbucket_path = "/var/lib/puppet/clientbucket"
target_path,clientbucket_path = ARGV
clientbucket_path ||= "/var/lib/puppet/clientbucket"
available_files = Array.new