Issue #12779 has been updated by R.I. Pienaar.
+1 got bit by this while at a customer site doing PS ---------------------------------------- Bug #12779: Resource Alias and Relationship Chaining Error https://projects.puppetlabs.com/issues/12779#change-77962 Author: Celia Cottle Status: Accepted Priority: Normal Assignee: Category: language Target version: Affected Puppet version: Keywords: Branch: <ins>Overview</ins> Resource chaining does not function with aliased namevars Example class aliased_mysql_gem { Package['libmysqlclient-dev'] -> Package['mysql_gem'] package { 'mysql': ensure =>; '2.8.1', provider => gem, alias => 'mysql_gem', } } <ins>Expected behavior</ins> The given manifest aliases the mysql gem to 'mysql_gem', and adds a relationship between it and libmysqlclient-dev via resource chaining. <ins>Actual behavior</ins> Applying the given manifest produces the following error: Could not find resource 'Package[mysql_gem]' for relationship from 'Package[libmysqlclient-dev]' on node bappelt-vbox.gateway.2wire.net -- 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.
