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

Changes needed to support both old and new cluster configuration #217

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BSonPosh
Copy link

@BSonPosh BSonPosh commented Dec 6, 2023

8.1< slave/master
8.1 >= peer/manager

8.1< slave/master
8.1 >= peer/manager
@dtwersky dtwersky self-assigned this Dec 6, 2023
become: true
become_user: "{{ splunk_nix_user }}"
register: idxc_peer_init_result
changed_when: idxc_peer_init_result.rc == 0
failed_when: idxc_peer_init_result.rc != 0
notify: restart splunk
no_log: true
no_log: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this back to true

@BSonPosh
Copy link
Author

BSonPosh commented Aug 30, 2024 via email


- name: Setting clustering mode to slave and uri to master base on Splunk version
set_fact:
mode_value: "slave"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this:

Suggested change
mode_value: "slave"
mode_value: "{% if splunk_version_release | version('8.1', '<') %}slave{% else %}peer{% endif %}"

These changes (if tested and working) will combine both 8.1 and later into one task

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 this pull request may close these issues.

3 participants