blob: d4d42191e3a3d82707aa829cf16f2735bf5fb298 [file] [log] [blame]
{% set setup = salt['pillar.get']('devops_portal:setup') %}
{% set config = salt['pillar.get']('devops_portal:config', default={
"base_dir": "/srv/volumes/devops_portal",
}, merge=True) %}
{% macro service_url(endpoint) -%}
{%- if endpoint.get('https', False) -%}https://{%- else -%}http://{%- endif -%}
{{ endpoint.address }}:{{ endpoint.port }}/
{%- endmacro %}
{% macro service_url_dns(endpoint) -%}
{%- if endpoint.get('https', False) -%}https://{%- else -%}http://{%- endif -%}
${{ endpoint.address|replace("-", "_") }}:{{ endpoint.port }}
{%- endmacro %}
{% set services = [
'artifactory',
'elasticsearch',
'gerrit',
'jenkins',
'pushkin',
'riverdelta',
'rundeck',
'securitymonkey',
'stacklight-grafana',
'stacklight-kibana',
'janitormonkey',
] %}