Browse Source

Hide salt stdout [ERROR] if grep rc=1

master^2
Noel McLoughin 6 years ago
parent
commit
b17001b177
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      chrony/map.jinja

+ 1
- 1
chrony/map.jinja View File



-{# Debian distros check /etc/default/rcS to determine UTC setting #} -{# Debian distros check /etc/default/rcS to determine UTC setting #}
-{% if grains['os_family'] == "Debian" %} -{% if grains['os_family'] == "Debian" %}
- {% if salt['cmd.run']('grep UTC=no /etc/default/rcS') %}
- {% if salt['cmd.run']('grep UTC=no /etc/default/rcS', output_loglevel='quiet') %}
- {% do chrony['otherparams'].remove('rtconutc') %} - {% do chrony['otherparams'].remove('rtconutc') %}
- {% endif %} - {% endif %}
-{% endif %} -{% endif %}

Loading…
Cancel
Save