You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class { '::splunk::forwarder': }
@splunkforwarder_input { 'source_type_example':
section => "monitor://$logs_path/*.log",
setting => 'sourcetype',
value => $name,
tag => "splunk_forwarder"
}
What are you seeing
When applying a change to an instance that has already had puppet applied to it (eg. splunkforwarder already installed, then editing 'source_type_example' and running again), splunkforwarder is not restarted.
What behaviour did you expect instead
When making a chance to the resource type for splunk, splunk should be restarted
Output log
Notice: /Stage[main]/Splunk::Forwarder/File[/opt/splunkforwarder/etc/system/local/inputs.conf]/ensure: created
Notice: /Stage[main]/Splunk::Forwarder/Splunkforwarder_input[default_host]/ensure: created
No mention of a restart in the output, when running splunk list monitors the new input doesn't exist. Once I manually restart splunk splunk restart, the monitor then shows.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce
What are you seeing
When applying a change to an instance that has already had puppet applied to it (eg. splunkforwarder already installed, then editing 'source_type_example' and running again), splunkforwarder is not restarted.
What behaviour did you expect instead
When making a chance to the resource type for splunk, splunk should be restarted
Output log
No mention of a restart in the output, when running
splunk list monitors
the new input doesn't exist. Once I manually restart splunksplunk restart
, the monitor then shows.The text was updated successfully, but these errors were encountered: