chef-lctp/nodes/node0.json

49 lines
1.1 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": {
"node1": {
"mac": "5c:a1:ab:1e:00:02"
}
}
2014-01-21 22:11:25 +00:00
},
"ntp" : {
"subnets": ["::1", "127.0.0.1", "172.28.128.0/24"]
},
"bind": {
"zones" : {
"lctp": {
"records": [
{ "name": "node0", "type": "A", "value": "172.28.128.1" },
{ "name": "node1", "type": "A", "value": "172.28.128.101" }
]
},
"128.28.172.in-addr.arpa": {
"records": [{ "name": "101", "type": "PTR", "value": "node1" }]
}
},
"trusted_subnets": ["localhost", "localnets", "172.28.128.0/24"]
}
}