title: Chef Solo - Chef::Exceptions::PrivateKeyMissing
body: <p>I am using Chef Solo and trying to install a cookbook for Oh My Zsh! This results in this bothersome error:</p>
  
  <blockquote>
    <p>Failed to read the private key /etc/chef/client.pem: Errno::ENOENT:
    No such file or directory - /etc/chef/client.pem</p>
  </blockquote>
  
  <p>Based on what I gathered, this is being caused because the recipe has this line, which is trying to do a search:</p>
  
  <pre><code>search( :users, "shell:*zsh" ).each do |u|
  </code></pre>
  
  <p>I haven't found a satisfactory solution on how to fix this.</p>
  
  <p>As I am a bit new to Chef, I wonder what I should do? It looks like search operation requires Chef Client, but does this mean if I want to use OMZ, I cannot use Chef Solo?</p>