Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emmapeel
puppet-tails
Commits
55169b12
Commit
55169b12
authored
Jun 27, 2020
by
intrigeri
Browse files
check_mirrors: add missing --fast argument for "fast" runs
refs:
tails/tails#17755
parent
2593ac85
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/check_mirrors.pp
View file @
55169b12
...
...
@@ -92,7 +92,7 @@ class tails::check_mirrors (
# Fast run #1: optimized for European morning
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
,
hour
=>
4
,
minute
=>
16
,
...
...
@@ -103,7 +103,7 @@ class tails::check_mirrors (
# Fast run #2: optimized for American morning
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
,
hour
=>
12
,
minute
=>
16
,
...
...
@@ -114,7 +114,7 @@ class tails::check_mirrors (
# Fast run #3: to complete the 3 × 8 shifts
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
,
hour
=>
20
,
minute
=>
16
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment