You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
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 ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 507]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34: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 ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 508]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function,
with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 512]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in `deprecation')
Steps to Reproduce the Problem
add a dependency to this module
configure an interface
Please add this info:
RHEL 7 Kernel 3.10.0
puppet 5.5.17
The relevant Puppet code and eventually Hiera data
metadata.json
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 1.0.0"},
{"name":"puppet/firewalld","version_requirement":">= 1.0.0"},
{"name":"puppet/selinux","version_requirement":">= 1.0.0"},
{"name":"example42/network","version_requirement":">= 1.0.0"}
]
class pegelrelay::configure_shared_network_interface (
) {
Yeah, I've run into this too and I think Puppet 5.5 does not expect the module to be supporting anything below 4.4, but it allows down to 3.0 (not sure why). There's even a comment in manifests/mroute/validate_gw.pp saying We need it to have compatibility with puppet 3.x
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
no warnings
Actual Behavior
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 ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 507]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34: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 ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 508]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in
deprecation')Warning: This method is deprecated, please use the stdlib validate_legacy function,
with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/network/manifests/interface.pp", 512]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:34:in `deprecation')
Steps to Reproduce the Problem
Please add this info:
metadata.json
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 1.0.0"},
{"name":"puppet/firewalld","version_requirement":">= 1.0.0"},
{"name":"puppet/selinux","version_requirement":">= 1.0.0"},
{"name":"example42/network","version_requirement":">= 1.0.0"}
]
class pegelrelay::configure_shared_network_interface (
) {
}
The text was updated successfully, but these errors were encountered: