Class: Librarian::Chef::Cli
- Inherits:
-
Librarian::Cli
- Object
- Librarian::Cli
- Librarian::Chef::Cli
- Extended by:
- Particularity
- Defined in:
- lib/librarian/chef/cli.rb
Defined Under Namespace
Modules: Particularity
Instance Method Summary collapse
Methods included from Particularity
Instance Method Details
#init ⇒ Object
20 21 22 |
# File 'lib/librarian/chef/cli.rb', line 20 def init copy_file environment.specfile_name end |
#install ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/librarian/chef/cli.rb', line 31 def install ensure! clean! if ["clean"] if .include?("strip-dot-git") strip_dot_git_val = ["strip-dot-git"] ? "1" : nil environment.config_db.local["install.strip-dot-git"] = strip_dot_git_val end if .include?("path") environment.config_db.local["path"] = ["path"] end resolve! install! end |