Matthew Reams
2014-Feb-01 05:13 UTC
[Puppet Users] Question: performing actions based on user account being present
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 puppet-users+unsubscribe@googlegroups.com. 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.