forked from FraudBuster/strongswan-formula
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpillar.example
80 lines (73 loc) · 2.07 KB
/
pillar.example
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
strongswan:
# override default core settings in lookup dict
# lookup:
# apparmor:
# add_rules: false
# default config
config:
strictcrlpolicy: 'yes'
uniqueids: 'no'
conn:
# option %default conn
_default:
keyingtries: 1
# other conn
conn_a:
left: 10.10.1.1
leftsubnet: 10.10.1.0/32
right: 10.20.1.1
rightsubnet: 10.20.1.0/32
ike: 3des-sha1-modp1024
esp: 3des-sha1
authby: secret
auto: add
conn_b:
left: 10.10.2.1
leftsubnet: 10.10.2.0/32
right: 10.20.2.1
rightsubnet: 10.20.1.0/32
ike: 3des-sha1-modp1024
esp: 3des-sha1
authby: secret
auto: add
# define secrets
secrets:
conn_a:
- '10.10.1.1 : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL"'
conn_b:
- 'alice@strongswan.org : EAP "x3.dEhgN"'
tofs:
# The files_switch key serves as a selector for alternative
# directories under the formula files directory. See TOFS pattern
# doc for more info.
# Note: Any value not evaluated by `config.get` will be used literally.
# This can be used to set custom paths, as many levels deep as required.
# files_switch:
# - any/path/can/be/used/here
# - id
# - roles
# - osfinger
# - os
# - os_family
# All aspects of path/file resolution are customisable using the options below.
# This is unnecessary in most cases; there are sensible defaults.
# Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
# I.e.: salt://template/files/default
# path_prefix: template_alt
# dirs:
# files: files_alt
# default: default_alt
# The entries under `source_files` are prepended to the default source files
# given for the state
source_files:
ipsec-global-options:
- 'alt_ipsec.conf.jinja'
ipsec-conn-config:
- 'alt_connection.conf.jinja'
ipsec-global-secrets:
- 'alt_ipsec.secrets.jinja'
ipsec-secret-config:
- 'alt_secret.secrets.jinja'