summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/jenkins.pp7
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']
}