0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-27 20:57:45 +01:00

test(pillar): extract test pillar from pillar.example

This commit is contained in:
Imran Iqbal 2019-10-15 02:20:02 +01:00
parent a9968e329c
commit 482e2d1b77
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
2 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
cron:
enabled: true # Default

View File

@ -1,2 +1,35 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
cron: {}
cron:
enabled: true # Default
tasks:
task1:
type: present # Default
name: echo test > /tmp/test
user: root
minute: 0
hour: 0
daymonth: 7
month: 1
dayweek: 6
comment: comment1
task2:
type: absent # To remove that crontask
name: echo task2 > /tmp/test2
user: root
minute: random
hour: 1
task3:
type: absent
name: echo task3 > /tmp/test3
user: root
special: '@hourly'
comment: comment3
task4:
type: present # run every 5 minutes
name: echo task4 > /tmp/test4
user: root
minute: '*/5'
hour: '*'
comment: comment4