diff --git a/fixtures/scenario002.pp b/fixtures/scenario002.pp index ce544068b..d8a68eb20 100644 --- a/fixtures/scenario002.pp +++ b/fixtures/scenario002.pp @@ -96,8 +96,9 @@ class { 'openstack_integration::gnocchi': } class { 'openstack_integration::horizon': - cache_backend => $django_cache_backend, - ironic_enabled => true + cache_backend => $django_cache_backend, + cinder_backup_enabled => true, + ironic_enabled => true } class { 'openstack_integration::tempest': diff --git a/manifests/horizon.pp b/manifests/horizon.pp index 3849f67fa..60c9b670d 100644 --- a/manifests/horizon.pp +++ b/manifests/horizon.pp @@ -4,6 +4,10 @@ # (optional) The django cache backend # Defaults to 'memcached'. # +# [*cinder_backup_enabled*] +# (optional) Flag to enable cinder-backup panel. +# Defaults to false +# # [*heat_enabled*] # (optional) Flag to enable heat dashboard # Defaults to false. @@ -21,11 +25,12 @@ # Defaults to false. # class openstack_integration::horizon ( - $cache_backend = 'memcached', - $heat_enabled = false, - $manila_enabled = false, - $ironic_enabled = false, - $octavia_enabled = false, + $cache_backend = 'memcached', + $cinder_backup_enabled = false, + $heat_enabled = false, + $manila_enabled = false, + $ironic_enabled = false, + $octavia_enabled = false, ) { include openstack_integration::config @@ -76,6 +81,9 @@ class openstack_integration::horizon ( wsgi_processes => 2, keystone_url => $::openstack_integration::config::keystone_auth_uri, log_level => 'DEBUG', + cinder_options => { + 'enable_backup' => $cinder_backup_enabled + }, } # TODO(tkajinam) Debian/Ubuntu package does not install the policy files