diff --git a/dns/manifests/init.pp b/dns/manifests/init.pp index e6cba45..9d2c853 100644 --- a/dns/manifests/init.pp +++ b/dns/manifests/init.pp @@ -6,6 +6,10 @@ class dns::server { package { "bind": name => $operatingsystem ? { "ubuntu" => "bind9", + "centos" => $operatingsystemrelease ? { + /^5\..*/ => [ "bind-chroot", "caching-nameserver", ], + default => "bind-chroot", + }, default => "bind-chroot", } }