puppetlabs / puppetlabs-puppet_agent

Module for managing Puppet-Agent
Apache License 2.0
41 stars 192 forks source link

replace is_function_available with stdlib::has_function #662

Closed jjarokergc closed 1 year ago

jjarokergc commented 1 year ago

The function "is_function_available" has been depreciated and removed from stdlibs [1]. This module fails when using stdlibs v 9.3.0.

This pull request replaces it with ''stdlib::has_function'' and has been tested in Puppet 8 with puppetlabs-stdlib v 9.3.0.

[1] https://www.puppetmodule.info/modules/puppetlabs-stdlib/7.0.1/puppet_functions_ruby3x/is_function_available

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

kenyon commented 1 year ago

Duplicate of #657.

mhashizume commented 1 year ago

Closing as a duplicate of https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/657