RETIRED, Puppet module for Nodepool
Go to file
Paul Belanger 078f336a01
Don't assume pidfile location
When configuring the dir for the pidfiles in our init scripts don't
assume the path is /var/run/$NAME. The defaults are now /var/run/nodepool
now and could be set to other values as well. Instead of assuming
/var/run/$NAME we instead take the dirname of $PIDFILE and configure
whatever that dir is instead.

Also expose zuulv3 flag to user to toggle the location of pidfile,
this changes in nodepool > 0.5.0.

Change-Id: I7fff2565f9e77d737c247f204925f66a0e4aabe8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-01-17 14:33:32 -05:00
files Don't assume pidfile location 2018-01-17 14:33:32 -05:00
manifests Don't assume pidfile location 2018-01-17 14:33:32 -05:00
spec/acceptance/nodesets Depend on helper gem for spec_helper_acceptance 2017-08-18 10:41:44 +02:00
templates Don't assume pidfile location 2018-01-17 14:33:32 -05:00
.gitignore Add Gemfile and puppet 4 checks 2015-08-25 11:07:48 -07:00
.gitreview Add standard puppet module files and .gitreview 2015-01-28 12:18:47 -06:00
Gemfile Depend on helper gem for spec_helper_acceptance 2017-08-18 10:41:44 +02:00
LICENSE Add missing LICENSE file 2015-01-29 22:58:56 +00:00
README.md Add creation of secure.conf file 2015-07-30 16:28:28 +02:00
Rakefile Add standard puppet module files and .gitreview 2015-01-28 12:18:47 -06:00
metadata.json Consume puppet-diskimage_builder 2015-05-14 19:43:26 -07:00

README.md

OpenStack Nodepool Module

Overview

Configures Nodepool node.

class { '::nodepool':
  mysql_root_password      => 'xxx',
  mysql_password           => 'xxx',
  nodepool_ssh_private_key => 'optional_key_content',
  environment => {
    optional_setting_1 => 'optional_value_1',
    optional_setting_2 => 'optional_value_2',
  },
  jenkins_masters     => [
    {
      name        => 'jenkins_name'
      user        => 'jenkins_user',
      apikey      => 'jenkins_pass',
      credentials => 'jenkins_credentials_id',
      url         => 'jenkins_url',
    }
  ]
}