summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-10-25 20:32:25 +0000
committermh <mh@immerda.ch>2008-10-25 20:32:25 +0000
commite6c24cfcf31e34350af790f70322db85e5259d28 (patch)
treeeb266d387092deef36bc0e1d7561eae79669c699
parent61c653aac054999d26b1f1cda64e87e05bee03cb (diff)
move function to the better place
-rw-r--r--plugins/puppet/parser/functions/mkpassword.rb7
1 files changed, 0 insertions, 7 deletions
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