Commit Graph

60 Commits (260c2819be35eb6809d0951b089424ce69a814a9)

Author SHA1 Message Date
Michael DeHaan 45696d5dcc Split argsfile handling into subfunction, attempt to apply argsfile logic to setup 13 years ago
Michael DeHaan 6bee002074 Factoids and push variables via setup are now available to be templated in command args
as well as template files.  PLUS, variables are now expressed in playbooks without having
to know about the setup task, which means playbooks are simpler to read now.
13 years ago
Michael DeHaan cb46a14a96 Setup module tests 13 years ago
Michael DeHaan 1bd1552b43 Relicensing to GPLv3, all previous committers ok'd on mailing list. 13 years ago
Michael DeHaan 2aa5821eaa If ohai is present, do the same with facter and make it available for the templating engine 13 years ago
Michael DeHaan 0ac8aab83e Include facter variables for free in setup JSON (prefix with 'facter'.
Also sort keys in JSON file and pretty print
13 years ago
Michael DeHaan 07d17e4cb4 Fixed up KV munging in runner, misc fixes to copy, setup, and template modules 13 years ago
Michael DeHaan 5e6bf63215 make copy & template module take key/value parameters so we're consistent. Only the command
module works differently now

starter manpage for modules

allow template file location to be passed into template & setup modules
13 years ago
Michael DeHaan 3e010b9500 Added remote templating engine using jinja2, see examples/playbook.yml for usage.
Cleanup is due in runner.py
13 years ago
Michael DeHaan 445a76dbdc Added a setup module which can be used to place key-value JSON data
on the system for use in a later template module.   These values
could also be used for module-specific config.
13 years ago