I'm experiencing weird errors when collecting with current SVN:
info: /File/var/lib/puppet/modules/ntp/ntp.client.d/server_diode.black.co.at:
Adding aliases "cf_part_server_diode.black.co.at"
err: Could not
create /var/lib/puppet/modules/ntp/ntp.client.d/server_diode.black.co.at:
Parameter before failed: Relationships must be resource references at line 49
err: Parameter before failed: Relationships must be resource references at
line 49
I have traced this error message to ./lib/puppet/metatype/metaparams.rb:109:
def store_relationship(param, values)
...
unless values.is_a?(Array)
devfail "Relationships must be resource references" # #109
If I puts values before the devfail, "File/etc/ntp.puppet.conf" is printed.
This is the dependency which is set on (the define containing) the failing
resource.
The manifest in question looked like this:
define blah() { file { "muh": ...} }
node a { @@blah{ "xx": before => File["/etc/ntp.puppet.conf"] } }
node b { File<<||>> }
Node b throws the error after node a was configured.
Regards, David