commit d64e9876478f74f753cd53447beba04d94b2925b
Author: Risto Laurikainen <email address hidden>
Date: Wed Feb 18 14:14:17 2015 +0000
Fix catalog compilation when not configuring endpoint
Previously when you set $configure_endpoint to false and did not have a
keystone_endpoint resource with the same name as is defined by
glance::keystone::auth, the catalog would not be compiled. This was
because a relationship was being established where one resource in the
relationship didn't exist.
This changes this so that the relationship involving the Keystone
endpoint is only defined if $configure_endpoint is set to true.
Also, the test for when $configure_endpoint is false was set to check
for an endpoint that doesn't get created even if $configure_endpoint is
true. Fixed so that it checks for an endpoint that has the correct name
(the same as when using the default values to call the class).
Change-Id: I6631a656a888d0df7ab173705bea0598bd2b2f58
Closes-Bug: 1368686
(cherry-picked from commit ee0549f15dd6b9442b559ca363b934b60588b7e2)
Reviewed: https:/ /review. openstack. org/187335 /git.openstack. org/cgit/ stackforge/ puppet- glance/ commit/ ?id=d64e9876478 f74f753cd53447b eba04d94b2925b
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit d64e9876478f74f 753cd53447beba0 4d94b2925b
Author: Risto Laurikainen <email address hidden>
Date: Wed Feb 18 14:14:17 2015 +0000
Fix catalog compilation when not configuring endpoint
Previously when you set $configure_endpoint to false and did not have a endpoint resource with the same name as is defined by :keystone: :auth, the catalog would not be compiled. This was
keystone_
glance:
because a relationship was being established where one resource in the
relationship didn't exist.
This changes this so that the relationship involving the Keystone
endpoint is only defined if $configure_endpoint is set to true.
Also, the test for when $configure_endpoint is false was set to check
for an endpoint that doesn't get created even if $configure_endpoint is
true. Fixed so that it checks for an endpoint that has the correct name
(the same as when using the default values to call the class).
Change-Id: I6631a656a888d0 df7ab173705bea0 598bd2b2f58 42b559ca363b934 b60588b7e2)
Closes-Bug: 1368686
(cherry-picked from commit ee0549f15dd6b94