| {%- set storage = salt['grains.filter_by']({ |
| 'default': { |
| 'base_dir': '/etc/reclass/base', |
| 'storage_type': 'yaml_fs', |
| 'repeat_replace_symbol': '<<count>>', |
| 'class_mappings': {}, |
| 'ignore_class_notfound': False, |
| 'propagate_pillar_data_to_reclass': False, |
| 'data_source': { |
| 'engine': 'local' |
| }, |
| 'version': '1.4.1', |
| }, |
| 'Debian': { |
| 'pkgs': ['reclass', 'python-reclass'], |
| }, |
| 'RedHat': { |
| 'pkgs': ['reclass', 'python-reclass'], |
| }, |
| }, grain='os_family', merge=salt['pillar.get']('reclass:storage'), base='default') %} |