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

cmd.run: cmd.run:
- name: cat /etc/salt/grains.d/* > /etc/salt/grains - name: cat /etc/salt/grains.d/* > /etc/salt/grains
- require: - require:
- file: salt_minion_grains_dir
- file: salt_minion_grains_placeholder
- watch_in: - watch_in:
- service: salt_minion_service - service: salt_minion_service


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

Loading…
Cancel
Save