puppet-splunk
puppet-splunk copied to clipboard
How we configure splunk authentication while setting up splunk forwarder for user, password and role
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet:
- Ruby:
- Distribution:
- Module version:
How to reproduce (e.g Puppet code you use)
splunk_authentication
What are you seeing
Am not seeing any documentation or default type to set this (or I couldn't find it)
What behaviour did you expect instead
Documentation on setting up the splunk_authentication with user and role which I can do it manually with,
"splunk cmd splunkd rest --noauth POST /services/authentication/users "name=admin&password=xxxxxxx&roles=admin"
Output log
Any additional information you'd like to impart
Agreed - it would be nice to be able to do something like this:
class { '::splunk::forwarder': package_ensure => 'latest', seed_password => true, admin_user => 'admin4splunk', password_hash => '$hashashashihashB.', }