Sha256: b0bbc83c3c2594f5c7149ccf6b9be3a62ff65d7ae21f72cd94d7eb814cca704a

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

require 'mattock'
require 'mattock/template-host'

module LogicalConstruct
  class Provision < Mattock::Tasklib
    include Mattock::ValiseManager
    extend Mattock::ValiseManager

    settings(
      :construct_dir => "/var/logical-construct",
      :attr_source => nil,
      :config_path => nil
    )
    setting :valise
    setting :search_paths, [rel_dir(__FILE__)]

    def resolve_configuration
      self.valise = default_valise(search_paths)
      super
    end

    def define
      task_spine(:preflight, :approve_host, :build_configs, :provision)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logical-construct-0.0.1.localtesting lib/logical-construct/target/provision.rb