summaryrefslogtreecommitdiff
path: root/puppet/modules/stunnel/manifests/debian.pp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:35 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:35 -0400
commit99c12db856cc62aa1d99a18444b8505119987b8a (patch)
treeb0eb42f1c871b06728ff6ac85a014627268e87ba /puppet/modules/stunnel/manifests/debian.pp
parent6af8e4487a9e3f6e4a2c4787dd9cde9a3549527c (diff)
parent027eb22ae7ce1fc06f32b7c8920abaf7ff7251a9 (diff)
Merge commit '027eb22ae7ce1fc06f32b7c8920abaf7ff7251a9' as 'puppet/modules/stunnel'
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';
+ }
+}
+