]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tools/libraries/random_password.rb
Move chef extensions/patches to the chef cookbook
[chef.git] / cookbooks / tools / libraries / random_password.rb
diff --git a/cookbooks/tools/libraries/random_password.rb b/cookbooks/tools/libraries/random_password.rb
deleted file mode 100644 (file)
index f8c6674..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-class Chef
-  class Recipe
-    def random_password(length)
-      length.times.collect do
-        "!\#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~"[rand(91)].chr
-      end.join
-    end
-  end
-end