diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 13:48:40 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 13:48:40 +0200 |
commit | b5c3aaf06722f55923c10be652c6115bbd376f7f (patch) | |
tree | 37a6c07718ddb66510156034326f6f77c1db9f32 /manifests | |
parent | Fix jenkins. (diff) | |
download | profiles-b5c3aaf06722f55923c10be652c6115bbd376f7f.tar.gz profiles-b5c3aaf06722f55923c10be652c6115bbd376f7f.tar.xz |
Change jenkins dns record.
Diffstat (limited to '')
-rw-r--r-- | manifests/jenkins.pp | 7 |
1 files changed, 6 insertions, 1 deletions
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'] } |