From 41b8f1a54569287876db4d818a7d2acfcf27eab2 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Sun, 16 Apr 2017 23:06:53 +0200 Subject: [PATCH] style fixes --- manifests/certificate.pp | 2 +- manifests/init.pp | 4 ++-- manifests/request.pp | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/certificate.pp b/manifests/certificate.pp index 9b31f24..eda3ff0 100644 --- a/manifests/certificate.pp +++ b/manifests/certificate.pp @@ -34,9 +34,9 @@ # } # define acme::certificate ( - $domain = $name, $use_account, $use_profile, + $domain = $name, $renew_days = $::acme::params::renew_days, $letsencrypt_ca = undef, $acme_host = $::acme::acme_host, diff --git a/manifests/init.pp b/manifests/init.pp index 348db3b..1bf45e9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -74,12 +74,12 @@ # Validate configuration of $acme_host. if !($profiles) { # Cannot continue if no profile has been defined. - notify { "Module ${module_name}: \$profiles must be defined on \"${acme_host}\"!" : + notify { "Module ${module_name}: \$profiles must be defined on \"${acme_host}\"!": loglevel => err, } } elsif !($accounts) { # Cannot continue if no account has been defined. - notify { "Module ${module_name}: \$accounts must be defined on \"${acme_host}\"!" : + notify { "Module ${module_name}: \$accounts must be defined on \"${acme_host}\"!": loglevel => err, } } else { diff --git a/manifests/request.pp b/manifests/request.pp index b5f8114..dd5e4c1 100644 --- a/manifests/request.pp +++ b/manifests/request.pp @@ -291,13 +291,13 @@ } file { $result_crt_file: - source => $le_crt_file, - mode => '0644', + source => $le_crt_file, + mode => '0644', } file { $result_chain_file: - source => $le_chain_file, - mode => '0644', + source => $le_chain_file, + mode => '0644', } ::acme::request::ocsp { $domain: