Skip to content

Instantly share code, notes, and snippets.

@txomon
Created October 17, 2017 18:56
Show Gist options
  • Save txomon/f4b64494bf3a17d5829b6fcaceb6d088 to your computer and use it in GitHub Desktop.
Save txomon/f4b64494bf3a17d5829b6fcaceb6d088 to your computer and use it in GitHub Desktop.
classes:
- service.linux.system
parameters:
linux:
system:
enabled: true
name: 'computer'
domain: 'domain'
cluster: 'system'
environment: base
timezone: 'UTC'
utc: true
/etc/reclass/reclass-config.yml
/etc/salt/master.d/master.conf
/srv/salt/linux => https://github.com/salt-formulas/salt-formula-linux
/srv/reclass/nodes/computer.domain.yml
/srv/reclass/classes
file_roots:
base:
- /srv/salt/
reclass: &reclass
storage_type: yaml_fs
inventory_base_uri: /srv/reclass
ext_pillar:
- reclass: *reclass
master_tops:
reclass: *reclass
storage_type: yaml_fs
pretty_print: True
output: yaml
inventory_base_uri: /srv/reclass
@txomon
Copy link
Author

txomon commented Oct 17, 2017

Just in case, the problem here is that obviously reclass is not finding system, and I have no idea how to provide it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment