chef-lctp/nodes/node0.json

49 lines
1.1 KiB
JSON

{
"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"
}
}
},
"dhcp" : {
"domain": {
"names": ["lctp"],
"servers": ["172.28.128.1"]
},
"ntp_servers": ["172.28.128.1"],
"interfaces": ["eth1"],
"subnet": {
"gateway": "172.28.128.1",
"prefix": "172.28.128.0",
"netmask": "255.255.255.0"
},
"hosts": {
"node1": {
"mac": "5c:a1:ab:1e:00:02"
}
}
},
"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"]
}
}