summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2011-04-20 15:41:52 -0700
committerJesse Wolfe <jes5199@gmail.com>2011-04-20 15:50:18 -0700
commit6981ee5f526e00f46f6b5460662bf09cddf832ef (patch)
treedf6e1abd75d206e620f3171192cb41931fc25923 /lib/puppet/rails/rails_resource.rb
parentcdcff98b6ba4de967ecab0d6de9f1dd527e1f9c6 (diff)
downloadpuppet-6981ee5f526e00f46f6b5460662bf09cddf832ef.tar.gz
puppet-6981ee5f526e00f46f6b5460662bf09cddf832ef.tar.xz
puppet-6981ee5f526e00f46f6b5460662bf09cddf832ef.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/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions