Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
puppet-stdlib: tags/4.19.0
puppet: 3.4.3-1ubuntu1.1
os: Ubuntu 14.04
-
Needs Assessment
-
Needs Assessment
Description
puppet-stdlib: tags/4.19.0
puppet: 3.4.3-1ubuntu1.1
os: Ubuntu 14.04
When using pw_hash function from stdlib tag 4.19.0, we are facing this error:
$ puppet apply test.pp
|
Error: uninitialized constant Puppet::Pops at /tmp/test.pp:3 on node puppet.xxx
|
Wrapped exception:
|
uninitialized constant Puppet::Pops
|
Error: uninitialized constant Puppet::Pops at /tmp/test.pp:3 on node puppet.xxx
|
|
Sample code:
$ cat test.pp
|
$var = pw_hash('tutu', 'SHA-512', 'toto')
|
With stdlib 4.18.0, no problem.
Problem seems to be introduced by this commit:
https://github.com/puppetlabs/puppetlabs-stdlib/commit/42d4ea7af9197f77a3062727eb166c719ca6296a
line 31:
if arg.is_a? Puppet::Pops::Types::PSensitiveType::Sensitive
|
seems wrong to me as this type does not exists.