summaryrefslogtreecommitdiff
path: root/plugins/puppet
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2008-02-01 14:11:17 +0000
committerandreas <andreas@immerda.ch>2008-02-01 14:11:17 +0000
commit7562bd4fc36b6a7671095c9e279e4b2fcf41aaa2 (patch)
tree33d9abcf4e3ef0287f99f471bb41d56f65206f49 /plugins/puppet
parent8003e0fc6b32f53d7f5860ebc94f4ad2feac9d2e (diff)
mv
Diffstat (limited to 'plugins/puppet')
-rw-r--r--plugins/puppet/parser/functions/muninport.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/puppet/parser/functions/muninport.rb b/plugins/puppet/parser/functions/muninport.rb
new file mode 100644
index 0000000..d0b5909
--- /dev/null
+++ b/plugins/puppet/parser/functions/muninport.rb
@@ -0,0 +1,7 @@
+# immerda
+module Puppet::Parser::Functions
+ newfunction(:muninport, :type => :rvalue) do |args|
+ args[0]+65400
+ end
+end
+