summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp6
-rw-r--r--templates/client.conf.erb2
2 files changed, 2 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6693bc2..bdf6346 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -73,8 +73,7 @@ class stunnel::base {
name => 'stunnel',
enable => true,
ensure => running,
- hasstatus => false,
- require => File["/etc/stunnel/stunnel.conf"];
+ hasstatus => false;
}
if $use_nagios {
@@ -91,9 +90,6 @@ class stunnel::linux inherits stunnel::base {
package { 'stunnel':
ensure => $stunnel_ensure_version
}
- File[stunnel_config]{
- require => Package[stunnel]
- }
}
diff --git a/templates/client.conf.erb b/templates/client.conf.erb
index 4f4ce61..579d537 100644
--- a/templates/client.conf.erb
+++ b/templates/client.conf.erb
@@ -43,5 +43,5 @@ end -%>
<%-
end
end -%>
-<%= 'client = ' + client ? 'yes' : 'no' %>
+client = <%= client ? 'yes' : 'no' %>