Skip to content

majormer/pltraining-rbac

 
 

Repository files navigation

PE Console RBAC APIs

Puppet Enterprise 3.7 introduced a new Role Based Access Control layer. This enables you to manage the permissions of local users as well as those who are created remotely, on a directory service in very granular detail.

This module exposes some of it to the Puppet DSL. Currently, it only manages users. Roles, permissions, and groups will be added at a later time.

Usage

rbac_user { 'testing account':
    ensure       => 'present',
    name         => 'testing',
    display_name => 'Just a testing account',
    email        => '[email protected]',
    password     => 'puppetlabs',
    roles        => [ 'Operators' ],
}

Limitations

The API does not currently allow you to update existing users, other than to revoke the account, or update the roles attached to the user. When you ensure an rbac_user is absent, the record will not be removed, just marked as revoked.

For a node that is not a standalone master to manage RBAC users, its certname must be listed in the Console node's RBAC certificate whitelist.

Contact

[email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.6%
  • Puppet 1.4%