From 4b332c70cfe6fba2513ba26aad37ab61092a7fac Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 2 Jan 2022 17:24:45 -0300 Subject: Fix: small refactor; remove freenode class --- manifests/freenode.pp | 11 ----------- manifests/full.pp | 3 +-- manifests/init.pp | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 manifests/freenode.pp diff --git a/manifests/freenode.pp b/manifests/freenode.pp deleted file mode 100644 index 623597d..0000000 --- a/manifests/freenode.pp +++ /dev/null @@ -1,11 +0,0 @@ -class onion::freenode inherits onion::socks { - # Freenode via Tor - # http://freenode.net/irc_servers.shtml - # http://pthree.org/2010/01/31/freenode-ssl-and-sasl-authentication-with-irssi/ - # http://freenode.net/sasl/sasl-irssi.shtml - # https://wiki.archlinux.org/index.php/Tor - tor::daemon::map_address { 'freenode': - address => '10.40.40.40', - newaddress => 'frxleqtzgvwkv7oz.onion', - } -} diff --git a/manifests/full.pp b/manifests/full.pp index 14be354..d54cc14 100644 --- a/manifests/full.pp +++ b/manifests/full.pp @@ -1,4 +1,4 @@ -class onion::full inherits onion::freenode { +class onion::full inherits onion::socks { include onion::ssh package { 'polipo': @@ -12,5 +12,4 @@ class onion::full inherits onion::freenode { # } # default: { } #} - } diff --git a/manifests/init.pp b/manifests/init.pp index d049178..40a0ae5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,7 +5,7 @@ class onion { # to ease backup/restore procedures as we don't mix # hidden service data with other tor files. file { "${tor::daemon::data_dir}/hidden": - ensure => directory, + ensure => directory, owner => 'debian-tor', group => 'debian-tor', mode => '0700', -- cgit v1.2.3