On Apr 28, 2009, at 4:02 PM, Stéphan Gorget wrote:

>
> I don't know if it has already been send, because I think my  
> workstation
> is not well configured.
>
> Signed-off-by: Stéphan Gorget <[email protected]>
> ---
> lib/puppet/type.rb |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
> index 3118788..6628205 100644
> --- a/lib/puppet/type.rb
> +++ b/lib/puppet/type.rb
> @@ -1782,6 +1782,7 @@ class Type
>         tags = [tags] unless tags.is_a? Array
>
>         tags = tags.collect { |t| t.intern }
> +        self.tags = @tags

This isn't what you want, because it sets the current tags, rather  
than just testing whether they are set, which is very different  
behaviour.

>
>         return tags.find { |tag| @tags.include? tag }
>     end
> -- 
> 1.6.2.4
>
>
> >


-- 
Love truth, and pardon error. -- Voltaire
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to