Browse Source

Enforce PPA's on Ubuntu(s) only; not Debian

tags/v0.55.0
N 6 years ago
parent
commit
b6dc52444c
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      nginx/ng/pkg.sls

+ 3
- 0
nginx/ng/pkg.sls View File

@@ -51,6 +51,8 @@ nginx_official_repo:
- watch_in:
- pkg: nginx_install

{%- if grains.os not in ('Debian',) %}
## applies to Ubuntu and derivatives only #}
nginx_ppa_repo:
pkgrepo:
{%- if from_ppa %}
@@ -69,6 +71,7 @@ nginx_ppa_repo:
- pkg: nginx_install
- watch_in:
- pkg: nginx_install
{%- endif %}

nginx_phusionpassenger_repo:
pkgrepo:

Loading…
Cancel
Save