Drop parameters:openssh:enabled key from all users
* Those key, should be managed by higher class
* Same for sudo option(make it always parametrized)
* Move public_keys under user:public_keys
Change-Id: I52bac4d22fbdb36f02010d9e9997d1d2429ed8e3
diff --git a/openssh/server/team/members/pshchelo.yml b/openssh/server/team/members/pshchelo.yml
index 52e7cc6..f2da9a8 100644
--- a/openssh/server/team/members/pshchelo.yml
+++ b/openssh/server/team/members/pshchelo.yml
@@ -3,18 +3,17 @@
system:
user:
pshchelo:
+ email: pshchelokovskyy@mirantis.com
enabled: true
- name: pshchelo
- sudo: ${_param:linux_system_user_sudo}
full_name: Pavlo Shchelokovskyy
home: /home/pshchelo
- email: pshchelokovskyy@mirantis.com
+ name: pshchelo
+ sudo: ${_param:linux_system_user_sudo}
openssh:
server:
- enabled: true
user:
pshchelo:
enabled: true
public_keys:
- - key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOns6c3H+TP0HBYWI+N6nX/ilPrGth5ElLCyN4EHJqcq pshchelo@git
+ - key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOns6c3H+TP0HBYWI+N6nX/ilPrGth5ElLCyN4EHJqcq pshchelo@git
user: ${linux:system:user:pshchelo}