Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- structure:
- =====
- .
- └── salt
- ├── apache2
- │ ├── init.sls
- ├── git
- │ └── init.sls
- ├── php5
- │ ├── init.sls
- ├── repo
- │ ├── cr
- │ │ └── internal
- │ │ └── init.sls
- │ └── init.sls
- ├── top.sls
- /salt/top.sls
- =====
- base:
- '*':
- - apache2
- - php5
- - repo
- 'cr*':
- - match: pcre
- /salt/repo/init.sls
- =====
- {% if grains['host'] == 'cri' %}
- include:
- - repo.cr.internal
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement