fix mysql deploy, does a local vagrant config really need a crazy mysql password
This commit is contained in:
parent
e110d579ed
commit
53670f35ff
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -33,7 +33,7 @@ Vagrant::Config.run do |config|
|
|||||||
# to this Vagrantfile), and adding some recipes and/or roles.
|
# to this Vagrantfile), and adding some recipes and/or roles.
|
||||||
config.vm.provision :chef_solo do |chef|
|
config.vm.provision :chef_solo do |chef|
|
||||||
chef.cookbooks_path = "cookbooks"
|
chef.cookbooks_path = "cookbooks"
|
||||||
# chef.add_recipe "vim"
|
chef.add_recipe "vim"
|
||||||
# chef.add_recipe "zsh"
|
# chef.add_recipe "zsh"
|
||||||
# chef.add_recipe "zlib"
|
# chef.add_recipe "zlib"
|
||||||
# chef.add_recipe "git"
|
# chef.add_recipe "git"
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
include_recipe "mysql::client"
|
include_recipe "mysql::client"
|
||||||
|
|
||||||
# generate all passwords
|
# generate all passwords
|
||||||
node.set_unless['mysql']['server_debian_password'] = secure_password
|
node.set_unless['mysql']['server_debian_password'] = 'password'
|
||||||
node.set_unless['mysql']['server_root_password'] = secure_password
|
node.set_unless['mysql']['server_root_password'] = 'password'
|
||||||
node.set_unless['mysql']['server_repl_password'] = secure_password
|
node.set_unless['mysql']['server_repl_password'] = 'password'
|
||||||
|
|
||||||
if platform?(%w{debian ubuntu})
|
if platform?(%w{debian ubuntu})
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ end
|
|||||||
attribute "wordpress/version",
|
attribute "wordpress/version",
|
||||||
:display_name => "Wordpress download version",
|
:display_name => "Wordpress download version",
|
||||||
:description => "Version of Wordpress to download from the Wordpress site.",
|
:description => "Version of Wordpress to download from the Wordpress site.",
|
||||||
:default => "3.0.4"
|
:default => "latest"
|
||||||
|
|
||||||
attribute "wordpress/checksum",
|
attribute "wordpress/checksum",
|
||||||
:display_name => "Wordpress tarball checksum",
|
:display_name => "Wordpress tarball checksum",
|
||||||
|
Loading…
Reference in New Issue
Block a user