diff options
Diffstat (limited to 'manifests/cert.pp')
-rw-r--r-- | manifests/cert.pp | 6 |
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, } } |