0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-12-19 12:24:30 +01:00
cron-formula/cron/saltcheck-tests/package/install.tst

14 lines
281 B
Scilab
Raw Normal View History

# -*- coding: utf-8 -*-
# vim: ft=sls
2019-04-08 17:40:48 +02:00
{%- set package_name = 'cronie' %}
{%- if grains.os_family in ['Debian'] %}
{%- set package_name = 'cron' %}
{%- endif %}
2019-04-08 17:40:48 +02:00
verify_cron.package:
2019-04-08 17:40:48 +02:00
module_and_function: pkg.version
args:
- {{ package_name }}
2019-04-08 17:40:48 +02:00
assertion: assertNotEmpty