Use oscodename grain instead of hard coded trusty
This commit is contained in:
parent
ef8fb87105
commit
4900d96a29
@ -34,7 +34,8 @@ nginx_ppa_repo:
|
||||
{% if salt['grains.get']('os') == 'Ubuntu' %}
|
||||
- ppa: nginx/{{ nginx.ppa_version }}
|
||||
{% else %}
|
||||
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu trusty main
|
||||
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu {{ grains['oscodename'] }} main
|
||||
#- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu trusty main
|
||||
- keyid: C300EE8C
|
||||
- keyserver: keyserver.ubuntu.com
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user