Skip to content

Commit

Permalink
Merge pull request #131 from artem-sidorenko/braket-syntax
Browse files Browse the repository at this point in the history
Using braket syntax to resolve deprecation message
  • Loading branch information
atomic111 authored Oct 24, 2016
2 parents 65dcc05 + 3e71fd6 commit ddb8528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
default['os-hardening']['packages']['pam_cracklib'] = 'pam_cracklib'
default['os-hardening']['packages']['pam_pwquality'] = 'libpwquality'

if platform_version.to_f < 7
if node['platform_version'].to_f < 7
default['os-hardening']['auth']['pam']['passwdqc']['enable'] = true
default['os-hardening']['auth']['pam']['pwquality']['enable'] = false
else
Expand Down

0 comments on commit ddb8528

Please sign in to comment.