aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp6
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 {