-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpillar.example
More file actions
47 lines (38 loc) · 1.34 KB
/
pillar.example
File metadata and controls
47 lines (38 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ======
# Simple
# ======
# When you're only managing a single platform via salt your pillars can be
# as simple as:
construct:
# Path to the construct_setup git repo
git_repo: https://github.com/construct-org/construct_setup
# The version of Construct to install - tag or branch of git repo
version: '0.1.24'
# Path to construct yaml configuration file
config: 'C:\construct\construct.yaml'
# Python executable used to create construct virtualenv
python_exe: 'C:\python27\python.exe'
# Root directory of construct installs
install_dir: 'C:\construct'
# ==============
# Multi-platform
# ==============
# If you're managing multiple platforms you'll want to provide different values
# per-platform. Below we check the os via grains, but, you can customize this
# using roles or groups if needed.
construct:
git_repo: https://github.com/construct-org/construct_setup
version: '0.1.24'
{% if grains['os'] == 'Windows' %}
config: '~\.construct\construct.yaml'
python_exe: 'C:\python27\python.exe'
install_dir: 'C:\construct'
{% elif grains['os'] == 'MacOS' %}
config: '~/.construct/construct.yaml'
python_exe: '/usr/bin/python'
install_dir: '/opt/construct'
{% else %}
config: '~/.construct/construct.yaml'
python_exe: '/usr/bin/python'
install_dir: '/opt/construct'
{% endif %}