summaryrefslogtreecommitdiff
path: root/manifests/extensions/net_dns.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/extensions/net_dns.pp')
-rw-r--r--manifests/extensions/net_dns.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/extensions/net_dns.pp b/manifests/extensions/net_dns.pp
index 6c39713..35244a2 100644
--- a/manifests/extensions/net_dns.pp
+++ b/manifests/extensions/net_dns.pp
@@ -1,5 +1,12 @@
# manifests/extensions/net_dns.pp
class perl::extensions::net_dns {
- perl::module{'Net-DNS': }
+ case $operatingsystem {
+ 'debian','ubuntu': {
+ perl::module { 'net-dns': }
+ }
+ default: {
+ perl::module{'Net-DNS': }
+ }
+ }
}