Skip to content

Commit

Permalink
Merge pull request #251 from metacpan/haarg/snapshot-all-indices
Browse files Browse the repository at this point in the history
snapshot all indices, not just a selection
  • Loading branch information
haarg authored Nov 4, 2024
2 parents 8a5b7fc + 5244937 commit d3ce515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions hieradata/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ metacpan::crons::api:
cmd : 'latest >>/var/log/starman/metacpan-api/latest.log 2>&1'
minute : 30
ensure : absent
snapshot_full:
cmd : snapshot --snap --snap-stub full --date-format '\%Y-\%m-\%d'
hour : 2
minute : 0
ensure : absent
snapshot_cpan_index:
cmd : snapshot --snap --indices 'cpan' --snap-stub cpan --date-format '\%Y-\%m-\%d'
hour : 2
Expand Down
8 changes: 1 addition & 7 deletions hieradata/nodes/bm-mc-02.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ metacpan::crons::general:
ensure : present

metacpan::crons::api:
snapshot_cover_index:
ensure : present
snapshot_contributor_index:
ensure : present
snapshot_cpan_index:
ensure : present
snapshot_user_index:
snapshot_full:
ensure : present
snapshot_purge_old:
ensure : present
Expand Down

0 comments on commit d3ce515

Please sign in to comment.