aboutsummaryrefslogtreecommitdiff
path: root/manifests/cert.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/cert.pp')
-rw-r--r--manifests/cert.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/cert.pp b/manifests/cert.pp
index 14e2005..c19efa3 100644
--- a/manifests/cert.pp
+++ b/manifests/cert.pp
@@ -7,7 +7,7 @@ define ssl::cert(
$base = '/etc/ssl',
$private = true,
$main = false,
- $check = true,
+ $verify = true,
) {
file { "${base}/certs/${name}.crt":
ensure => $ensure,
@@ -40,8 +40,8 @@ define ssl::cert(
}
}
- if ($check == true) {
- ssl::check { "$name":
+ if ($verify == true) {
+ ssl::cert { "${name}":
file => true,
}
}