Преглед на файлове

Merge pull request #108 from salt-formulas/meta

Graph metadata
add-del-users-in-grups
Jakub Pavlik преди 7 години
родител
ревизия
358426780a
променени са 1 файла, в които са добавени 16 реда и са изтрити 0 реда
  1. +16
    -0
      linux/meta/meta.yml

+ 16
- 0
linux/meta/meta.yml Целия файл

@@ -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…
Отказ
Запис