Is the official supported puppetlabs-splunk module 'not' future parser compatible ?
Create a foo.pp containing:
class { 'splunk::forwarder': }Run puppet apply --noop with the future parser disabled - looks good...
# puppet apply --noop foo.pp
Notice: Compiled catalog for localhost.localdomain in environment production in 0.49 seconds
Notice: /Stage[main]/Splunk::Forwarder/Package[splunkforwarder]/ensure: current_value absent, should be present (noop)
Notice: /Stage[main]/Splunk::Forwarder/Splunkforwarder_input[default_host]/ensure: current_value absent, should be present (noop)
Notice: /Stage[main]/Splunk::Forwarder/Splunkforwarder_output[tcpout_defaultgroup]/ensure: current_value absent, should be present (noop)
Notice: /Stage[main]/Splunk::Forwarder/Splunkforwarder_output[defaultgroup_server]/ensure: current_value absent, should be present (noop)
Notice: /Stage[main]/Splunk::Forwarder/Ini_setting[forwarder_splunkd_port]/ensure: current_value absent, should be present (noop)
Notice: Class[Splunk::Forwarder]: Would have triggered 'refresh' from 5 events
Notice: /Stage[main]/Splunk::Platform::Posix/Exec[license_splunkforwarder]/returns: current_value notrun, should be 0 (noop)
Notice: Class[Splunk::Platform::Posix]: Would have triggered 'refresh' from 1 events
Notice: /Stage[main]/Splunk::Virtual/Service[splunk]/ensure: current_value stopped, should be running (noop)
Notice: Class[Splunk::Virtual]: Would have triggered 'refresh' from 1 events
Notice: Stage[main]: Would have triggered 'refresh' from 3 events
Notice: Finished catalog run in 0.31 seconds
Run the same test specifying the future parser - total fail....
# puppet apply --noop foo.pp --parser futureNotice: Compiled catalog for localhost.dhcp4.washington.edu in environment production in 0.79 secondsError:
Could not find dependent Service[splunk] for Package[splunkforwarder]
at /etc/puppetlabs/puppet/modules/splunk/manifests/forwarder.pp:76 I'm running 3.8.2 here FWIW, but the same failure happens (more verbosely) on 2015.2
which was reportedly fixed according to the PUP.