123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #
- # Networking
- #
- include:
- - apt
- - network.interfaces
- network-pkg:
- pkg.installed:
- - pkgs:
- - bridge-utils
- - vlan
- - tcpdump
- - mtr-tiny
- - iperf
- - host
- - dnsutils
- - ipv6calc
- - require_in:
- - file: /etc/network/interfaces
- # - require:
- # - APT-FFHO
- iproute2:
- pkg.latest
- vnstat:
- pkg.installed:
- - name: vnstat
- service.running:
- - restart: True
- /etc/vnstat.conf:
- file.managed:
- - source: salt://network/vnstat.conf
- - watch_in:
- - service: vnstat
- # Udev rules
- /etc/udev/rules.d/42-ffho-net.rules:
- file.managed:
- - template: jinja
- - source: salt://network/udev-rules.tmpl
- # /etc/resolv.conf
- /etc/resolv.conf:
- file.managed:
- - source: salt://network/resolv.conf
|