voxpupuli / puppet-rabbitmq

RabbitMQ Puppet Module
http://forge.puppetlabs.com/puppet/rabbitmq
Apache License 2.0
171 stars 500 forks source link

Module fails on puppet 7.29.0 + puppetserver 7.16.0 #972

Closed renzbeltran closed 9 months ago

renzbeltran commented 9 months ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

  1. Upgrade puppet-agent from 7.28.0 to 7.29.0
  2. Upgrade puppetserver from 7.15.0 to 7.16.0
  3. Run the agent with your rabbitmq configuration

What are you seeing

After upgrading puppet we are receiving an error on running the agent and it was working before.

What behaviour did you expect instead

After the upgrade the agent should ran without any error.

Output log

Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Language validation logged 2 errors. Giving up (file: /etc/puppetlabs/code/modules/rabbitmq/manifests/init.pp) on node sebo-test-1-agent.check24.es

Any additional information you'd like to impart

djmetr commented 9 months ago
2024-02-29T16:08:46.074Z ERROR [qtp537402402-48] [puppetserver] Puppet The parameter '$file_limit' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/rabbitmq/manifests/init.pp, line: 435, column: 88)
2024-02-29T16:08:46.074Z ERROR [qtp537402402-48] [puppetserver] Puppet The parameter '$oom_score_adj' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/modules/rabbitmq/manifests/init.pp, line: 436, column: 24)
2024-02-29T16:08:46.082Z ERROR [qtp537402402-48] [puppetserver] Puppet Language validation logged 2 errors. Giving up
2024-02-29T16:08:46.083Z ERROR [qtp537402402-48] [puppetserver] Puppet Language validation logged 2 errors. Giving up (file: /etc/puppetlabs/code/environments/production/modules/rabbitmq/manifests/init.pp) on node stage.one
2024-02-29T16:08:46.084Z ERROR [qtp537402402-48] [puppetserver] Puppet Server Error: Language validation logged 2 errors. Giving up (file: /etc/puppetlabs/code/environments/production/modules/rabbitmq/manifests/init.pp) on node stage.one
wyardley commented 9 months ago

Is this likely the same as #971 and https://github.com/puppetlabs/puppet/issues/9268?