system-config/modules/openstack_project/manifests/salt_trigger_slave.pp
Jeremy Stanley 17bc1cfbf6 Correct Jenkins SSH key variable for salt-trigger
Change-Id: Ib3c65ef28f07b382664b0774dc70012db11bd0dd
2013-09-13 17:24:26 +00:00

23 lines
526 B
Puppet

# 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':
ssh_key => $jenkins_ssh_public_key,
}
file { '/etc/sudoers.d/salt-trigger':
ensure => present,
owner => 'root',
group => 'root',
mode => '0440',
source => 'puppet:///modules/openstack_project/salt-trigger.sudoers',
replace => true,
}
}