Ver código fonte

Merge pull request #132 from alexandruavadanii/interface-repl-fix

network.interface: strict eol pattern matching
pull/133/head
Filip Pytloun 7 anos atrás
pai
commit
05eecf8559
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      linux/network/interface.sls

+ 2
- 2
linux/network/interface.sls Ver arquivo

@@ -121,7 +121,7 @@ ovs_port_{{ interface_name }}:
ovs_port_{{ interface_name }}_line1:
file.replace:
- name: /etc/network/interfaces
- pattern: auto {{ interface_name }}
- pattern: auto {{ interface_name }}$
- repl: ""

ovs_port_{{ interface_name }}_line2:
@@ -246,7 +246,7 @@ linux_bond_interface_{{ interface_name }}:
remove_interface_{{ network }}_line1:
file.replace:
- name: /etc/network/interfaces
- pattern: auto {{ network }}
- pattern: auto {{ network }}$
- repl: ""

remove_interface_{{ network }}_line2:

Carregando…
Cancelar
Salvar