Move deps & external hooks into a standalone class
Previously the anchors and dependencies that allow external hooks were
all in the main ::heat class. However, if you wanted to include just
::heat::db::mysql, then it would fail, since it assumed the main heat
class was included. This moves all of those resources and relationships
into a new class, ::heat::deps. All of the classes will now include
this class so that the anchors and deps are always evaluated even if
only a portion of the classes are used, and even if ::heat isn't pulled
in.
Reviewed: https:/ /review. openstack. org/237592 /git.openstack. org/cgit/ openstack/ puppet- heat/commit/ ?id=dca9fe942b9 9b9c30e31167e47 36058767738f21
Committed: https:/
Submitter: Jenkins
Branch: master
commit dca9fe942b99b9c 30e31167e473605 8767738f21
Author: Clayton O'Neill <email address hidden>
Date: Tue Oct 20 09:54:12 2015 -0400
Move deps & external hooks into a standalone class
Previously the anchors and dependencies that allow external hooks were :db::mysql, then it would fail, since it assumed the main heat
all in the main ::heat class. However, if you wanted to include just
::heat:
class was included. This moves all of those resources and relationships
into a new class, ::heat::deps. All of the classes will now include
this class so that the anchors and deps are always evaluated even if
only a portion of the classes are used, and even if ::heat isn't pulled
in.
Change-Id: I4297df160a7afa e2b66c1ac76e37d e313fa4fb09
Closes-Bug: #1507934