Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-26 Thread Ben McCann
Nope, all groups have different gids. On Fri, Oct 26, 2012 at 11:34 AM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote: > On Thu, Oct 25, 2012 at 05:11:34PM -0700, Ben McCann wrote: > > Definitely seems like a bug. I added the Puppet Ubuntu repo and upgraded > > t

[Puppet Users] Re: What is the "@" used for?

2012-10-25 Thread Ben McCann
See http://docs.puppetlabs.com/guides/virtual_resources.html On Thursday, October 25, 2012 5:01:45 PM UTC-7, Dave Alden wrote: > > Hi, > Sorry to be dense, but I've recently switched over to use the puppet labs > apache module, but I was having trouble with the firewall not getting > updated.

Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Ben McCann
Definitely seems like a bug. I added the Puppet Ubuntu repo and upgraded to puppet 3.0.1 and it works now. I'm not going to bother filing it since it seems like it's since been fixed. On Thursday, October 25, 2012 5:01:11 PM UTC-7, Ben McCann wrote: > > That's not it.

Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Ben McCann
That's not it. I changed it to Users::Virtual::Localuser <| |> and the problem is still happening. On Thu, Oct 25, 2012 at 4:59 PM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote: > On Thu, Oct 25, 2012 at 04:34:26PM -0700, Ben McCann wrote: > > Yes, I am

Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Ben McCann
puppet perhaps? Thanks, Ben On Thu, Oct 25, 2012 at 4:26 PM, Jeff McCune wrote: > On Thu, Oct 25, 2012 at 4:23 PM, Ben McCann > wrote: > >> If I remove the virtualization aspect then it works. Any idea why that >> might stop the groups from being applied? > > > When y

[Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Ben McCann
If I remove the virtualization aspect then it works. Any idea why that might stop the groups from being applied? On Thursday, October 25, 2012 1:01:08 PM UTC-7, Ben McCann wrote: > > Hi, > > I'm trying to add a user to a group. I've added the groups I would like > th

[Puppet Users] Trouble adding a user to a group

2012-10-25 Thread Ben McCann
Hi, I'm trying to add a user to a group. I've added the groups I would like the user to appear in using the groups attribute: @users::virtual::localuser { "myuser": uid => "3000", groups => [ "sudo", "adm", "mygroup", ], sshkey => "", } I've defined loc

Re: [Puppet Users] Disabling root user

2012-10-23 Thread Ben McCann
> > user { 'root': > password => '*', > } > > http://docs.puppetlabs.com/references/latest/type.html#user > > On Tue, Oct 23, 2012 at 12:08:59AM -0700, Ben McCann wrote: > >I have some machines running Ubuntu that have a root user on

[Puppet Users] Disabling root user

2012-10-23 Thread Ben McCann
I have some machines running Ubuntu that have a root user on them setup by my web host. I'd like to disable the root user. I tried: user { 'root': ensure => absent, } But got the error message: err: /Stage[main]/Users/User[root]/ensure: change from present to absent failed: Could not d