preoctopus / dnsmasq-formula

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dnsmasq-formula

dnsmasq provides DNS services, as well as optional DHCP and TFTP services.

Available States

Install the dnsmasq package, start the service and apply custom settings.

Remove the dnsmasq package, and stop the associated dnsmasq service.

dnsmasq:
  addresses:
    test.com: 1.2.3.4
    another.org: 2.3.4.5

  cnames:
    mydomain.com:
      domain01: server01.cloud.com
      domain02: server42.cloud.com

  hosts:
    cloud.com:
      server01: 1.0.0.1
      server42: 1.0.0.42

Additional resources

About

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

License:Other


Languages

Language:SaltStack 56.9%Language:HTML 43.1%