Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56395292
ipv6_tunnel.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ipv6_tunnel.sls
View Options
# -------------------------------------------------------------
# Salt — Network
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
,
services
with context
%}
# -------------------------------------------------------------
# 4to6 tunnel
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
if
salt
[
"node.has"
](
"network:ipv6_tunnel"
)
%}
network_ipv6
:
file.managed
:
-
name
:
{{
dirs.sbin
}}
/ipv6-setup-tunnel
-
source
:
salt://roles/core/network/files/ipv6-tunnels/
{{
grains
[
"id"
]
}}
.sh.jinja
-
template
:
jinja
-
mode
:
755
{%
if
services
[
"manager"
]
==
"systemd"
%}
/etc/systemd/system/ipv6-tunnel.service
:
file.managed
:
-
source
:
salt://roles/core/network/files/ipv6-tunnels/ipv6-tunnel.service
-
mode
:
644
service.running
:
-
name
:
ipv6-tunnel
-
enable
:
true
{%
endif
%}
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 7, 18:28 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3986593
Default Alt Text
ipv6_tunnel.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment