Add glance config files for func testing.

Adds config stanzas for glance files needed for functional testing
against s3 and swift.

The files themselves are not present in the repo because they hold
credentials.

Addresses bug 914430.

Change-Id: I35345ecd24e2f755cd492863d6eec74593c9d3b9
This commit is contained in:
James E. Blair 2012-01-10 12:58:00 -08:00
parent e90a1b76d7
commit 7aa7ea88a2

View File

@ -170,4 +170,37 @@ define jenkinsuser($ensure = present) {
require => File['jenkinshome'], require => File['jenkinshome'],
} }
file { 'jenkinsglanceconfigdir':
name => '/home/jenkins/.config/glance',
owner => 'jenkins',
group => 'jenkins',
mode => 700,
ensure => 'directory',
require => File['jenkinsconfigdir'],
}
file { 'glances3conf':
name => '/home/jenkins/.config/glance/s3.conf',
owner => 'jenkins',
group => 'jenkins',
mode => 400,
ensure => 'present',
require => File['jenkinsglanceconfigdir'],
source => [
"puppet:///modules/jenkins_slave/glance_s3.conf",
],
}
file { 'glanceswiftconf':
name => '/home/jenkins/.config/glance/swift.conf',
owner => 'jenkins',
group => 'jenkins',
mode => 400,
ensure => 'present',
require => File['jenkinsglanceconfigdir'],
source => [
"puppet:///modules/jenkins_slave/glance_swift.conf",
],
}
} }