Class: Librarian::Chef::Environment
- Inherits:
-
Environment
- Object
- Environment
- Librarian::Chef::Environment
- Defined in:
- lib/librarian/chef/environment.rb,
lib/librarian/chef/integration/knife.rb
Instance Method Summary collapse
Instance Method Details
#adapter_name ⇒ Object
10 11 12 |
# File 'lib/librarian/chef/environment.rb', line 10 def adapter_name "chef" end |
#adapter_version ⇒ Object
14 15 16 |
# File 'lib/librarian/chef/environment.rb', line 14 def adapter_version VERSION end |
#config_keys ⇒ Object
23 24 25 26 27 28 |
# File 'lib/librarian/chef/environment.rb', line 23 def config_keys super + %w[ install.strip-dot-git path ] end |
#install_path ⇒ Object
18 19 20 21 |
# File 'lib/librarian/chef/environment.rb', line 18 def install_path part = config_db["path"] || "cookbooks" project_path.join(part) end |