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 11 years ago. Updated over 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

Also available in: Atom PDF