Commit 55169b12 authored by intrigeri's avatar intrigeri
Browse files

check_mirrors: add missing --fast argument for "fast" runs

refs: tails/tails#17755
parent 2593ac85
...@@ -92,7 +92,7 @@ class tails::check_mirrors ( ...@@ -92,7 +92,7 @@ class tails::check_mirrors (
# Fast run #1: optimized for European morning # Fast run #1: optimized for European morning
cron { 'tails_check_mirrors': cron { 'tails_check_mirrors':
command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --store-failures failures.json\"", command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --fast --store-failures failures.json\"",
user => $user, user => $user,
hour => 4, hour => 4,
minute => 16, minute => 16,
...@@ -103,7 +103,7 @@ class tails::check_mirrors ( ...@@ -103,7 +103,7 @@ class tails::check_mirrors (
# Fast run #2: optimized for American morning # Fast run #2: optimized for American morning
cron { 'tails_check_mirrors': cron { 'tails_check_mirrors':
command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --store-failures failures.json\"", command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --fast --store-failures failures.json\"",
user => $user, user => $user,
hour => 12, hour => 12,
minute => 16, minute => 16,
...@@ -114,7 +114,7 @@ class tails::check_mirrors ( ...@@ -114,7 +114,7 @@ class tails::check_mirrors (
# Fast run #3: to complete the 3 × 8 shifts # Fast run #3: to complete the 3 × 8 shifts
cron { 'tails_check_mirrors': cron { 'tails_check_mirrors':
command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --store-failures failures.json\"", command => "sleep \$(( \$( </dev/urandom od -N2 -t u2 -A none ) >> 5 )) && \"${repo_checkout}/check-mirrors.rb --fast --store-failures failures.json\"",
user => $user, user => $user,
hour => 20, hour => 20,
minute => 16, minute => 16,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment