aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2014-08-28 18:02:58 -0300
committerdrebs <drebs@riseup.net>2014-08-28 18:02:58 -0300
commit8109a992e2a298176751f4d8b012927249545ba2 (patch)
treed3fca5d64882ac4028fae724722b3b08f5515f8d
parenta33f82a06f2e8f810b9f9814b1c33d061c3b3544 (diff)
downloadpuppet-dyndns-8109a992e2a298176751f4d8b012927249545ba2.tar.gz
puppet-dyndns-8109a992e2a298176751f4d8b012927249545ba2.tar.bz2
Avoid segfault by not using --read-timeout=0.0.
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d234841..68a07be 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: $name":
- 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",
+ command => "/usr/bin/wget -q -O /dev/null -o /dev/null --read-timeout=1 --waitretry=5 --tries=400 --background https://freedns.afraid.org/dynamic/update.php?$hash > /dev/null 2>&1",
user => "root",
hour => $hour,
minute => $minute,