diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-27 15:28:02 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-27 15:28:02 -0200 |
commit | 3da70423df032dea134f1251dad0e73544ae36a1 (patch) | |
tree | f2efe0d6f521c568c2b52379c2e7e258cd4e7505 | |
parent | e5b8da6ed64544874829e70e181fe65cd628a6b6 (diff) | |
download | puppet-nodo-3da70423df032dea134f1251dad0e73544ae36a1.tar.gz puppet-nodo-3da70423df032dea134f1251dad0e73544ae36a1.tar.bz2 |
Do not add extra line on quiet mode on domain-check
-rwxr-xr-x | files/bin/domain-check | 9 | ||||
-rw-r--r-- | manifests/subsystems/domain.pp | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/files/bin/domain-check b/files/bin/domain-check index a8c2893..dfdb27d 100755 --- a/files/bin/domain-check +++ b/files/bin/domain-check @@ -4,10 +4,13 @@ # # Author: Matty < matty91 at gmail dot com > # -# Current Version: 1.9 +# Current Version: 1.10 # # Revision History: # +# Version 1.10 +# Do not add extra line on quiet mode -- Silvio Rhatto <rhatto at riseup dot net> +# # Version 1.9 # Added support for .br domains -- Silvio Rhatto <rhatto at riseup dot net> # @@ -493,7 +496,9 @@ else fi # Add an extra newline -echo +if [ "${QUIET}" != "TRUE" ]; then + echo +fi ### Remove the temporary files rm -f ${WHOIS_TMP} diff --git a/manifests/subsystems/domain.pp b/manifests/subsystems/domain.pp index eb3551f..337fd0e 100644 --- a/manifests/subsystems/domain.pp +++ b/manifests/subsystems/domain.pp @@ -27,7 +27,7 @@ class domain { } cron { "domain-check-${name}": - command => "$command >/dev/null 2>&1", + command => $command, user => root, hour => $hour, minute => $minute, |