Sha256: 7273aeeb0bea3b0f972f2f69180b55d01fe9c7fb7511e8b17e956821564dbd7c
Contents?: true
Size: 418 Bytes
Versions: 121
Compression:
Stored size: 418 Bytes
Contents
#!/usr/bin/env ruby out = "" (1..1).to_a.each { |clientid| (1..10).to_a.each { |id| out += "define host {\n" out += " use linux-server\n" out += " host_name client#{clientid}-localhost-test-#{id}\n" out += " alias client#{clientid}-localhost-test-#{id}\n" out += " address 127.0.0.1\n" out += " hostgroups fakes\n" out += "}\n\n" } } puts out
Version data entries
121 entries across 121 versions & 1 rubygems