Mykyta Karpin | d530486 | 2018-08-30 15:39:34 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - service.bind.server.single |
| 3 | parameters: |
| 4 | _param: |
| 5 | mgmt_allow_node01_address: ${_param:openstack_control_node01_address} |
| 6 | mgmt_allow_node02_address: ${_param:openstack_control_node02_address} |
| 7 | mgmt_allow_node03_address: ${_param:openstack_control_node03_address} |
| 8 | bind: |
| 9 | server: |
| 10 | key: |
| 11 | mgmt: |
| 12 | secret: "${_param:bind9_mgmt_rndc_key}" |
| 13 | algorithm: "${_param:bind9_mgmt_rndc_algorithm}" |
| 14 | allow_new_zones: true |
| 15 | query: true |
| 16 | # for local server management /etc/bind/rndc.key |
| 17 | # generated by bind9 package postinstall script |
| 18 | # will be used |
| 19 | control: |
| 20 | local: |
| 21 | enabled: true |
| 22 | bind: |
| 23 | address: 127.0.0.1 |
| 24 | port: 953 |
| 25 | allow: |
| 26 | - 127.0.0.1 |
| 27 | mgmt: |
| 28 | enabled: true |
| 29 | bind: |
| 30 | address: ${_param:single_address} |
| 31 | port: 953 |
| 32 | allow: |
| 33 | - ${_param:mgmt_allow_node01_address} |
| 34 | - ${_param:mgmt_allow_node02_address} |
| 35 | - ${_param:mgmt_allow_node03_address} |
| 36 | keys: |
| 37 | - mgmt |