0f4b0fae64
The differences between openstack_project::slave, openstack_project::slave_template, and openstack_project::bare_slave were not always clear. Keep openstack_project::slave as the default long running slave manifest, but replace slave_template with a single_use_slave.pp to make it clear where single use slave config begins. Add the ability to toggle automatic upgrades and jenkins sudo rights to this new manifest. Finally, add a more verbose comment to bare_slave explaining what it is useful for (having a jenkins like slave host that doesn't need a firewall or ntp or automatic upgrades). Change-Id: I3989c9e6ad9469f441ca5d3627f7b3b704d8a8da
21 lines
510 B
Puppet
21 lines
510 B
Puppet
# Super simple slave manifest that installs something very
|
|
# similar to an OpenStack Jenkins slave but does not need to
|
|
# have services managed like firewall, ntp, automatic upgrades,
|
|
# and so on.
|
|
class openstack_project::bare_slave(
|
|
$certname = $::fqdn,
|
|
$install_users = true
|
|
) {
|
|
class { 'openstack_project::base':
|
|
certname => $certname,
|
|
install_users => $install_users,
|
|
}
|
|
|
|
class { 'jenkins::slave':
|
|
ssh_key => '',
|
|
user => false
|
|
}
|
|
}
|
|
|
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|