Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Puppet Enterprise 2019.0.0 on Ubuntu 18.04
-
Needs Assessment
-
Needs Assessment
Description
Basic Info
Module Version: v7.0.0 or newer
Puppet Version: PE 2019.0.0
OS Name/Version: Ubuntu 18.04
Getting this error from the stdlib pw_hash function on PE 2019.0.0:
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, undefined method `match?` for /\A[a-zA-Z0-9.\/]+\z/:Regexp
|
Did you mean? match
|
This commit appears to be the one that introduced the problem: https://github.com/puppetlabs/puppetlabs-stdlib/commit/a3e82714bf36d4e735052b2aa2cddd78701c2c38#diff-5bd8a0c5c15e94e584338d30d5423a8d5e239785a571b954355192630ae82d28
Using stdlib v6.6.0 works fine. But https://forge.puppet.com/modules/puppetlabs/stdlib shows PE 2019.0.x as supported.
Desired Behavior:
No error.
Actual Behavior:
Error as above.