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

Correct how FQDN is acquired.

parent 811bd8c6
No related branches found
No related tags found
No related merge requests found
...@@ -86,15 +86,15 @@ class irc_bouncer::setup { ...@@ -86,15 +86,15 @@ class irc_bouncer::setup {
# 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 => 'verdigris.lysator.liu.se', key_name => $facts['fqdn'],
key_algorithm => 'HMAC-SHA256', key_algorithm => 'HMAC-SHA256',
key_secret => 'YHR7/5gOkdPF64GwWRu6Ge8jcjz8siqCWIy/G8FsVzw=', key_secret => 'YHR7/5gOkdPF64GwWRu6Ge8jcjz8siqCWIy/G8FsVzw=',
propagation_seconds => 10, propagation_seconds => 10,
manage_package => true, manage_package => true,
} }
-> letsencrypt::certonly { $servername: -> letsencrypt::certonly { $facts['fqdn']:
ensure => 'present', ensure => 'present',
domains => [ $servername, ], domains => [ $facts['fqdn'], ],
plugin => 'dns-rfc2136' plugin => 'dns-rfc2136'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment