summaryrefslogtreecommitdiff
path: root/plugins/puppet
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 14:11:17 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 14:11:17 +0000
commitf99fa21bdf280930ddd0ef8304d06b77a785a1b4 (patch)
tree33d9abcf4e3ef0287f99f471bb41d56f65206f49 /plugins/puppet
parent4e3bd787f5cf56ed6bba54910cffcfff5c6f4ef3 (diff)
mv
git-svn-id: https://svn/ipuppet/trunk/modules/munin@675 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
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
+