Add number of stub code for future functions.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
parent
72b23cb2e5
commit
b3be789b0d
11 changed files with 135 additions and 0 deletions
12
date.rb
Normal file
12
date.rb
Normal 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
15
delete.rb
Normal 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
12
grep.rb
Normal 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
12
is_float.rb
Normal 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
12
is_integer.rb
Normal 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
12
is_numeric.rb
Normal 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
12
is_valid_domain_name.rb
Normal 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
12
is_valid_ip_address.rb
Normal 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
12
is_valid_mac_address.rb
Normal 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
12
is_valid_netmask.rb
Normal 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
12
sort.rb
Normal 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 :
|
Loading…
Reference in a new issue