Issue #23131 has been updated by Melissa Stone.

Released in Puppet 3.4.0-rc1

----------------------------------------
Bug #23131: Empty string element in containment path array
https://projects.puppetlabs.com/issues/23131#change-100628

* Author: Kylo Ginsberg
* Status: Closed
* Priority: Normal
* Assignee: Kylo Ginsberg
* Category: 
* Target version: 3.4.0
* Affected Puppet version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/2057
----------------------------------------
Now that we are storing resource containment paths in PuppetDB, we've noticed 
that many of the paths that puppet passes around contain an empty element.

For example, if you watch the log messages on an agent run, you may see a 
resource path logged like this:

    /Stage[main]//Foo/Notify['bar']

Note the double slash after Stage. When we receive the containment path in the 
report processor, it's represented as an array of strings, and in a case like 
the one above, the array would look like this:

    ["Stage[main]", "", "Foo", "Notify['bar']"]

I'm questioning whether or not that empty string at index 1 is intentional or 
not. It seems like it's probably not, and that we should probably tweak puppet 
to get rid of it...


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to