blob: 65bec2c9ae3671024536d8c5a0419dd19f614e21 [file] [log] [blame]
Ilya Kharinfd293c42017-03-14 17:34:12 +04001{% set setup = salt['pillar.get']('devops_portal:setup') %}
2{% set config = salt['pillar.get']('devops_portal:config', default={
Ilya Kharinced98392017-03-16 13:41:18 +04003 "base_dir": "/srv/volumes/devops_portal",
4}, merge=True) %}
Ilya Kharin9954eaf2017-03-06 15:21:07 +04005
Ilya Kharine1cf8542017-03-17 18:37:09 +04006{% macro service_url(endpoint) -%}
Ilya Kharin9600ada2017-03-23 17:30:14 +04007{%- if endpoint.get('https', False) -%}https://{%- else -%}http://{%- endif -%}
Ilya Kharine1cf8542017-03-17 18:37:09 +04008{{ endpoint.address }}:{{ endpoint.port }}/
9{%- endmacro %}
10
Ilya Kharin9954eaf2017-03-06 15:21:07 +040011{% set services = [
12'artifactory',
13'elasticsearch',
14'gerrit',
15'grafana',
16'jenkins',
17'kibana',
18'riverdelta',
19'rundeck',
20] %}