Skip to content

posteingang/puppet-dnsmasq

 
 

Repository files navigation

puppet-dnsmasq Build Status

Manage dnsmasq via Puppet

Supported Puppet versions

  • Puppet >= 4
  • Last version supporting Puppet 3: v1.3.1

How to use

    dnsmasq::conf { 'local-dns':
        ensure => present,
        source => 'puppet:///files/dnsmasq/local-dns',
    }

or

    dnsmasq::conf { 'another-config':
        ensure  => present,
        content => 'dhcp-range=192.168.0.50,192.168.0.150,12h',
    }

Hiera usage

    class { '::dnsmasq':
        configs_hash    => {},
        hosts_hash      => {},
        dhcp_hosts_hash => {},
    }
    class { '::dnsmasq':
        configs_hash => {
            'another-config' => {
                content      => 'dhcp-range=192.168.0.50,192.168.0.150,12h',
            },
        },
    }

About

Manage dnsmasq with puppet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 52.0%
  • Ruby 47.8%
  • Pascal 0.2%