Ver código fonte

Conflicted resolved by merging changes

pull/15/head
Jerzy Drozdz 6 anos atrás
pai
commit
e7b020ab98
4 arquivos alterados com 15 adições e 2 exclusões
  1. +2
    -0
      README.rst
  2. +4
    -0
      network/defaults.yaml
  3. +2
    -0
      network/routes.sls
  4. +7
    -2
      pillar.example.sls

+ 2
- 0
README.rst Ver arquivo

@@ -75,6 +75,8 @@ Authors

* Alan Pearce <alan@alanpearce.co.uk>
* Arnold Bechtoldt <mail@arnoldbechtoldt.com>
* Krzysztof Pawłowski <krzysztof.pawlowski@firma.interia.pl>
* René Jochum <rene@jochums.at>
* Simon Lloyd <simon@slloyd.net>
* root <root@saltmaster01.(none)>


+ 4
- 0
network/defaults.yaml Ver arquivo

@@ -20,6 +20,7 @@ Debian:
- pre_down_cmds
- post_up_cmds
- post_down_cmds
- noifupdown
{#- bonding #}
- master
- mode
@@ -31,6 +32,7 @@ Debian:
- ipv6ipaddr
- ipv6netmask
- ipv6gateway
- mtu
def_entries:
- name: lo
proto: loopback
@@ -82,6 +84,7 @@ RedHat:
- pre_down_cmds
- post_up_cmds
- post_down_cmds
- noifupdown
{#- bonding #}
- master
- mode
@@ -105,6 +108,7 @@ RedHat:
- ipv6_peerdns
- ipv6_defroute
- ipv6_peerroutes
- mtu
def_entries: []
# - name: lo
# proto: none

+ 2
- 0
network/routes.sls Ver arquivo

@@ -16,6 +16,8 @@ routes_{{ v.name|default(k) }}:
- name: {{ net.name }}
ipaddr: {{ net.ipaddr }}
netmask: {{ net.netmask }}
{% if net.gateway is defined %}
gateway: {{ net.gateway }}
{% endif %}
{% endfor %}
{% endfor %}

+ 7
- 2
pillar.example.sls Ver arquivo

@@ -1,9 +1,14 @@
{# Disable default entries #}
network:
interfaces:
{# Disable default interface entries #}
lookup:
interfaces:
def_entries: []
hosts:
def_entries: []

########################
network:
interfaces:
{# Basic Setup #}
- name: eth0
proto: dhcp

Carregando…
Cancelar
Salvar