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

14 lines
281 B
Scilab

# -*- 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