Issue #4731 has been updated by Adrian Rixon.
OK, sussed it: $mailhostip should have been $my_mailhostip, which is what I defined in nodes.pp. (Except that didn't work either - variable name length limitation? - so I changed both references to $mail_ip instead). Anyway, my point stands: if the original error had included a line number, either to the manifest or the generated YAML, I might have found this boo-boo quicker. Genuine thanks for your assistance though, which put me on the right track. ---------------------------------------- Bug #4731: Client reports "Invalid IP address", need better error http://projects.puppetlabs.com/issues/4731 Author: Adrian Rixon Status: Needs more information Priority: Normal Assignee: Category: Target version: Affected version: 0.25.5 Keywords: Branch: I get "Parameter IP failed: Invalid IP Address" on two newly-built Puppet clients under RHEL 5.5. The underlying cause isn't the issue, the problem is that the error message gives me almost nothing to go on. After inserting extra debug in the code, I see that $ip is empty, but where does it get this value from? If a file, which one and what line? If from system config, how is it derived? I've run the client and server in debug/trace mode, and I'm still not seeing where this problem originates. The Puppet master system has been cloned from an existing server and renamed/re-addressed. A client system that was also cloned with it works fine. This issue only affects two new clients, so I assume some old config in the server hasn't been cleared out. However, the output needs to show more info about the origin of the error. -- 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.
