]> gitweb.fluxo.info Git - puppet-onion.git/commitdiff
Feat: adds onion::liberachat and onion::oftc
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 1 Feb 2022 18:32:28 +0000 (15:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 1 Feb 2022 18:32:28 +0000 (15:32 -0300)
manifests/liberachat.pp [new file with mode: 0644]
manifests/oftc.pp [new file with mode: 0644]

diff --git a/manifests/liberachat.pp b/manifests/liberachat.pp
new file mode 100644 (file)
index 0000000..6034b73
--- /dev/null
@@ -0,0 +1,9 @@
+class onion::liberachat inherits onion::socks {
+  # Libera.Chat via Tor
+  # See https://libera.chat/guides/connect#accessing-liberachat-via-tor
+  tor::daemon::map_address { 'liberachat':
+    #address   => '10.40.40.40',
+    address    => 'palladium.libera.chat',
+    newaddress => 'libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion',
+  }
+}
diff --git a/manifests/oftc.pp b/manifests/oftc.pp
new file mode 100644 (file)
index 0000000..8e87fa4
--- /dev/null
@@ -0,0 +1,10 @@
+class onion::oftc inherits onion::socks {
+  # OFTC via Tor
+  # See https://libera.chat/guides/connect#accessing-liberachat-via-tor
+  #     https://www.oftc.net/Tor/
+  tor::daemon::map_address { 'oftc':
+    #address    => '10.50.50.50',
+    address    => 'irc.oftc.net',
+    newaddress => 'oftcnet6xg6roj6d7id4y4cu6dchysacqj2ldgea73qzdagufflqxrid.onion',
+  }
+}