[Puppet Users] Adding already defined users to a group when its created

2011-04-30 Thread Rakhesh Sasidharan
Hi, I'm new to Puppet. Started using it about a week ago and absolutely loving it! I'm trying to do something which I am not sure if possible or whether I am even approaching it the right way. What I want to do is that by default I want all my machines to have a certain user account created and

Re: [Puppet Users] How to check if a package exists

2011-04-30 Thread Rakhesh Sasidharan
Hi Sans! On Sat, 30 Apr 2011 02:12 -0700, "Sans" wrote: > Dear all, > > I'm trying to do this. Say for example, I want this link: "liblcgdm.so > -> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm- > libs-1.8.0-1sec.sl5" is already listed. I already have this to create > the link: >

Re: [Puppet Users] Re: How to check if a package exists

2011-05-01 Thread Rakhesh Sasidharan
On Sat, 30 Apr 2011 23:21 -0700, "Sans" wrote: > On May 1, 4:59 am, Matthew Black wrote: > > You can put a requires in the file resource > > > > require => Package["packagename"] > > > > then it will install the package first then put in the symlink. > > > That not what I actually want. I just s

Re: [Puppet Users] Adding already defined users to a group when its created

2011-05-01 Thread Rakhesh Sasidharan
On Fri, 29 Apr 2011 17:52 +0400, "Rakhesh Sasidharan" wrote: > Hi, > > I'm new to Puppet. Started using it about a week ago and absolutely > loving it! > > I'm trying to do something which I am not sure if possible or whether I > am even approaching it

Re: [Puppet Users] Adding already defined users to a group when its created

2011-05-01 Thread Rakhesh Sasidharan
Hi, > Sorry, just so I'm clear. > > You want create a user and a user group, and then add that user to an > sshuser group? Yes. I want the user and users group to be always created. And the user added to the sshusers group only when the sshusers group exists (which happens when Puppet installs