Created
July 14, 2010 21:32
-
-
Save seth/476120 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cookbooks/mysql/attributes/server.rb b/cookbooks/mysql/attributes/server.rb | |
index af13a03..4a2dc35 100644 | |
--- a/cookbooks/mysql/attributes/server.rb | |
+++ b/cookbooks/mysql/attributes/server.rb | |
@@ -19,9 +19,9 @@ | |
::Chef::Node.send(:include, Opscode::OpenSSL::Password) | |
-default[:mysql][:server_debian_password] = secure_password | |
-default[:mysql][:server_root_password] = secure_password | |
-default[:mysql][:server_repl_password] = secure_password | |
+set_unless[:mysql][:server_debian_password] = secure_password | |
+set_unless[:mysql][:server_root_password] = secure_password | |
+set_unless[:mysql][:server_repl_password] = secure_password | |
default[:mysql][:bind_address] = ipaddress | |
default[:mysql][:datadir] = "/var/lib/mysql" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment