Browse Source

change pub key to use user_group

if you set an alternate prime_group this would break, replaced {{ name
}} with {{ user_group }}
lookup-fix-3
madflojo 10 years ago
parent
commit
7284ece745
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

file.managed: file.managed:
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh/id_rsa.pub - name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh/id_rsa.pub
- user: {{ name }} - user: {{ name }}
- group: {{ name }}
- group: {{ user_group }}
- mode: 644 - mode: 644
- contents: {{ user['ssh_keys']['pubkey'] }} - contents: {{ user['ssh_keys']['pubkey'] }}
- require: - require:

Loading…
Cancel
Save