From a303c8cc0c4306ed8a7327f4fce6cc0213eb12fe Mon Sep 17 00:00:00 2001 From: Juan Manuel Date: Mon, 23 Feb 2015 18:16:41 -0300 Subject: [PATCH] Moved entirely to ubuntu's ppa --- nginx/ng/install.sls | 12 +----------- pillar.example | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/nginx/ng/install.sls b/nginx/ng/install.sls index 814a330..d80184f 100644 --- a/nginx/ng/install.sls +++ b/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: diff --git a/pillar.example b/pillar.example index dc8a687..c9d810a 100644 --- a/pillar.example +++ b/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