2
0
salt-formula/salt/saltcheck-tests/ssh.tst

22 lines
573 B
Scilab
Raw Normal View History

2019-04-08 18:41:00 +02:00
{% from "salt/map.jinja" import salt_settings with context %}
{% if salt_settings.install_packages %}
2019-04-08 19:35:06 +02:00
salt_ssh_installed:
2019-04-08 18:41:00 +02:00
module_and_function: pkg.version
args:
- {{ salt_settings.salt_ssh }}
{%- if salt_settings.version is defined %}
assertion: assertEqual
expected-return: {{ salt_settings.version }}
{% else %}
assertion: assertNotEmpty
{%- endif %}
{% endif %}
roster_deployed:
module_and_function: file.search
args:
- {{ salt_settings.config_path }}/roster
- This file is managed by Salt! Do not edit by hand!
assertion: assertTrue