Skip to content
Snippets Groups Projects
Commit 2ed116d6 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Add number of TODO:s pertaining SSL.

parent ce72ee27
Branches
Tags
No related merge requests found
...@@ -100,16 +100,21 @@ class irc_bouncer::setup { ...@@ -100,16 +100,21 @@ class irc_bouncer::setup {
email => 'hugo@lysator.liu.se', email => 'hugo@lysator.liu.se',
} }
} }
# TODO dynamic dns updtae fails since the DNS server manually writes
# the zone file, disregarding the journal. Update Lysators DNS
# server to not do that.
-> class { '::letsencrypt::plugin::dns_rfc2136': -> class { '::letsencrypt::plugin::dns_rfc2136':
# address of ns-master.lysator.liu.se # address of ns-master.lysator.liu.se
# Since the python can't handle DNS... # Since the python can't handle DNS...
server => '2001:6b0:17:f0a0::2', server => '2001:6b0:17:f0a0::2',
key_name => $facts['fqdn'], key_name => $facts['fqdn'],
key_algorithm => 'HMAC-SHA256', key_algorithm => 'HMAC-SHA256',
# TODO don't publish secret here
key_secret => 'YHR7/5gOkdPF64GwWRu6Ge8jcjz8siqCWIy/G8FsVzw=', key_secret => 'YHR7/5gOkdPF64GwWRu6Ge8jcjz8siqCWIy/G8FsVzw=',
propagation_seconds => 10, propagation_seconds => 10,
manage_package => true, manage_package => true,
} }
# TODO znc probably needs to be reloaded after cert upgrade
-> letsencrypt::certonly { $certname: -> letsencrypt::certonly { $certname:
ensure => 'present', ensure => 'present',
domains => [ $facts['fqdn'], ], domains => [ $facts['fqdn'], ],
...@@ -118,6 +123,7 @@ class irc_bouncer::setup { ...@@ -118,6 +123,7 @@ class irc_bouncer::setup {
additional_args => [ '--quiet', ], additional_args => [ '--quiet', ],
} }
# TODO files in archive is still not readable by znc
file { ['/etc/letsencrypt/live', file { ['/etc/letsencrypt/live',
'/etc/letsencrypt/archive', ]: '/etc/letsencrypt/archive', ]:
ensure => directory, ensure => directory,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment