Missing profile results in misleading error message in chef_gate log #144
[RHEL 7.2 on AWS]
[When you run the audit cookbook for a profile that does not exist, the chef_gate log will say
Steps to Reproduce:
[Run the audit cookbook for a profile that doesn't exist, then look at your chef_gate current log.]
[If an error is because of a missing profile, the error message should state that the profile is missing.]
[chef_gate current log will say
In addition we are closely to finalizing the 2.0 version of this cookbook. Could you update the cookbook and verify that this issue still exists with the latest version? Be aware that we changed the syntax for defining profiles https://github.com/chef-cookbooks/audit#configure-node
@chris-rock After I upload the missing profile, audit works fine. Other aspects of authentication also work as expected (such as logging in using the "other provider" link.).
The readme suggests that 2.0 is unreleased. Are you suggesting testing with 2.0? Or the latest currently released version (1.1, apparently)?
We added better error output in https://github.com/chef-cookbooks/audit/pull/208/files#diff-ac3f30b2c66fd1ec1b818a9707a4066dR120 This will highlight that a profile could not be fetched. Therefore I am going to close this issue. Please reopen if this continues to be an issue.