GG
Size: a a a
GG
GG
GG
*
2021-08-31 13:11:47,141 [salt.loaded.int.states.file:2784][WARNING ][7553] State for file: /etc/systemd/system/nightly.timer - Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'. As there is no source to replace the file with, 'replace' has been set to 'False' to avoid reading the file unnecessarily
/etc/systemd/system/nightly.timer:
file:
- managed
- user: root
- group: root
- mode: 644
{% if grains['id'] == 'tokyo-02' %}
- source: salt://daemons_nightly/nightly.timer_hourly
{% elif grains['id'] == '*' %}
- source: salt://daemons_nightly/nightly.timer
{% endif %}
KP
KP
KP
/etc/systemd/system/nightly.timer:```
file.managed:
- user: root
- group: root
- mode: 644
{% if grains['id'] == 'tokyo-02' %}
- source: salt://daemons_nightly/nightly.timer_hourly
{% else %}
- source: salt://daemons_nightly/nightly.timer
{% endif %}
KP
VS
KP
R
KP
KP