Project

General

Profile

Feature #14453

Generate Kafo parser cache during build

Added by Dominic Cleal almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

Kafo should gain a parser cache feature through ticket #14447, which is a YAML file generated at build time containing parsed information from the Puppet manifests and modules.

The kafo-export-params -f parsercache command should be added to the installer's Rakefile and the :parser_cache_path added to the installer configuration.


Related issues

Blocked by Kafo - Feature #14447: Add serialised cache of parsed manifestsClosed2016-04-04
Blocks Foreman - Tracker #8447: Puppet 4 supportClosed2014-11-19

Blocked by Kafo - Bug #14472: kafo-export-params fails on Debian: cannot load such file -- configuration (LoadError)Closed2016-04-05
Blocked by Kafo - Bug #14473: invalid byte sequence in US-ASCII on UTF-8 manifests under C localeClosed2016-04-05
Blocked by Kafo - Bug #14729: Parser cache can't load Puppet::* validation functions when reading cacheRejected2016-04-20

Associated revisions

Revision 23235877 (diff)
Added by Dominic Cleal over 4 years ago

fixes #14453 - build and install Kafo parser cache (#172)

The parser cache will provide support for Puppet in AIO in the near
future with Kafo by not loading Puppet or puppet-strings, and provides
a performance boost to the installer startup. Requires Kafo 0.7.3.

Be careful to preserve mtimes of manifest files to ensure the cache
validity. Extra kafo-export-params search dirs were removed as all
current packages install correctly into /usr/bin or PATH, and it is
now required to build.

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Blocked by Feature #14447: Add serialised cache of parsed manifests added

#2 Updated by Dominic Cleal almost 5 years ago

#3 Updated by Dominic Cleal almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal

#4 Updated by Dominic Cleal almost 5 years ago

  • Blocked by Bug #14472: kafo-export-params fails on Debian: cannot load such file -- configuration (LoadError) added

#5 Updated by Dominic Cleal almost 5 years ago

  • Blocked by Bug #14473: invalid byte sequence in US-ASCII on UTF-8 manifests under C locale added

#6 Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/172 added

#7 Updated by Dominic Cleal over 4 years ago

  • Blocked by Bug #14729: Parser cache can't load Puppet::* validation functions when reading cache added

#8 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/1128 added

#9 Updated by Dominic Cleal over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#10 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF