mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-07 10:48:59 +00:00
test fixes
This commit is contained in:
parent
b826b85bf7
commit
66a0245436
@ -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] %}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user