From 84d9a2c0c3906decb1620cd1029b23d7423d8ae7 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Sun, 25 Dec 2022 20:28:16 +0100 Subject: [PATCH] fix file mode of private key for cert --- manifests/tls/client.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/tls/client.pp b/manifests/tls/client.pp index 8ea569e3..89d66ae0 100644 --- a/manifests/tls/client.pp +++ b/manifests/tls/client.pp @@ -29,8 +29,8 @@ if icinga2::unwrap($args[key]) { file { $args['key_file']: ensure => file, - content => icinga2::unwrap($args['key']), - mode => icinga2::newline($key_mode), + content => icinga2::newline(icinga2::unwrap($args['key'])), + mode => $key_mode, show_diff => false, } }