Skip to content

stdlib function "has_key" is deprecated since stdlib 4.x.x and removed in 9.x.x #32

@pheeef

Description

@pheeef

When installing bzed-dehydrated (1.9) together with stdlib >= 9.0.0 you get the following error

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown function: 'has_key'. (file: /etc/puppetlabs/code/environments/production/modules/dehydrated/manifests/init.pp, line: 238, column: 8) on node <FQDN of Puppetserver>

Since the has_key is deprecated it should be replaced with something modern.

puppetlabs/puppetlabs-stdlib#1319

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions