Hi,
[snip]
The second test fails. How can I see the definition of User[foo] ?
>
you can dump the entire catalogue to stdout with the following:
it { p subject.resources }
If you are interested in just the one resource, it is probably easier to
use:
it { p subject.resource('User', 'foo') }
which would return just that resource and its attributes.
Kind regards,
k
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.