summaryrefslogtreecommitdiff
path: root/puppet/modules/stunnel/manifests/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/stunnel/manifests/debian.pp')
-rw-r--r--puppet/modules/stunnel/manifests/debian.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/puppet/modules/stunnel/manifests/debian.pp b/puppet/modules/stunnel/manifests/debian.pp
new file mode 100644
index 00000000..bde1e219
--- /dev/null
+++ b/puppet/modules/stunnel/manifests/debian.pp
@@ -0,0 +1,21 @@
+class stunnel::debian inherits stunnel::linux {
+
+ Package['stunnel'] {
+ name => 'stunnel4',
+ }
+
+ Service['stunnel'] {
+ name => 'stunnel4',
+ pattern => '/usr/bin/stunnel4',
+ }
+
+ file { '/etc/default/stunnel4':
+ content => template('stunnel/Debian/default'),
+ require => Package['stunnel4'],
+ notify => Service['stunnel4'],
+ owner => root,
+ group => 0,
+ mode => '0644';
+ }
+}
+