Resource Type: keystone_user_role

Defined in:
lib/puppet/type/keystone_user_role.rb
Providers:
openstack

Overview

This is currently used to model the creation of keystone users roles.

User roles are an assignment of a role to a user on a certain tenant. The combination of all of these attributes is unique.

The resource’s name can be specified like this:

<user(::user_domain)?>@<project(::project_domain)?|::domain>

which means the user is required. Project and domain are mutually exclusive. User_domain and project_domain are optional.

“user_domain” and “project_domain” resources default to the name of the “Keystone_domain” resource which has the “is_default” property set to true in the current catalog, or to “Default” if such resource doesn’t exist in the catalog.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • roles

Parameters

  • domain (namevar) (defaults to: PuppetX::Keystone::CompositeNamevar::Unset)
  • provider

    The specific backend to use for this ‘keystone_user_role` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • system (namevar) (defaults to: PuppetX::Keystone::CompositeNamevar::Unset)