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
Puppet agent version: 6.19.1
puppet server version: 6.7.0
After the upgrade, it gives me an error.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Unacceptable location. The name 'validate_ip_address' is unacceptable in file '/etc/puppetlabs/code/modules/network/manifests/init.pp' (file: /etc/puppetlabs/code/modules/network/manifests/init.pp, line: 240, column: 1)
My usage is only managing one interface on the system using the following code.
Hello,
Puppet agent version: 6.19.1
puppet server version: 6.7.0
After the upgrade, it gives me an error.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Unacceptable location. The name 'validate_ip_address' is unacceptable in file '/etc/puppetlabs/code/modules/network/manifests/init.pp' (file: /etc/puppetlabs/code/modules/network/manifests/init.pp, line: 240, column: 1)
My usage is only managing one interface on the system using the following code.
network::if::static { lookup('interface_name') :
ensure => 'up',
ipaddress => $local_ipaddress,
netmask => '255.255.255.0',
macaddress => $local_macaddress,
mtu => '9000',
ipv6init => false,
}
It works without issue if I remove the following code from network/manifests/init.pp
define validate_ip_address {$name) { fail("$ {name} is not an IP(v6) address.") }
if ! is_ip_address(
} # define validate_ip_address
What could I be doing wrong which is causing this failure, i may be using it wrong.
Please advise.
The text was updated successfully, but these errors were encountered: