init.sls 217 B

1234567891011121314151617
  1. #
  2. # Bind name server
  3. #
  4. bind9:
  5. pkg.installed:
  6. - name: bind9
  7. service.running:
  8. - enable: True
  9. - reload: True
  10. # Reload command
  11. rndc-reload:
  12. cmd.wait:
  13. - watch: []
  14. - name: /usr/sbin/rndc reload