From b5c3aaf06722f55923c10be652c6115bbd376f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 20 Apr 2023 13:48:40 +0200 Subject: Change jenkins dns record. --- manifests/jenkins.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/manifests/jenkins.pp b/manifests/jenkins.pp index 6d3cdca..17d1716 100644 --- a/manifests/jenkins.pp +++ b/manifests/jenkins.pp @@ -1,4 +1,8 @@ # https://www.jenkins.io/doc/book/system-administration/reverse-proxy-configuration-with-jenkins/reverse-proxy-configuration-nginx/ +# @param server_name +# The fully qualified domain name where jenkins should be found +# @param jenkins_port +# The local port revproxied to class profiles::jenkins ( String $server_name, Stdlib::Port $jenkins_port = 8090, @@ -23,7 +27,8 @@ class profiles::jenkins ( @@dns_record { $server_name: type => 'CNAME', zone => $facts['domain'], - key => $server_name, + # TODO key should be $server_name local to domain name of host. + key => 'jenkins', value => $facts['hostname'] } -- cgit v1.2.3