diff options
Diffstat (limited to 'lib/chef/compliance/fetcher/chef_server.rb')
-rw-r--r-- | lib/chef/compliance/fetcher/chef_server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/compliance/fetcher/chef_server.rb b/lib/chef/compliance/fetcher/chef_server.rb index db56aa82a7..96a2213b69 100644 --- a/lib/chef/compliance/fetcher/chef_server.rb +++ b/lib/chef/compliance/fetcher/chef_server.rb @@ -95,11 +95,11 @@ class Chef def handle_http_error_code(code) case code when /401|403/ - Chef::Log.error "Auth issue: see audit cookbook TROUBLESHOOTING.md" + Chef::Log.error "Auth issue: see the Compliance Phase troubleshooting documentation (http://docs.chef.io/chef_compliance_phase/#troubleshooting)." when /404/ Chef::Log.error "Object does not exist on remote server." when /413/ - Chef::Log.error "You most likely hit the erchef request size in #{ChefUtils::Dist::Server::PRODUCT} that defaults to ~2MB. To increase this limit see audit cookbook TROUBLESHOOTING.md OR https://docs.chef.io/config_rb_server.html" + Chef::Log.error "You most likely hit the erchef request size in #{ChefUtils::Dist::Server::PRODUCT} that defaults to ~2MB. To increase this limit see the Compliance Phase troubleshooting documentation (http://docs.chef.io/chef_compliance_phase/#troubleshooting) or the Chef Infra Server configuration documentation (https://docs.chef.io/server/config_rb_server/)" when /429/ Chef::Log.error "This error typically means the data sent was larger than #{ChefUtils::Dist::Automate::PRODUCT}'s limit (4 MB). Run InSpec locally to identify any controls producing large diffs." end |