Luke Kanies schrieb:
>>>> Note: the user tags are not stored in the rails database except  
>>>> under
>>>> the special resource parameter tag. This also doesn't seem right.
>>> Really?  So if someone sets 'tags' parameters on a resource, they're
>>> not stored in the db as parameters?
>> No they're stored as a parameter but not as a tag.
>> And the built rails query matches tag as parameter.
>> So you can't do:
>>
>> class myfile {
>>      @@file { ... }
>> }
>> File<<| tag == "myfile" |>>
>>
>> My idea would be that we should persist user tag as tag _and_  
>> parameter
>> and that tag queries should query the persisted tags.
> 
> I agree -- the two tag lists should be entirely equivalent.  They are  
> on the client, but since we rely on tags on the server, they should be  
> made equivalent there, too.


Yes, please :) I was bitten by that recently and was wondering why I 
couldn't collect resources by tags.


Regards, DavidS
-- 
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

        FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

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

Reply via email to