aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:48:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:48:24 -0300
commit0b9869951e6af484cd6d08bc09d81ee23dcc5395 (patch)
tree93102b1ebd9114cde22c299620082d6937ca1270
parente3423b0ba6738b85260c90f7bb340b44563dd9d9 (diff)
downloadpuppet-ssl-0b9869951e6af484cd6d08bc09d81ee23dcc5395.tar.gz
puppet-ssl-0b9869951e6af484cd6d08bc09d81ee23dcc5395.tar.bz2
Use 'verify' instead of 'check' at ssl::cert
-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,
}
}