The openstack_project::slave refactor defaulted the Jenkins' SSH pub key to an empty string. This erased the authorized keys file for the Jenkins user on our specialized slaves. Restore that file's contents. Change-Id: I28067017ec2dc36feef9df076099813abf820ee9 Reviewed-on: https://review.openstack.org/31419 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
		
			
				
	
	
		
			27 lines
		
	
	
		
			899 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			899 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
# Copyright 2013  OpenStack Foundation
 | 
						|
#
 | 
						|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
 | 
						|
# not use this file except in compliance with the License. You may obtain
 | 
						|
# a copy of the License at
 | 
						|
#
 | 
						|
#      http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
#
 | 
						|
# Unless required by applicable law or agreed to in writing, software
 | 
						|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 | 
						|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 | 
						|
# License for the specific language governing permissions and limitations
 | 
						|
# under the License.
 | 
						|
#
 | 
						|
# Install a python27 mirror building slave.
 | 
						|
 | 
						|
class openstack_project::mirror27_slave (
 | 
						|
  $jenkins_ssh_public_key,
 | 
						|
  $jenkins_ssh_private_key,
 | 
						|
) {
 | 
						|
 | 
						|
  class { 'openstack_project::mirror_slave':
 | 
						|
    jenkins_ssh_public_key  => $jenkins_ssh_public_key,
 | 
						|
    jenkins_ssh_private_key => $jenkins_ssh_private_key,
 | 
						|
  }
 | 
						|
}
 |