Browse Source

Fix cat /etc/salt/grains.d/* when files not present

tags/0.4
Filip Pytloun 8 years ago
parent
commit
dac0ed8d0d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      salt/minion/grains.sls

+ 2
- 2
salt/minion/grains.sls View File

@@ -23,8 +23,8 @@ salt_minion_grains_file:
cmd.run:
- name: cat /etc/salt/grains.d/* > /etc/salt/grains
- require:
- file: salt_minion_grains_dir
- file: salt_minion_grains_placeholder
- watch_in:
- service: salt_minion_service

{%- endif %}
{%- endif %}

Loading…
Cancel
Save