Skip to content

Commit

Permalink
let inspec set the default attribute for chef node attributes (#283)
Browse files Browse the repository at this point in the history
Prevents #282 with InSpec >= 1.38.4

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
  • Loading branch information
arlimus authored and adamleff committed Sep 22, 2017
1 parent 4ca2bc4 commit ebfefae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -541,7 +541,7 @@ node.override['audit']['chef_node_attribute_enabled'] = true
... and then use it in your profile:

```ruby
chef_node = attribute('chef_node', description: 'Chef Node', default: {})
chef_node = attribute('chef_node', description: 'Chef Node')

control 'no-password-auth-in-prod' do
title 'No Password Authentication in Production'
Expand Down

0 comments on commit ebfefae

Please sign in to comment.