[U] .
parent
7bbe334271
commit
eb2f50c025
|
@ -8,7 +8,7 @@ settings = YAML.load(File.read(filename))
|
|||
|
||||
services = settings["services"]
|
||||
services.each_pair do |key, value|
|
||||
puts "==> #{key} [#{value['hetzner']}] "
|
||||
puts "==> #{key} [#{value['hetzner']}] ".colorize(:white)
|
||||
cmd = "host #{value['ip']}| grep #{value['hostname']}| wc -l"
|
||||
counter = %x[#{cmd}].to_i
|
||||
if counter.zero?
|
||||
|
|
Loading…
Reference in New Issue