class KnifeUploader::KnifeConfigParser

Attributes

knife[R]

Public Class Methods

new(knife_conf_path) click to toggle source
# File lib/chef/knife/uploader_base.rb, line 46
def initialize(knife_conf_path)
  @knife = {}
  instance_eval(IO.read(knife_conf_path), knife_conf_path)
end

Public Instance Methods

cookbook_path(path_list) click to toggle source
# File lib/chef/knife/uploader_base.rb, line 51
def cookbook_path(path_list)
  @cookbook_path_list = path_list
end
data_bag_path(path) click to toggle source
# File lib/chef/knife/uploader_base.rb, line 59
def data_bag_path(path)
  @data_bag_path = path
end
get_cookbook_path_list() click to toggle source
# File lib/chef/knife/uploader_base.rb, line 55
def get_cookbook_path_list
  @cookbook_path_list
end
get_data_bag_path() click to toggle source
# File lib/chef/knife/uploader_base.rb, line 63
def get_data_bag_path
  @data_bag_path
end
method_missing(meth, *args, &block) click to toggle source
# File lib/chef/knife/uploader_base.rb, line 67
def method_missing(meth, *args, &block)
  # skip
end