Sfoglia il codice sorgente

Graph metadata

Change-Id: If0ee6f1ac5ab697559fcd853225e1520de2e8c1c
pull/108/head
Ales Komarek 7 anni fa
parent
commit
02f35a537c
1 ha cambiato i file con 16 aggiunte e 0 eliminazioni
  1. +16
    -0
      linux/meta/meta.yml

+ 16
- 0
linux/meta/meta.yml Vedi File

@@ -0,0 +1,16 @@
graph:
{%- if pillar.get('linux', {}).system is defined %}
{%- from "linux/map.jinja" import system with context %}
- host: {{ grains.id }}
service: linux.system
type: software-system
relations:
{%- if system.repo is defined %}
{%- for repo_name, repo in system.repo.iteritems() %}
- service: apt.repo
host_external: {{ repo.source }}
direction: source
type: tcp-http
{%- endfor %}
{%- endif %}
{%- endif %}

Loading…
Annulla
Salva