aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-02 14:17:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-02 14:17:03 -0300
commit2cb39d9ebc2179548c9a62f54c76d9b41493f63f (patch)
tree668d16e5fbaf1d8741b527879085d53a2bed1bcd
parentfc8e9e6f4f480a91cb56acc6bbe22f100151b08b (diff)
downloadpuppet-dyndns-2cb39d9ebc2179548c9a62f54c76d9b41493f63f.tar.gz
puppet-dyndns-2cb39d9ebc2179548c9a62f54c76d9b41493f63f.tar.bz2
Fixing afraid_org output redirection
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 52432c8..a3dd3d8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,7 +2,7 @@ class dyndns {
# FreeDNS cron
define afraid_org($hash, $hour = '*', $minute = 0) {
cron { "afraid.org dynamic dns":
- command => "/usr/bin/wget -q -O /dev/null -o /dev/null --read-timeout=0.0 --waitretry=5 --tries=400 --background https://freedns.afraid.org/dynamic/update.php?$hash",
+ command => "/usr/bin/wget -q -O /dev/null -o /dev/null --read-timeout=0.0 --waitretry=5 --tries=400 --background https://freedns.afraid.org/dynamic/update.php?$hash > /dev/null 2>&1",
user => "root",
hour => $hour,
minute => $minute,