# Salt main states file

{% set project_name = pillar['project_name'] %}
{% set profile_name = pillar['profile_name'] %}

include:

{% if 'common' == project_name %}

    # roles

        # TODO:
        #- primary_console_role

        - common.orchestrate.wraps.controller_role

        # TODO:
        #- common.orchestrate.wraps.router_role
        #- common.orchestrate.wraps.resolver_role

        - common.orchestrate.wraps.hypervisor_role

        - common.orchestrate.wraps.depository_role

        - common.orchestrate.wraps.maven_build_server_role

        - common.orchestrate.wraps.jenkins_master_role
        - common.orchestrate.wraps.jenkins_slave_role

        - common.orchestrate.wraps.sonar_qube_role

        # This wrap handles both:
        # - maven_repository_upstream_manager_role
        # - maven_repository_downstream_manager_role
        - common.orchestrate.wraps.maven_repository_manager_role

        - common.orchestrate.wraps.openstack_client_role

    # main
        - common.orchestrate.wraps.main

{% endif %}

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


# Salt main states file

{% set project_name = pillar['project_name'] %}
{% set profile_name = pillar['profile_name'] %}

include:

{% if 'common' == project_name %}

    # roles

        # TODO:
        #- primary_console_role

        - common.orchestrate.wraps.controller_role

        # TODO:
        #- common.orchestrate.wraps.router_role
        #- common.orchestrate.wraps.resolver_role

        - common.orchestrate.wraps.hypervisor_role

        - common.orchestrate.wraps.depository_role

        - common.orchestrate.wraps.local_yum_mirrors_role

        - common.orchestrate.wraps.maven_build_server_role

        - common.orchestrate.wraps.jenkins_master_role
        - common.orchestrate.wraps.jenkins_slave_role

        - common.orchestrate.wraps.sonar_qube_role

        # This wrap handles both:
        # - maven_repository_upstream_manager_role
        # - maven_repository_downstream_manager_role
        - common.orchestrate.wraps.maven_repository_manager_role

        - common.orchestrate.wraps.openstack_client_role

    # main
        - common.orchestrate.wraps.main

{% endif %}

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


Make local_yum_mirrors_role reachable from top
Make local_yum_mirrors_role reachable from top

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