Fixed avahi module for Ubuntu.

This commit is contained in:
Timo Mkinen 2013-04-19 12:32:46 +03:00
parent 611fdd6b81
commit d62b93ddfe

View file

@ -5,6 +5,10 @@ class avahi::daemon {
package { "avahi": package { "avahi":
ensure => installed, ensure => installed,
name => $::operatingsystem ? {
"ubuntu" => "avahi-daemon",
default => "avahi",
},
} }
if $::operatingsystem == "OpenBSD" { if $::operatingsystem == "OpenBSD" {
@ -113,6 +117,10 @@ class avahi::client {
package { "avahi-tools": package { "avahi-tools":
ensure => installed, ensure => installed,
name => $::operatingsystem ? {
"ubuntu" => "avahi-utils",
default => "avahi-tools",
},
} }
} }