Sha256: d9ae0620e8fbf304c55f33408b1314bcb1cc577fb364a1e897c43a9a34e1feca

Contents?: true

Size: 698 Bytes

Versions: 42

Compression:

Stored size: 698 Bytes

Contents

# frozen_string_literal: true

require 'bolt/error'

module PlanExecutor
  class Applicator
    def initialize(inventory, executor, config)
      @inventory = inventory
      @executor = executor
      @config = config
    end

    def raise_not_implemented(feature)
      raise Bolt::Error.new("#{feature} not implemented for plan executor service.",
                            'bolt.plan-executor/not-implemented')
    end

    def apply(_args, _apply_body, _scope)
      raise_not_implemented("apply")
    end

    def build_plugin_tarball
      raise_not_implemented("build_plugin_tarball")
    end

    def custom_facts_task
      raise_not_implemented('custom_facts_task')
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
bolt-1.43.0 lib/plan_executor/applicator.rb
bolt-1.42.0 lib/plan_executor/applicator.rb
bolt-1.41.0 lib/plan_executor/applicator.rb
bolt-1.40.0 lib/plan_executor/applicator.rb
bolt-1.39.0 lib/plan_executor/applicator.rb
bolt-1.38.0 lib/plan_executor/applicator.rb
bolt-1.37.0 lib/plan_executor/applicator.rb
bolt-1.36.0 lib/plan_executor/applicator.rb
bolt-1.35.0 lib/plan_executor/applicator.rb
bolt-1.34.0 lib/plan_executor/applicator.rb
bolt-1.33.0 lib/plan_executor/applicator.rb
bolt-1.32.0 lib/plan_executor/applicator.rb
bolt-1.31.1 lib/plan_executor/applicator.rb
bolt-1.31.0 lib/plan_executor/applicator.rb
bolt-1.30.1 lib/plan_executor/applicator.rb
bolt-1.30.0 lib/plan_executor/applicator.rb
bolt-1.29.1 lib/plan_executor/applicator.rb
bolt-1.29.0 lib/plan_executor/applicator.rb
bolt-1.28.0 lib/plan_executor/applicator.rb
bolt-1.27.1 lib/plan_executor/applicator.rb