puppet classes cache not working right
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