Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-03 Thread Matthew Reams
Jose / John - Yeah, I didn't think it quite through. After reading some of your suggestions, I think I'm going to try to do the following in my postfix manifest service { 'postfix': enable => $postfix::enablestatus, ensure => $postfix::ensurestatus, } In Heira global.yaml, have those variabl

Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-03 Thread jcbollinger
On Saturday, February 1, 2014 3:06:37 AM UTC-6, Jose Luis Ledesma wrote: > > 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 zimbr

Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-01 Thread José Luis Ledesma
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" escribió: > I want to creat

[Puppet Users] Question: performing actions based on user account being present

2014-01-31 Thread Matthew Reams
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. Els