You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
I created a policy file and put the 'incorrect' path in the cookbook path attribute. I had assumed the path was relative to the root of the chef-repo, but it turns out the path is relative to the location of the policy file it is defined in. I had put the policy file in a sub-directory of the chef-repo and then ran the chef install sitedbaas_website.rb command from the root of the repo. This is the output. It was not very informative or helpful. It should at least show the path that it is testing for. Also there is not much documentation on where we should store policy files.
chef install sitedbaas_website.rb
Building policy sitedbaas_website
Expanded run list: recipe[sitedbaas::default]
Caching Cookbooks...
Installing httpdbaas ~> 0.1.28 from path
Error: Failed to generate Policyfile.lock
Reason: (CookbookOmnifetch::NotACookbook) CookbookOmnifetch::NotACookbook
The text was updated successfully, but these errors were encountered:
I created a policy file and put the 'incorrect' path in the cookbook path attribute. I had assumed the path was relative to the root of the chef-repo, but it turns out the path is relative to the location of the policy file it is defined in. I had put the policy file in a sub-directory of the chef-repo and then ran the
chef install sitedbaas_website.rb
command from the root of the repo. This is the output. It was not very informative or helpful. It should at least show the path that it is testing for. Also there is not much documentation on where we should store policy files.The text was updated successfully, but these errors were encountered: