Feature #347

Cache generated external nodes yaml

Added by Paul Kelly over 1 year ago. Updated 8 months ago.

Status:Closed Start:07/12/2010
Priority:Normal Due date:
Assigned to:Ohad Levy % Done:

100%

Category:-
Target version:-
Difficulity:
Votes: 0

Description

To increase resilience the externalnodes function should cache its results between runs and if it is unable to generate a new result then it should return the cached value.

This may not be as useful as it seems because the puppet clients will also run the last valid manifest they received. I know that this is not quite the same but it is quite similar.

Associated revisions

Revision 7a092772ee8f0f7aeebe2653b3d49135e3035a86
Added by Ohad Levy 8 months ago

fixes #347 - Cache generated external nodes yaml

this provides saves by default the yaml output from foreman on your
puppetmasters.

it will default to /var/lib/puppet/foreman directory.

in case of failure/timeout/no reply, it would use the cached version of
the external nodes output.

it also contain the push facts alternative, of pushing a node facts
prior to requesting its external node data.
this is probably the best way to esnure that your foreman instance is
updated while not sending old facts to your foreman server.

History

Updated by Ohad Levy over 1 year ago

  • Target version set to 0.2

Updated by Ohad Levy about 1 year ago

  • Assigned to deleted (Ohad Levy)
  • Backlog set to No

Updated by Ohad Levy about 1 year ago

  • Backlog changed from No to Yes

Updated by Ohad Levy about 1 year ago

  • Assigned to set to Paul Kelly
  • Target version deleted (0.2)

Updated by Ohad Levy 8 months ago

this is mostly done already at https://gist.github.com/1011921.

maybe the caching part is worth merging back into foreman puppet module.

Updated by Ohad Levy 8 months ago

  • Project changed from Foreman to Foreman Installer
  • Category deleted (External Nodes)
  • Assigned to changed from Paul Kelly to Ohad Levy

Updated by Ohad Levy 8 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF