PowerDNS instead of bind9 #2
3 changed files with 25 additions and 1 deletions
22
bundles/powerdns/metadata.py
Normal file
22
bundles/powerdns/metadata.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
defaults = {
|
||||
'apt': {
|
||||
'packages': {
|
||||
'pdns-server': {},
|
||||
'pdns-tools': {},
|
||||
'pdns-backend-bind': {},
|
||||
'pdns-backend-pgsql': {},
|
||||
},
|
||||
},
|
||||
'postgresql': {
|
||||
'users': {
|
||||
'powerdns': {
|
||||
'password': repo.vault.password_for('{} postgresql powerdns'.format(node.name)),
|
||||
},
|
||||
},
|
||||
'databases': {
|
||||
'powerdns': {
|
||||
'owner': 'powerdns',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
1
data/powerdns/files/bind-zones
Symbolic link
1
data/powerdns/files/bind-zones
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../bind/files/zones
|
|
@ -7,6 +7,7 @@ groups['webserver'] = {
|
|||
|
||||
groups['dns'] = {
|
||||
'bundles': {
|
||||
'bind',
|
||||
'postgresql',
|
||||
'powerdns',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue