How to get tenant and user ID from puppet

asked 2016-01-27 15:51:49 -0600

simondodsley gravatar image

Hi

I need to create a new openstack user in puppet (easy enough to do), but then I need to get the ID of the user so that I can use this in a configuration file.

I can't find any simple way to do this. Anyone have any ideas?

I also have to do this with a tenant as well.

I sort of need the keystone_tenant and keystone_user to return the ID if it is doing a create, or a new function called keystone_get_user or keystone_get_tenant

Any thoughts would be appreciated.

edit retag flag offensive close merge delete