Project

General

Profile

Actions

Bug #3262

closed

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

Added by Andreas Paul over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Dominic Cleal over 10 years ago

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

Updated by Greg Sutcliffe over 10 years ago

  • Translation missing: en.field_release set to 1
Actions #3

Updated by Greg Sutcliffe over 10 years ago

  • Target version deleted (1.3.1)
Actions #4

Updated by Greg Sutcliffe over 10 years ago

  • Target version set to 1.15.0
Actions #5

Updated by Andreas Paul over 10 years ago

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

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

Actions

Also available in: Atom PDF