aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp7
-rw-r--r--manifests/params.pp6
2 files changed, 3 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 16980a4..39b88eb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -23,13 +23,6 @@
class avahi inherits avahi::params {
-# $avahi_pkgs = [ 'avahi', 'avahi-tools', 'nss-mdns' ]
-# $avahi_main = 'avahi'
-# $avahi_daemon = 'avahi-daemon'
-# $avahi_tools = 'avahi_tools'
-# $avahi_mdns = 'nss-mdns'
-# $avahi_dbus = 'dbus' or 'messagebus'
-#
package { $avahi_main:
ensure => installed,
}
diff --git a/manifests/params.pp b/manifests/params.pp
index 61a1753..6b4bea8 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -8,10 +8,10 @@ class avahi::params {
$avahi_dbus = 'messagebus'
}
elsif $::osfamily == 'Debian' {
- $avahi_main = 'avahi'
+ $avahi_main = 'libavahi-common3'
$avahi_daemon = 'avahi-daemon'
- $avahi_tools = 'avahi-tools'
- $avahi_mdns = 'nss-mdns'
+ $avahi_tools = 'avahi-utils'
+ $avahi_mdns = 'libnss-mdns'
$avahi_dbus = 'dbus'
}