Commit b057c499 authored by Markus Frosch's avatar Markus Frosch
Browse files

backend_group: Quote values for icingaweb2 ini

parent 42905c15
Pipeline #369 failed with stage
in 1 minute and 2 seconds
...@@ -33,57 +33,56 @@ define icinga2_testing::profiles::icingaweb2::backend_group( ...@@ -33,57 +33,56 @@ define icinga2_testing::profiles::icingaweb2::backend_group(
default => present default => present
}, },
setting => 'backend', setting => 'backend',
value => $backend; value => "\"${backend}\"";
"icingaweb2 group ${name} resource": "icingaweb2 group ${name} resource":
ensure => $resource ? { ensure => $resource ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'resource', setting => 'resource',
value => $resource; value => "\"${resource}\"";
"icingaweb2 group ${name} user_backend": "icingaweb2 group ${name} user_backend":
ensure => $user_backend ? { ensure => $user_backend ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'user_backend', setting => 'user_backend',
value => $user_backend; value => "\"${user_backend}\"";
"icingaweb2 group ${name} group_class": "icingaweb2 group ${name} group_class":
ensure => $group_class ? { ensure => $group_class ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'group_class', setting => 'group_class',
value => $group_class; value => "\"${group_class}\"";
"icingaweb2 group ${name} group_name_attribute": "icingaweb2 group ${name} group_name_attribute":
ensure => $group_name_attribute ? { ensure => $group_name_attribute ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'group_name_attribute', setting => 'group_name_attribute',
value => $group_name_attribute; value => "\"${group_name_attribute}\"";
"icingaweb2 group ${name} group_member_attribute": "icingaweb2 group ${name} group_member_attribute":
ensure => $group_member_attribute ? { ensure => $group_member_attribute ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'group_member_attribute', setting => 'group_member_attribute',
value => $group_member_attribute; value => "\"${group_member_attribute}\"";
"icingaweb2 group ${name} group_filter": "icingaweb2 group ${name} group_filter":
ensure => $group_filter ? { ensure => $group_filter ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'group_filter', setting => 'group_filter',
value => $group_filter; value => "\"${group_filter}\"";
"icingaweb2 group ${name} base_dn": "icingaweb2 group ${name} base_dn":
ensure => $base_dn ? { ensure => $base_dn ? {
undef => absent, undef => absent,
default => present default => present
}, },
setting => 'base_dn', setting => 'base_dn',
value => $base_dn; value => "\"${base_dn}\"";
} }
# lint:endignore # lint:endignore
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment