Project

General

Profile

Bug #3262

actually create "cache" file to save the time of the last host facts push

Added by Andreas Paul over 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The external_node_v2.rb.erb script with --push-facts will never create a "cache" file under yaml/foreman/ to remember the last time it pushed the host facts to foreman, which will result in all puppetmaster needlessly sending all host facts every time this script is run (with --push-facts parameter).

Calling the cache function after sending the request fixes this, because the check for the mtime of the cache file is already in place.

https://github.com/theforeman/puppet-foreman/pull/118

Associated revisions

Revision 41fa7ebd (diff)
Added by Andreas Paul over 9 years ago

fixes #3262 - actually create "cache" file to save the time of the last host facts push

History

#1 Updated by Dominic Cleal over 9 years ago

  • Project changed from Foreman to Installer
  • Category changed from Importers to Foreman modules
  • Status changed from New to Ready For Testing

#2 Updated by Greg Sutcliffe over 9 years ago

  • Legacy Backlogs Release (now unused) set to 1

#3 Updated by Greg Sutcliffe over 9 years ago

  • Target version deleted (1.3.1)

#4 Updated by Greg Sutcliffe over 9 years ago

  • Target version set to 1.15.0

#5 Updated by Andreas Paul over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset puppet-foreman|commit:41fa7ebdc8760b23de88b70047e56ec858acb051.

Also available in: Atom PDF