From e5265b19845324fa104087801b305721db5ece01 Mon Sep 17 00:00:00 2001 From: Rudger Gravestein Date: Fri, 3 Apr 2015 14:21:47 +0200 Subject: [PATCH] Quickfix secure_password --- recipes/database.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/database.rb b/recipes/database.rb index b4f2c5f..fb7242d 100644 --- a/recipes/database.rb +++ b/recipes/database.rb @@ -18,7 +18,8 @@ # # need for secure_password -::Chef::Node.send(:include, Opscode::OpenSSL::Password) +Chef::Node.send(:include, Opscode::OpenSSL::Password) +Chef::Recipe.send(:include, Opscode::OpenSSL::Password) node.set_unless['mysql']['server_root_password'] = secure_password node.save unless Chef::Config[:solo]