Issue #2360 has been updated by Andrew Shafer.

It's slightly more complicated because it is inheriting from a List property 
and has the concept of 'membership'.

Martin,

Can you confirm that [] will actually get rid of roles that you don't want? 
Looking at the code, I believe it will not unless you set the membership to 
inclusive. That also seems like the proper behavior, it should only remove 
roles when membership is inclusive.

What behavior do you get when you specify [:absent]?

I'll get my Solaris VMs warmed up. I think there is definitely a subtle 
bug/missed scope. I'll fix it this weekend once we agree on the proper behavior.

----------------------------------------
Bug #2360: Using an empty array for roles causes constant nagging
http://projects.reductivelabs.com/issues/2360

Author: Martin Englund
Status: Accepted
Priority: Low
Assigned to: Andrew Shafer
Category: user
Target version: 
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


If you define a user with an empty role list ([]), puppet will always generate 
a notice:
notice: //Node[lab-thumper1.sfbay.sun.com]/martin/User[martin]/roles: defined 
'roles' as ''
which gets really annoying in the long run :)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to