2019-06-06 22:15:54 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=sls
|
|
|
|
|
|
|
|
{%- set tplroot = tpldir.split('/')[0] %}
|
2020-05-14 01:27:23 +02:00
|
|
|
{%- from tplroot ~ "/map.jinja" import prometheus as p with context %}
|
2019-06-06 22:15:54 +02:00
|
|
|
|
2020-05-14 01:27:23 +02:00
|
|
|
{%- if p.pkg.use_upstream_repo and 'repo' in p.pkg and p.pkg.repo %}
|
2019-06-22 19:19:41 +02:00
|
|
|
|
2020-05-14 01:27:23 +02:00
|
|
|
prometheus-package-repo-clean-pkgrepo-managed:
|
2019-06-06 22:15:54 +02:00
|
|
|
pkgrepo.absent:
|
2020-05-14 01:27:23 +02:00
|
|
|
- name: {{ p.pkg['repo']['name'] }}
|
2019-06-22 19:19:41 +02:00
|
|
|
|
2020-05-14 01:27:23 +02:00
|
|
|
{%- endif %}
|