
###############################################################################
#

# Import properties.
{% set properties_path = profile_root.replace('.', '/') + '/properties.yaml' %}
{% import_yaml properties_path as props %}

{% set master_minion_id = props['master_minion_id'] %}

{% set pillars_macro_lib = 'lib/pillars_macro_lib.sls' %}
{% from pillars_macro_lib import filter_assigned_hosts_by_minion_hosts_enabled_in_properties with context %}

system_host_roles:

    jenkins_slave_role:
        hostname: jenkins-slave-role-host
        assigned_hosts:
            {{ filter_assigned_hosts_by_minion_hosts_enabled_in_properties([
                    'localhost_host'
                    ,
                    master_minion_id
                    ,
                    'rhel5_minion'
                    ,
                    'rhel7_minion'
                ], props)
            }}

###############################################################################
# EOF
###############################################################################



###############################################################################
#

# Import properties.
{% set properties_path = profile_root.replace('.', '/') + '/properties.yaml' %}
{% import_yaml properties_path as props %}

{% set master_minion_id = props['master_minion_id'] %}

{% set pillars_macro_lib = 'lib/pillars_macro_lib.sls' %}
{% from pillars_macro_lib import filter_assigned_hosts_by_minion_hosts_enabled_in_properties with context %}

system_host_roles:

    jenkins_slave_role:
        hostname: jenkins-slave-role-host
        assigned_hosts:
            {{ filter_assigned_hosts_by_minion_hosts_enabled_in_properties([
                    'localhost_host'
                    ,
                    master_minion_id
                    ,
                    'rhel5_minion'
                    ,
                    'rhel7_minion'
                    ,
                    'winserv2012_minion'
                ], props)
            }}

###############################################################################
# EOF
###############################################################################


Add `winserv2016_minion` to list of Jenkins slave
Add `winserv2016_minion` to list of Jenkins slave

uvsmtid/common-salt-states,uvsmtid/common-salt-states,uvsmtid/common-salt-states,uvsmtid/common-salt-states