summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-10-02 19:25:51 -0400
committerMicah Anderson <micah@riseup.net>2009-10-02 19:25:51 -0400
commitf642a9fc54bfa8f155cab64dd83844b64ba84a6a (patch)
tree3a71d75a0201b618786c6080bc46adddba77f433 /manifests
parent5dfd23e3ef0ab469e8b8893a787f3f5bee9464bf (diff)
rename stunnel::client to be stunnel::service to be less confusing (a
service can be a client in stunnel, and a service can act in server mode, which would be confusing if it was called stunnel::client)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ac060ba..7fd770d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -24,7 +24,7 @@ class stunnel {
default: { include stunnel::default }
}
- define client ( $ensure = present, $accept = false, $capath = false,
+ define service ( $ensure = present, $accept = false, $capath = false,
$cafile = false, $cert = false, $chroot = false,
$ciphers = false, $client = false, $compress =
false, $connect = false, $crlpath = false, $crlfile
@@ -51,7 +51,7 @@ class stunnel {
file { "/etc/stunnel/${name}.conf":
ensure => $ensure,
- content => template('stunnel/client.conf.erb'),
+ content => template('stunnel/service.conf.erb'),
owner => root, group => 0, mode => 0600,
require => File["/etc/stunnel"],
notify => Service[stunnel];