From fc8e9e6f4f480a91cb56acc6bbe22f100151b08b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Feb 2014 15:19:05 -0200 Subject: Trying https for freedns updates --- manifests/init.pp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index c661525..52432c8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,16 +1,14 @@ class dyndns { - - # afraid.org cron + # 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 http://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", user => "root", hour => $hour, minute => $minute, ensure => present, } } - } class dyndns::inadyn { -- cgit v1.2.3