Project

General

Profile

Actions

Feature #8210

closed

Implemented caching for smart-proxy puppet classes

Added by Stefan Julin about 10 years ago. Updated over 6 years ago.

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

Description

As a user I want the loading of puppet classes to go faster since if you have around 20k puppet modules it takes around 20 minutes to load the puppet classes using the foreman smart-proxy. This attached fix introduce a caching mechanism for puppet classes so the puppet manifests are only loaded if the modified time on the puppet module is newer then the latest cache time. See the three attached rb files.


Files

environment.rb environment.rb 5.36 KB Stefan Julin, 10/30/2014 03:52 AM
class_scanner.rb class_scanner.rb 6.69 KB Stefan Julin, 10/30/2014 03:52 AM
puppet_class.rb puppet_class.rb 1.12 KB Stefan Julin, 10/30/2014 03:52 AM

Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #10941: puppet classes cache not working rightClosed06/26/2015Actions
Actions

Also available in: Atom PDF