Merge pull request #24 from klti/pr-centos

CentOS / RedHat support
This commit is contained in:
Nate Riffe 2015-03-09 14:16:59 -05:00
commit 174298b41a
3 changed files with 24 additions and 0 deletions

13
data/osfamily/RedHat.yaml Normal file
View File

@ -0,0 +1,13 @@
---
bind::params::supported: true
bind::params::bind_user: 'named'
bind::params::bind_group: 'named'
bind::params::bind_package: 'bind'
bind::params::bind_service: 'named'
bind::params::nsupdate_package: 'bind-utils'
bind::confdir: '/etc/named'
bind::cachedir: '/var/named'
bind::rndc: true
bind::updater::keydir: '/etc/named/keys'

View File

@ -25,4 +25,7 @@ class bind::params (
"${::bind::confdir}/zones.rfc1918",
]
}
elsif $::osfamily == 'RedHat' {
$bind_files = ["/etc/named.root.key"]
}
}

View File

@ -16,6 +16,14 @@
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [ "12.04", "14.04" ]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [ "6" ]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [ "6" ]
}
],
"dependencies": [