I have a simple class, call it "foobar". It has two simple resources, a
file and an augeas call to edit sysctl.conf.
When I run my ENC script against a node, the class appears in the resulting
YAML, e.g.
---
classes:
foobar: {}
However, when I call 'puppetd --test' on the client side, this class is not
included in the catalog. If I cat classes.txt, it's also not listed. There
are no error messages.
I've enabled trace logging for my puppetmaster, and I also do not see
anything erroneous.
I should note that I have other classes hooked up through my ENC for the
exact same node, and they are working fine.
Now, if I manually create this class as a resource, e.g. "class { "foobar":
}" in my site.pp, the class gets compiled and runs just fine.
I'm running puppet 2.7.18-1 from the puppetlabs-provided RPMs.
Is there a way on the server side to validate the ENC -> class
transformation for clients? I can see in the logs when the ENC script gets
run, but there's not much other detail
Thanks!
Jon
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/vkeKbjdht24J.
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-users?hl=en.