Issue #8428 has been updated by Nan Liu.

Status changed from Unreviewed to Accepted

Tag function accepts an array of tags, but ends up concatenating the tags.

    class demo {
      $tags = ['a', 'b', 'c']
      tag($tags)
      notify { "message": }
    }

If you examine the catalog:

    tags: 
          - class
          - helloworld
          - node
          - default
          - abc

A patch will be submitted shortly once a spec test is written.

----------------------------------------
Bug #8428: tag() function is documented to support multiple tags, but does not.
https://projects.puppetlabs.com/issues/8428

Author: David Miller
Status: Accepted
Priority: Normal
Assignee: Nan Liu
Category: functions
Target version: 
Affected Puppet version: 2.7.1
Keywords: 
Branch: 


The tag() function is documented to support passing multiple tags, however, 
doing so winds up with them all concatenated together as one big long tag.  
Discovered this during today's Puppet training event at Mozilla.  Nan has a 
patch already.


-- 
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://projects.puppetlabs.com/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