summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/pw_hash.rb
AgeCommit message (Collapse)Author
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