class Librarian::Chef::Environment

Public Instance Methods

adapter_name() click to toggle source
# File lib/librarian/chef/environment.rb, line 10
def adapter_name
  "chef"
end
adapter_version() click to toggle source
# File lib/librarian/chef/environment.rb, line 14
def adapter_version
  VERSION
end
config_keys() click to toggle source
Calls superclass method
# File lib/librarian/chef/environment.rb, line 23
def config_keys
  super + %w[
    install.strip-dot-git
    path
  ]
end
install_path() click to toggle source
# File lib/librarian/chef/environment.rb, line 18
def install_path
  part = config_db["path"] || "cookbooks"
  project_path.join(part)
end