On Monday, February 15, 2016 at 1:55:39 PM UTC-6, Joseph Karns wrote:

When I run the agent it picks up nothing....I'm super confused and the 
> module needs WAY MORE documentation. I've added --debug and can see that 
> the class is being applied because I can see the providers are being picked 
> up from the class. Any help would be greatly appreciated.
>
>

I don't immediately see anything wrong with the classes and data you 
presented.  I observe, however, that seeing log messages about resource 
providers being identified tells you only that instances of the 
corresponding resource type are present in the catalog.  That such messages 
report success in no way implies that any resources of those type, or the 
classes containing them, are successfully applied.

Even if the run succeeds overall with no resource failures, that in itself 
does not tell you anything about the details of any resource that was 
applied.  Look for the debug messages that pertain to the *application* of 
the splunk classes and resources.  You might also turn on the 
--detailed-exitcodes and --no-daemonize options, and test the exit status 
of the run to see whether it indicates any resource failures.  If not by 
those means, then how are you in fact determining that the agent "picks up 
nothing"?  What do you expect to see that you do not see?

I agree with you that the module documentation is lacking.  The manifests 
themselves are reasonably well commented, however, and of course you can 
always resort to reading the actual code 
<https://github.com/puppetlabs/puppetlabs-splunk>.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6e407bcc-3f39-4e74-9a3e-674d8bbf75d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to