summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/pw_hash.rb
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2017-03-15 11:13:45 +0000
committerHelen Campbell <helen@puppetlabs.com>2017-03-15 14:37:18 +0000
commit2c138deb4fa9c1d9e1e7b1daa506d85eb3aa1666 (patch)
treed0f06aa6c4730bd90017b1eb1648566da8c93913 /lib/puppet/parser/functions/pw_hash.rb
parenta38c9b736a4fe92a27d15cbbd968031d9589732e (diff)
(FM-6051) Adds comments to warn for UTF8 incompatibility
Diffstat (limited to 'lib/puppet/parser/functions/pw_hash.rb')
-rw-r--r--lib/puppet/parser/functions/pw_hash.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/pw_hash.rb b/lib/puppet/parser/functions/pw_hash.rb
index 41d4223..d99ee5b 100644
--- a/lib/puppet/parser/functions/pw_hash.rb
+++ b/lib/puppet/parser/functions/pw_hash.rb
@@ -1,3 +1,6 @@
+
+# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
+
Puppet::Parser::Functions::newfunction(
:pw_hash,
:type => :rvalue,