diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-20 17:29:35 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-20 17:31:27 -0700 |
commit | 5aa36f2551d83cc845d020e6950e0273f9a79aba (patch) | |
tree | a1fb5796c016ee425bc414e10e624789350f948b /spec/unit/recipe_spec.rb | |
parent | cfbb01cb5648297835941679bc9638d3a823ad5e (diff) | |
download | chef-5aa36f2551d83cc845d020e6950e0273f9a79aba.tar.gz |
Better target mode no-creds errorslcg/better-target-mode-creds-errors
Changes the target mode error in the case of no creds at all to:
```
FATAL: ArgumentError: Credentials file specified for target mode does not exist: '/Users/lamont/.chef/credentials'
```
From:
```
[2019-05-20T17:30:41-07:00] FATAL: NoMethodError: undefined method `[]' for nil:NilClass
```
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/recipe_spec.rb')
0 files changed, 0 insertions, 0 deletions