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/dkalashnik.yml b/openssh/server/team/members/dkalashnik.yml
index 52a2a69..e301723 100644
--- a/openssh/server/team/members/dkalashnik.yml
+++ b/openssh/server/team/members/dkalashnik.yml
@@ -3,18 +3,17 @@
system:
user:
dkalashnik:
+ email: dkalashnik@mirantis.com
enabled: true
- name: dkalashnik
- sudo: ${_param:linux_system_user_sudo}
full_name: Dmitry Kalashnik
home: /home/dkalashnik
- email: dkalashnik@mirantis.com
+ name: dkalashnik
+ sudo: ${_param:linux_system_user_sudo}
openssh:
server:
- enabled: true
user:
dkalashnik:
enabled: true
public_keys:
- - key: ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAyz5ovMK/rRxlhiy7x4dVwFkUqN/hhdVIpsQRQoGgTOjVhH6Y+eTE3si0RRq/HKZMwkcClJIqzMgjoajT5eQQphQrAAn2pwuCyZj0mXJJ1RSXQm+nSnhoqyB1r7Nl3keopgxrDlBLWyvyS3dJM9RJy4TimIwhuSA3qdhmfeqRm5M=
- user: ${linux:system:user:dkalashnik}
\ No newline at end of file
+ - key: ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAyz5ovMK/rRxlhiy7x4dVwFkUqN/hhdVIpsQRQoGgTOjVhH6Y+eTE3si0RRq/HKZMwkcClJIqzMgjoajT5eQQphQrAAn2pwuCyZj0mXJJ1RSXQm+nSnhoqyB1r7Nl3keopgxrDlBLWyvyS3dJM9RJy4TimIwhuSA3qdhmfeqRm5M=
+ user: ${linux:system:user:dkalashnik}