diff options
author | Dan Prince <dprince@redhat.com> | 2015-01-09 14:01:31 -0500 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-01-27 09:07:19 -0500 |
commit | e6a88fcc66e1f19a50caa81b3171e74f03756f2e (patch) | |
tree | d0e8f705e7d99218aa8e20fff2afc85ab93c0866 /puppet/overcloud_controller.pp | |
parent | 82de366b75d9782ce7b35fb90e9b2b60d4cff61d (diff) |
Puppet: Switch glance to use a swift backend
Now that we have swift we can switch glance over
to make use of it.
Change-Id: I9513cb63079235337b684aa734af73a0f0cc0afd
Diffstat (limited to 'puppet/overcloud_controller.pp')
-rw-r--r-- | puppet/overcloud_controller.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/overcloud_controller.pp b/puppet/overcloud_controller.pp index b766dc50..20413cc6 100644 --- a/puppet/overcloud_controller.pp +++ b/puppet/overcloud_controller.pp @@ -158,9 +158,12 @@ if hiera('step') >= 2 { require => File['/etc/keystone/ssl/certs'], } - # TODO: swift backend, also notifications, scrubber, etc. + # TODO: notifications, scrubber, etc. include ::glance::api include ::glance::registry + class { 'glance::backend::swift': + swift_store_auth_address => join(['http://', hiera('controller_virtual_ip'), ':5000/v2.0']), + } class { 'nova': rabbit_hosts => [hiera('controller_virtual_ip')], |