Previously, I was seeing the error undefined method `parameters' for nil:NilClass in cases where with_param was specified for resources that did not exist in the catalog. This patch will not check the chained params if the resource does not exist.
Previously boolean, hash, and array param values were not supported for defined or classes. Now, we are using inspect instead of to_s so they will be returned as the correct reprentation of their type to Puppet. Reviewed-by: Matthaus Litteken <email@example.com> Signed-off-by: Dan Bode <firstname.lastname@example.org>
…d build_catalog method in support.rb.