-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpillar.example
80 lines (76 loc) · 2.2 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
# vim: ft=yaml
sysconfig:
# Network configuration files on RHEL/CentOS derivatives
network_scripts:
# Values provided here update those already present in config file.
# Boolean values is translated to 'yes' or 'no'.
# If you want to remove a value from a config file, set its value to null.
ifcfg-eth1:
DEVICE: eth1
ONBOOT: yes
IPADDR: 192.0.2.2
NETMASK: 255.255.255.0
GATEWAY: 192.0.2.1
IPV6_AUTOCONF: true
# Set to null to remove values from config
IPV6ADDR: null
IPV6ADDR_SECONDARIES:
IPV6_DEFAULTGW: ~
# You can use a list of key-value pairs
ifcfg-eth0:
- DEVICE: eth0
- NAME: eth0
- HWADDR: 00:16:76:D6:C9:45
- TYPE: Ethernet
- BOOTPROTO: none
- ONBOOT: yes
- PROXY_METHOD: none
- BROWSER_ONLY: no
- USERCTL: no
- DEFROUTE: yes
- IPV4_FAILURE_FATAL: no
- IPADDR: 27.61.220.226
- NETMASK: 255.255.255.0
- PREFIX: 24
- GATEWAY: 67.54.214.21
- IPV6INIT: yes
- IPV6_AUTOCONF: no
- IPV6_DEFROUTE: yes
- IPV6_FAILURE_FATAL: no
- IPV6ADDR: 56d7:c9b4:2a0f:8841:ebe4:f57a:6a49:0e72
- IPV6_DEFAULTGW: 5c68:da46:2ccb:9b40:65e6:d236:9adc:e40b
- PEERDNS: no
- DNS1: 36a0:48d2:f7ba:9c2d:7594:5076:994f:b9ab
- DNS2: 56d7:c9b4:2a0f:8841:ebe4:f57a:6a49:0e72
- DNS3: 1.1.1.1
- DNS4: 8.8.8.8
# You can specify a full content of the config file as a string
ifcfg-eth2: |
NAME=ethernet
UUID=1c4ddf70-01bf-46d6-b04f-47e842bd98da
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
ONBOOT=yes
# You can completely remove config file by using keyword 'absent'
ifcfg-eth3: absent
# Lookup static data
lookup:
proxy:
config: /etc/sysconfig/proxy
# Proxy configuration. Only relevant for SUSE.
proxy:
enabled: yes
http_proxy: http://proxy.example.net:3128
https_proxy: http://proxy.example.net:3128
ftp_proxy: http://proxy.example.net:3128
# can be empty, string or null
gopher_proxy: ~
socks_proxy: ~
socks5_server: ''
no_proxy:
- localhost
- 127.0.0.1