diff --git a/manifests/image/api.pp b/manifests/image/api.pp index 25784285..34b93b3f 100644 --- a/manifests/image/api.pp +++ b/manifests/image/api.pp @@ -87,6 +87,11 @@ # Example: 'nfsvers=3,noacl' # Defaults to 'defaults' # +# [*pipeline*] +# (optional) Partial name of a pipeline in your paste configuration file with the +# service name removed. +# Defaults to 'keystone'. +# class cloud::image::api( $glance_db_host = '127.0.0.1', $glance_db_user = 'glance', @@ -112,6 +117,7 @@ class cloud::image::api( $filesystem_store_datadir = '/var/lib/glance/images/', $nfs_device = false, $nfs_options = 'defaults', + $pipeline = 'keystone', ) { # Disable twice logging if syslog is enabled @@ -154,6 +160,7 @@ class cloud::image::api( bind_host => $api_eth, bind_port => $ks_glance_api_internal_port, use_syslog => $use_syslog, + pipeline => 'keystone', } # TODO(EmilienM) Disabled for now diff --git a/spec/classes/cloud_image_api_spec.rb b/spec/classes/cloud_image_api_spec.rb index afba74a2..b457cf20 100644 --- a/spec/classes/cloud_image_api_spec.rb +++ b/spec/classes/cloud_image_api_spec.rb @@ -64,6 +64,7 @@ describe 'cloud::image::api' do :bind_host => '10.0.0.1', :bind_port => '9292', :use_syslog => true, + :pipeline => 'keystone', :log_dir => false, :log_file => false )