From e263b35f54a1d5eeebffe5590f312d70eef9d58f Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 14 Jul 2016 10:54:31 +1000 Subject: [PATCH] Add ianw key and to infra-root I have read and agree to [1] I'm happy to be a guinea pig for a ed25519 key, because it seems like we're very close to having support everywhere. [1] http://docs.openstack.org/infra/system-config/sysadmin.html#ssh-access Depends-On: I2a625c4dbb72f3ae1f9644636d635033be817465 Change-Id: Id91e954097cc928602be213cf05ba2194de6b635 --- modules/openstack_project/manifests/users.pp | 9 +++++++++ modules/openstack_project/manifests/users_install.pp | 2 ++ 2 files changed, 11 insertions(+) diff --git a/modules/openstack_project/manifests/users.pp b/modules/openstack_project/manifests/users.pp index bc0b0f8fd4..096886303d 100644 --- a/modules/openstack_project/manifests/users.pp +++ b/modules/openstack_project/manifests/users.pp @@ -221,4 +221,13 @@ class openstack_project::users { gid => 2024, } + @user::virtual::localuser { 'ianw': + realname => 'Ian Wienand', + key_type => 'ssh-ed25519', + sshkeys => 'AAAAC3NzaC1lZDI1NTE5AAAAILOjz+dkwRWTJcW9Gt3iGHSzRBsvVlTAK6G2oH3+0D41', + key_id => 'iwienand+osinfra@redhat.com', + uid => 2025, + gid => 2025, + } + } diff --git a/modules/openstack_project/manifests/users_install.pp b/modules/openstack_project/manifests/users_install.pp index de4d9795f0..47e69f6efb 100644 --- a/modules/openstack_project/manifests/users_install.pp +++ b/modules/openstack_project/manifests/users_install.pp @@ -39,6 +39,7 @@ class openstack_project::users_install ( User::Virtual::Localuser['pabelanger'], User::Virtual::Localuser['yolanda'], User::Virtual::Localuser['rcarrillocruz'], + User::Virtual::Localuser['ianw'], ) } else { user::virtual::disable{'mordred':} @@ -52,6 +53,7 @@ class openstack_project::users_install ( user::virtual::disable{'pabelanger':} user::virtual::disable{'yolanda':} user::virtual::disable{'rcarrillocruz':} + user::virtual::disable{'ianw':} } }