Project

General

Profile

Actions

Bug #10941

closed

puppet classes cache not working right

Added by Alejandro Falcon over 9 years ago. Updated over 6 years ago.

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

Description

Every time I try to import the classes the smart-proxy scans all modules and wont use the cache. I have troubleshoot it and found:

-Cache option is enabled by default
-Cache files are created under /usr/foreman-proxy/cache and the content looks right.
-Cache files are loaded fine by the proxy but this condition fails to match for some reason:

          if lcache[puppetmodule].has_key?(:timestamp) && lcache[puppetmodule][:timestamp] >= mtime


Related issues 3 (0 open3 closed)

Related to Smart Proxy - Feature #8210: Implemented caching for smart-proxy puppet classesClosed10/30/2014Actions
Related to Smart Proxy - Bug #11131: Intermittent Puppet class cache test with timestampsClosedDominic Cleal07/16/2015Actions
Related to Smart Proxy - Bug #11229: Import classes does not find any new classesClosed07/28/2015Actions
Actions

Also available in: Atom PDF