aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahnke <stahnma@puppetlabs.com>2012-10-18 19:37:11 -0700
committerMichael Stahnke <stahnma@puppetlabs.com>2012-10-18 19:37:11 -0700
commitce2b7a67e4c8f82cc4cb9daa68901f09be26152c (patch)
treeced8c0a8f683d9b0e53c7eed50e5c9b750ffdac0
parent0c1f3303c334079c86fd7de1e16800bed165fbc0 (diff)
downloadpuppet-avahi-ce2b7a67e4c8f82cc4cb9daa68901f09be26152c.tar.gz
puppet-avahi-ce2b7a67e4c8f82cc4cb9daa68901f09be26152c.tar.bz2
Give avahi_dbus an abstracted name
-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],