Issue #12779 has been updated by Charlie Sharpsteen. Keywords set to customer
---------------------------------------- Bug #12779: Resource Alias and Relationship Chaining Error https://projects.puppetlabs.com/issues/12779#change-88478 * Author: Celia Cottle * Status: Accepted * Priority: Normal * Assignee: Charlie Sharpsteen * Category: language * Target version: * Affected Puppet version: * Keywords: customer * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
