Skip to content
Snippets Groups Projects
Commit 31661ebe authored by Fabien Combernous's avatar Fabien Combernous
Browse files

generate CRL faster

parent bda2107f
No related branches found
No related tags found
1 merge request!25Resolve "use PDK 3.2.0 and Ruby 3.2.0"
Pipeline #77616 canceled
...@@ -64,6 +64,7 @@ describe 'cfssl' do ...@@ -64,6 +64,7 @@ describe 'cfssl' do
end end
it 'applies idempotently' do it 'applies idempotently' do
apply_manifest(pp, catch_changes: true) apply_manifest(pp, catch_changes: true)
shell('sleep 5') # gives some time for generating CRL
end end
describe port(8080) do describe port(8080) do
...@@ -126,6 +127,7 @@ describe 'cfssl' do ...@@ -126,6 +127,7 @@ describe 'cfssl' do
end end
it 'applies idempotently' do it 'applies idempotently' do
apply_manifest(pp, catch_changes: true) apply_manifest(pp, catch_changes: true)
shell('sleep 5') # gives some time for generating CRL
end end
describe port(8080) do describe port(8080) do
......
...@@ -6,7 +6,7 @@ Description=CFSSL CRL generator for CA <%= $ca %> ...@@ -6,7 +6,7 @@ Description=CFSSL CRL generator for CA <%= $ca %>
[Timer] [Timer]
OnCalendar=*-*-* <%= $cfssl::crl_gentimer %> OnCalendar=*-*-* <%= $cfssl::crl_gentimer %>
Persistent=true Persistent=true
OnActiveSec=10 OnActiveSec=1
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment