Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow virtual jenkins host #630

Closed
giuliana-bezerra opened this issue Aug 23, 2016 · 1 comment
Closed

Allow virtual jenkins host #630

giuliana-bezerra opened this issue Aug 23, 2016 · 1 comment

Comments

@giuliana-bezerra
Copy link

A host parameter for jenkins class would be handful for people using virtual hosts. A way of providing a private IP rather than using "http://localhost" would support a Vagrant approach to create jenkins host.

@jhoblitt
Copy link
Member

Values in the service config file can be overridden with the config_hash param. Something like this should work:

  class { 'jenkins':
    config_hash => {
      'JENKINS_LISTEN_ADDRESS' => { 'value' => '1.2.3.4' },
    }
  }

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants