HomePhorge

(#11414) Save/execute changes on versions of Augeas < 0.3.6
3239ab3f7776Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#11414) Save/execute changes on versions of Augeas < 0.3.6

Versions of Augeas prior to 0.3.6 didn't report their version number, so a
fallback of executing changes once in need_to_run? and again in execute_changes
is performed. Otherwise a save is done in need_to_run? and this is re-used in
execute_changes.

The /augeas/events/saved node is used to tell whether the latter optimisation
happened, but the return value of #match wasn't tested correctly (it's an empty
array).

Details

Provenance
Dominic Cleal <dcleal@redhat.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa08370db73c2: Merge pull request #281 from joshcooper/ticket/2.7.x/11408-fact-plugin-sync
Branches
Unknown
Tags
Unknown

Event Timeline

Dominic Cleal <dcleal@redhat.com> committed rPU3239ab3f7776: (#11414) Save/execute changes on versions of Augeas < 0.3.6 (authored by Dominic Cleal <dcleal@redhat.com>).Dec 16 2011, 9:22 PM