Issue #5669 has been updated by R.I. Pienaar. Keywords set to mcollective
blocker for #17065 ---------------------------------------- Bug #5669: Chaining resources doesn't work with arrays of names https://projects.puppetlabs.com/issues/5669#change-75127 Author: R.I. Pienaar Status: Accepted Priority: Normal Assignee: Category: language Target version: 2.7.x Affected Puppet version: 2.6.4 Keywords: mcollective Branch: Given the code: <pre> exec{["/bin/echo 1", "/bin/echo 2"]: notify => Exec["meh"]} exec{"meh": command => "/bin/echo foo", logoutput => true, refreshonly => true, } </pre> I get the expected behavior: <pre> notice: /Stage[main]//Exec[/bin/echo 1]/returns: executed successfully notice: /Stage[main]//Exec[/bin/echo 2]/returns: executed successfully notice: /Stage[main]//Exec[meh]/returns: foo notice: /Stage[main]//Exec[meh]: Triggered 'refresh' from 2 events </pre> But the following does not work: <pre> exec{["/bin/echo 1", "/bin/echo 2"]: } -> exec{"meh": command => "/bin/echo foo", logoutput => true, refreshonly => true, } </pre> It gives: <pre> Could not find resource 'Exec[/bin/echo 1]Exec[/bin/echo 2]' for relationship on 'Exec[meh]' on node nephilim.ml.org </pre> -- 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.
