diff options
author | Micah Anderson <micah@riseup.net> | 2012-07-12 14:42:12 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-07-12 14:42:12 -0400 |
commit | 1c7e0ddd5e18876c358243497aeb7a57d5410b41 (patch) | |
tree | 9ee16169fde337750a3a5edfc9e20f8c6a2d1e56 | |
parent | 0bf3b12104850e6c4045982710d8c46ea27b433b (diff) |
different names in debian for some extensions
-rw-r--r-- | manifests/extensions/archive_zip.pp | 9 | ||||
-rw-r--r-- | manifests/extensions/dbd_mysql.pp | 9 | ||||
-rw-r--r-- | manifests/extensions/mime_tools.pp | 11 | ||||
-rw-r--r-- | manifests/extensions/net_dns.pp | 9 |
4 files changed, 33 insertions, 5 deletions
diff --git a/manifests/extensions/archive_zip.pp b/manifests/extensions/archive_zip.pp index 35a2056..76a128b 100644 --- a/manifests/extensions/archive_zip.pp +++ b/manifests/extensions/archive_zip.pp @@ -1,3 +1,10 @@ class perl::extensions::archive_zip { - perl::module{'Archive-Zip': } + case $operatingsystem { + 'debian','ubuntu': { + perl::module { 'archive-zip': } + } + default: { + perl::module{'Archive-Zip': } + } + } } diff --git a/manifests/extensions/dbd_mysql.pp b/manifests/extensions/dbd_mysql.pp index 4a1261a..fe70d74 100644 --- a/manifests/extensions/dbd_mysql.pp +++ b/manifests/extensions/dbd_mysql.pp @@ -1,6 +1,13 @@ # manifests/extensions/dbd_mysql.pp class perl::extensions::dbd_mysql { - perl::module{'DBD-MySQL': } + case $operatingsystem { + 'debian','ubuntu': { + perl::module { 'dbd-mysql': } + } + default: { + perl::module{'DBD-MySQL': } + } + } } diff --git a/manifests/extensions/mime_tools.pp b/manifests/extensions/mime_tools.pp index 4aba4e1..cfe770f 100644 --- a/manifests/extensions/mime_tools.pp +++ b/manifests/extensions/mime_tools.pp @@ -1,3 +1,10 @@ class perl::extensions::mime_tools { - perl::module{'MIME-tools': } -}
\ No newline at end of file + case $operatingsystem { + 'debian','ubuntu': { + perl::module { 'mime-tools': } + } + default: { + perl::module{'MIME-tools': } + } + } +} 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': } + } + } } |