Issue #20872 has been updated by Charlie Sharpsteen. Description updated Status changed from Unreviewed to Duplicate Assignee set to Charlie Sharpsteen
Currently, puppet silently ignores any self-requiring resource --- I'm pretty sure that is what is causing the output of this collector to be skipped. Marking as a duplicate of #14652. ---------------------------------------- Bug #20872: infinite dependency using spaceship operator silently succeeds https://projects.puppetlabs.com/issues/20872#change-91515 * Author: Egor Lukomsky * Status: Duplicate * Priority: Normal * Assignee: Charlie Sharpsteen * Category: * Target version: * Affected Puppet version: 3.1.1 * Keywords: * Branch: ---------------------------------------- By accident I've declared an infinite dependency, but never got error message and puppet was silently skipping a few defined resources. Here's the simplified version of my bugged manifest: <pre> user { "rsync": ensure => present, managehome => true, } User <| title == 'rsync' |> { groups +> "apache", require => User['rsync'] # <<< obviously stupid thing to do here } my_custom_resource { "somename": require => User['rsync'], } </pre> The desired behaviour was to get an cyclic dependency error. Current behaviour in 3.1.1: puppet run completes successfully, no errors displayed or logged. Both user creation and my_custom_resource were silently skipped. I'm using puppet o/s with puppetdb 1.3.0 -- 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.
