chef-lctp/nodes/node0.json

42 lines
956 B
JSON

{
"main": {
"head_node": {
"internal_ip": "172.28.128.1"
}
},
"dhcp" : {
"domain": {
"name": "lctp",
"server": "node0.lctp"
},
"interface": "eth1",
"subnet": {
"gateway": "node0.lctp",
"prefix": "172.28.128.0",
"netmask": "255.255.255.0"
},
"hosts": [{
"name": "node1",
"mac": "5c:a1:ab:1e:00:01",
"ip": "172.28.128.101"
}]
},
"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"]
}
}