Sha256: 4a0c3d0a2036de2f1de510ca27e186d827371a3bd7423b7f0d9a0b7118f58a4e
Contents?: true
Size: 571 Bytes
Versions: 14
Compression:
Stored size: 571 Bytes
Contents
module Climatic module ConfigLayers class ProvidedConfigFileLayer < SuperStack::Layer def managed if manager[:'config-file'] if File.readable? manager[:'config-file'] @file_name = manager[:'config-file'] self.merge_policy = SuperStack::MergePolicies::OverridePolicy if manager[:'config-override'] end end end private def config_filepath File.expand_path File.join('..', '..', '..', '..', 'etc', 'default_cmd_line_options.yml'), __FILE__ end end end end
Version data entries
14 entries across 14 versions & 1 rubygems