summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_couchdb/manifests/stunnel.pp2
-rw-r--r--puppet/modules/site_mx/manifests/couchdb.pp2
-rw-r--r--puppet/modules/site_stunnel/manifests/setup.pp2
-rw-r--r--puppet/modules/site_webapp/manifests/couchdb.pp2
4 files changed, 4 insertions, 4 deletions
diff --git a/puppet/modules/site_couchdb/manifests/stunnel.pp b/puppet/modules/site_couchdb/manifests/stunnel.pp
index d982013e..481da279 100644
--- a/puppet/modules/site_couchdb/manifests/stunnel.pp
+++ b/puppet/modules/site_couchdb/manifests/stunnel.pp
@@ -27,7 +27,7 @@ class site_couchdb::stunnel ($key, $cert, $ca) {
# basic setup: ensure cert, key, ca files are in place, and some generic
# stunnel things are done
- class { 'site_stunnel::setup':
+ site_stunnel::setup { 'couchdb_couchdb':
cert_name => $cert_name,
key => $key,
cert => $cert,
diff --git a/puppet/modules/site_mx/manifests/couchdb.pp b/puppet/modules/site_mx/manifests/couchdb.pp
index f842ceab..85db7327 100644
--- a/puppet/modules/site_mx/manifests/couchdb.pp
+++ b/puppet/modules/site_mx/manifests/couchdb.pp
@@ -15,7 +15,7 @@ class site_mx::couchdb {
$cert_path = "${x509::variables::certs}/${cert_name}.crt"
$key_path = "${x509::variables::keys}/${cert_name}.key"
- class { 'site_stunnel::setup':
+ site_stunnel::setup {'mx_couchdb':
cert_name => $cert_name,
key => $key,
cert => $cert,
diff --git a/puppet/modules/site_stunnel/manifests/setup.pp b/puppet/modules/site_stunnel/manifests/setup.pp
index 92eeb425..7fd18d47 100644
--- a/puppet/modules/site_stunnel/manifests/setup.pp
+++ b/puppet/modules/site_stunnel/manifests/setup.pp
@@ -1,4 +1,4 @@
-class site_stunnel::setup ($cert_name, $key, $cert, $ca_name, $ca) {
+define site_stunnel::setup ($cert_name, $key, $cert, $ca_name, $ca) {
include site_stunnel
diff --git a/puppet/modules/site_webapp/manifests/couchdb.pp b/puppet/modules/site_webapp/manifests/couchdb.pp
index ac01a5bc..4bafc7f3 100644
--- a/puppet/modules/site_webapp/manifests/couchdb.pp
+++ b/puppet/modules/site_webapp/manifests/couchdb.pp
@@ -60,7 +60,7 @@ class site_webapp::couchdb {
mode => '0744';
}
- class { 'site_stunnel::setup':
+ site_stunnel::setup { 'webapp_couchdb':
cert_name => $cert_name,
key => $key,
cert => $cert,