Skip to main content

Deprecation: Supports metaproperty (CHEF-8)

The user resource previously allowed a cookbook author to set policy for the resource in two ways. The supports metaproperty, which is now deprecated, enabled the manage_home and non_unique properties to be set.

The supports metaproperty was deprecated in Chef Infra Client 12.14 and will be removed in Chef Infra Client 13.

Example

user 'betty' do
  supports({
    manage_home: true,
    non_unique: true,
  })
end

Remediation

Make the manage_home and non_unique settings properties rather than parts of the supports hash.

user 'betty' do
  manage_home true
  non_unique true
end
Edit this page on GitHub

Thank you for your feedback!

×











Search Results