Skip to content

Commit

Permalink
Fix dependencies for Puppet 3 in pki::ca
Browse files Browse the repository at this point in the history
  • Loading branch information
bobapple committed Mar 2, 2017
1 parent dc4127f commit 3d491e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/pki/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
path => $path,
command => 'icinga2 pki new-ca',
creates => "${ca_dir}/ca.crt",
before => File[$_ssl_cacert_path],
notify => Class['::icinga2::service'],
}
} else {
Expand All @@ -132,6 +133,7 @@
default => $ca_cert,
},
tag => 'icinga2::config::file',
before => File[$_ssl_cacert_path],
}

file { "${ca_dir}/ca.key":
Expand All @@ -146,9 +148,9 @@
},
tag => 'icinga2::config::file',
}
} ->
}

file { "${_ssl_cacert_path}":
file { $_ssl_cacert_path:
source => "${ca_dir}/ca.crt",
}

Expand Down

0 comments on commit 3d491e6

Please sign in to comment.