瀏覽代碼

Allow selection of repo_version

susefix
Ajna Cackovic 10 年之前
父節點
當前提交
8043ffef73
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      nginx/package.sls

+ 2
- 2
nginx/package.sls 查看文件

@@ -50,8 +50,8 @@ nginx-ppa-repo:
- absent
{%- endif %}
- humanname: nginx-ppa-{{ grains['oscodename'] }}
- name: deb http://ppa.launchpad.net/nginx/stable/ubuntu {{ grains['oscodename'] }} main
- file: /etc/apt/sources.list.d/nginx-stable-{{ grains['oscodename'] }}.list
- name: deb http://ppa.launchpad.net/nginx/{{ pillar.get('nginx', {}).get('repo_version', 'stable') }}/ubuntu {{ grains['oscodename'] }} main
- file: /etc/apt/sources.list.d/nginx-{{ pillar.get('nginx', {}).get('repo_version', 'stable') }}-{{ grains['oscodename'] }}.list
- dist: {{ grains['oscodename'] }}
- keyid: C300EE8C
- keyserver: keyserver.ubuntu.com

Loading…
取消
儲存