# == Class: openstack_project::glancetest # class openstack_project::glancetest( $s3_store_access_key = '', $s3_store_secret_key = '', $s3_store_bucket = '', $swift_store_user = '', $swift_store_key = '', $swift_store_container = '', $s3_store_host = 's3.amazonaws.com', $swift_store_auth_address = 'auth.api.rackspacecloud.com/v1.0/' ) { 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 { 'glanceswiftconf': ensure => present, name => '/home/jenkins/.config/glance/swift.conf', owner => 'jenkins', group => 'jenkins', mode => '0400', require => File['jenkinsglanceconfigdir'], content => template('openstack_project/glance_swift.conf.erb'), } }