I think there are two options.
1. Make use if hiera. If you don't have a lot of zimbra servers could be
the best option, but you should maintain this manually.
2. A custom fact that reports if the server has zimbra or not.

Regards,
El 01/02/2014 06:13, "Matthew Reams" <[email protected]> escribió:

> I want to create a default module for SMTP.  However, I want to put some
> logic into it.
>
> I have postfix as my default local SMTP server for my Linux servers.
>  However, I also have a Zimbra server.  Basically what I want to do is
>
> If 'id zimbra' is true, then ensure service postfix is stopped.
> Else ensure service postfix is running, and have the correct main.cf file.
>
> Is that possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/e7252756-fb89-4c7c-9da6-2262c17e0b2c%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAF_B3ddUTeNPDG8-FpKXxSvpshEN3TYu9i6zGOuPioDNMf019A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to