Skip to content

Commit

Permalink
Added type check (causing error with boolean value).
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrobinson3 committed Oct 29, 2014
1 parent 5cec860 commit 64d796f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
false
end
end
if(node[:s3fs_fuse][:bluepill] && File.exists?(File.join(node[:s3fs_fuse][:bluepill][:conf_dir], 's3fs.pill')))
if(node[:s3fs_fuse][:bluepill].kind_of?(Array) && File.exists?(File.join(node[:s3fs_fuse][:bluepill][:conf_dir], 's3fs.pill')))
notifies :stop, 'bluepill_service[s3fs]'
notifies :start, 'bluepill_service[s3fs]'
end
Expand Down

0 comments on commit 64d796f

Please sign in to comment.