Skip to content

Commit a4ad064

Browse files
fix: values are already masked when Sensitive type is used within epp
1 parent fbb5a45 commit a4ad064

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

manifests/proxy.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
mode => '0644',
508508
require => Package["zabbix-proxy-${db}"],
509509
replace => true,
510-
content => Sensitive(epp('zabbix/zabbix_proxy.conf.epp', {
510+
content => epp('zabbix/zabbix_proxy.conf.epp', {
511511
'allowroot' => $allowroot,
512512
'cachesize' => $cachesize,
513513
'configfrequency' => $configfrequency,
@@ -603,7 +603,7 @@
603603
'zabbix_server_port' => $zabbix_server_port,
604604
'zabbix_user' => $zabbix::params::server_zabbix_user,
605605
'zabbix_version' => $zabbix_version,
606-
})),
606+
}),
607607
}
608608

609609
# Include dir for specific zabbix-proxy checks.

manifests/server.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
mode => '0640',
453453
require => Package["zabbix-server-${db}"],
454454
replace => true,
455-
content => Sensitive(epp('zabbix/zabbix_server.conf.epp', {
455+
content => epp('zabbix/zabbix_server.conf.epp', {
456456
'alertscriptspath' => $alertscriptspath,
457457
'allowroot' => $allowroot,
458458
'cachesize' => $cachesize,
@@ -545,7 +545,7 @@
545545
'webserviceurl' => $webserviceurl,
546546
'zabbix_user' => $zabbix::params::server_zabbix_user,
547547
'zabbix_version' => $zabbix_version,
548-
})),
548+
}),
549549
}
550550

551551
# Include dir for specific zabbix-server checks.

manifests/web.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
group => $web_config_group,
290290
mode => '0640',
291291
replace => true,
292-
content => Sensitive(epp('zabbix/web/zabbix.conf.php.epp', {
292+
content => epp('zabbix/web/zabbix.conf.php.epp', {
293293
'database_type' => $database_type,
294294
'database_host' => $database_host,
295295
'database_port' => $database_port,
@@ -310,7 +310,7 @@
310310
'saml_sp_cert' => $saml_sp_cert,
311311
'saml_idp_cert' => $saml_idp_cert,
312312
'saml_settings' => $saml_settings,
313-
})),
313+
}),
314314
}
315315

316316
# For API to work on Zabbix 5.x zabbix.conf.php needs to be in the root folder.

0 commit comments

Comments
 (0)