Pārlūkot izejas kodu

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 pirms 10 gadiem
vecāks
revīzija
7284ece745
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Parādīt failu

@@ -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:

Notiek ielāde…
Atcelt
Saglabāt