From 7284ece745cc8bee8b3abe3cb874e1625b2be198 Mon Sep 17 00:00:00 2001 From: madflojo Date: Wed, 29 Jan 2014 21:00:03 -0700 Subject: [PATCH] change pub key to use user_group if you set an alternate prime_group this would break, replaced {{ name }} with {{ user_group }} --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 4428f6b..4582217 100644 --- a/users/init.sls +++ b/users/init.sls @@ -93,7 +93,7 @@ user_{{ name }}_public_key: file.managed: - name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh/id_rsa.pub - user: {{ name }} - - group: {{ name }} + - group: {{ user_group }} - mode: 644 - contents: {{ user['ssh_keys']['pubkey'] }} - require: