Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create splunk user-seed.conf #126

Closed
haidangwa opened this issue Dec 6, 2019 · 0 comments · Fixed by #127
Closed

create splunk user-seed.conf #126

haidangwa opened this issue Dec 6, 2019 · 0 comments · Fixed by #127
Assignees

Comments

@haidangwa
Copy link
Contributor

Cookbook version

3.1.0

Chef-client version

15.5.17

Platform Details

redhat 7

Scenario:

the initial admin user/password is set in an unsecure manner, per Splunk's documentation. It uses the old method.

Steps to Reproduce:

Execute the chef-splunk::setup_auth recipe on a node

Splunk recommends adding the credentials in this file:
$SPLUNK_HOME/etc/system/local/user-seed.conf

It is currently the most secure way to provide these credentials for Splunk.

@haidangwa haidangwa self-assigned this Dec 6, 2019
haidangwa added a commit that referenced this issue Dec 6, 2019
…]['setup_auth']`

is `false` to bypass the `chef-splunk::setup_auth` recipe.
- Fixes [#126](#126) creates `$SPLUNK_HOME/etc/system/local/user-seed.conf`
haidangwa added a commit that referenced this issue Dec 6, 2019
…]['setup_auth']`

is `false` to bypass the `chef-splunk::setup_auth` recipe.
- Fixes [#126](#126) creates `$SPLUNK_HOME/etc/system/local/user-seed.conf`

Signed-off-by: Dang H. Nguyen <dang.nguyen@disney.com>
@haidangwa haidangwa mentioned this issue Dec 6, 2019
4 tasks
haidangwa added a commit that referenced this issue Dec 6, 2019
…]['setup_auth']` is `false` to bypass the `chef-splunk::setup_auth` recipe.

- Fixes [#126](#126) creates `$SPLUNK_HOME/etc/system/local/user-seed.conf`

    Signed-off-by: Dang H. Nguyen <dang.nguyen@disney.com>
haidangwa added a commit that referenced this issue Dec 6, 2019
…]['setup_auth']` is `false` to bypass the `chef-splunk::setup_auth` recipe. (#127)

- Fixes [#125](#125) adds conditional expressions when `node['splunk']['setup_auth']` is `false` to bypass the `chef-splunk::setup_auth` recipe. (#127)
- Fixes [#126](#126) creates `$SPLUNK_HOME/etc/system/local/user-seed.conf`

    Signed-off-by: Dang H. Nguyen <dang.nguyen@disney.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant