Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Quickfix secure_password
Browse files Browse the repository at this point in the history
  • Loading branch information
Rud5G committed Apr 3, 2015
1 parent df1797b commit e5265b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e5265b1

Please sign in to comment.