HomePhorge

(#15193) Fix StaticCompiler#store_content
94aaf150f62cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#15193) Fix StaticCompiler#store_content

Without this patch the static compiler's store_content method improperly
calls the indirector in a way that produces fatal exceptions preventing
catalog compilation.

These errors take the form of:

NoMethodError: undefined method `find' for
Puppet::FileServing::Content:Class

This patch fixes the problem by sending the messages to the right
places for Puppet 2.7.x and Puppet 3.x

Details

Provenance
Jeff McCune <jeff@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU58f9679cd691: (#15193) Add spec test coverage for static compiler
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff McCune <jeff@puppetlabs.com> committed rPU94aaf150f62c: (#15193) Fix StaticCompiler#store_content (authored by Jeff McCune <jeff@puppetlabs.com>).Aug 30 2012, 1:48 AM