From: Tom Hughes Date: Sat, 3 Dec 2022 11:45:26 +0000 (+0000) Subject: Remove unused random_password method X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/dc2143cbc5854e68175e6f787cc5ef7064f34d74 Remove unused random_password method --- diff --git a/cookbooks/chef/libraries/random_password.rb b/cookbooks/chef/libraries/random_password.rb deleted file mode 100644 index 71d8bcfed..000000000 --- a/cookbooks/chef/libraries/random_password.rb +++ /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