Merge pull request #62 from cybacolt/master

use False as default, and test boolean, rather than none
This commit is contained in:
Forrest 2015-10-23 11:28:22 -07:00
commit a81c52924c

View File

@ -21,8 +21,8 @@
{% endif %}
{% 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') %}