lib/rubocop/cop/chef/deprecation/user_supports_property.rb in cookstyle-7.7.2 vs lib/rubocop/cop/chef/deprecation/user_supports_property.rb in cookstyle-7.8.0
- old
+ new
@@ -21,11 +21,11 @@
module Deprecations
# The supports property was removed in Chef Infra Client 13 in favor of individual 'manage_home' and 'non_unique' properties.
#
# @example
#
- # # bad
+ # #### incorrect
# user "betty" do
# supports({
# manage_home: true,
# non_unique: true
# })
@@ -33,10 +33,10 @@
#
# user 'betty' do
# supports :manage_home => true
# end
#
- # # good
+ # #### correct
# user "betty" do
# manage_home true
# non_unique true
# end
#