Add number of stub code for future functions.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
Krzysztof Wilczynski 2011-04-30 03:16:12 +01:00
parent 72b23cb2e5
commit b3be789b0d
11 changed files with 135 additions and 0 deletions

12
date.rb Normal file
View file

@ -0,0 +1,12 @@
#
# date.rb
#
module Puppet::Parser::Functions
newfunction(:date, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

15
delete.rb Normal file
View file

@ -0,0 +1,15 @@
#
# delete.rb
#
# TODO(Krzysztof Wilczynski): We need to add support for regular expression ...
# TODO(Krzysztof Wilczynski): Support for strings and hashes too ...
module Puppet::Parser::Functions
newfunction(:delete, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
grep.rb Normal file
View file

@ -0,0 +1,12 @@
#
# grep.rb
#
module Puppet::Parser::Functions
newfunction(:grep, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_float.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_float.rb
#
module Puppet::Parser::Functions
newfunction(:is_float, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_integer.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_integer.rb
#
module Puppet::Parser::Functions
newfunction(:is_integer, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_numeric.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_numeric.rb
#
module Puppet::Parser::Functions
newfunction(:is_numeric, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_valid_domain_name.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_valid_doman_name.rb
#
module Puppet::Parser::Functions
newfunction(:is_valid_doman_name, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_valid_ip_address.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_valid_ip_address.rb
#
module Puppet::Parser::Functions
newfunction(:is_valid_ip_address, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_valid_mac_address.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_valid_mac_address.rb
#
module Puppet::Parser::Functions
newfunction(:is_valid_mac_address, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
is_valid_netmask.rb Normal file
View file

@ -0,0 +1,12 @@
#
# is_valid_netmask.rb
#
module Puppet::Parser::Functions
newfunction(:is_valid_netmask, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :

12
sort.rb Normal file
View file

@ -0,0 +1,12 @@
#
# sort.rb
#
module Puppet::Parser::Functions
newfunction(:sort, :type => :rvalue, :doc => <<-EOS
EOS
) do |arguments|
end
end
# vim: set ts=2 sw=2 et :