[openstack-dev] [puppet-keystone] Setting additional config options:

Emilien Macchi emilien at redhat.com
Tue Mar 29 23:43:21 UTC 2016


On Tue, Mar 29, 2016 at 6:19 PM, Adam Young <ayoung at redhat.com> wrote:
>
> Somewhere in here:
>
> http://git.openstack.org/cgit/openstack/puppet-keystone/tree/spec/classes/keystone_spec.rb
>
> I need to set these options:
>
>
> admin_project_name
> admin_project_domain_name
>
> http://git.openstack.org/cgit/openstack/keystone/tree/keystone/common/config.py#n450
> http://git.openstack.org/cgit/openstack/keystone/tree/keystone/common/config.py#n453
>
>
> If they are unset, we should default them to 'admin' and 'Default' on new
> installs, and leave them blank on old installs.
>
>
> Can anyone point me in the right direction?

You'll need to patch puppet-keystone/manifests/init.pp (and unit
tests) (using $::os_service_default for the default value, which will
take the default in keystone, blank).

Important note:
If for whatever reason, puppet-keystone providers need these 2 options
loaded in the environment, please also patch [1]. Because after
initial deployment, Puppet catalog will read from /root/openrc file to
connect to Keystone API.

Ignore my last comment if you don't need these 2 params during
authentication when using openstackclient (in our providers).

[1] https://github.com/openstack/puppet-openstack_extras/blob/master/manifests/auth_file.pp

Let us know if you need help,

Thanks!
-- 
Emilien Macchi



More information about the OpenStack-dev mailing list