| Ales Komarek | 166cc67 | 2016-07-27 14:17:22 +0200 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | ''' | ||||
| 3 | Management of reclass metadata | ||||
| 4 | ============================== | ||||
| 5 | |||||
| 6 | .. code-block:: yaml | ||||
| 7 | |||||
| 8 | node01: | ||||
| 9 | reclass.node_present: | ||||
| 10 | - name: hostaname.domain.com | ||||
| 11 | - path: _generated | ||||
| 12 | - cluster: default | ||||
| 13 | - environment: prd | ||||
| 14 | - classes: | ||||
| 15 | - neco.service.neco | ||||
| 16 | - neco2.class.neco.dal | ||||
| 17 | - parameters: | ||||
| 18 | neco: value1 | ||||
| 19 | neco2: value2 | ||||
| 20 | |||||
| 21 | ''' | ||||
| 22 | |||||
| 23 | |||||
| 24 | def __virtual__(): | ||||
| 25 | ''' | ||||
| 26 | Always present | ||||
| 27 | ''' | ||||
| 28 | return 'reclass' | ||||
| 29 | |||||