From 0c3b8ff7655dd8f943523c74fe3bf1b681c37034 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 6 Sep 2014 22:11:08 +0100 Subject: [PATCH] Re-add ability to set shell per-user --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 71ab150..d99ad06 100644 --- a/users/init.sls +++ b/users/init.sls @@ -40,7 +40,7 @@ user.present: - name: {{ name }} - home: {{ home }} - - shell: {{ users.get('visudo_shell', '/bin/bash') }} + - shell: {{ user.get('shell', users.get('visudo_shell', '/bin/bash')) }} {% if 'uid' in user -%} - uid: {{ user['uid'] }} {% endif -%}