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
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: All versions
Distribution: All distributions
Module version: All versions
How to reproduce (e.g Puppet code you use)
splunk_props { 'useless title':
path => '/opt/splunk/etc/master-apps/_cluster/local', # <-- would like to be able to do thissection => 'default',
setting => 'defaultGroup',
value => 'splunk_9777',
}
What are you seeing
The resource types have hardcoded paths to the .conf files and do not allow for specifying a path.
What behaviour did you expect instead
Allowing the path to be specified on a per-resource basis would allow for management of index and search head clusters.
Specifically, I would like to be able to manage the index cluster config files located at /opt/splunk/etc/master-apps/_cluster/local on the cluster master.
Any additional information you'd like to impart
Is this something that this module could support? If so, what would be the recommended way to implement this?
I've gotten this working by declaring additional resource types (splunkmaster_indexes and splunkmaster_inputs) but it feels forced. I have not been successful in implementing a path property on the base type since it seems to be a limitation of puppetlabs-inifile.
The text was updated successfully, but these errors were encountered:
but getting error: no parameter named 'context'
Confirmed i have pulled this commit.
Have you been able to use the context setting?
Hoping there's going to be an update to the readme soon.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
The resource types have hardcoded paths to the
.conf
files and do not allow for specifying a path.What behaviour did you expect instead
Allowing the path to be specified on a per-resource basis would allow for management of index and search head clusters.
Specifically, I would like to be able to manage the index cluster config files located at
/opt/splunk/etc/master-apps/_cluster/local
on the cluster master.Any additional information you'd like to impart
Is this something that this module could support? If so, what would be the recommended way to implement this?
I've gotten this working by declaring additional resource types (
splunkmaster_indexes
andsplunkmaster_inputs
) but it feels forced. I have not been successful in implementing apath
property on the base type since it seems to be a limitation ofpuppetlabs-inifile
.The text was updated successfully, but these errors were encountered: