bin/hiera in hiera-1.3.3 vs bin/hiera in hiera-1.3.4
- old
+ new
@@ -1,6 +1,10 @@
#!/usr/bin/env ruby
+# For security reasons, ensure that '.' is not on the load path
+# This is primarily for 1.8.7 since 1.9.2+ doesn't put '.' on the load path
+$LOAD_PATH.delete '.'
+
# CLI client for Hiera.
#
# To lookup the 'release' key for a node given Puppet YAML facts:
#
# $ hiera release 'rel/%{location}' --yaml some.node.yaml