diff --git a/recipes/install.rb b/recipes/install.rb index ae48dab..98591ce 100644 --- a/recipes/install.rb +++ b/recipes/install.rb @@ -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