c7f41fd9b8
Glance "unit" tests previously connected to a remote swift object store, but this test has not run in some time... known since the credentials it was configured to use have been invalid for a while and nobody noticed. These credentials are sensitive--or at least would be if they were accurate--and thus should not be present on Jenkins unit test slaves for security reasons. Change-Id: Ic4341f7d53209af31c37a4207ab9eff00aa48879 Reviewed-on: https://review.openstack.org/25920 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Anita Kuno <akuno@lavabit.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
33 lines
820 B
Puppet
33 lines
820 B
Puppet
# == Class: openstack_project::glancetest
|
|
#
|
|
class openstack_project::glancetest(
|
|
$s3_store_access_key = '',
|
|
$s3_store_secret_key = '',
|
|
$s3_store_bucket = '',
|
|
$s3_store_host = 's3.amazonaws.com',
|
|
) {
|
|
|
|
file { 'jenkinsglanceconfigdir':
|
|
ensure => directory,
|
|
name => '/home/jenkins/.config/glance',
|
|
owner => 'jenkins',
|
|
group => 'jenkins',
|
|
mode => '0700',
|
|
require => Class['::jenkins::jenkinsuser'],
|
|
}
|
|
|
|
file { 'glances3conf':
|
|
ensure => present,
|
|
name => '/home/jenkins/.config/glance/s3.conf',
|
|
owner => 'jenkins',
|
|
group => 'jenkins',
|
|
mode => '0400',
|
|
require => File['jenkinsglanceconfigdir'],
|
|
content => template('openstack_project/glance_s3.conf.erb'),
|
|
}
|
|
|
|
file { '/home/jenkins/.config/glance/swift.conf':
|
|
ensure => absent,
|
|
}
|
|
}
|