9
0
Fork 1

Testing how to get facts.

This commit is contained in:
Johan Björklund 2024-10-30 13:52:27 +01:00
parent 7171dd5a8a
commit 5b2bef346d
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -1,6 +1,6 @@
class soc::satosa(
String $hostname = $::facts['fqdn'],
String $cert_name = $::facts['fqdn'],
) {
file { '/etc/satosa/https.key': ensure => link, target => "/etc/dehydrated/certs/${dehydrated_name}.key" }
file { '/etc/satosa/https.crt': ensure => link, target => "/etc/dehydrated/certs/${dehydrated_name}/fullchain.pem" }
file { '/etc/satosa/https.key': ensure => link, target => "/etc/dehydrated/certs/${cert_name}.key" }
file { '/etc/satosa/https.crt': ensure => link, target => "/etc/dehydrated/certs/${cert_name}/fullchain.pem" }
}