Ask Your Question

Revision history [back]

There is a bug in the defined function that prevents it from handling top-scope variables correctly. You can either omit the "::" operator, assuming there is no local-scope variable with the same name already, or you can assign the top-scope variable to a local-scope variable and pass it to the defined() function instead.

Also see, and it appears this will be fixed (or has been by now, since it was just released) in Puppet 4.0.