Merge "Add a node pattern for precise3k slaves."
This commit is contained in:
commit
1b8dd965f6
@ -23,21 +23,21 @@ To launch a node in the OpenStack Jenkins account (slave nodes)::
|
|||||||
|
|
||||||
. ~root/ci-launch/openstackjenkins-rs-nova.sh
|
. ~root/ci-launch/openstackjenkins-rs-nova.sh
|
||||||
export FQDN=slavename.slave.openstack.org
|
export FQDN=slavename.slave.openstack.org
|
||||||
export CERT=slavetype.slave.openstack.org
|
|
||||||
nova image-list
|
nova image-list
|
||||||
export IMAGE='Ubuntu 12.04 LTS (Precise Pangolin)'
|
export IMAGE='Ubuntu 12.04 LTS (Precise Pangolin)'
|
||||||
nova flavor-list
|
nova flavor-list
|
||||||
export RAM=8192
|
export RAM=8192
|
||||||
sudo puppet cert generate $CERT
|
sudo puppet cert generate $FQDN
|
||||||
./launch-node.py $FQDN --cert $CERT.pem --image "$IMAGE" --ram $RAM
|
./launch-node.py $FQDN --image "$IMAGE" --ram $RAM
|
||||||
|
|
||||||
If you are launching a replacement server, you may skip the generate
|
If you are launching a replacement server, you may skip the generate
|
||||||
step and specify the name of an existing puppet cert (as long as the
|
step and specify the name of an existing puppet cert (as long as the
|
||||||
private key is on this host).
|
private key is on this host).
|
||||||
|
|
||||||
The server name and cert names may be different (as in the Jenkins
|
The server name and cert names may be different and the latter can be
|
||||||
slave example), but launch-node.py will assume they are the same
|
specified with --cert if needed (older Jenkins slave types still use
|
||||||
unless specified.
|
shared certs), but launch-node.py will assume they are the same unless
|
||||||
|
specified.
|
||||||
|
|
||||||
Manually add the hostname to DNS (the launch script does not do so
|
Manually add the hostname to DNS (the launch script does not do so
|
||||||
automatically). Note that this example assumes you've already
|
automatically). Note that this example assumes you've already
|
||||||
|
@ -420,6 +420,26 @@ node /^precise-dev\d+.*\.slave\.openstack\.org$/ {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node /^precise3k-?\d+.*\.slave\.openstack\.org$/ {
|
||||||
|
include openstack_project
|
||||||
|
include openstack_project::puppet_cron
|
||||||
|
class { 'openstack_project::slave':
|
||||||
|
ssh_key => $openstack_project::jenkins_ssh_key,
|
||||||
|
sysadmins => hiera('sysadmins'),
|
||||||
|
python3 => true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
node /^precise3k-dev\d+.*\.slave\.openstack\.org$/ {
|
||||||
|
include openstack_project
|
||||||
|
include openstack_project::puppet_cron
|
||||||
|
class { 'openstack_project::slave':
|
||||||
|
ssh_key => $openstack_project::jenkins_dev_ssh_key,
|
||||||
|
sysadmins => hiera('sysadmins'),
|
||||||
|
python3 => true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
node /^centos6-?\d+\.slave\.openstack\.org$/ {
|
node /^centos6-?\d+\.slave\.openstack\.org$/ {
|
||||||
include openstack_project
|
include openstack_project
|
||||||
include openstack_project::puppet_cron
|
include openstack_project::puppet_cron
|
||||||
|
Loading…
Reference in New Issue
Block a user