Skip to content

Commit

Permalink
Merge pull request #204 from eshamow/fix_undefined_jenkins_port
Browse files Browse the repository at this point in the history
Fix for #174 allows setting $jenkins::port
  • Loading branch information
R. Tyler Croy committed Oct 24, 2014
2 parents 6411d6b + 06504c0 commit da1c743
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# lts = true
# Use LTS verison of jenkins
#
# port = 8080 (default)
# Sets firewall port to 8080 if puppetlabs-firewall module is installed
#
# repo = true (Default)
# install the jenkins repo.
#
Expand Down Expand Up @@ -109,6 +112,7 @@
$proxy_port = undef,
$no_proxy_list = undef,
$cli = undef,
$port = $jenkins::params::port,
$libdir = $jenkins::params::libdir,
) inherits jenkins::params {

Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
$install_java = true
$swarm_version = '1.17'
$default_plugins_host = 'http://updates.jenkins-ci.org'
$port = '8080'

case $::osfamily {
'Debian': {
Expand Down

0 comments on commit da1c743

Please sign in to comment.