-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviordebianaffects this operating systemaffects this operating systemseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Description
The state:
lo:
----------
__env__:
server
__sls__:
os.network
network:
|_
----------
enabled:
True
|_
----------
type:
eth
|_
----------
proto:
loopback
|_
----------
up_cmds:
- ip addr add 1.2.3.4/32 dev $IFACE label $IFACE:0
|_
----------
down_cmds:
- ip addr del 1.2.3.4/32 dev $IFACE label $IFACE:0
- managed
|_
----------
order:
10000
Worked in v3000 for Debian OS, now it doesn't
The options:
up_cmds:
- ip addr add 1.2.3.4/32 dev $IFACE label $IFACE:0
|_
----------
down_cmds:
- ip addr del 1.2.3.4/32 dev $IFACE label $IFACE:0
are no longer respected in debian_eth.jinja
Setup
Aforementioned state
Steps to Reproduce the behavior
salt XYZ state.apply aforementionedstate
Expected behavior
up, down entries in /etc/network/interfaces for lo adapter
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Salt Version:
Salt: 3001
Dependency Versions:
cffi: 1.14.0
cherrypy: unknown
dateutil: 2.7.3
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.11.2
libgit2: 0.28.4
M2Crypto: 0.35.2
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.20
pycrypto: 3.9.7
pycryptodome: 3.6.1
pygit2: 1.0.3
Python: 3.7.3 (default, Dec 20 2019, 18:57:59)
python-gnupg: Not Installed
PyYAML: 5.3.1
PyZMQ: 17.1.2
smmap: 2.0.5
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist: debian 10 buster
locale: UTF-8
machine: x86_64
release: 4.19.0-9-amd64
system: Linux
version: Debian GNU/Linux 10 buster
Metadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviordebianaffects this operating systemaffects this operating systemseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around