2014-06-18 11:57:05 +02:00
|
|
|
{% set nginx = salt['grains.filter_by']({
|
|
|
|
'Debian': {
|
2014-08-09 09:34:01 +02:00
|
|
|
'package': 'nginx',
|
2014-06-18 11:57:05 +02:00
|
|
|
'apache_utils': 'apache2-utils',
|
|
|
|
},
|
|
|
|
'RedHat': {
|
2014-08-09 09:34:01 +02:00
|
|
|
'package': 'nginx',
|
2014-06-18 11:57:05 +02:00
|
|
|
'apache_utils': 'httpd-tools',
|
|
|
|
},
|
2014-08-09 09:34:01 +02:00
|
|
|
}, merge=salt['pillar.get']('nginx:lookup')) %}
|