Issue #20872 has been reported by Egor Lukomsky.
----------------------------------------
Bug #20872: infinite dependency using spaceship operator silently succeeds
https://projects.puppetlabs.com/issues/20872
* Author: Egor Lukomsky
* Status: Unreviewed
* Priority: Normal
* Assignee:
* 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:
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'],
}
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.