Re: [Puppet Users] group type

2013-11-19 Thread jcbollinger
On Monday, November 18, 2013 10:41:39 PM UTC-6, Rich Burroughs wrote: > > If you really mean assign, no. UIDs are managed through the user resource > type: > > http://docs.puppetlabs.com/references/latest/type.html#user > > > Well, that's what Stuart is using. He switched up on you. I take th

Re: [Puppet Users] group type

2013-11-18 Thread Stuart Cracraft
Thanks. On Nov 18, 2013, at 8:41 PM, Rich Burroughs wrote: > If you really mean assign, no. UIDs are managed through the user resource > type: > > http://docs.puppetlabs.com/references/latest/type.html#user > > > Rich > > On Monday, November 18, 2013, Stuart Cracraft wrote: > Is there a way

Re: [Puppet Users] group type

2013-11-18 Thread Rich Burroughs
If you really mean assign, no. UIDs are managed through the user resource type: http://docs.puppetlabs.com/references/latest/type.html#user Rich On Monday, November 18, 2013, Stuart Cracraft wrote: > Is there a way to assign the uids in the user {["user1", "user2"]: } > expression? > > >

Re: [Puppet Users] group type

2013-11-18 Thread Stuart Cracraft
Is there a way to assign the uids in the user {["user1", "user2"]: } expression? On Monday, November 18, 2013 3:47:10 PM UTC-8, Rich Burroughs wrote: > I bet members needs to be an array when you specify more than one value. > > http://docs.puppetlabs.com/puppet/3/reference/lang_datatypes.

Re: [Puppet Users] group type

2013-11-18 Thread Rich Burroughs
Oops my mail client hadn't loaded the replies, it looks like Matthaus has it. But yeah you do also need to use arrays when there are multiple values. Rich On Monday, November 18, 2013, Rich Burroughs wrote: > I bet members needs to be an array when you specify more than one value. > > http://do

Re: [Puppet Users] group type

2013-11-18 Thread Rich Burroughs
I bet members needs to be an array when you specify more than one value. http://docs.puppetlabs.com/puppet/3/reference/lang_datatypes.html#arrays On Monday, November 18, 2013, Stuart Cracraft wrote: > Hi. > > Created: > > class mumble { > : > random stuff > : > } > > class mumble:groupe

Re: [Puppet Users] group type

2013-11-18 Thread Matthaus Owens
Stuart, Your run also has "[0;36mDebug: /Group[bb]: Provider groupadd does not support features manages_members; not managing attribute members", which indicates the groupadd provider is being used. The groupadd provider does not support the members property. If your end goal is to have those users

Re: [Puppet Users] group type

2013-11-18 Thread Stuart Cracraft
Here it is: [root@ca-sna-pm01 manifests]# puppet apply --debug --exec " group { "bb": name => 'bb', ensure => present, gid => 500, members => 'bb,mtg', } " > > > > > > [0;36mDebug: Puppet::Type::Group::ProviderLdap: true value when expecting false[0m [0;36mDebug: Pupp

Re: [Puppet Users] group type

2013-11-18 Thread Matthaus Owens
Stuart, Unfortunately, that doesn't tell us which provider is being used. A run with --debug should show which providers are being used. In a test run using the debug flag on a centos 6 box using the group resource you provided, I got output which included: 'Debug: /Group[somegroup]: Provider grou

Re: [Puppet Users] group type

2013-11-18 Thread Stuart Cracraft
Just local password file and group files mostly. But some ldap. On Monday, November 18, 2013 11:34:50 AM UTC-8, Matthaus Litteken wrote: > Stuart, > In the type reference, the members property states that it requires > the 'manages members' feature > ( > http://docs.puppetlabs.com/references

Re: [Puppet Users] group type

2013-11-18 Thread Matthaus Owens
Stuart, In the type reference, the members property states that it requires the 'manages members' feature (http://docs.puppetlabs.com/references/latest/type.html#group-provider-features), which is available in the aix, directory service, pw and windows_adsi providers, but not the ldap or groupadd p