Skip to content

Defined type jboss::user

Krzysztof Suszyński edited this page Oct 22, 2015 · 1 revision

The jboss::user defined type

Use this defined type to add and remove JBoss management and application users, manage their passwords and roles.

jboss::user { 'admin':
  ensure   => 'present',
  realm    => 'ManagementRealm',
  password => 'seCret1!',
}

Parameters of jboss::user:

password parameter

Required parameter. This is password that will be used for user.

ensure parameter

Standard ensure parameter. Can be either present or absent.

user parameter

This is the namevar. Name of user to manage.

realm parameter

This is by default equal to ManagementRealm. It can be equal also to ApplicationRealm.

roles parameter

This is by default equal to undef. You can pass a list of roles in form of string delimited by , sign.