voxpupuli / puppet-splunk

Manage Splunk servers and forwarders using Puppet
https://forge.puppet.com/puppet/splunk
Apache License 2.0
40 stars 121 forks source link

adding a section without any settings does not work, this is needed for the replication port #372

Open muncjack opened 5 months ago

muncjack commented 5 months ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

splunk_server {
'replication_port://9887/':;
    'replication_port':
      section => 'replication_port://9887',
}

What are you seeing

etc/system/local/server.conf is not updates with a empty section for the replicatrion

What behaviour did you expect instead

I need there to be a section with tno settings a bit like this


[replication_port://9887]

Output log

no errors

Any additional information you'd like to impart