Make puppet-applying *Post resources depend on hieradata
authorSteven Hardy <shardy@redhat.com>
Fri, 12 Jun 2015 14:43:30 +0000 (15:43 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 16 Jun 2015 08:12:09 +0000 (04:12 -0400)
commitec3137dc6ec6ff4871125ac2802aefe3c2089805
tree08e91e2c6f3002baa610af74f2762d32d53b980a
parent48d07db384a3e8a36a2a92e95ef3ad4ed5c6071e
Make puppet-applying *Post resources depend on hieradata

When you do a stack-update which affects, e.g ControllerDeployment
such that some value in hieradata is updated (for example changing
the "Debug" parameter to True), we only write the hieradata file and
don't reapply the manifests.

So we introduce a dependency on the deploy_stdout values from all
hieradata applying configs, such that the manifests will be re-applied
on update if the data is changed.

This requires https://review.openstack.org/#/c/190282/ so that
99-refresh-completed will return the derived config ID as part of the
deploy_stdout payload.

Closes-Bug: #1463092
Change-Id: I1175248c3236d0c42e37d062afce550efce8aadc
21 files changed:
ceph-storage-post.yaml
ceph-storage.yaml
cinder-storage-post.yaml
cinder-storage.yaml
compute-post.yaml
compute.yaml
controller-post.yaml
controller.yaml
overcloud-without-mergepy.yaml
puppet/ceph-storage-post-puppet.yaml
puppet/ceph-storage-puppet.yaml
puppet/cinder-storage-post.yaml
puppet/cinder-storage-puppet.yaml
puppet/compute-post-puppet.yaml
puppet/compute-puppet.yaml
puppet/controller-post-puppet.yaml
puppet/controller-puppet.yaml
puppet/swift-storage-post.yaml
puppet/swift-storage-puppet.yaml
swift-storage-post.yaml
swift-storage.yaml