Sha256: b75450dc3f22b843f37106af2da40084a8de46b8a4a314596f4c6d9a707c326a
Contents?: true
Size: 905 Bytes
Versions: 8
Compression:
Stored size: 905 Bytes
Contents
require_relative 'dummy_knife.rb' module Context module Knife class DefaultKnifeContext < Chef::Knife include CommandHelper banner "knife default knife context" deps do end option :context_name, :long => '--context-name VALUE', :boolean => false, :description => "The name of the context we running on" option :context_folder, :long => '--context-path VALUE', :description => "Path of the context" option :organisation_name, :long => '--organisation-name VALUE', :description => "Organisation name of the context" def run if config[:context_name] log "Running on context #{config[:context_name]}, config = #{config.inspect}\n#{name_args}" else error_log self, "Running on context #{config[:context_name]}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems