Skip to content

Commit

Permalink
Merge pull request #717 from Icinga/fix/file-mode-client-key
Browse files Browse the repository at this point in the history
fix file mode of private key for cert
  • Loading branch information
lbetz authored Dec 25, 2022
2 parents 1cbb4ea + 84d9a2c commit 9d8b8e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/tls/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 9d8b8e5

Please sign in to comment.