sgnl05 / sgnl05-sssd

Puppet module for SSSD
https://forge.puppet.com/sgnl05/sssd
GNU General Public License v3.0
17 stars 76 forks source link

data_provider hiera in metadata.json deprecated in puppet >= 4 #58

Closed ytra closed 6 years ago

ytra commented 6 years ago

Warning: Defining "data_provider": "hiera" in metadata.json is deprecated. It is ignored since a 'hiera.yaml' with version >= 5 is present (in /etc/puppetlabs/code/environments/production/modules/sssd/metadata.json)

Removal of the data_provider on line 16 of metadata.json is the only thing that needs to be done

ghoneycutt commented 6 years ago

Thank you! Where do you see this warning?

mUbsta commented 6 years ago

As per the error this warning occurs when hiera.yaml is set to 5 (or above).

See https://puppet.com/docs/puppet/5.3/modules_metadata.html#deprecated-keys

ghoneycutt commented 6 years ago

Thanks @mUbsta

Submitting a fix for this in PR #61

ghoneycutt commented 6 years ago

Released in 2.2.2