From ea7fd83f94f4ee1a6840c27c5f2a3d17c19e432b Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Fri, 30 Dec 2016 15:56:44 +0000 Subject: [PATCH] Removing --quiet from certonly cron --- manifests/certonly.pp | 2 +- spec/defines/letsencrypt_certonly_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/certonly.pp b/manifests/certonly.pp index 06dec43d..94c20097 100644 --- a/manifests/certonly.pp +++ b/manifests/certonly.pp @@ -71,7 +71,7 @@ } if $manage_cron { - $renewcommand = "${command_start}--keep-until-expiring --quiet ${command_domains}${command_end}" + $renewcommand = "${command_start}--keep-until-expiring ${command_domains}${command_end}" if $cron_success_command { $cron_cmd = "${renewcommand} && (${cron_success_command})" } else { diff --git a/spec/defines/letsencrypt_certonly_spec.rb b/spec/defines/letsencrypt_certonly_spec.rb index c4f6a6ae..23b58414 100644 --- a/spec/defines/letsencrypt_certonly_spec.rb +++ b/spec/defines/letsencrypt_certonly_spec.rb @@ -70,7 +70,7 @@ { plugin: 'apache', manage_cron: true } end - it { is_expected.to contain_cron('letsencrypt renew cron foo.example.com').with_command 'letsencrypt --agree-tos certonly -a apache --keep-until-expiring --quiet -d foo.example.com' } + it { is_expected.to contain_cron('letsencrypt renew cron foo.example.com').with_command 'letsencrypt --agree-tos certonly -a apache --keep-until-expiring -d foo.example.com' } end context 'with custom plugin and manage cron and cron_success_command' do @@ -80,7 +80,7 @@ manage_cron: true, cron_success_command: 'echo success' } end - it { is_expected.to contain_cron('letsencrypt renew cron foo.example.com').with_command 'letsencrypt --agree-tos certonly -a apache --keep-until-expiring --quiet -d foo.example.com && (echo success)' } + it { is_expected.to contain_cron('letsencrypt renew cron foo.example.com').with_command 'letsencrypt --agree-tos certonly -a apache --keep-until-expiring -d foo.example.com && (echo success)' } end context 'with invalid plugin' do