Merge pull request #74 from TaiSHiNet/master
Minor bugfix and updated pillar.example
This commit is contained in:
commit
7ae1602745
@ -22,11 +22,16 @@ nginx_ppa_repo:
|
|||||||
- absent
|
- absent
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- humanname: nginx-ppa-{{ grains['oscodename'] }}
|
- humanname: nginx-ppa-{{ grains['oscodename'] }}
|
||||||
|
{%- if nginx.ppa_version == 'mainline' %}
|
||||||
|
- name: deb http://nginx.org/packages/mainline/ubuntu/ {{ grains['oscodename'] }} nginx
|
||||||
|
- key_url: http://nginx.org/keys/nginx_signing.key
|
||||||
|
{%- else %}
|
||||||
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu {{ grains['oscodename'] }} main
|
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu {{ grains['oscodename'] }} main
|
||||||
- file: /etc/apt/sources.list.d/nginx-{{ nginx.ppa_version }}-{{ grains['oscodename'] }}.list
|
|
||||||
- dist: {{ grains['oscodename'] }}
|
|
||||||
- keyid: C300EE8C
|
- keyid: C300EE8C
|
||||||
- keyserver: keyserver.ubuntu.com
|
- keyserver: keyserver.ubuntu.com
|
||||||
|
{%- endif %}
|
||||||
|
- file: /etc/apt/sources.list.d/nginx-{{ nginx.ppa_version }}-{{ grains['oscodename'] }}.list
|
||||||
|
- dist: {{ grains['oscodename'] }}
|
||||||
- require_in:
|
- require_in:
|
||||||
- pkg: nginx_install
|
- pkg: nginx_install
|
||||||
- watch_in:
|
- watch_in:
|
||||||
|
@ -21,6 +21,11 @@ nginx:
|
|||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
ng:
|
ng:
|
||||||
|
# PPA installing
|
||||||
|
install_from_ppa: True
|
||||||
|
# Set to 'mainline' for edge nginx builds, 'development' for ubuntu's dev - beware, mainline has no 'full' build
|
||||||
|
ppa_version: 'stable'
|
||||||
|
|
||||||
# These are usually set by grains in map.jinja
|
# These are usually set by grains in map.jinja
|
||||||
lookup:
|
lookup:
|
||||||
package: nginx-custom
|
package: nginx-custom
|
||||||
@ -30,7 +35,6 @@ nginx:
|
|||||||
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
|
||||||
repo_source: official
|
|
||||||
|
|
||||||
# Source compilation is not currently a part of nginx.ng
|
# Source compilation is not currently a part of nginx.ng
|
||||||
from_source: False
|
from_source: False
|
||||||
|
Loading…
Reference in New Issue
Block a user