Hi, I've been upgrading from Debian Lenny to Squeeze and now many of my puppet modules are failing with the message "Could not find resource(s) X for overriding on node Y". I've isolated the problem case and apparently properties of defined resources may not be overridden anymore in recent versions.
Consider the following two test cases: A: inherit-built-in-resource.pp: class p { notify{"test": message => "hello", } } class c inherits p { Notify["test"] { message => "overridden", } } include c B: inherit-defined-resource.pp class p { define m($message) { notify{"${message}":} } m{"test": message => "hello", } } class c inherits p { M["test"] { message => "overridden", } } include c When running those two test cases with different versions of puppet I get the following: Debian Lenny / Puppet 0.24.5 # puppet -V dnsdomainname: puppet-lenny 0.24.5 # puppet inherit-built-in-resource.pp dnsdomainname: puppet-lenny notice: overridden # puppet inherit-defined-resource.pp dnsdomainname: puppet-lenny notice: overridden Debian Squeeze / Puppet 2.6.2 # puppet -V 2.6.2 # puppet inherit-built-in-resource.pp sh: Syntax error: Bad fd number notice: overridden notice: /Stage[main]/P/Notify[test]/message: defined 'message' as 'overridden' # puppet inherit-defined-resource.pp sh: Syntax error: Bad fd number Could not find resource(s) M[test] for overriding on node puppet-squeeze Can anybody give me a hint on how to fix that manifest for puppet 2.6? Thanks Lorenz -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.