Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
Aleš Komárek | 586daae | 2017-02-06 19:47:06 +0100 | [diff] [blame] | 2 | =============== |
| 3 | reclass formula |
| 4 | =============== |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 6 | reclass is an “external node classifier” (ENC) as can be used with automation |
| 7 | tools, such as Puppet, Salt, and Ansible. It is also a stand-alone tool for |
| 8 | merging data sources recursively. |
| 9 | |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 10 | |
| 11 | Sample pillars |
| 12 | ============== |
| 13 | |
| 14 | Reclass storage with data fetched from git |
| 15 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 16 | .. literalinclude:: tests/pillar/storage_git.sls |
| 17 | :language: yaml |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 18 | |
| 19 | Reclass storage with local data source |
| 20 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 21 | .. literalinclude:: tests/pillar/storage_local.sls |
| 22 | :language: yaml |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 23 | |
Ales Komarek | a4a9f57 | 2016-12-03 20:15:50 +0100 | [diff] [blame] | 24 | Reclass model with single node definition |
| 25 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 26 | .. literalinclude:: tests/pillar/generate_single.sls |
| 27 | :language: yaml |
Ales Komarek | a4a9f57 | 2016-12-03 20:15:50 +0100 | [diff] [blame] | 28 | |
| 29 | Reclass model with multiple node defined |
| 30 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 31 | .. literalinclude:: tests/pillar/generate_multi.sls |
| 32 | :language: yaml |
Ales Komarek | a4a9f57 | 2016-12-03 20:15:50 +0100 | [diff] [blame] | 33 | |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 34 | Reclass storage with arbitrary class mappings |
| 35 | |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 36 | .. literalinclude:: tests/pillar/class_mapping.sls |
| 37 | :language: yaml |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 38 | |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 39 | |
Aleš Komárek | 586daae | 2017-02-06 19:47:06 +0100 | [diff] [blame] | 40 | External links |
| 41 | ============== |
Filip Pytloun | 49768a4 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 42 | |
| 43 | * http://reclass.pantsfullofunix.net/index.html |
| 44 | * http://reclass.pantsfullofunix.net/operations.html |
Ales Komarek | 51e459c | 2017-02-19 08:47:46 +0100 | [diff] [blame] | 45 | |
Filip Pytloun | 2ea4e6a | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 46 | |
| 47 | Documentation and Bugs |
| 48 | ====================== |
| 49 | |
| 50 | To learn how to install and update salt-formulas, consult the documentation |
| 51 | available online at: |
| 52 | |
| 53 | http://salt-formulas.readthedocs.io/ |
| 54 | |
| 55 | In the unfortunate event that bugs are discovered, they should be reported to |
| 56 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 57 | formula: |
| 58 | |
| 59 | https://github.com/salt-formulas/salt-formula-reclass/issues |
| 60 | |
| 61 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 62 | use Launchpad salt-formulas project: |
| 63 | |
| 64 | https://launchpad.net/salt-formulas |
| 65 | |
| 66 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 67 | |
| 68 | https://launchpad.net/~salt-formulas-users |
| 69 | |
| 70 | Developers wishing to work on the salt-formulas projects should always base |
| 71 | their work on master branch and submit pull request against specific formula. |
| 72 | |
| 73 | https://github.com/salt-formulas/salt-formula-reclass |
| 74 | |
| 75 | Any questions or feedback is always welcome so feel free to join our IRC |
| 76 | channel: |
| 77 | |
| 78 | #salt-formulas @ irc.freenode.net |