From e6c24cfcf31e34350af790f70322db85e5259d28 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 25 Oct 2008 20:32:25 +0000 Subject: move function to the better place --- plugins/puppet/parser/functions/mkpassword.rb | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 plugins/puppet/parser/functions/mkpassword.rb diff --git a/plugins/puppet/parser/functions/mkpassword.rb b/plugins/puppet/parser/functions/mkpassword.rb deleted file mode 100644 index c7ba8c0..0000000 --- a/plugins/puppet/parser/functions/mkpassword.rb +++ /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 -- cgit v1.2.3