blob: a412413dd86edeca50675dd649c6a57d184b7841 [file] [log] [blame]
Filip Pytloun49768a42015-10-06 16:28:32 +02001
2=======
3reclass
4=======
5
6reclass is an external node classifier (ENC) as can be used with automation tools, such as Puppet, Salt, and Ansible. It is also a stand-alone tool for merging data sources recursively.
7
8Sample pillars
9==============
10
11Reclass storage with data fetched from git
12
13.. code-block:: yaml
14
15 reclass:
16 storage:
17 enabled: true
18 base_dir: /srv/reclass
19 data_source:
20 engine: git
21 address: git@repo.domain.com:reclass/reclass-project.git
22 revision: master
23
24Reclass storage with local data source
25
26.. code-block:: yaml
27
28 reclass:
29 storage:
30 enabled: true
31 base_dir: /srv/reclass
32 data_source:
33 engine: local
34
35Reclass storage with arbitrary class mappings
36
37.. code-block:: yaml
38
39 reclass:
40 storage:
41 enabled: true
42 ...
43 class_mappings:
44 - target: '\*'
45 class: default
46
47Read more
48=========
49
50* http://reclass.pantsfullofunix.net/index.html
51* http://reclass.pantsfullofunix.net/operations.html
52* http://ryandlane.com/blog/2014/12/10/reloading-grains-and-pillars-during-a-saltstack-run/