Просмотр исходного кода

correcting pillar example

tags/v0.1
Arnold Bechtoldt 10 лет назад
Родитель
Сommit
b9b01b9d38
1 измененных файлов: 31 добавлений и 30 удалений
  1. +31
    -30
      pillar.example.sls

+ 31
- 30
pillar.example.sls Просмотреть файл

@@ -1,31 +1,32 @@
network:
interfaces:
- name: eth0
proto: dhcp
type: eth
- name: eth1
proto: static
ipaddr: 192.168.2.31
netmask: 255.255.255.0
gateway: 192.168.2.1
- name: eth2
resolver:
domain: domain.local
search:
- domain.local
- another.local
nameservers:
- 192.168.2.1
- 2002::beef
options:
- rotate
- timeout:1
hosts:
- name: example.com
ip: 192.168.2.100
- name: example.org
ip: 192.168.2.150
ensure: present
- name: example.net
ip: 192.168.2.200
ensure: absent
lookup:
interfaces:
- name: eth0
proto: dhcp
type: eth
- name: eth1
proto: static
ipaddr: 192.168.2.31
netmask: 255.255.255.0
gateway: 192.168.2.1
- name: eth2
resolver:
domain: domain.local
search:
- domain.local
- another.local
nameservers:
- 192.168.2.1
- 2002::beef
options:
- rotate
- timeout:1
hosts:
- name: example.com
ip: 192.168.2.100
- name: example.org
ip: 192.168.2.150
ensure: present
- name: example.net
ip: 192.168.2.200
ensure: absent

Загрузка…
Отмена
Сохранить