-
Notifications
You must be signed in to change notification settings - Fork 3
Salt configuration
stachu edited this page Sep 11, 2018
·
14 revisions
Master configuration: /etc/salt/master
Master configuration overrides: /etc/salt/master.d/myoverrides.conf
Minion configuration: /etc/salt/minion
Pillar subsystem can be extended to fetch data from various sources, use ext-pillar
to achieve this.
ext pillar: file_tree
File becomes the value of key
Under the root_dir
you must have either hosts/minion_id
folder or nodegroups/nodegroup
folder
Data is available to matching hosts.
Example configuration:
ext_pillar:
- file_tree:
root_dir: /path/to/root/directory
keep_newline:
- files/testdir/*
- General
- OS
- Networks
- Configuration
- Protocols
- Link layer
- Sockets
- Routing
- Tunneling
- Debugging
- LoRa
- Virtualization
- Infrastructure as a code
- Desktop environments
- Monitoring
- Benchmarking