refactor(saltcheck): relocate .tst files according to 1:1 .sls files

* https://github.com/saltstack-formulas/cron-formula/pull/4#issuecomment-544140377
This commit is contained in:
Imran Iqbal committed 2019-10-23 19:02:17 +01:00
1 parent 7e9e619a37
commit ee652363ff
3 files changed

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{%- set package_name = 'cronie' %}
{%- if grains.os_family in ['Debian'] %}
{%- set package_name = 'cron' %}
{%- endif %}
verify_cron.package:
module_and_function: pkg.version
args:
- {{ package_name }}
assertion: assertNotEmpty