-
-
Notifications
You must be signed in to change notification settings - Fork 144
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 7.29
- Ruby: all
- Distribution: all
- Module version: all (up to 6.0.0)
How to reproduce (e.g Puppet code you use)
Upgrade puppet agent to the latest version (7.29 or 8.5)
and use this module
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, The parameter '$pool_max_wait' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: /etc/puppetlabs/code/environments/production/external-modules/jira/manifests/init.pp, line: 333, column: 25) (file: /etc/puppetlabs/code/environments/production/manifests/site.pp, line: 3076) on node XXXX
What behaviour did you expect instead
successfull puppet run
Any additional information you'd like to impart
This is the offending line
Line 333 in b99c315
Optional[Integer[-1]] $pool_max_wait = undef, |
It is caused by a "bug" inside of puppet
puppetlabs/puppet#9268
The current Integer min/max setting of -1 for pool_max_wait does not seem very useful anyhow, so perhaps better to remove the -1, and replace it with 0 like the other parameters