Defined Type: wildfly::config::user_groups

Defined in:
manifests/config/user_groups.pp

Overview

Manages groups for a Management User (`mgmt-groups.properties`).

Parameters:

  • groups (String)

    List of groups to associate with this user.



5
6
7
8
9
10
11
12
13
14
# File 'manifests/config/user_groups.pp', line 5

define wildfly::config::user_groups(String $groups) {

  file_line { "${title}:${groups}":
    path   => "${wildfly::dirname}/${wildfly::mode}/configuration/mgmt-groups.properties",
    line   => "${title}=${groups}",
    match  => "^${title}=.*\$",
    notify => Service['wildfly'],
  }

}