Commit 7504593d authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

Update init.sls

parent bd0963a0
......@@ -9,9 +9,9 @@ check_pkgs_update:
file.managed:
- name: /usr/local/bin/check_pkgs_update.sh
{% if grains['os'] == 'Ubuntu' %}
- source: salt://check_update/files/apt.sh
- source: salt://check_packages_update/files/apt.sh
{% elif grains['os'] == 'RedHat' %}
- source: salt://check_update/files/yum.sh
- source: salt://check_packages_update/files/yum.sh
{% endif %}
- user: root
- group: root
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment