etc/stunnel dir
[mirror/dsa-puppet.git] / modules / stunnel4 / manifests / init.pp
index 16a5c26..83fbd82 100644 (file)
@@ -1,6 +1,12 @@
 class stunnel4 {
     define stunnel_generic($client, $verify, $cafile, $crlfile=false, $accept, $connect, $local=false) {
         file {
+            "/etc/stunnel":
+                ensure  => directory,
+                owner   => root,
+                group   => root,
+                mode    => 755,
+                ;
             "/etc/stunnel/puppet-${name}.conf":
                 content => template("stunnel4/stunnel.conf.erb"),
                 notify  => Exec['restart_stunnel'],
@@ -35,7 +41,7 @@ class stunnel4 {
                 domain          => 'ip6',
                 description => "stunnel ${name}",
                 rule => "&SERVICE_RANGE(tcp, ${accept}, \$HOST_DEBIAN_V6)",
-            }
+                ;
         }
     }
     define stunnel_client($accept, $connecthost, $connectport) {