summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/pw_hash.rb
AgeCommit message (Collapse)Author
2017-08-28(MODULES-5546) add check for pw_hashEric Putnam
Older versions of Puppet end up choking on the sensitive data type check in the pw_hash function added in 42d4ea7af9197f77a3062727eb166c719ca6296a. this adds a check for the Sensitive class and then the type of the arg, so that if the class has not been declared, it will just move on.
2017-07-18(MODULES-4908) adds support for sensitive data type to pw_hashEric Putnam
Also includes a small fix to integer_spec so tests pass.
2017-03-15(FM-6051) Adds comments to warn for UTF8 incompatibilityHelen Campbell
2015-05-05pw_hash: Fix functionality on JRuby < 1.7.17Eli Young
The previous change to this function broke it on JRuby before 1.7.17 by attempting to use a variable that wasn't defined (`salt`). To fix this, define `salt` ahead of time and use that instead of building the salt later. cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#discussion_r29718588
2015-05-05pw_hash: avoid ruby magic when running on javaDavid Schmitt
2015-04-05(MODULES-1737) Add pw_hash() functionEli Young