summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/templates/macro_using_globals.j2
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/templates/macro_using_globals.j2')
-rw-r--r--test/integration/targets/template/templates/macro_using_globals.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/template/templates/macro_using_globals.j2 b/test/integration/targets/template/templates/macro_using_globals.j2
new file mode 100644
index 0000000..d8d0626
--- /dev/null
+++ b/test/integration/targets/template/templates/macro_using_globals.j2
@@ -0,0 +1,3 @@
+{% macro foo(bar) -%}
+{{ bar }}={{ lookup('lines', 'echo lookedup_bar') }}
+{%- endmacro %}