summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-05 23:07:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-05 23:07:21 -0300
commitf977c05da72242179b4a20f0172a0e36b4e365ef (patch)
tree0c1ab2403b3029691a2edffe47986ca07fe478ab /manifests
parentebbece3abd28864163c18ba378eadf29b352a050 (diff)
downloadpuppet-infinoted-f977c05da72242179b4a20f0172a0e36b4e365ef.tar.gz
puppet-infinoted-f977c05da72242179b4a20f0172a0e36b4e365ef.tar.bz2
Adding avahi config
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 55feced..0c4b7aa 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -68,4 +68,13 @@ class infinoted(
'puppet:///modules/infinoted/conf.d/infinoted.conf' ],
require => [ File['/var/lib/infinoted/.config/infinoted.conf'], Exec['infinoted-gen-keys'] ],
}
+
+ file { '/etc/avahi/services/infinoted.service':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => 'puppet:///modules/infinoted/conf.d/infinoted.service',
+ notify => Service['avahi-daemon'],
+ }
}