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.
pull/6/head
Justin Santa Barbara 2015-07-03 10:24:32 -04:00
parent ad0293e3f3
commit 60d822435b
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 -%}