Browse Source

use False as default, and test boolean, rather than none

tags/v0.34.0
Rowcliffe Browne 9 years ago
parent
commit
0385663637
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      php/ng/installed.jinja

+ 2
- 2
php/ng/installed.jinja View File

{% endif %} {% endif %}


{% if grains['os_family']=="Debian" and (state == 'cli' or state == 'fpm' or state == 'php') %} {% if grains['os_family']=="Debian" and (state == 'cli' or state == 'fpm' or state == 'php') %}
{% set use_ppa = salt['pillar.get']('php:use_ppa', none) %}
{% if use_ppa is not none %}
{% set use_ppa = salt['pillar.get']('php:use_ppa', False) %}
{% if use_ppa %}


{% set ppa_name = salt['pillar.get']('php:ppa_name', 'ondrej/php5') %} {% set ppa_name = salt['pillar.get']('php:ppa_name', 'ondrej/php5') %}



Loading…
Cancel
Save