Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/soloist/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def as_solo_rb
file_cache_path "#{chef_cache_path}"
cookbook_path #{cookbook_paths.inspect}
json_attribs "#{node_json_path}"
ohai.optional_plugins = [ :Passwd ] if ohai.respond_to?(:optional_plugins)
SOLO_RB
end

Expand Down
1 change: 1 addition & 0 deletions spec/lib/soloist/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

it { should include 'file_cache_path "/var/chef/cache"' }
it { should include %(json_attribs "#{config.node_json_path}") }
it { should include 'ohai.optional_plugins = [ :Passwd ] if ohai.respond_to?(:optional_plugins)' }
end

describe "#cookbook_paths" do
Expand Down