62 lines
1.6 KiB
JSON
62 lines
1.6 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": {
|
|
"puppet0": {
|
|
"mac": "5c:a1:ab:1e:0F:01"
|
|
},
|
|
"node1": {
|
|
"mac": "5c:a1:ab:1e:00:02"
|
|
},
|
|
"node2": {
|
|
"mac": "5c:a1:ab:1e:00:03"
|
|
}
|
|
}
|
|
},
|
|
"ntp" : {
|
|
"subnets": ["::1", "127.0.0.1", "172.28.128.0/24"]
|
|
},
|
|
"bind": {
|
|
"zones" : {
|
|
"lctp": {
|
|
"records": [
|
|
{ "name": "puppet0", "type": "A", "value": "172.28.128.201" },
|
|
{ "name": "node0", "type": "A", "value": "172.28.128.1" },
|
|
{ "name": "node1", "type": "A", "value": "172.28.128.101" },
|
|
{ "name": "node2", "type": "A", "value": "172.28.128.102" }
|
|
]
|
|
},
|
|
"128.28.172.in-addr.arpa": {
|
|
"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" }
|
|
]
|
|
}
|
|
},
|
|
"trusted_subnets": ["localhost", "localnets", "172.28.128.0/24"]
|
|
}
|
|
}
|