system-config/modules/openstack_project/manifests/infracloud
Colleen Murphy d61b4adadf Add roles for CI users
Without this patch, puppet does not idempotently create the openstackci
and openstackjenkins users. Puppet will create the openstackci and
openstackjenkins users, but won't assign them any kind of membership in
the openstackci and openstackjenkins projects. Then on the second
puppet run, puppet tries to check the users' passwords by issuing an
'openstack token issue' command. Without a role, the users can't
authenticate and receive a 401. Puppet then reports that it 'changed
password' because the password check failed.

The name of the role, 'user', is not significant.

The strange syntax of the keystone_user_role resource is explained in
the keystone module[1].

[1] http://git.openstack.org/cgit/openstack/puppet-keystone/tree/examples/user_project_user_role_composite_namevar.pp

Change-Id: I4fb94722ccafb80cdbefa9500b2124a82ddd57cf
2016-03-03 14:10:31 -08:00
..
baremetal.pp Realize infracloud admins 2016-02-25 09:36:00 -08:00
compute.pp Merge "Realize infracloud admins" 2016-02-25 21:48:59 +00:00
controller.pp Add roles for CI users 2016-03-03 14:10:31 -08:00