summaryrefslogtreecommitdiff
path: root/manifests/virtual
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/virtual')
-rw-r--r--manifests/virtual/web.pp8
-rw-r--r--manifests/virtual/web/params.pp6
2 files changed, 10 insertions, 4 deletions
diff --git a/manifests/virtual/web.pp b/manifests/virtual/web.pp
index bf826ef..3491839 100644
--- a/manifests/virtual/web.pp
+++ b/manifests/virtual/web.pp
@@ -1,8 +1,8 @@
class mail::virtual::web(
- $postfixadmin_setup_hash = hiera('mail::virtual::web::postfixadmin_setup_hash', ''),
- $roundcube_des_key = hiera('mail::virtual::web::roundcube_des_key', ''),
- $roundcube_logo = hiera('mail::virtual::web::roundcube_logo', 'null'),
- $roundcube_login_info = hiera('mail::virtual::web::roundcube_login_info', false)
+ $postfixadmin_setup_hash = hiera('mail::virtual::web::postfixadmin_setup_hash', $mail::virtual::web::params::postfixadmin_setup_hash),
+ $roundcube_des_key = hiera('mail::virtual::web::roundcube_des_key', $mail::virtual::web::params::roundcube_des_key),
+ $roundcube_logo = hiera('mail::virtual::web::roundcube_logo', $mail::virtual::web::params::roundcube_logo),
+ $roundcube_login_info = hiera('mail::virtual::web::roundcube_login_info', $mail::virtual::web::params::roundcube_login_info)
) {
# Class configuration
diff --git a/manifests/virtual/web/params.pp b/manifests/virtual/web/params.pp
new file mode 100644
index 0000000..c6ae14c
--- /dev/null
+++ b/manifests/virtual/web/params.pp
@@ -0,0 +1,6 @@
+class mail::virtual::web::params {
+ $postfixadmin_setup_hash = ''
+ $roundcube_des_key = ''
+ $roundcube_logo = 'null'
+ $roundcube_login_info = false
+}