Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 1 | cookiecutter-salt-formula |
| 2 | ========================= |
Ales Komarek | 7792c70 | 2015-10-19 20:41:02 +0200 | [diff] [blame] | 3 | |
Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 4 | A cookiecutter_ template for Salt Formula. |
Ales Komarek | 7792c70 | 2015-10-19 20:41:02 +0200 | [diff] [blame] | 5 | |
Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 6 | Installation |
| 7 | ============ |
Ales Komarek | 7792c70 | 2015-10-19 20:41:02 +0200 | [diff] [blame] | 8 | |
Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 9 | .. code-block:: bash |
Ales Komarek | 7792c70 | 2015-10-19 20:41:02 +0200 | [diff] [blame] | 10 | |
Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 11 | pip install cookiecutter |
Ales Komarek | 7792c70 | 2015-10-19 20:41:02 +0200 | [diff] [blame] | 12 | |
Michael Kutý | f0c0aa7 | 2015-11-19 21:51:21 +0100 | [diff] [blame] | 13 | cookiecutter cookiecutter-salt-formula |
Petr Michalec | d1ff7bd | 2016-07-14 10:43:13 +0200 | [diff] [blame] | 14 | |
| 15 | |
| 16 | Init Kitchen CI |
| 17 | =============== |
| 18 | |
| 19 | Install prerequisite (Render jinja2 templates on the command line with shell environment variables) |
| 20 | |
| 21 | .. code-block:: bash |
| 22 | |
| 23 | pip install envtpl |
| 24 | |
| 25 | Once you create your `tests/pillar` structure (required if you want to auto populate kitchen test suites) |
| 26 | |
| 27 | .. code-block:: bash |
| 28 | |
| 29 | pip install envtpl |
| 30 | ./kitchen-init.sh |
| 31 | |
| 32 | Instantly for latest version or on existing formulas: |
| 33 | |
| 34 | .. code-block:: bash |
| 35 | |
Petr Michalec | f3e9be2 | 2016-07-20 10:30:57 +0200 | [diff] [blame] | 36 | curl -skL "https://git.tcpcloud.eu/cookiecutter-templates/cookiecutter-salt-formula/raw/master/kitchen-init.sh" | bash -s -- |