diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 03:16:12 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 03:16:12 +0100 |
commit | b3be789b0da179e1011323e95468d3a1f2fd5083 (patch) | |
tree | 391430a1e66336851b5eb952f6903cbaeb6d6868 | |
parent | 72b23cb2e5fba6241e438e2088cd310865d4457f (diff) | |
download | puppet-stdlib-b3be789b0da179e1011323e95468d3a1f2fd5083.tar.gz puppet-stdlib-b3be789b0da179e1011323e95468d3a1f2fd5083.tar.bz2 |
Add number of stub code for future functions.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
-rw-r--r-- | date.rb | 12 | ||||
-rw-r--r-- | delete.rb | 15 | ||||
-rw-r--r-- | grep.rb | 12 | ||||
-rw-r--r-- | is_float.rb | 12 | ||||
-rw-r--r-- | is_integer.rb | 12 | ||||
-rw-r--r-- | is_numeric.rb | 12 | ||||
-rw-r--r-- | is_valid_domain_name.rb | 12 | ||||
-rw-r--r-- | is_valid_ip_address.rb | 12 | ||||
-rw-r--r-- | is_valid_mac_address.rb | 12 | ||||
-rw-r--r-- | is_valid_netmask.rb | 12 | ||||
-rw-r--r-- | sort.rb | 12 |
11 files changed, 135 insertions, 0 deletions
@@ -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 : diff --git a/delete.rb b/delete.rb new file mode 100644 index 0000000..b8376d1 --- /dev/null +++ b/delete.rb @@ -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 : @@ -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 : diff --git a/is_float.rb b/is_float.rb new file mode 100644 index 0000000..2a5a923 --- /dev/null +++ b/is_float.rb @@ -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 : diff --git a/is_integer.rb b/is_integer.rb new file mode 100644 index 0000000..44337f0 --- /dev/null +++ b/is_integer.rb @@ -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 : diff --git a/is_numeric.rb b/is_numeric.rb new file mode 100644 index 0000000..7a64091 --- /dev/null +++ b/is_numeric.rb @@ -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 : diff --git a/is_valid_domain_name.rb b/is_valid_domain_name.rb new file mode 100644 index 0000000..05d64be --- /dev/null +++ b/is_valid_domain_name.rb @@ -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 : diff --git a/is_valid_ip_address.rb b/is_valid_ip_address.rb new file mode 100644 index 0000000..e6b68a8 --- /dev/null +++ b/is_valid_ip_address.rb @@ -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 : diff --git a/is_valid_mac_address.rb b/is_valid_mac_address.rb new file mode 100644 index 0000000..5e354c9 --- /dev/null +++ b/is_valid_mac_address.rb @@ -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 : diff --git a/is_valid_netmask.rb b/is_valid_netmask.rb new file mode 100644 index 0000000..2aeb374 --- /dev/null +++ b/is_valid_netmask.rb @@ -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 : @@ -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 : |