globals task is not idempotent

Bug #1524630 reported by Roman Sokolkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Library (Deprecated)

Bug Description

"globals" task on every run removes and creates /etc/hiera/globals.yaml.

For example, in case noop we'r getting /etc/hiera/globals.yaml REMOVED.

puppet apply --noop /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp

Expected result:
1) grep out_of_sync /var/lib/puppet/state/last_run_summary.yaml gives "out_of_sync: 0"
2) /etc/hiera/globals.yaml will be untouched.

Actual result:
1) grep out_of_sync /var/lib/puppet/state/last_run_summary.yaml gives "out_of_sync: 1"
2) /etc/hiera/globals.yaml REMOVED

Tags: area-library
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel Library Team (fuel-library)
status: New → Confirmed
milestone: none → 8.0
tags: added: area-library
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

That is done so by design, globals should remove and recreate things on each run.

Changed in fuel:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.