Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8903456
D3170.id8083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D3170.id8083.diff
View Options
diff --git a/roles/core/network/files/ipv6-tunnels/ipv6-tunnel.service b/roles/core/network/files/ipv6-tunnels/ipv6-tunnel.service
new file mode 100644
--- /dev/null
+++ b/roles/core/network/files/ipv6-tunnels/ipv6-tunnel.service
@@ -0,0 +1,27 @@
+# -------------------------------------------------------------
+# Network — ipv6-tunnel configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/network/files/Linux/ipv6-tunnel.service
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+[Unit]
+Description=Configure 4to6 tunnel through Hurricane Electric
+Documentation=https://agora.nasqueron.org/Operations_grimoire/Network
+After=network-online.target
+
+[Service]
+ExecStart=/usr/sbin/ipv6-setup-tunnel
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/roles/core/network/ipv6.sls b/roles/core/network/ipv6.sls
--- a/roles/core/network/ipv6.sls
+++ b/roles/core/network/ipv6.sls
@@ -70,6 +70,18 @@
- 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: 755
+ service.running:
+ - name: ipv6-tunnel
+ - enable: true
+{% endif %}
+
+
{% endif %}
# -------------------------------------------------------------
diff --git a/roles/shellserver/userland-software/base.sls b/roles/shellserver/userland-software/base.sls
--- a/roles/shellserver/userland-software/base.sls
+++ b/roles/shellserver/userland-software/base.sls
@@ -41,6 +41,7 @@
- moreutils
- mosh
- nmap
+ - reptyr
- toilet
- unrar
- whois
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 22, 17:23 (16 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676331
Default Alt Text
D3170.id8083.diff (2 KB)
Attached To
Mode
D3170: Install reptyr on shellserver and devserver roles
Attached
Detach File
Event Timeline
Log In to Comment