Skip to content

Commit

Permalink
update default logging_deployed value to False
Browse files Browse the repository at this point in the history
In an Openshift-Ansible inventory file, logging is not set to deploy by
default. This patch updates the LoggingCheck's assumption of
logging_deployed to False, to match the inventory file's default.
  • Loading branch information
juanvallejo committed Jul 5, 2017
1 parent 1871536 commit 7d7c942
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def is_active(cls, task_vars):
@staticmethod
def is_first_master(task_vars):
"""Run only on first master and only when logging is configured. Returns: bool"""
logging_deployed = get_var(task_vars, "openshift_hosted_logging_deploy", default=True)
logging_deployed = get_var(task_vars, "openshift_hosted_logging_deploy", default=False)
# Note: It would be nice to use membership in oo_first_master group, however for now it
# seems best to avoid requiring that setup and just check this is the first master.
hostname = get_var(task_vars, "ansible_ssh_host") or [None]
Expand Down

0 comments on commit 7d7c942

Please sign in to comment.