Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings #28

Closed
Kriechi opened this issue Apr 17, 2017 · 1 comment
Closed

Deprecation warnings #28

Kriechi opened this issue Apr 17, 2017 · 1 comment

Comments

@Kriechi
Copy link

Kriechi commented Apr 17, 2017

I'm getting the following deprecation warnings when running Puppet 4.10 and puppet-fail2ban 1.3.4:

Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at [".../fail2ban/manifests/init.pp", 40]
   (at .../stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at [".../fail2ban/manifests/init.pp", 41]
   (at .../stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README. at [".../fail2ban/manifests/init.pp", 44]
   (at .../stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at [".../fail2ban/manifests/init.pp", 45]
   (at .../stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at [".../fail2ban/manifests/init.pp", 60]
   (at .../stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: The function 'hiera_hash' is deprecated in favor of using 'lookup'. See https://docs.puppet.com/puppet/4.10/reference/deprecated_language.html
   (file & line not available)

Looks like it is time to upgrade a few things?

@dhoppe
Copy link
Member

dhoppe commented Dec 5, 2019

This has been solved by #110

@dhoppe dhoppe closed this as completed Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants