Triggering puppet runs with config_identifier is error prone and complicates templates
Bug #1505430 reported by
Steve Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Dan Prince |
Bug Description
As hieradata config happens in more places its going to get harder to propagate config_identifier back to the deployment which triggers puppet.
One possible solution would be to stop tracking this dependency in the templates, and instead enhance 40-hiera-datafiles to indicate that the puppet should be reapplied.
One possible implementation of this could:
- maintain a file of sha256sum /etc/puppet/
- after writing out hieradata, compare previous sha256sum with current
- if the sha256sum has changed, delete any /var/run/
- 55-heat-config will run as normal, and the puppet apply will be re-executed
Changed in tripleo: | |
assignee: | nobody → Steve Baker (steve-stevebaker) |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not going to self-triage this as I'd like some feedback on the approach