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:
2b73b23
)
Merge onion::service absent support from tor
author
Peter Palfrader
<peter@palfrader.org>
Thu, 4 Aug 2016 07:36:20 +0000
(09:36 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 4 Aug 2016 07:36:20 +0000
(09:36 +0200)
modules/onion/manifests/service.pp
patch
|
blob
|
history
diff --git
a/modules/onion/manifests/service.pp
b/modules/onion/manifests/service.pp
index
b025f67
..
330add7
100644
(file)
--- a/
modules/onion/manifests/service.pp
+++ b/
modules/onion/manifests/service.pp
@@
-41,5
+41,12
@@
define onion::service (
}
}
}
+ } elsif ($my_ensure == "absent") {
+ file { "/var/lib/tor/onion/${name}":
+ ensure => absent,
+ force => true,
+ }
+ } else {
+ fail("Invalid ensure value ${my_ensure}")
}
}