Use oscodename instead of hard coded trusty for debsusefix
@@ -34,7 +34,7 @@ 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 | |||
- keyid: C300EE8C | |||
- keyserver: keyserver.ubuntu.com | |||
{% endif %} |