From 34be570ebc6be506901f43febfbe9f9fab9a79eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 22 Mar 2012 10:49:37 +0200 Subject: [PATCH] Fixed dns::server package name for CentOS 5. --- dns/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) 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", } }