]> git.openstreetmap.org Git - chef.git/commitdiff
Remove unused random_password method
authorTom Hughes <tom@compton.nu>
Sat, 3 Dec 2022 11:45:26 +0000 (11:45 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 3 Dec 2022 11:45:26 +0000 (11:45 +0000)
cookbooks/chef/libraries/random_password.rb [deleted file]

diff --git a/cookbooks/chef/libraries/random_password.rb b/cookbooks/chef/libraries/random_password.rb
deleted file mode 100644 (file)
index 71d8bcf..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-class Chef
-  class Recipe
-    def random_password(length)
-      Array.new(length) do
-        "!\#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~"[rand(91)].chr
-      end.join
-    end
-  end
-end