diff options
author | Micah Anderson <micah@riseup.net> | 2011-09-02 16:31:32 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2011-09-02 16:31:32 -0400 |
commit | efd742c81f629d653b9d9a29a400f37d0a44dee9 (patch) | |
tree | cee307ffd7d294a20ca00870c8806bfe1c7403b6 /manifests/init.pp | |
parent | 4ddd09c2a38bd6f491f6e3a10035bf2f514ab76b (diff) |
the new version of dovecot (version 2) has a number of differences from version 1, so I added a $version class parameter (defaulting to 2) so we can have different configurations for the different versions.
for version 2, debian does have different sql packages, so we test the above variable before attempting to install the packages, rather than test for the $operatingsystem in sql.pp
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 09af028..de8259c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,6 +9,7 @@ class dovecot( }, $munin_checks = true, $manage_shorewall = true + $version = 2 ){ case $operatingsystem { centos: { include dovecot::centos } |