Make sure the fish config directory is present before moving on

This commit is contained in:
Elijah Lazkani 2017-03-03 22:25:42 -05:00
parent e5f1475c4e
commit 8dee80c0df

View file

@ -19,7 +19,14 @@ install-oh-my-fish:
- runas: {{ grains.user }}
- unless: test -d {{ grains.homedir }}/.local/share/omf
oh-my-fish-config:
create-oh-my-fish-config-directory:
file.directory:
- name: {{ grains.homedir }}/.config/omf
- user: {{ grains.user }}
- group: {{ grains.group }}
- force: True
oh-my-fish-bundle-config:
file.managed:
- name: {{ grains.homedir }}/.config/omf/bundle
- source: salt:///fish/files/bundle