Fixed avahi module for Ubuntu.
This commit is contained in:
parent
611fdd6b81
commit
d62b93ddfe
1 changed files with 8 additions and 0 deletions
|
@ -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",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue