diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2011-04-20 15:41:52 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2011-04-20 15:54:53 -0700 |
commit | 34f9f41628273d1554760f85414eb326aaea605e (patch) | |
tree | f772da027951451763c75cff95426ab8fcb08991 /lib/puppet/interface/documentation.rb | |
parent | 6b18f8f01f12b6123f3c7eae58817b10d41b2391 (diff) | |
download | puppet-34f9f41628273d1554760f85414eb326aaea605e.tar.gz puppet-34f9f41628273d1554760f85414eb326aaea605e.tar.xz puppet-34f9f41628273d1554760f85414eb326aaea605e.zip |
Maint: Fix a #4655 introduced log inconsistency
When we moved code from the compiler to parser/resource, we lost
a conditional that prevented defined resources from gaining containment
edges to stages. Adding a stage to a defined resource was usually
harmless, but it violated the invariant of "resources should only have
exactly one container as their direct parent", producing a 50% chance of
a malformed containment path in log messages.
Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions