Browse Source

* added comment for pillar example

* removed override releasever variable use for CentOS
tags/v0.55.0
Roshan Bangera 9 years ago
parent
commit
03c4902b9e
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      nginx/ng/install.sls
  2. +1
    -0
      pillar.example

+ 1
- 1
nginx/ng/install.sls View File

- name: nginx - name: nginx
- humanname: nginx repo - humanname: nginx repo
{%- if salt['grains.get']('os') == 'CentOS' %} {%- if salt['grains.get']('os') == 'CentOS' %}
- baseurl: 'http://nginx.org/packages/centos/{{ nginx.lookup.rh_os_releasever }}/$basearch/'
- baseurl: 'http://nginx.org/packages/centos/$releasever/$basearch/'
{%- else %} {%- else %}
- baseurl: 'http://nginx.org/packages/rhel/{{ nginx.lookup.rh_os_releasever }}/$basearch/' - baseurl: 'http://nginx.org/packages/rhel/{{ nginx.lookup.rh_os_releasever }}/$basearch/'
{%- endif %} {%- endif %}

+ 1
- 0
pillar.example View File

vhost_available: /etc/nginx/sites-available vhost_available: /etc/nginx/sites-available
vhost_enabled: /etc/nginx/sites-enabled vhost_enabled: /etc/nginx/sites-enabled
vhost_use_symlink: True vhost_use_symlink: True
# This is required for RedHat like distros (Amazon Linux) that don't follow semantic versioning for $releasever
rh_os_releasever: '6' rh_os_releasever: '6'


# Source compilation is not currently a part of nginx.ng # Source compilation is not currently a part of nginx.ng

Loading…
Cancel
Save