Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added chef_solo_command config option #456

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/kitchen/provisioner/chef_solo.rb
Expand Up @@ -28,6 +28,7 @@ module Provisioner
class ChefSolo < ChefBase

default_config :solo_rb, {}
default_config :chef_solo_command, "chef-solo"

def create_sandbox
super
Expand All @@ -36,7 +37,7 @@ def create_sandbox

def run_command
[
sudo('chef-solo'),
sudo(config[:chef_solo_command]),
"--config #{config[:root_path]}/solo.rb",
"--json-attributes #{config[:root_path]}/dna.json",
config[:log_file] ? "--logfile #{config[:log_file]}" : nil,
Expand Down