test fixes

This commit is contained in:
Andrey Abramov 2019-06-13 18:05:54 +03:00
parent b826b85bf7
commit 66a0245436
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
{% macro get_flag(p, flag) -%}
{{ p|pprint }}
{% set flag_val = p.get(flag) %}
{% macro get_flag(params, flag) -%}
{% set flag_val = params.get(flag) %}
{% if flag_val in ('use', 'mask') %}
{% if flag_val %}
{% set flag_val = flag_val if flag_val is iterable and flag_val is not string else [flag_val] %}

View File

@ -1,7 +1,6 @@
{% set package_name = 'app-admin/salt' %}
{% import 'pkg/common_vars' as common %}
{% set params = salt.pillar.get('gentoo:portage:packages:app-admin/salt') %}
{{ params|pprint }}
include:
- python.python2