summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-08 13:17:55 -0300
committermh <mh@immerda.ch>2012-06-08 13:17:55 -0300
commited5c568a231420ac3b0d4e57c6876d23ee560d0f (patch)
treeca4fdee1aed7a473eb0c36cefd87b50709aac268 /manifests/debian.pp
parent03b51fcb718734f4b2ea76c038ffbe9b2b348b1a (diff)
refactor things for >2.7
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp16
1 files changed, 2 insertions, 14 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 83f9981..a64a4c9 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,26 +1,14 @@
class stunnel::debian inherits stunnel::linux {
-
+
Package[stunnel] {
name => 'stunnel4',
}
-
+
Service[stunnel] {
name => 'stunnel4',
pattern => '/usr/bin/stunnel4',
}
-
- # make the /etc/default/stunnel ENABLED configurable with a variable
- # and default to on
- case $stunnel_startboot {
- '': { $stunnel_startboot = '1' }
- }
- # make the /etc/default/stunnel extra configurable with a variable
- # and default to adding nothing to the default file
- case $stunnel_default_extra {
- '': { $stunnel_default_extra = '' }
- }
-
file { '/etc/default/stunnel4':
content => template("stunnel/Debian/default"),
require => Package['stunnel4'],