source: other-projects/hathitrust/vagrant-hadoop-cluster/trunk/modules/stdlib/lib/puppet/parser/functions/dig.rb@ 30903

Last change on this file since 30903 was 30903, checked in by davidb, 8 years ago

Vagrant provisioning files for a 4-node Hadoop cluster. See README.txt for more details

File size: 582 bytes
Line 
1#
2# dig.rb
3#
4
5module Puppet::Parser::Functions
6 newfunction(:dig, :type => :rvalue, :doc => <<-EOS
7 DEPRECATED: This function has been replaced in Puppet 4.5.0, please use dig44() for backwards compatibility or use the new version.
8 EOS
9 ) do |arguments|
10 warning("dig() DEPRECATED: This function has been replaced in Puppet 4.5.0, please use dig44() for backwards compatibility or use the new version.")
11 if ! Puppet::Parser::Functions.autoloader.loaded?(:dig44)
12 Puppet::Parser::Functions.autoloader.load(:dig44)
13 end
14 function_dig44(arguments)
15 end
16end
Note: See TracBrowser for help on using the repository browser.