Skip to content

Commit

Permalink
feat(logrotate): use cron-formula dep instead of single cron state
Browse files Browse the repository at this point in the history
Use to fix Arch Linux `cron` installation and testing in the formula:

* saltstack-formulas/logrotate-formula#60 (comment)
  • Loading branch information
myii committed Jan 14, 2022
1 parent 7586943 commit bb0ec87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ ssf_node_anchors:
upstream: 'upstream'
commit:
# yamllint disable rule:line-length rule:quoted-strings
title: "feat(osfamilymap): add Gentoo support"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/400'
title: "ci(kitchen): use '`'cron-formula'`' dependency instead of '`'cron'`' state"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/401'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down
8 changes: 5 additions & 3 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2663,12 +2663,14 @@ ssf:
summary: >-
Verify that the logrotate formula is setup and configured correctly
provisioner:
dependencies: *dependencies_states
dependencies:
- name: 'cron'
repo: 'git'
source: 'https://github.com/saltstack-formulas/cron-formula.git'
state_top:
- 'G@os_family:Suse or G@os_family:Debian':
- states.cron
- '*':
- ._mapdata
- cron
- .
map_jinja:
verification:
Expand Down

0 comments on commit bb0ec87

Please sign in to comment.