I am using Chef Solo and trying to install a cookbook for Oh My Zsh! This results in this bothersome error:
Failed to read the private key /etc/chef/client.pem: Errno::ENOENT: No such file or directory - /etc/chef/client.pem
Based on what I gathered, this is being caused because the recipe has this line, which is trying to do a search:
search( :users, "shell:*zsh" ).each do |u|
I haven't found a satisfactory solution on how to fix this.
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?