Commit Graph

39 Commits (bda2ce6ffdb04f37a920294ca2cc560c8ddebecb)

Author SHA1 Message Date
Stoned Elipot a1503c4d59 stringify conditional before handing it to Jinja2 for evaluation.
13 years ago
Dale Sedivec b32131c867 expanduser on each component of plug-in paths
13 years ago
Michael DeHaan 81a926547c Some continued work on new-style templates and associated test code changes. Legacy template functions
13 years ago
Michael DeHaan b09ef21ec9 Add code to flag legacy templating like $foo.{bar} as deprecated in favor of Jinja2 {{ foo.bar }} so we
13 years ago
Daniel Hokka Zakrisson a79373f6b2 Make template_ds the only templater
13 years ago
Daniel Hokka Zakrisson 87b2378e22 Resolve variable references inside variables
13 years ago
Daniel Hokka Zakrisson e74ffd6764 Lookup plugin arguments need to be templated
14 years ago
Daniel Hokka Zakrisson d2dce1d63f Make lookup plugin replacements part of the main variable logic
14 years ago
Daniel Hokka Zakrisson 383dc30560 Rename varReplaceWithItems to template_ds
14 years ago
Daniel Hokka Zakrisson 47082a9171 Add $LOOKUP(<lookup plugin>,<data>) as a templating option
14 years ago
Daniel Hokka Zakrisson 56314f7225 Add test case for non-existing variable in varReplaceWithItems
14 years ago
Daniel Hokka Zakrisson efe83daf19 Fix ${var.$other_var} and add test cases for it
14 years ago
Daniel Hokka Zakrisson c9c5fc1456 Merge varFind and varLookup
14 years ago
Michael DeHaan 6fa1a49037 Fix the basic templating system such that when the template ends in '$', life continues as normal.
14 years ago
Michael DeHaan 0837a29e51 Only expand lists in templating inside of module action lines, to avoid breaking usage with with_items and "in" statements, etc
14 years ago
Daniel Hokka Zakrisson 695b4bcb46 Allow non-string types in with_items variables
14 years ago
Michael DeHaan 22f3aef4dc remove test for private function that is no longer present
14 years ago
Daniel Hokka Zakrisson dfee6e19ca Replace lists with a comma-separated join
14 years ago
Daniel Hokka Zakrisson 4b29c2cf74 Revert pull request #1091
14 years ago
Michael DeHaan 06cfc52afd fix tests and change nosetests flags so asserts show what comparisons failed
14 years ago
Daniel Hokka Zakrisson 9e4fac5ebd Create a string parser for varReplace instead of using re
14 years ago
Daniel Hokka Zakrisson b55ef665ba Fix only_if statements referencing non-string types
14 years ago
Daniel Hokka Zakrisson 51216dcfae Add tests for varReplace repr
14 years ago
Michael DeHaan 4ded8cb3b3 Change $FILE{} and $PIPE{} to $FILE() and $PIPE()
14 years ago
Daniel Hokka Zakrisson cc948f339c Allow including files through variables
14 years ago
Michael DeHaan b8c4bb9e6e Revert "Allow including files through variables"
14 years ago
Michael DeHaan b2af95e4a6 Change $FILE{} and $PIPE{} to $FILE() and $PIPE()
14 years ago
Daniel Hokka Zakrisson bf47bb4753 Allow including files through variables
14 years ago
Dave Peticolas 08272dc25d Remove unused imports.
14 years ago
Michael DeHaan 9e62fd42b5 update test utils code
14 years ago
Daniel Hokka Zakrisson 031c75e53a Update tests to reflect new API
14 years ago
Daniel Hokka Zakrisson 24d73b0fe6 Add tests of iterative templating
14 years ago
Daniel Hokka Zakrisson a05da2d312 Allow with_items to specify a variable
14 years ago
Matt Goodall 639763c138 Allow "=" in k-v values.
14 years ago
Jeroen Hoekx dc60f2d844 Allow camelCase variables in varreplace.
14 years ago
Jeroen Hoekx 3cbc229990 Support list indexing in varReplace.
14 years ago
Jeroen Hoekx 74e21e6154 Fixup unicode varReplace templating.
14 years ago
Jeroen Hoekx 2bbc05185e Make no_engine the default templating action.
14 years ago
Jeroen Hoekx 82144fd543 Support nested variables in varReplace.
14 years ago