diff --git a/hastymail/manifests/init.pp b/hastymail/manifests/init.pp index c567dfe..1426fb5 100644 --- a/hastymail/manifests/init.pp +++ b/hastymail/manifests/init.pp @@ -1,6 +1,21 @@ class hastymail { + case $::operatingsystem { + "ubuntu","debian": { + package { ["php5", "php5-cli", "php5-common", + "php5-imap", "php5-ldap", "php5-mcrypt"]: + ensure => installed, + } + } + "centos","redhat","fedora": { + + } + default: { + fail("cyrus not supported on ${::operatingsystem}") + } + } + if !$hastymail_package { if $hastymail_package_latest { $hastymail_package = $hastymail_package_latest