Add a Jenkins slave for triggering salt commands

This is the skeleton we'll fill out with any additional
functionality needed by the salt-trigger slave.

Change-Id: I928c2fa4c64e69140b673615a8c18e4eea79e952
This commit is contained in:
Jeremy Stanley 2013-09-12 17:38:19 +00:00
parent 1f6f6574d5
commit ef399b91af
2 changed files with 20 additions and 0 deletions

View File

@ -474,6 +474,13 @@ node 'pypi.slave.openstack.org' {
}
}
node 'salt-trigger.slave.openstack.org' {
include openstack_project
class { 'openstack_project::salt_trigger_slave':
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
}
}
node /^precise-?\d+.*\.slave\.openstack\.org$/ {
include openstack_project
include openstack_project::puppet_cron

View File

@ -0,0 +1,13 @@
# Slave used for automatically triggering commands on the salt master.
#
# == Class: openstack_project::salt_trigger_slave
#
class openstack_project::salt_trigger_slave (
$jenkins_ssh_public_key = ''
) {
class { 'openstack_project::slave':
jenkins_ssh_public_key => $jenkins_ssh_public_key,
}
}