On Mon, 02 Mar 2009 05:50:42 -0000, Sebastian Krueger  
<sebykrue...@gmail.com> wrote:

> Hi Nick,
>
> I've added in the membership => inclusive part but it's still trying to
> reassign the groupmembership all the time.
>
> Regards, Sebastian.
>
> On Mon, Mar 2, 2009 at 10:39 PM, <nick.maystre...@gmail.com> wrote:
>
>>
>> On Mon, 02 Mar 2009 03:46:55 -0000, Sebastian Krueger
>> <sebykrue...@gmail.com> wrote:
>>
>> > Hi list,
>> >
>> > I want the ensure that the eaiadmin user is always a member of the  
>> users
>> > group. I use the following configuration:
>> >
>> > class baseusers {
>> >     include virt_groups, virt_users
>> >
>> >     realize(
>> >         Group["eaiadmin"],
>> >         Group["users"]
>> >     )
>> >
>> >     realize(
>> >         User["eaiadmin"]
>> >     )
>> >
>> > }
>> >
>> > class virt_users {
>> >         @user { "eaiadmin":
>> >                 gid    => "30",
>> >                 ensure => present,
>> >                 groups => [ "users" ]
>> >         }
>> > }
>> >
>> > class virt_groups {
>> >         @group { "eaiadmin":
>> >                 gid     => "30",
>> >                 ensure  => present
>> >         }
>> >         @group { "users":
>> >                 gid     => "100",
>> >                 ensure  => present
>> >         }
>> > }
>>
>> Hi Sebastian,
>> I think u must try to add "membership => inclusive" in @user for more
>> "stability". Btw what is u puppet version, cuz as i see "groups" are
>> version sensitive.
>> And look here
>> http://reductivelabs.com/trac/puppet/wiki/TypeReference#id312
>>
>> >
>>
>
> >


If puppetd doin groups reassign all time, so it is not 0.24.7 version. I  
have same issue in 0.24.4 on gentoo. In 0.24.7 with membership I don have  
any problems with "groups".

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

Reply via email to