Page MenuHomeDevCentral

ipv6_tunnel.sls
No OneTemporary

ipv6_tunnel.sls

# -------------------------------------------------------------
# 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

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)

Event Timeline