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
This commit is contained in:
Jeremy Stanley 2016-09-19 19:31:19 +00:00
parent 2bc5dd7ca4
commit 41ff81b69d

View File

@ -27,6 +27,8 @@ class openstack_project::users_install (
package { $::openstack_project::params::user_packages: package { $::openstack_project::params::user_packages:
ensure => present ensure => present
} }
## NOTE: This list is arranged in order of chronological precedence,
## additions should be appended to the end.
realize ( realize (
User::Virtual::Localuser['mordred'], User::Virtual::Localuser['mordred'],
User::Virtual::Localuser['corvus'], User::Virtual::Localuser['corvus'],
@ -36,8 +38,8 @@ class openstack_project::users_install (
User::Virtual::Localuser['elizabeth'], User::Virtual::Localuser['elizabeth'],
User::Virtual::Localuser['jhesketh'], User::Virtual::Localuser['jhesketh'],
User::Virtual::Localuser['nibz'], User::Virtual::Localuser['nibz'],
User::Virtual::Localuser['pabelanger'],
User::Virtual::Localuser['yolanda'], User::Virtual::Localuser['yolanda'],
User::Virtual::Localuser['pabelanger'],
User::Virtual::Localuser['rcarrillocruz'], User::Virtual::Localuser['rcarrillocruz'],
User::Virtual::Localuser['ianw'], User::Virtual::Localuser['ianw'],
) )
@ -50,8 +52,8 @@ class openstack_project::users_install (
user::virtual::disable{'elizabeth':} user::virtual::disable{'elizabeth':}
user::virtual::disable{'jhesketh':} user::virtual::disable{'jhesketh':}
user::virtual::disable{'nibz':} user::virtual::disable{'nibz':}
user::virtual::disable{'pabelanger':}
user::virtual::disable{'yolanda':} user::virtual::disable{'yolanda':}
user::virtual::disable{'pabelanger':}
user::virtual::disable{'rcarrillocruz':} user::virtual::disable{'rcarrillocruz':}
user::virtual::disable{'ianw':} user::virtual::disable{'ianw':}
} }