versuch mit einer function
authorandreas <andreas@immerda.ch>
Fri, 1 Feb 2008 14:01:02 +0000 (14:01 +0000)
committerandreas <andreas@immerda.ch>
Fri, 1 Feb 2008 14:01:02 +0000 (14:01 +0000)
plugins/parser/functions/muninport.rb [new file with mode: 0644]

diff --git a/plugins/parser/functions/muninport.rb b/plugins/parser/functions/muninport.rb
new file mode 100644 (file)
index 0000000..27f96f4
--- /dev/null
@@ -0,0 +1,7 @@
+# immerda 
+module Puppet::Parser::Functions
+    newfunction(:muninport) do |args|
+        args[0]+65400
+    end
+end
+