Bug #3262
actually create "cache" file to save the time of the last host facts push
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.
Associated revisions
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.
fixes #3262 - actually create "cache" file to save the time of the last host facts push