1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00

ci(kitchen): use cron-formula dependency instead of cron state

* Semi-automated using https://github.com/myii/ssf-formula/pull/401
This commit is contained in:
Imran Iqbal 2022-01-14 11:24:40 +00:00
parent cd4cd1d670
commit 4cf2808840
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
3 changed files with 4 additions and 9 deletions

View file

@ -467,14 +467,14 @@ suites:
- name: default
provisioner:
dependencies:
- name: states
path: ./test/salt
- name: cron
repo: git
source: https://github.com/saltstack-formulas/cron-formula.git
state_top:
base:
'G@os_family:Suse or G@os_family:Debian':
- states.cron
'*':
- logrotate._mapdata
- cron
- logrotate
pillars:
top.sls:

View file

@ -4,7 +4,6 @@ include:
- logrotate
{% set ns = namespace(hourly=False) %}
{% set jobs = salt['config.get']('logrotate:jobs', {}) %}
{% for key, value in logrotate.jobs.items() %}
{% set contents = value.get('contents', False) %}
{% if 'hourly' in (contents or value.config) %}

View file

@ -1,4 +0,0 @@
cron_package:
pkg.installed:
- name: cron