chef-lctp/nodes/node0.json

62 lines
1.6 KiB
JSON
Raw Normal View History

2014-01-21 22:11:25 +00:00
{
2014-01-27 10:13:56 +00:00
"lctp_network" : {
"domain_servers": ["127.0.0.1"],
"search_domains": ["lctp"],
"interfaces": {
"eth0": { },
"eth1": {
"static_ip": "172.28.128.1",
"netmask": "255.255.255.0"
}
2014-01-21 22:11:25 +00:00
}
},
"dhcp" : {
"domain": {
2014-01-27 10:13:56 +00:00
"names": ["lctp"],
"servers": ["172.28.128.1"]
2014-01-21 22:11:25 +00:00
},
2014-01-27 10:13:56 +00:00
"ntp_servers": ["172.28.128.1"],
"interfaces": ["eth1"],
2014-01-21 22:11:25 +00:00
"subnet": {
2014-01-27 10:13:56 +00:00
"gateway": "172.28.128.1",
2014-01-21 22:11:25 +00:00
"prefix": "172.28.128.0",
"netmask": "255.255.255.0"
},
2014-01-27 10:13:56 +00:00
"hosts": {
2014-02-03 14:06:12 +00:00
"puppet0": {
"mac": "5c:a1:ab:1e:0F:01"
},
2014-01-27 10:13:56 +00:00
"node1": {
"mac": "5c:a1:ab:1e:00:02"
2014-01-27 15:07:31 +00:00
},
"node2": {
"mac": "5c:a1:ab:1e:00:03"
2014-01-27 10:13:56 +00:00
}
}
2014-01-21 22:11:25 +00:00
},
"ntp" : {
"subnets": ["::1", "127.0.0.1", "172.28.128.0/24"]
},
"bind": {
"zones" : {
"lctp": {
"records": [
2014-02-03 14:06:12 +00:00
{ "name": "puppet0", "type": "A", "value": "172.28.128.201" },
2014-01-21 22:11:25 +00:00
{ "name": "node0", "type": "A", "value": "172.28.128.1" },
2014-01-27 15:07:31 +00:00
{ "name": "node1", "type": "A", "value": "172.28.128.101" },
{ "name": "node2", "type": "A", "value": "172.28.128.102" }
2014-01-21 22:11:25 +00:00
]
},
"128.28.172.in-addr.arpa": {
2014-02-03 14:06:12 +00:00
"records": [
{ "name": "201", "type": "PTR", "value": "puppet0" },
{ "name": "1", "type": "PTR", "value": "node0" },
{ "name": "101", "type": "PTR", "value": "node1" },
{ "name": "102", "type": "PTR", "value": "node2" }
]
2014-01-21 22:11:25 +00:00
}
},
"trusted_subnets": ["localhost", "localnets", "172.28.128.0/24"]
}
}