Salt: clean daemon_args on RedHat, not systemd

I don't think it actually makes a difference based on how we're using it,
but this is now more of a precise change.
This commit is contained in:
Justin Santa Barbara 2015-07-03 10:24:32 -04:00 committed by Tim Hockin
parent aff1ffc319
commit efce770fbb
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{% set daemon_args = "$DAEMON_ARGS" -%}
{% if pillar.get('is_systemd') -%}
{% if grains['os_family'] == 'RedHat' -%}
{% set daemon_args = "" -%}
{% endif -%}

View File

@ -1,5 +1,5 @@
{% set daemon_args = "$DAEMON_ARGS" -%}
{% if pillar.get('is_systemd') -%}
{% if grains['os_family'] == 'RedHat' -%}
{% set daemon_args = "" -%}
{% endif -%}
{# TODO(azure-maintainer): add support for distributing kubeconfig with token to kube-proxy #}

View File

@ -1,5 +1,5 @@
{% set daemon_args = "$DAEMON_ARGS" -%}
{% if pillar.get('is_systemd') -%}
{% if grains['os_family'] == 'RedHat' -%}
{% set daemon_args = "" -%}
{% endif -%}