瀏覽代碼
Merge pull request #12 from noelmcloughlin/grepbug
Hide salt stdout [ERROR] if grep rc=1
tags/v0.2.0
Niels Abspoel
6 年之前
No account linked to committer's email address
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
chrony/map.jinja
|
|
@@ -14,7 +14,7 @@ |
|
|
|
|
|
|
|
-{# Debian distros check /etc/default/rcS to determine UTC setting #} |
|
|
|
-{% 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') %} |
|
|
|
- {% endif %} |
|
|
|
-{% endif %} |