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.html#arrays
>
>
>
>
> On Monday, November 18, 2013, Stuart Cracraft wrote:
>
>> Hi.
>>  
>> Created:
>>  
>> class mumble {
>>   :
>>   random stuff
>>   :
>> }
>>  
>> class mumble:grouper inherits mumble {
>>   group { "somegroup":
>>      name => 'somegroup',
>>      members => 'user1,user2,user3',
>>      ensure => present,
>>      gid => 123,
>>   }
>> }
>>  
>> After a time, mumble:grouper ran, before I added
>> user2, and user3 and /etc/group shows:
>>  
>>   somegroup:x:500:
>>  
>> but it doesn't show what it should show which is:
>>  
>>   somegroup:x:500:user1,user2,user3
>>  
>> I verified that user1/2/3 all exist in /etc/passwd.
>>  
>> My question is, why isn't Puppet making the right memberships?
>>  
>> Do I misunderstand member?
>>  
>> Stuart
>>  
>>  
>>  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/8585e0e1-5063-47c7-bb8b-5b086df1df1e%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6b1c2004-54bd-4ea1-bd5b-513a94447caf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to