projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edeaae1
)
reload xinetd using service
author
Helmut Grohne
<helmut@subdivi.de>
Fri, 7 Nov 2014 14:30:30 +0000
(15:30 +0100)
committer
Héctor Orón Martínez
<zumbi@debian.org>
Fri, 7 Nov 2014 15:39:54 +0000
(16:39 +0100)
Getting rid of explicit /etc/init.d/ invocations as those may disappear.
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
modules/portforwarder/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/portforwarder/manifests/init.pp
b/modules/portforwarder/manifests/init.pp
index
8fd01c3
..
2cc4582
100644
(file)
--- a/
modules/portforwarder/manifests/init.pp
+++ b/
modules/portforwarder/manifests/init.pp
@@
-12,11
+12,10
@@
class portforwarder {
}
file { '/etc/xinetd.d/dsa-portforwader':
content => template('portforwarder/xinetd.erb'),
- notify => Exec['xinetd reload']
+ notify => Exec['
service
xinetd reload']
}
- exec { 'xinetd reload':
- path => '/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin',
+ exec { 'service xinetd reload':
refreshonly => true,
}
}