Previously, used the catalog face for
compilation with the :use_node option.
Starting in 2.7.2rc2, all faces options
must be explicit, so the catalog face
no longer supports the use_node option.
This commit changes the call to use
the indirection directly.
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 <matthaus@puppetlabs.com>
Signed-off-by: Dan Bode <dan@puppetlabs.com>
In case it contains non-alpha-numerics.
Previously, you could not specify classes with
namespaces like: foo::bar
Reviewed-by: Dan Bode <dan@puppetlabs.com>
Signed-off-by: Matthaus Litteken <matthaus@puppetlabs.com>
Allows you to specify external dependencies
for classes/defines.
Reviewed-by: Dan Bode <dan@puppetlabs.com>
Signed-off-by: Matthaus Litteken <matthaus@puppetlabs.com>
Refactored the fact and node lookup to not use the
terminus. The terminus could wind up looking
in unexpected places and would introduce
unnessary system requirements into the tests.
Added support for param classes in the class
example group.
This commit also changes the call to get the
description from:
self.class.meta[:example_group][:full_description]
to self.class.top_level_description.downcase
This provides better support nested descriptions.
(The previous code was concatenating the nested
descriptions which was not creating a valid
klass name for my working example)
Now, the only requirement is that the top level
description is the same as the class name.