Bechtoldt's Network Saltstack Formula
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- {% load_yaml as rawmap %}
- Debian:
- interfaces:
- values:
- enabled: True
- proto: dhcp
- type: eth
- def_entries:
- - name: lo
- proto: loopback
- type: eth
- resolver:
- values:
- path: /etc/resolv.conf
- hosts:
- values:
- path: /etc/hosts
- ensure: present
- def_entries:
- - name: localhost
- ip: 127.0.0.1
- - name: localhost.localdomain
- ip: 127.0.0.1
- - name: localhost
- ip: ::1
- - name: ip6-localhost
- ip: ::1
- - name: ip6-loopback
- ip: ::1
- - name: ip6-localnet
- ip: fe00::0
- - name: ip6-mcastprefix
- ip: ff00::0
- - name: ip6-allnodes
- ip: ff02::1
- - name: ip6-allrouters
- ip: ff02::2
- - name: ip6-allhosts
- ip: ff02::3
- - name: {{ salt['grains.get']('fqdn') }}
- ip: 127.0.1.1
- - name: {{ salt['grains.get']('host') }}
- ip: 127.0.1.1
- {% endload %}
|