From 6826e556c5c4fdc8a12f0d3b25f7fec2ca7991b9 Mon Sep 17 00:00:00 2001 From: Elijah Lazkani Date: Sat, 14 Jan 2017 18:50:38 -0500 Subject: [PATCH] Making fish as the default user shell when it gets installed. --- salty/base/fish/init.sls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salty/base/fish/init.sls b/salty/base/fish/init.sls index bc93c57..1820ee1 100644 --- a/salty/base/fish/init.sls +++ b/salty/base/fish/init.sls @@ -8,6 +8,10 @@ oh-my-fish: - target: {{ grains.homedir }}/oh-my-fish - user: {{ grains.user }} +{{ grains.user }}: + user.present: + - shell: /usr/bin/fish + install-oh-my-fish: cmd.run: - name: bin/install --offline --noninteractive