Browse Source

Fix ppa install for Debian

On Ubuntu, you can take advantage of Personal Package Archives on Launchpad simply by specifying the user and archive name.  On other apt-based systems this must be the complete entry as it would be seen in the sources.list file.
tags/v0.55.0
George Robinson 8 years ago
parent
commit
6d84de272f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      nginx/ng/install.sls

+ 6
- 0
nginx/ng/install.sls View File

{%- else %} {%- else %}
- absent - absent
{%- endif %} {%- endif %}
{% if salt['grains.get']('os') == 'Ubuntu' %}
- ppa: nginx/{{ nginx.ppa_version }} - ppa: nginx/{{ nginx.ppa_version }}
{% else %}
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu lucid main
- keyid: C300EE8C
- keyserver: keyserver.ubuntu.com
{% endif %}
- require_in: - require_in:
- pkg: nginx_install - pkg: nginx_install
- watch_in: - watch_in:

Loading…
Cancel
Save