class Stacker::Renderer

Defined in:

stacker/renderer.cr

Constant Summary

Log = ::Log.for("renderer", ::Log::Severity::Info)

Log instance used by the log and dump template functions, which are explicit user calls and are therefore never filtered by the per-request verbosity.

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : Context, entrypoint : String, log : ::Log = Log) #

[View source]

Instance Method Detail

def compile(file, data) #

[View source]
def file_exist?(file) #

Check that file designates a pillar entrypoint inside the configured entrypoint directory.

The resolved path is compared to the entrypoint directory so a host name carrying .. cannot reach a file outside of it.


[View source]