File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
{%- from ' logstash/map.jinja' import logstash with context % }
2
2
3
+ {%- if logstash.use_upstream_repo % }
3
4
include:
4
5
- .repo
6
+ {%- endif % }
5
7
6
8
logstash- pkg:
7
9
pkg.{{logstash.pkgstate}}:
8
10
- name: {{logstash.pkg}}
11
+ {%- if logstash.use_upstream_repo % }
9
12
- require:
10
13
- pkgrepo: logstash- repo
14
+ {%- endif % }
11
15
12
16
# This gets around a user permissions bug with the logstash user/group
13
17
# being able to read /var/log/syslog, even if the group is properly set for
Original file line number Diff line number Diff line change 1
1
{% set logstash = salt ['grains.filter_by' ]({
2
2
'Debian' : {
3
+ 'use_upstream_repo' : True ,
3
4
'pkg' : 'logstash' ,
4
5
'svc' : 'logstash' ,
5
6
'pkgstate' : 'latest' ,
6
7
'indent' : 4
7
8
},
8
9
'RedHat' : {
10
+ 'use_upstream_repo' : True ,
9
11
'pkg' : 'logstash' ,
10
12
'svc' : 'logstash' ,
11
13
'pkgstate' : 'latest' ,
You can’t perform that action at this time.
0 commit comments