From: Aurelien Jarno Date: Sat, 23 Nov 2019 10:21:19 +0000 (+0100) Subject: Add initial configuration for trabaci.debian.org running the ddtp role X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=335562bbe2753e443a6f1dc3b67b4e422377d15d;p=mirror%2Fdsa-puppet.git Add initial configuration for trabaci.debian.org running the ddtp role --- diff --git a/data/nodes/trabaci.debian.org.yaml b/data/nodes/trabaci.debian.org.yaml new file mode 100644 index 000000000..5dc108f55 --- /dev/null +++ b/data/nodes/trabaci.debian.org.yaml @@ -0,0 +1,3 @@ +--- +classes: + - roles::ddtp diff --git a/modules/roles/manifests/ddtp.pp b/modules/roles/manifests/ddtp.pp new file mode 100644 index 000000000..e18f4e3a9 --- /dev/null +++ b/modules/roles/manifests/ddtp.pp @@ -0,0 +1,11 @@ +# ddtp.debian.org service +# +class roles::ddtp { + include apache2 + + ssl::service { 'ddtp.debian.org': + notify => Exec['service apache2 reload'], + key => true, + } + onion::service { 'ddtp.debian.org': port => 80, target_address => 'ddtp.debian.org', target_port => 80, direct => true } +}