From efb9bd6bcb48589ba80ce61575fe3a5416bd353d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phanie=20Jaumotte?= Date: Fri, 30 Dec 2022 16:05:11 +0100 Subject: [PATCH] sensitive --- manifests/config.pp | 2 +- spec/classes/kibana_spec.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index 8fa5acb..393b00e 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -13,7 +13,7 @@ file { '/etc/kibana/kibana.yml': ensure => $_ensure, - content => template("${module_name}/etc/kibana/kibana.yml.erb"), + content => Sensitive(template("${module_name}/etc/kibana/kibana.yml.erb")), owner => $kibana::kibana_user, group => $kibana::kibana_group, mode => '0660', diff --git a/spec/classes/kibana_spec.rb b/spec/classes/kibana_spec.rb index ffecaeb..2e5e3a3 100644 --- a/spec/classes/kibana_spec.rb +++ b/spec/classes/kibana_spec.rb @@ -41,10 +41,10 @@ group: 'kibana', mode: '0660' ). - with_content(%r{ - # Managed by Puppet.. - ---. - }xm) + with_content(sensitive(%r{ + # Managed by Puppet.. + ---. + }xm)) end it 'enables and starts the service' do