From c52d8343fe099bf20c5c39662a75ae0edc05f241 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 12 Dec 2010 17:57:40 +0100 Subject: as we are already in the dovecot type we can take the prefix away --- manifests/base.pp | 2 +- manifests/centos.pp | 2 +- manifests/init.pp | 2 +- manifests/sql.pp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/base.pp b/manifests/base.pp index 44f0463..85024ce 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -5,7 +5,7 @@ class dovecot::base { file{'/etc/dovecot.conf': source => [ "puppet:///modules/site-dovecot/config/${fqdn}/dovecot.conf", - "puppet:///modules/site-dovecot/config/${dovecot::dovecot_type}/dovecot.conf", + "puppet:///modules/site-dovecot/config/${dovecot::type}/dovecot.conf", "puppet:///modules/site-dovecot/config/dovecot.conf", "puppet:///modules/dovecot/config/${operatingsystem}/dovecot.conf", "puppet:///modules/dovecot/config/dovecot.conf" ], diff --git a/manifests/centos.pp b/manifests/centos.pp index 22a6be0..8d6e067 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -1,7 +1,7 @@ class dovecot::centos inherits dovecot::base { file{'/etc/sysconfig/dovecot': source => [ "puppet:///modules/site-dovecot/sysconfig/${fqdn}/dovecot", - "puppet:///modules/site-dovecot/sysconfig/${dovecot::dovecot_type}/dovecot", + "puppet:///modules/site-dovecot/sysconfig/${dovecot::type}/dovecot", "puppet:///modules/site-dovecot/sysconfig/dovecot", "puppet:///modules/dovecot/sysconfig/dovecot" ], require => Package['dovecot'], diff --git a/manifests/init.pp b/manifests/init.pp index 75146fd..d7e0e9e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,6 +1,6 @@ # we take rpms from fedora class dovecot( - $dovecot_type = 'some_unkown_type', + $type = 'some_unkown_type', $sqlite = false, $pgsql = false, $mysql = false, diff --git a/manifests/sql.pp b/manifests/sql.pp index c07de17..b9c9248 100644 --- a/manifests/sql.pp +++ b/manifests/sql.pp @@ -1,7 +1,7 @@ class dovecot::sql { file{'/etc/dovecot-sql.conf': source => [ "puppet:///modules/site-dovecot/sql/${fqdn}/dovecot-sql.conf", - "puppet:///modules/site-dovecot/sql/${dovecot::dovecot_type}/dovecot-sql.conf", + "puppet:///modules/site-dovecot/sql/${dovecot::type}/dovecot-sql.conf", "puppet:///modules/site-dovecot/sql/dovecot-sql.conf", "puppet:///modules/site/sql/${operatingsystem}/dovecot-sql.conf", "puppet:///modules/site/sql/dovecot-sql.conf" ], -- cgit v1.2.3