- Adding the usage of the group grain

- Fixing the fish configuration
This commit is contained in:
Elijah Lazkani 2017-03-01 23:37:37 -05:00
parent 5807d83862
commit e711e1f910
3 changed files with 21 additions and 5 deletions

View file

@ -19,7 +19,23 @@ install-oh-my-fish:
- runas: {{ grains.user }} - runas: {{ grains.user }}
- unless: test -d {{ grains.homedir }}/.local/share/omf - unless: test -d {{ grains.homedir }}/.local/share/omf
install-bobthefish: oh-my-fish-config:
file.managed:
- name: {{ grains.homedir }}/.config/omf/bundle
- source: salt:///fish/files/bundle
- user: {{ grains.user }}
- group: {{ grains.group }}
- force: True
fish-set-theme:
file.managed:
- name: {{ grains.homedir }}/.config/omf/theme
- source: salt:///fish/files/theme
- user: {{ grains.user }}
- group: {{ grains.group }}
- force: True
install-omf-packages:
cmd.run: cmd.run:
- name: fish -c "omf install bobthefish" - name: fish -c "omf install"
- runas: {{ grains.user }} - runas: {{ grains.user }}

View file

@ -6,5 +6,5 @@ gitconfig:
- name: {{ grains.homedir }}/.gitconfig - name: {{ grains.homedir }}/.gitconfig
- source: salt:///git/files/gitconfig - source: salt:///git/files/gitconfig
- user: {{ grains.user }} - user: {{ grains.user }}
- group: {{ grains.user }} - group: {{ grains.group }}
- force: True - force: True

View file

@ -31,7 +31,7 @@ zsh-config:
- name: {{ grains.homedir }}/.zshrc - name: {{ grains.homedir }}/.zshrc
- source: salt:///zsh/files/zshconfig - source: salt:///zsh/files/zshconfig
- user: {{ grains.user }} - user: {{ grains.user }}
- group: {{ grains.user }} - group: {{ grains.group }}
- template: jinja - template: jinja
- force: True - force: True
@ -40,6 +40,6 @@ bash-config:
- name: {{ grains.homedir }}/.bashrc - name: {{ grains.homedir }}/.bashrc
- source: salt:///zsh/files/bashconfig - source: salt:///zsh/files/bashconfig
- user: {{ grains.user }} - user: {{ grains.user }}
- group: {{ grains.user }} - group: {{ grains.group }}
- template: jinja - template: jinja
- force: True - force: True