File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ Debian:
23
23
pkg :
24
24
deps :
25
25
- cron
26
- use_upstream_repo : true
26
+ use_upstream_repo : false
27
27
use_upstream_package : false
28
- use_upstream_archive : false
28
+ use_upstream_archive : true
29
29
repo :
30
- humanname : prometheus repository
30
+ humanname : ' prometheus repository'
31
31
key_url : ' https://s3-eu-west-1.amazonaws.com/deb.robustperception.io/41EFC99D.gpg'
32
32
file : /etc/apt/sources.list.d/prometheus.list
33
33
component :
Original file line number Diff line number Diff line change 4
4
{%- set tplroot = tpldir.split(' /' )[0 ] %}
5
5
{%- from tplroot ~ " /map.jinja" import prometheus as p with context % }
6
6
7
- {%- if p.pkg.use_upstream_repo and ' repo' in p.pkg % }
7
+ {%- if p.pkg.use_upstream_repo and ' repo' in p.pkg and p.pkg.repo % }
8
8
{%- from tplroot ~ " /files/macros.jinja" import format_kwargs with context % }
9
9
10
10
prometheus- package- repo- install- pkgrepo- managed:
11
11
pkgrepo.managed:
12
- {{- format_kwargs(p.pkg[ ' repo' ] ) }}
12
+ {{- format_kwargs(p.pkg. repo) }}
13
13
file .replace:
14
14
# redhat workaround for salt issue #51494
15
15
- name: / etc/ yum.repos.d/ prometheus.repo
You can’t perform that action at this time.
0 commit comments