Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file_roots:
- base:
- - /srv/salt
- env1:
- - /srv/salt/env1
- .
- ├── base
- ├── env1
- │ └── domain1
- │ ├── init.sls
- │ └── nginx.conf
- └── top.sls
- env1:
- '*':
- - env1.domain1
- /etc/nginx/nginx.conf:
- file.managed:
- - source: salt://env1/domain1/nginx.conf
- salt '*' state.sls env1.domain1
- # salt '*' state.highstate
- myHost:
- Data failed to compile:
- ----------
- No matching sls found for 'env1.domain1' in env 'env1'
- - source: salt://domain1/nginx.conf
- - source: salt://env1/domain1/nginx.conf
- Comment: Source file salt://domain1/nginx.conf not found
- file_roots:
- base:
- - /srv/salt/base
- env1:
- - /srv/salt/env1
- .
- ├── base
- │ └── init.sls
- ├── conf_template
- ├── env1
- │ └── domain1
- │ ├── init.sls
- │ └── nginx.conf
- └── top.sls
- base:
- '*':
- - init
- env1:
- '*':
- - domain1
- /etc/nginx/nginx.conf:
- file.managed:
- - source: salt://domain1/nginx.conf
- salt '*' state.sls env1.domain1
- myHost:
- Data failed to compile:
- ----------
- No matching sls found for 'env1.domain1' in env 'base'
- env1:
- '*':
- - domain1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement