mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-08-01 13:55:13 +02:00
test(saltcheck): add test for cron envs (absent & present)
This commit is contained in:
@@ -46,3 +46,19 @@ cron:
|
||||
minute: random
|
||||
hour: 1
|
||||
commented: true
|
||||
env:
|
||||
env1:
|
||||
type: present
|
||||
name: PATH
|
||||
value: /usr/local/bin:/usr/bin:/bin:/usr/games
|
||||
user: root
|
||||
env2:
|
||||
type: present
|
||||
name: MAILTO
|
||||
value: example@example.com
|
||||
user: root
|
||||
env3:
|
||||
type: absent
|
||||
name: LANG
|
||||
value: en_GB.UTF-8
|
||||
user: root
|
||||
|
||||
Reference in New Issue
Block a user