Commit 3da0d788 authored by drebs's avatar drebs
Browse files

Make sure profile::postgis::tls can be used standalone

parent ab5bc0be
......@@ -18,7 +18,7 @@ class profile::postgis (
listen_address => $listen_address,
ssl_cert_file => $ssl_cert_file,
ssl_key_file => $ssl_key_file,
}
} ~> Service['postgresql']
$config_entries = {
ssl => 'on',
......
......@@ -41,7 +41,6 @@ class profile::postgis::tls (
~> exec { "Copy TLS cert for ${domain} to a place available to PostgreSQL":
command => "/usr/bin/cp /etc/letsencrypt/live/${domain}/privkey.pem /etc/letsencrypt/live/${domain}/fullchain.pem /var/lib/postgresql/tls/",
refreshonly => true,
notify => Service['postgresql'],
}
-> file { $ssl_cert_file:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment