瀏覽代碼

correcting pillar example

tags/v0.1
Arnold Bechtoldt 11 年之前
父節點
當前提交
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

Loading…
取消
儲存