Skip to content

Commit

Permalink
Fixes #37695 - Prevent server ca from being overwritten with default ca
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Bundesmann committed Sep 6, 2024
1 parent b8f970c commit 23d951d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions manifests/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@
}
} else {
file { $server_ca_path:
ensure => file,
source => "${certs::ssl_build_dir}/${default_ca_name}.crt",
owner => 'root',
group => 'root',
mode => '0644',
ensure => file,
source => "${certs::ssl_build_dir}/${default_ca_name}.crt",
owner => 'root',
group => 'root',
mode => '0644',
replace => false,
}
}

Expand Down

0 comments on commit 23d951d

Please sign in to comment.