diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-15 15:19:05 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-15 15:19:05 -0200 |
commit | fc8e9e6f4f480a91cb56acc6bbe22f100151b08b (patch) | |
tree | ec21d3b545f08f9f6df88dc2e164dd1b2db66f9c | |
parent | 0df3e0a83ddb80770b1935a1e46a7a4835e213df (diff) | |
download | puppet-dyndns-fc8e9e6f4f480a91cb56acc6bbe22f100151b08b.tar.gz puppet-dyndns-fc8e9e6f4f480a91cb56acc6bbe22f100151b08b.tar.bz2 |
Trying https for freedns updates
-rw-r--r-- | manifests/init.pp | 6 |
1 files 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 { |