diff --git a/modules/rrrclient/manifests/cron.pp b/modules/rrrclient/manifests/cron.pp index 8ffec418..faf15586 100644 --- a/modules/rrrclient/manifests/cron.pp +++ b/modules/rrrclient/manifests/cron.pp @@ -29,9 +29,9 @@ 'metacpan_daily_rsync': user => $user, # NOTE: No "--delete" arg since we're also a backpan. - command => "/usr/bin/rsync -a 23.29.118.28::PAUSE/authors/ ${cpan_mirror}/authors/ && /usr/bin/rsync -a 23.29.118.28::PAUSE/modules/ ${cpan_mirror}/modules/", - hour => '*', - minute => '*/15', + command => "/usr/bin/rsync -a cpan-rsync.perl.org::CPAN ${cpan_mirror}", + hour => '23', + minute => '13', ensure => $ensure; } } diff --git a/modules/rrrclient/templates/init.erb b/modules/rrrclient/templates/init.erb index e325137a..01158b10 100755 --- a/modules/rrrclient/templates/init.erb +++ b/modules/rrrclient/templates/init.erb @@ -30,7 +30,7 @@ test -x $BIN || { echo "$BIN not installed"; case "$1" in start) echo -n "Starting <%= @filename %> " - start-stop-daemon --start --background -c <%= @owner %> -m -p <%= @pid_file %> --startas <%= @bin %> -- --source 23.29.118.28::PAUSE/RECENT.recent --target <%= @cpan_mirror %> --skip-deletes + start-stop-daemon --start --background -c <%= @owner %> -m -p <%= @pid_file %> --startas <%= @bin %> -- --source cpan-rsync.perl.org::CPAN/RECENT.recent --target <%= @cpan_mirror %> --skip-deletes ;; stop) echo -n "Shutting down <%= @filename %> "