This repository was archived by the owner on Jul 14, 2021. It is now read-only.
Policyfile can normalize run list to an invalid value #625
Labels
Type: Bug
Doesn't work as expected.
I had a policyfile with the following:
That is incorrect because it should have two colons instead of one (i.e., it should be
recipe[cia_infra::base]
). If you runchef install
with this, it normalizes the run list item to"recipe[cia_infra:base::default]"
which the server will reject, with a curt error message:Probably the best thing to do is to copy the server's validation and run that against the normalized run list, though this specific problem can be fixed by ensuring the cookbook name doesn't contain a colon.
The text was updated successfully, but these errors were encountered: