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:
1e21bed
)
only pull in xinetd if we do not try to remove files
author
Peter Palfrader
<peter@palfrader.org>
Tue, 7 Feb 2017 20:45:30 +0000
(21:45 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 7 Feb 2017 20:45:30 +0000
(21:45 +0100)
modules/xinetd/manifests/service.pp
patch
|
blob
|
history
diff --git
a/modules/xinetd/manifests/service.pp
b/modules/xinetd/manifests/service.pp
index
c348579
..
0f0b4a6
100644
(file)
--- a/
modules/xinetd/manifests/service.pp
+++ b/
modules/xinetd/manifests/service.pp
@@
-19,10
+19,11
@@
define xinetd::service (
$ensure=present,
$ferm=true
) {
- include xinetd
-
case $ensure {
- present,absent,file: {}
+ present,file: {
+ include xinetd
+ }
+ absent: {}
default: { fail("Invalid ensure for '$name'") }
}