瀏覽代碼

Moved entirely to ubuntu's ppa

susefix
Juan Manuel 9 年之前
父節點
當前提交
a303c8cc0c
共有 2 個檔案被更改,包括 2 行新增12 行删除
  1. +1
    -11
      nginx/ng/install.sls
  2. +1
    -1
      pillar.example

+ 1
- 11
nginx/ng/install.sls 查看文件

@@ -21,17 +21,7 @@ nginx_ppa_repo:
{%- else %}
- absent
{%- endif %}
- 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
- keyid: C300EE8C
- keyserver: keyserver.ubuntu.com
{%- endif %}
- file: /etc/apt/sources.list.d/nginx-{{ nginx.ppa_version }}-{{ grains['oscodename'] }}.list
- dist: {{ grains['oscodename'] }}
- ppa: nginx/{{ nginx.ppa_version }}
- require_in:
- pkg: nginx_install
- watch_in:

+ 1
- 1
pillar.example 查看文件

@@ -23,7 +23,7 @@ nginx:
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
# Set to 'stable', 'development' (mainline), 'community', or 'nightly' for each build accordingly ( https://launchpad.net/~nginx )
ppa_version: 'stable'
# These are usually set by grains in map.jinja

Loading…
取消
儲存