test(saltcheck): add test for cron envs (absent & present)

This commit is contained in:
Imran Iqbal
2019-11-03 17:58:43 +00:00
parent 59b66f0426
commit 82cd0a7f3a
3 changed files with 29 additions and 1 deletions
+16
View File
@@ -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