This is not so much of a bug report but more a note for search engines or other people stumbling upon the same error.
Puppet Language validation logged 4 errors. Giving up (file: /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp) on node ha.example.net```
You can get more info:
puppet parser validate /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp
Error: The parameter '$bfd_priority' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp, line: 118, column: 30)
Error: The parameter '$checker_priority' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp, line: 119, column: 30)
Error: The parameter '$vrrp_priority' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp, line: 120, column: 30)
Error: The parameter '$max_auto_priority' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/keepalived/manifests/global_defs.pp, line: 129, column: 29)
TLDR: upgrade Puppet agent to version >7.29.1
This is not so much of a bug report but more a note for search engines or other people stumbling upon the same error.
You can get more info:
More info about the issue here : https://github.com/puppetlabs/puppet/pull/9269
You will also be required to either restart the puppet server or:
Thanks @bastelfreak for pointing into the right direction.