On Jul 19, 2010, at 6:11 PM, noob-puppeteer wrote:

> Hi,
> I am trying to figure out a good "puppet" way to do this. In our old
> configuration, we were using cfengine and distributing passwd, group
> and shadow files by first running a command on the server that would
> filter these files to have just the team users (since we are using
> hosting services) into a master file that would get distributed to all
> the clients and the clients would apply the master file to its local
> passwd, group and shadow files.
> 
> In puppet, as far as I can see, there is no way to run a command to
> prep the files on the master, before a puppet client asks for the
> catalog or is there?
> 
> We are doing things in this complicated way, because this allows us to
> continue use the useradd, usermod commands on the master servers, and
> the client servers automatically get the configuration. Plus we dont
> have to store the files in version control. Is there a better way to
> do this in puppet?

Usually I find that putting user accounts in version control is a good idea.

Unless you have a reason not to, I would just create the user accounts and 
group accounts using puppet's "user" and "group" resources.  Any reason not to?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to