1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2025-09-07 13:59:28 +00:00

fix cron overrides (critical)

This commit is contained in:
Norbert Varzariu
2015-12-22 00:20:58 +01:00
parent 729ca63fe5
commit 4f41f41579
4 changed files with 70 additions and 38 deletions

View File

@@ -4,6 +4,8 @@ This function checks an input struct for undefined hashes in key => hash and ass
EOS
)do |args|
fail "Must receive one argument." if args.empty?
return args if args.is_a?(String)
return args if args.is_a?(Integer)
args.each do |arg|
h = Hash.new
arg.each_pair do |host, hash|