blob: c7c79dab7f42e6072b64efa1cc5ac0700bca5e48 [file] [log] [blame]
Michael Kutýf0c0aa72015-11-19 21:51:21 +01001cookiecutter-salt-formula
2=========================
Ales Komarek7792c702015-10-19 20:41:02 +02003
Michael Kutýf0c0aa72015-11-19 21:51:21 +01004A cookiecutter_ template for Salt Formula.
Ales Komarek7792c702015-10-19 20:41:02 +02005
Michael Kutýf0c0aa72015-11-19 21:51:21 +01006Installation
7============
Ales Komarek7792c702015-10-19 20:41:02 +02008
Michael Kutýf0c0aa72015-11-19 21:51:21 +01009.. code-block:: bash
Ales Komarek7792c702015-10-19 20:41:02 +020010
Michael Kutýf0c0aa72015-11-19 21:51:21 +010011 pip install cookiecutter
Ales Komarek7792c702015-10-19 20:41:02 +020012
Michael Kutýf0c0aa72015-11-19 21:51:21 +010013 cookiecutter cookiecutter-salt-formula
Petr Michalecd1ff7bd2016-07-14 10:43:13 +020014
15
16Init Kitchen CI
17===============
18
19Install prerequisite (Render jinja2 templates on the command line with shell environment variables)
20
21.. code-block:: bash
22
23 pip install envtpl
24
25Once 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
32Instantly for latest version or on existing formulas:
33
34.. code-block:: bash
35
Petr Michalecf3e9be22016-07-20 10:30:57 +020036 curl -skL "https://git.tcpcloud.eu/cookiecutter-templates/cookiecutter-salt-formula/raw/master/kitchen-init.sh" | bash -s --