From 41ff81b69d483b2a841ec41228d79e3c8e5e1767 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 19 Sep 2016 19:31:19 +0000 Subject: [PATCH] Sort the users install list chronologically The openstack_project:users_install class has a list of accounts which are granted root access on all servers. This list has traditionally seen new additions appended, leaving it ordered by the precedence by which each member was tasked with this responsibility. Adjustment the current list so that recent additions retain this chronological ordering. Change-Id: I365369ef9ce80d2d24cd6aa786da7215b1204e26 --- modules/openstack_project/manifests/users_install.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/users_install.pp b/modules/openstack_project/manifests/users_install.pp index 47e69f6efb..7529031112 100644 --- a/modules/openstack_project/manifests/users_install.pp +++ b/modules/openstack_project/manifests/users_install.pp @@ -27,6 +27,8 @@ class openstack_project::users_install ( package { $::openstack_project::params::user_packages: ensure => present } + ## NOTE: This list is arranged in order of chronological precedence, + ## additions should be appended to the end. realize ( User::Virtual::Localuser['mordred'], User::Virtual::Localuser['corvus'], @@ -36,8 +38,8 @@ class openstack_project::users_install ( User::Virtual::Localuser['elizabeth'], User::Virtual::Localuser['jhesketh'], User::Virtual::Localuser['nibz'], - User::Virtual::Localuser['pabelanger'], User::Virtual::Localuser['yolanda'], + User::Virtual::Localuser['pabelanger'], User::Virtual::Localuser['rcarrillocruz'], User::Virtual::Localuser['ianw'], ) @@ -50,8 +52,8 @@ class openstack_project::users_install ( user::virtual::disable{'elizabeth':} user::virtual::disable{'jhesketh':} user::virtual::disable{'nibz':} - user::virtual::disable{'pabelanger':} user::virtual::disable{'yolanda':} + user::virtual::disable{'pabelanger':} user::virtual::disable{'rcarrillocruz':} user::virtual::disable{'ianw':} }