aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 187705e..c5bca58 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -40,10 +40,11 @@ class avahi inherits avahi::params {
ensure => running,
enable => true,
hasstatus => true,
- require => Service[$avahi_dbus],
+ require => Service['avahi_dbus'],
}
- service { $avahi_dbus:
+ service { 'avahi_dbus':
+ name => $avahi_dbus,
ensure => running,
enable => true,
require => Package[$avahi_mdns],