Mykyta Karpin | d530486 | 2018-08-30 15:39:34 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - service.powerdns.server.single |
| 3 | parameters: |
| 4 | _param: |
| 5 | powerdns_axfr_ips_address01: ${_param:openstack_control_node01_address} |
| 6 | powerdns_axfr_ips_address02: ${_param:openstack_control_node02_address} |
| 7 | powerdns_axfr_ips_address03: ${_param:openstack_control_node03_address} |
| 8 | powerdns_supermaster_node01_address: ${_param:openstack_control_node01_address} |
| 9 | powerdns_supermaster_node02_address: ${_param:openstack_control_node02_address} |
| 10 | powerdns_supermaster_node03_address: ${_param:openstack_control_node03_address} |
| 11 | powerdns_supermaster_node01_name: ${_param:openstack_control_node01_hostname}.${_param:cluster_domain} |
| 12 | powerdns_supermaster_node02_name: ${_param:openstack_control_node02_hostname}.${_param:cluster_domain} |
| 13 | powerdns_supermaster_node03_name: ${_param:openstack_control_node03_hostname}.${_param:cluster_domain} |
| 14 | powerdns_webserver_port: 8081 |
| 15 | powerdns: |
| 16 | server: |
| 17 | enabled: true |
| 18 | api: |
| 19 | enabled: true |
| 20 | key: ${_param:designate_pdns_api_key} |
| 21 | axfr_ips: |
| 22 | - ${_param:powerdns_axfr_ips_address01} |
| 23 | - ${_param:powerdns_axfr_ips_address02} |
| 24 | - ${_param:powerdns_axfr_ips_address03} |
| 25 | - 127.0.0.1 |
| 26 | bind: |
| 27 | address: ${_param:single_address} |
| 28 | overwrite_supermasters: true |
| 29 | supermasters: |
| 30 | - ip: ${_param:powerdns_supermaster_node01_address} |
| 31 | nameserver: ${_param:powerdns_supermaster_node01_name} |
| 32 | account: master |
| 33 | - ip: ${_param:powerdns_supermaster_node02_address} |
| 34 | nameserver: ${_param:powerdns_supermaster_node02_name} |
| 35 | account: master |
| 36 | - ip: ${_param:powerdns_supermaster_node03_address} |
| 37 | nameserver: ${_param:powerdns_supermaster_node03_name} |
| 38 | account: master |
| 39 | webserver: |
| 40 | enabled: true |
| 41 | address: ${_param:single_address} |
| 42 | password: ${_param:powerdns_webserver_password} |
| 43 | port: ${_param:powerdns_webserver_port} |