]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Add number of stub code for future functions.
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Sat, 30 Apr 2011 02:16:12 +0000 (03:16 +0100)
committerKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Sat, 30 Apr 2011 02:16:12 +0000 (03:16 +0100)
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
date.rb [new file with mode: 0644]
delete.rb [new file with mode: 0644]
grep.rb [new file with mode: 0644]
is_float.rb [new file with mode: 0644]
is_integer.rb [new file with mode: 0644]
is_numeric.rb [new file with mode: 0644]
is_valid_domain_name.rb [new file with mode: 0644]
is_valid_ip_address.rb [new file with mode: 0644]
is_valid_mac_address.rb [new file with mode: 0644]
is_valid_netmask.rb [new file with mode: 0644]
sort.rb [new file with mode: 0644]

diff --git a/date.rb b/date.rb
new file mode 100644 (file)
index 0000000..ea11265
--- /dev/null
+++ b/date.rb
@@ -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 (file)
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 :
diff --git a/grep.rb b/grep.rb
new file mode 100644 (file)
index 0000000..1663fe7
--- /dev/null
+++ b/grep.rb
@@ -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 (file)
index 0000000..2a5a923
--- /dev/null
@@ -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 (file)
index 0000000..44337f0
--- /dev/null
@@ -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 (file)
index 0000000..7a64091
--- /dev/null
@@ -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 (file)
index 0000000..05d64be
--- /dev/null
@@ -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 (file)
index 0000000..e6b68a8
--- /dev/null
@@ -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 (file)
index 0000000..5e354c9
--- /dev/null
@@ -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 (file)
index 0000000..2aeb374
--- /dev/null
@@ -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 :
diff --git a/sort.rb b/sort.rb
new file mode 100644 (file)
index 0000000..85e5ba0
--- /dev/null
+++ b/sort.rb
@@ -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 :