diff --git a/nginx/ng/install.sls b/nginx/ng/install.sls index 68e0a6d..f1d39bd 100644 --- a/nginx/ng/install.sls +++ b/nginx/ng/install.sls @@ -35,7 +35,13 @@ nginx_ppa_repo: {%- else %} - absent {%- endif %} + {% if salt['grains.get']('os') == 'Ubuntu' %} - 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: - pkg: nginx_install - watch_in: