move function to the better place
authormh <mh@immerda.ch>
Sat, 25 Oct 2008 20:32:25 +0000 (20:32 +0000)
committermh <mh@immerda.ch>
Sat, 25 Oct 2008 20:32:25 +0000 (20:32 +0000)
plugins/puppet/parser/functions/mkpassword.rb [deleted file]

diff --git a/plugins/puppet/parser/functions/mkpassword.rb b/plugins/puppet/parser/functions/mkpassword.rb
deleted file mode 100644 (file)
index c7ba8c0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-## mkpasswd("password", "12345678")
-## needs an 8-char salt *always*
-module Puppet::Parser::Functions
-    newfunction(:mkpasswd, :type => :rvalue) do |args|
-        %x{/usr/bin/mkpasswd -H MD5 #{args[0]} #{args[1]}}.chomp
-    end
-end