Browse Source

correcting pillar example

tags/v0.1
Arnold Bechtoldt 10 years ago
parent
commit
b9b01b9d38
1 changed files with 31 additions and 30 deletions
  1. +31
    -30
      pillar.example.sls

+ 31
- 30
pillar.example.sls View File

network: 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

Loading…
Cancel
Save