Last active
September 25, 2015 17:42
-
-
Save mjinks/b40e11cc57d6b2f823a7 to your computer and use it in GitHub Desktop.
Teach me to fish...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There is no bare "l" anywhere in the pillar that we're referencing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for name, conf in pillar.get('vsftpd_user_config', {}).iteritems() if conf.absent is not defined or not conf.absent %} | |
{{ name }}_vsftpd_user_conf: | |
[...] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameError: global name 'l_vsftpd_user_config' is not defined | |
; line 52 | |
--- | |
[...] | |
{%- set value = config_dict.get(keyword, default) -%} | |
{%- if value is string or value is number -%} | |
{{ keyword }}={{ value }} | |
{%- else -%} | |
{%- for single_value in value -%} | |
{{ keyword }}={{ single_value }} <====================== | |
{% endfor -%} | |
{%- endif -%} | |
{%- endmacro -%} | |
{#- macros for render option according to present -#} | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment