Skip to content

Instantly share code, notes, and snippets.

@xorl
Last active October 25, 2015 23:29
Show Gist options
  • Save xorl/8233551391c60cc3db85 to your computer and use it in GitHub Desktop.
Save xorl/8233551391c60cc3db85 to your computer and use it in GitHub Desktop.
{
{
"hostname": "hostname", # HostName string `yaml:"hostname"`
"ops_params": { OpsParams map[string]string `yaml:"ops_params"`
"environment": "environment",
"lifecycle": "lifecycle",
},
"colo": "dc1", Colo string `yaml:"colo"`
"params": { Params `yaml:"params"`
"libvirt": {
"guests": {
"host1": {
"value1": "value"
},
"host2": {
"values": "value"
}
}
}
}
},
{
"hostname": "hostname", # HostName string `yaml:"hostname"`
"ops_params": { OpsParams map[string]string `yaml:"ops_params"`
"environment": "environment",
"lifecycle": "lifecycle",
},
"colo": "dc1", Colo string `yaml:"colo"`
"params": { Params `yaml:"params"`
"libvirt": {
"guests": {
"host1": {
"value1": "value"
},
"host2": {
"values": "value"
}
}
}
}
}
}
hostname: hostname1
environment: environment1
lifecycle: live
params:
libvirt:
guests:
hostname1:
cpu: 4
mem: 256
hostname2:
cpu: 4
mem: 256
hostname3:
cpu: 4
mem: 256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment