diff --git a/cookbooks/mini-mon/recipes/mysql_schema.rb b/cookbooks/mini-mon/recipes/mysql_schema.rb index 2ec37b9..db79788 100644 --- a/cookbooks/mini-mon/recipes/mysql_schema.rb +++ b/cookbooks/mini-mon/recipes/mysql_schema.rb @@ -25,17 +25,3 @@ cookbook_file '/var/lib/mysql/addr_validate.sql' do source 'addr_validate.sql' notifies :run, "bash[addr_validate_schema]" end - -# Write out for root a .my.cnf with the user/pass used by the mon-setup program -# Note: The permissions below are quite insecure but this is sufficient for mini-mon -directory '/root' do - action :create - mode 0755 -end -file '/root/.my.cnf' do - action :create_if_missing - owner "root" - group "root" - mode "0644" - content "[client]\nuser=root\npassword=password" -end