Saltstack Official Salt Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% from "salt/map.jinja" import salt_settings with context %}
-
- {% if salt_settings.install_packages %}
- master_installed:
- 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
|