Skip to content

Commit

Permalink
Fix an accidental dependency cycle
Browse files Browse the repository at this point in the history
Fixes #50
  • Loading branch information
pcfens committed Mar 8, 2019
1 parent e6776f1 commit 4495f40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@
}
}

if $install_package {
Class['::ca_cert'] -> Ca_cert::Ca <| |>
}

$trusted_cert_dir = $ca_cert::params::trusted_cert_dir
$cert_dir_group = $ca_cert::params::cert_dir_group
$cert_dir_mode = $ca_cert::params::cert_dir_mode
Expand All @@ -76,6 +72,7 @@
if $install_package == true {
if $package_ensure == present or $package_ensure == installed {
ensure_packages([$package_name])
Package[$package_name] -> Ca_cert::Ca <| |>
}
else {
package { 'ca-certificates':
Expand Down

0 comments on commit 4495f40

Please sign in to comment.