diff options
-rwxr-xr-x | bin/custodian-enqueue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index 337004e..a023792 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -364,6 +364,8 @@ class MonitorConfig end + ret = Array.new() + # # For each host in our possibly-macro-expanded list: # @@ -430,7 +432,11 @@ class MonitorConfig else @queue.put( test.to_json ) end + + ret.push( test.to_json ) end + + ret else puts "Unknown line: '#{line}'" end |