cloud-toaster 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/LICENSE +202 -0
- data/README.md +54 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/bin/strace-4.8_patched/strace-i686 +0 -0
- data/bin/strace-4.8_patched/strace-x86_64 +0 -0
- data/bin/toaster +74 -0
- data/chef/cookbooks/chef-solo-search/CHANGELOG +16 -0
- data/chef/cookbooks/chef-solo-search/Gemfile +8 -0
- data/chef/cookbooks/chef-solo-search/LICENSE +202 -0
- data/chef/cookbooks/chef-solo-search/NOTICE +18 -0
- data/chef/cookbooks/chef-solo-search/README.md +143 -0
- data/chef/cookbooks/chef-solo-search/Rakefile +10 -0
- data/chef/cookbooks/chef-solo-search/libraries/search/overrides.rb +100 -0
- data/chef/cookbooks/chef-solo-search/libraries/search/parser.rb +222 -0
- data/chef/cookbooks/chef-solo-search/libraries/search.rb +75 -0
- data/chef/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene.treetop +150 -0
- data/chef/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb +285 -0
- data/chef/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/query_transform.rb +65 -0
- data/chef/cookbooks/chef-solo-search/metadata.rb +11 -0
- data/chef/cookbooks/chef-solo-search/recipes/default.rb +3 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/node/alpha.json +10 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/node/beta.json +10 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/node/without_json_class.json +7 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/users/jerry.json +8 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/users/lea.json +10 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/users/mike.json +13 -0
- data/chef/cookbooks/chef-solo-search/tests/data/data_bags/users/tom.json +10 -0
- data/chef/cookbooks/chef-solo-search/tests/gemfiles/Gemfile.10 +4 -0
- data/chef/cookbooks/chef-solo-search/tests/gemfiles/Gemfile.11 +5 -0
- data/chef/cookbooks/chef-solo-search/tests/test_data_bags.rb +45 -0
- data/chef/cookbooks/chef-solo-search/tests/test_search.rb +244 -0
- data/chef/cookbooks/lxc/attributes/create_lxc.rb +8 -0
- data/chef/cookbooks/lxc/attributes/general.rb +15 -0
- data/chef/cookbooks/lxc/attributes/init_bare_os.rb +15 -0
- data/chef/cookbooks/lxc/attributes/init_proto.rb +18 -0
- data/chef/cookbooks/lxc/attributes/install_ruby.rb +51 -0
- data/chef/cookbooks/lxc/attributes/mount_volume.rb +11 -0
- data/chef/cookbooks/lxc/attributes/setup_host.rb +9 -0
- data/chef/cookbooks/lxc/attributes/setup_proxy.rb +3 -0
- data/chef/cookbooks/lxc/attributes/start_lxc.rb +11 -0
- data/chef/cookbooks/lxc/attributes/stop_lxc.rb +3 -0
- data/chef/cookbooks/lxc/files/install.chef.sh +78 -0
- data/chef/cookbooks/lxc/metadata.json +6 -0
- data/chef/cookbooks/lxc/recipes/create_lxc.rb +106 -0
- data/chef/cookbooks/lxc/recipes/init_bare_os.rb +82 -0
- data/chef/cookbooks/lxc/recipes/init_proto.rb +417 -0
- data/chef/cookbooks/lxc/recipes/install_docker.rb +61 -0
- data/chef/cookbooks/lxc/recipes/install_ruby.rb +28 -0
- data/chef/cookbooks/lxc/recipes/mount_volume.rb +63 -0
- data/chef/cookbooks/lxc/recipes/setup_database.rb +22 -0
- data/chef/cookbooks/lxc/recipes/setup_host.rb +179 -0
- data/chef/cookbooks/lxc/recipes/setup_proxy.rb +157 -0
- data/chef/cookbooks/lxc/recipes/start_lxc.rb +180 -0
- data/chef/cookbooks/lxc/recipes/stop_lxc.rb +86 -0
- data/chef/cookbooks/mysql/CHANGELOG.md +391 -0
- data/chef/cookbooks/mysql/README.md +211 -0
- data/chef/cookbooks/mysql/attributes/default.rb +22 -0
- data/chef/cookbooks/mysql/libraries/helpers.rb +277 -0
- data/chef/cookbooks/mysql/libraries/matchers.rb +17 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client.rb +10 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_debian.rb +37 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_fedora.rb +38 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_freebsd.rb +33 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_omnios.rb +41 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_rhel.rb +42 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_smartos.rb +33 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_suse.rb +37 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_client_ubuntu.rb +37 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service.rb +10 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_debian.rb +193 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_fedora.rb +157 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_freebsd.rb +151 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_omnios.rb +232 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_rhel.rb +318 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_smartos.rb +216 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_suse.rb +170 -0
- data/chef/cookbooks/mysql/libraries/provider_mysql_service_ubuntu.rb +218 -0
- data/chef/cookbooks/mysql/libraries/resource_mysql_client.rb +11 -0
- data/chef/cookbooks/mysql/libraries/resource_mysql_service.rb +194 -0
- data/chef/cookbooks/mysql/metadata.json +40 -0
- data/chef/cookbooks/mysql/metadata.rb +20 -0
- data/chef/cookbooks/mysql/recipes/client.rb +22 -0
- data/chef/cookbooks/mysql/recipes/server.rb +33 -0
- data/chef/cookbooks/mysql/recipes/server_deprecated.rb +23 -0
- data/chef/cookbooks/mysql/templates/default/5.0/my.cnf.erb +38 -0
- data/chef/cookbooks/mysql/templates/default/5.1/my.cnf.erb +38 -0
- data/chef/cookbooks/mysql/templates/default/5.5/my.cnf.erb +38 -0
- data/chef/cookbooks/mysql/templates/default/5.6/my.cnf.erb +39 -0
- data/chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb +40 -0
- data/chef/cookbooks/mysql/templates/default/debian/debian.cnf.erb +12 -0
- data/chef/cookbooks/mysql/templates/default/debian/mysql-server.seed.erb +10 -0
- data/chef/cookbooks/mysql/templates/default/deprecated/my.cnf.erb +374 -0
- data/chef/cookbooks/mysql/templates/default/grants/grants.sql.erb +27 -0
- data/chef/cookbooks/mysql/templates/default/omnios/mysql.xml.erb +26 -0
- data/chef/cookbooks/mysql/templates/default/omnios/svc.method.mysqld.erb +29 -0
- data/chef/cookbooks/mysql/templates/default/smartos/mysql.xml.erb +32 -0
- data/chef/cookbooks/mysql/templates/default/smartos/svc.method.mysqld.erb +29 -0
- data/chef/cookbooks/openssl/README.md +37 -0
- data/chef/cookbooks/openssl/libraries/secure_password.rb +37 -0
- data/chef/cookbooks/openssl/metadata.json +30 -0
- data/chef/cookbooks/openssl/metadata.rb +8 -0
- data/chef/cookbooks/openssl/recipes/default.rb +19 -0
- data/chef/cookbooks/ssh/attributes/default.rb +8 -0
- data/chef/cookbooks/ssh/recipes/authorize_key.rb +20 -0
- data/chef/cookbooks/toaster/attributes/testing.rb +37 -0
- data/chef/cookbooks/toaster/libraries/default.rb +61 -0
- data/chef/cookbooks/toaster/recipes/post__cakephp__default.rb +27 -0
- data/chef/cookbooks/toaster/recipes/post__cube__default.rb +26 -0
- data/chef/cookbooks/toaster/recipes/post__drupal__default.rb +16 -0
- data/chef/cookbooks/toaster/recipes/post__icinga__default.rb +9 -0
- data/chef/cookbooks/toaster/recipes/post__node__default.rb +16 -0
- data/chef/cookbooks/toaster/recipes/post__virtualbox__default.rb +12 -0
- data/chef/cookbooks/toaster/recipes/post__wordpress__default.rb +12 -0
- data/chef/cookbooks/toaster/recipes/pre__aegir__default.rb +12 -0
- data/chef/cookbooks/toaster/recipes/pre__app__default.rb +3 -0
- data/chef/cookbooks/toaster/recipes/pre__cakephp__default.rb +24 -0
- data/chef/cookbooks/toaster/recipes/pre__cube__default.rb +9 -0
- data/chef/cookbooks/toaster/recipes/pre__disco__default.rb +21 -0
- data/chef/cookbooks/toaster/recipes/pre__drbd__default.rb +7 -0
- data/chef/cookbooks/toaster/recipes/pre__eaccelerator__default.rb +2 -0
- data/chef/cookbooks/toaster/recipes/pre__elasticsearch-head__default.rb +11 -0
- data/chef/cookbooks/toaster/recipes/pre__elasticsearch__default.rb +6 -0
- data/chef/cookbooks/toaster/recipes/pre__gitosis__default.rb +17 -0
- data/chef/cookbooks/toaster/recipes/pre__kafka__default.rb +3 -0
- data/chef/cookbooks/toaster/recipes/pre__munin__server.rb +6 -0
- data/chef/cookbooks/toaster/recipes/pre__mysql__server.rb +4 -0
- data/chef/cookbooks/toaster/recipes/pre__nagios__default.rb +3 -0
- data/chef/cookbooks/toaster/recipes/pre__netkernel__default.rb +24 -0
- data/chef/cookbooks/toaster/recipes/pre__php__default.rb +2 -0
- data/chef/cookbooks/toaster/recipes/pre__postgresql__server.rb +3 -0
- data/chef/cookbooks/toaster/recipes/pre__pxe_dust__default.rb +9 -0
- data/chef/cookbooks/toaster/recipes/pre__pxe_install_server__default.rb +6 -0
- data/chef/cookbooks/toaster/recipes/pre__riak__default.rb +40 -0
- data/chef/cookbooks/toaster/recipes/pre__sensu__default.rb +9 -0
- data/chef/cookbooks/toaster/recipes/pre__sol__default.rb +2 -0
- data/chef/cookbooks/toaster/recipes/pre__solr__default.rb +6 -0
- data/chef/cookbooks/toaster/recipes/pre__sonar__default.rb +2 -0
- data/chef/cookbooks/toaster/recipes/pre__storm__default.rb +3 -0
- data/chef/cookbooks/toaster/recipes/pre__vmware__tools.rb +4 -0
- data/chef/cookbooks/toaster/recipes/pre__wordpress__default.rb +17 -0
- data/chef/cookbooks/toaster/recipes/pre__xen__default.rb +7 -0
- data/chef/cookbooks/toaster/recipes/pre__znc__default.rb +7 -0
- data/chef/cookbooks/toaster/recipes/testing.rb +241 -0
- data/chef/cookbooks/toaster/recipes/testing_post.rb +36 -0
- data/chef/cookbooks/yum/CHANGELOG.md +212 -0
- data/chef/cookbooks/yum/README.md +268 -0
- data/chef/cookbooks/yum/attributes/main.rb +97 -0
- data/chef/cookbooks/yum/libraries/matchers.rb +27 -0
- data/chef/cookbooks/yum/metadata.json +34 -0
- data/chef/cookbooks/yum/metadata.rb +13 -0
- data/chef/cookbooks/yum/providers/globalconfig.rb +37 -0
- data/chef/cookbooks/yum/providers/repository.rb +85 -0
- data/chef/cookbooks/yum/recipes/default.rb +34 -0
- data/chef/cookbooks/yum/resources/globalconfig.rb +105 -0
- data/chef/cookbooks/yum/resources/repository.rb +63 -0
- data/chef/cookbooks/yum/templates/default/main.erb +251 -0
- data/chef/cookbooks/yum/templates/default/repo.erb +109 -0
- data/chef/cookbooks/yum-mysql-community/CHANGELOG.md +67 -0
- data/chef/cookbooks/yum-mysql-community/README.md +137 -0
- data/chef/cookbooks/yum-mysql-community/attributes/mysql-connectors-community.rb +31 -0
- data/chef/cookbooks/yum-mysql-community/attributes/mysql55-community.rb +29 -0
- data/chef/cookbooks/yum-mysql-community/attributes/mysql56-community.rb +31 -0
- data/chef/cookbooks/yum-mysql-community/files/default/mysql_pubkey.asc +33 -0
- data/chef/cookbooks/yum-mysql-community/metadata.json +30 -0
- data/chef/cookbooks/yum-mysql-community/metadata.rb +8 -0
- data/chef/cookbooks/yum-mysql-community/recipes/connectors.rb +48 -0
- data/chef/cookbooks/yum-mysql-community/recipes/mysql55.rb +48 -0
- data/chef/cookbooks/yum-mysql-community/recipes/mysql56.rb +48 -0
- data/config.json +34 -0
- data/lib/toaster/api.rb +447 -0
- data/lib/toaster/chef/chef_listener.rb +514 -0
- data/lib/toaster/chef/chef_node_inspector.rb +165 -0
- data/lib/toaster/chef/chef_util.rb +865 -0
- data/lib/toaster/chef/failsafe_resource_parser.rb +140 -0
- data/lib/toaster/chef/resource_inspector.rb +536 -0
- data/lib/toaster/db/cache.rb +98 -0
- data/lib/toaster/db/cached_db.rb +53 -0
- data/lib/toaster/db/cgi_session_cache.rb +209 -0
- data/lib/toaster/db/db.rb +98 -0
- data/lib/toaster/db/mysql.rb +18 -0
- data/lib/toaster/db/ram_cache.rb +203 -0
- data/lib/toaster/markup/jdom-1.1.jar +0 -0
- data/lib/toaster/markup/jdom-b7.jar +0 -0
- data/lib/toaster/markup/markup_util.rb +437 -0
- data/lib/toaster/markup/vmtools-utils-0.5.jar +0 -0
- data/lib/toaster/markup/xmldiff.sh +5 -0
- data/lib/toaster/model/additional_property.rb +11 -0
- data/lib/toaster/model/automation.rb +218 -0
- data/lib/toaster/model/automation_attribute.rb +13 -0
- data/lib/toaster/model/automation_run.rb +104 -0
- data/lib/toaster/model/ignore_property.rb +11 -0
- data/lib/toaster/model/key_value_pair.rb +59 -0
- data/lib/toaster/model/run_attribute.rb +17 -0
- data/lib/toaster/model/state.rb +17 -0
- data/lib/toaster/model/state_change.rb +79 -0
- data/lib/toaster/model/task.rb +292 -0
- data/lib/toaster/model/task_execution.rb +76 -0
- data/lib/toaster/model/task_parameter.rb +66 -0
- data/lib/toaster/model/user.rb +32 -0
- data/lib/toaster/ohai/_disabled_/network_ports.rb +81 -0
- data/lib/toaster/ohai/apache/apache.rb +48 -0
- data/lib/toaster/ohai/cron/cron.rb +32 -0
- data/lib/toaster/ohai/files/_meta.rb +30 -0
- data/lib/toaster/ohai/files/files.rb +20 -0
- data/lib/toaster/ohai/gems/gems.rb +19 -0
- data/lib/toaster/ohai/groups/groups.rb +20 -0
- data/lib/toaster/ohai/iptables/iptables.rb +48 -0
- data/lib/toaster/ohai/mounts/mounts.rb +26 -0
- data/lib/toaster/ohai/mysql/mysql.rb +31 -0
- data/lib/toaster/ohai/packages/_meta.rb +86 -0
- data/lib/toaster/ohai/packages/packages.rb +33 -0
- data/lib/toaster/ohai/ports/ports.rb +21 -0
- data/lib/toaster/ohai/routes/routes.rb +25 -0
- data/lib/toaster/ohai/services/services.rb +42 -0
- data/lib/toaster/ohai/users/users.rb +17 -0
- data/lib/toaster/state/convergence.rb +197 -0
- data/lib/toaster/state/idempotence.rb +192 -0
- data/lib/toaster/state/ptrace_util.rb +48 -0
- data/lib/toaster/state/state_node.rb +105 -0
- data/lib/toaster/state/state_transition.rb +38 -0
- data/lib/toaster/state/state_transition_graph.rb +701 -0
- data/lib/toaster/state/syscall_tracer.rb +317 -0
- data/lib/toaster/state/system_state.rb +349 -0
- data/lib/toaster/state/transition_edge.rb +65 -0
- data/lib/toaster/test/test_attribute.rb +19 -0
- data/lib/toaster/test/test_case.rb +175 -0
- data/lib/toaster/test/test_coverage.rb +147 -0
- data/lib/toaster/test/test_coverage_goal.rb +108 -0
- data/lib/toaster/test/test_generator.rb +246 -0
- data/lib/toaster/test/test_orchestrator.rb +165 -0
- data/lib/toaster/test/test_result.rb +73 -0
- data/lib/toaster/test/test_runner.rb +394 -0
- data/lib/toaster/test/test_suite.rb +151 -0
- data/lib/toaster/test_manager.rb +281 -0
- data/lib/toaster/toaster_app_service.rb +141 -0
- data/lib/toaster/util/blocking_map.rb +80 -0
- data/lib/toaster/util/combinatorial.rb +58 -0
- data/lib/toaster/util/config.rb +103 -0
- data/lib/toaster/util/docker.rb +71 -0
- data/lib/toaster/util/logging.rb +19 -0
- data/lib/toaster/util/lxc.rb +383 -0
- data/lib/toaster/util/mem_dump.rb +38 -0
- data/lib/toaster/util/proxy.rb +23 -0
- data/lib/toaster/util/timestamp.rb +131 -0
- data/lib/toaster/util/util.rb +437 -0
- data/lib/toaster/web_ui.rb +7 -0
- data/webapp/Gemfile +46 -0
- data/webapp/Gemfile.lock +237 -0
- data/webapp/Rakefile +6 -0
- data/webapp/app/assets/fonts/font.woff +0 -0
- data/webapp/app/assets/images/final_state.gif +0 -0
- data/webapp/app/assets/images/initial_state.gif +0 -0
- data/webapp/app/assets/images/loading.gif +0 -0
- data/webapp/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/webapp/app/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/webapp/app/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/webapp/app/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/webapp/app/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/webapp/app/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/webapp/app/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/webapp/app/assets/images/ui-icons_222222_256x240.png +0 -0
- data/webapp/app/assets/javascripts/analysis.js.coffee +3 -0
- data/webapp/app/assets/javascripts/application.js +16 -0
- data/webapp/app/assets/javascripts/execs.js.coffee +3 -0
- data/webapp/app/assets/javascripts/graph.js +441 -0
- data/webapp/app/assets/javascripts/jquery-1.7.2.js +9404 -0
- data/webapp/app/assets/javascripts/jquery-ui-1.8.22.js +11529 -0
- data/webapp/app/assets/javascripts/jquery.cookie.js +96 -0
- data/webapp/app/assets/javascripts/jquery.hotkeys.js +99 -0
- data/webapp/app/assets/javascripts/jquery.jstree.js +4551 -0
- data/webapp/app/assets/javascripts/jsPlumb/jquery.jsPlumb-1.3.14-all-min.js +1 -0
- data/webapp/app/assets/javascripts/jstree.util.js +53 -0
- data/webapp/app/assets/javascripts/scripts.js.coffee +3 -0
- data/webapp/app/assets/javascripts/settings.js.coffee +3 -0
- data/webapp/app/assets/javascripts/test.js.coffee +3 -0
- data/webapp/app/assets/javascripts/util.js.coffee +3 -0
- data/webapp/app/assets/stylesheets/analysis.css.scss +3 -0
- data/webapp/app/assets/stylesheets/application.css +49 -0
- data/webapp/app/assets/stylesheets/execs.css.scss +3 -0
- data/webapp/app/assets/stylesheets/graph.css +159 -0
- data/webapp/app/assets/stylesheets/jquery-ui-1.8.6.custom.css +572 -0
- data/webapp/app/assets/stylesheets/layout.css +151 -0
- data/webapp/app/assets/stylesheets/menu.css +186 -0
- data/webapp/app/assets/stylesheets/reset.css +41 -0
- data/webapp/app/assets/stylesheets/scripts.css.scss +3 -0
- data/webapp/app/assets/stylesheets/settings.css.scss +3 -0
- data/webapp/app/assets/stylesheets/test.css.scss +3 -0
- data/webapp/app/assets/stylesheets/util.css.scss +3 -0
- data/webapp/app/assets/stylesheets/websymbols/websymbols-regular-webfont.eot +0 -0
- data/webapp/app/assets/stylesheets/websymbols/websymbols-regular-webfont.svg +1 -0
- data/webapp/app/assets/stylesheets/websymbols/websymbols-regular-webfont.ttf +0 -0
- data/webapp/app/assets/stylesheets/websymbols/websymbols-regular-webfont.woff +0 -0
- data/webapp/app/controllers/analysis_controller.rb +7 -0
- data/webapp/app/controllers/application_controller.rb +14 -0
- data/webapp/app/controllers/base_controller.rb +91 -0
- data/webapp/app/controllers/execs_controller.rb +59 -0
- data/webapp/app/controllers/graph_controller.rb +17 -0
- data/webapp/app/controllers/scripts_controller.rb +166 -0
- data/webapp/app/controllers/settings_controller.rb +10 -0
- data/webapp/app/controllers/test_controller.rb +127 -0
- data/webapp/app/controllers/util_controller.rb +6 -0
- data/webapp/app/helpers/analysis_helper.rb +2 -0
- data/webapp/app/helpers/application_helper.rb +2 -0
- data/webapp/app/helpers/automations_helper.rb +2 -0
- data/webapp/app/helpers/execs_helper.rb +2 -0
- data/webapp/app/helpers/scripts_helper.rb +2 -0
- data/webapp/app/helpers/settings_helper.rb +2 -0
- data/webapp/app/helpers/test_helper.rb +2 -0
- data/webapp/app/helpers/util_helper.rb +2 -0
- data/webapp/app/views/analysis/convergence.html.erb +156 -0
- data/webapp/app/views/analysis/idempotence.html.erb +2 -0
- data/webapp/app/views/execs/automation_runs.html.erb +98 -0
- data/webapp/app/views/execs/task_executions.html.erb +154 -0
- data/webapp/app/views/graph/graph_frame.html +101 -0
- data/webapp/app/views/layouts/application.html.erb +114 -0
- data/webapp/app/views/scripts/edit.html.erb +58 -0
- data/webapp/app/views/scripts/graph.html.erb +75 -0
- data/webapp/app/views/scripts/import_chef.html.erb +104 -0
- data/webapp/app/views/scripts/scripts.html.erb +116 -0
- data/webapp/app/views/scripts/tasks.html.erb +139 -0
- data/webapp/app/views/settings/containers.html.erb +161 -0
- data/webapp/app/views/settings/index.html.erb +51 -0
- data/webapp/app/views/test/cases.html.erb +2 -0
- data/webapp/app/views/test/gen.html.erb +229 -0
- data/webapp/app/views/test/suites.html.erb +205 -0
- data/webapp/app/views/util/chef.html.erb +53 -0
- data/webapp/bin/bundle +3 -0
- data/webapp/bin/rails +4 -0
- data/webapp/bin/rake +4 -0
- data/webapp/config/application.rb +28 -0
- data/webapp/config/boot.rb +18 -0
- data/webapp/config/database.yml +42 -0
- data/webapp/config/environment.rb +5 -0
- data/webapp/config/environments/development.rb +35 -0
- data/webapp/config/environments/production.rb +80 -0
- data/webapp/config/environments/test.rb +36 -0
- data/webapp/config/initializers/backtrace_silencers.rb +7 -0
- data/webapp/config/initializers/devise.rb +256 -0
- data/webapp/config/initializers/filter_parameter_logging.rb +4 -0
- data/webapp/config/initializers/inflections.rb +16 -0
- data/webapp/config/initializers/mime_types.rb +5 -0
- data/webapp/config/initializers/patches.rb +13 -0
- data/webapp/config/initializers/secret_token.rb +12 -0
- data/webapp/config/initializers/session_store.rb +6 -0
- data/webapp/config/initializers/wrap_parameters.rb +16 -0
- data/webapp/config/locales/devise.en.yml +59 -0
- data/webapp/config/locales/en.yml +23 -0
- data/webapp/config/routes.rb +113 -0
- data/webapp/config.ru +4 -0
- data/webapp/db/development.sqlite3 +0 -0
- data/webapp/db/migrate/20140624002037_devise_create_users.rb +42 -0
- data/webapp/db/migrate/20140628002058_create_all_tables.rb +159 -0
- data/webapp/db/schema.rb +162 -0
- data/webapp/db/seeds.rb +7 -0
- data/webapp/log/development.log +167823 -0
- data/webapp/public/404.html +58 -0
- data/webapp/public/422.html +58 -0
- data/webapp/public/500.html +57 -0
- data/webapp/public/favicon.ico +0 -0
- data/webapp/public/robots.txt +5 -0
- data/webapp/test/controllers/analysis_controller_test.rb +14 -0
- data/webapp/test/controllers/automations_controller_test.rb +49 -0
- data/webapp/test/controllers/execs_controller_test.rb +9 -0
- data/webapp/test/controllers/executions_controller_test.rb +9 -0
- data/webapp/test/controllers/runs_controller_test.rb +7 -0
- data/webapp/test/controllers/scripts_controller_test.rb +9 -0
- data/webapp/test/controllers/settings_controller_test.rb +9 -0
- data/webapp/test/controllers/test_controller_test.rb +14 -0
- data/webapp/test/controllers/util_controller_test.rb +9 -0
- data/webapp/test/fixtures/users.yml +11 -0
- data/webapp/test/helpers/analysis_helper_test.rb +4 -0
- data/webapp/test/helpers/automations_helper_test.rb +4 -0
- data/webapp/test/helpers/execs_helper_test.rb +4 -0
- data/webapp/test/helpers/executions_helper_test.rb +4 -0
- data/webapp/test/helpers/runs_helper_test.rb +4 -0
- data/webapp/test/helpers/scripts_helper_test.rb +4 -0
- data/webapp/test/helpers/settings_helper_test.rb +4 -0
- data/webapp/test/helpers/test_helper_test.rb +4 -0
- data/webapp/test/helpers/util_helper_test.rb +4 -0
- data/webapp/test/models/user_test.rb +7 -0
- data/webapp/test/test_helper.rb +15 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/analysis.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/automations.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/execs.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/executions.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/scripts.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/settings.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/test.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sass/1330a34c6b24ed44c0f194c03246f627289a985a/util.css.scssc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/06a1cdb3d5472dd126cffc18f548c342 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/0dc0562647e703ca0535da3b9fcad796 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/113f1c71cb0f2a786729477989122982 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/151a1c6b128721d8923ba0c380a2af17 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/1722fb8a6daad566c8a6d5ef31969459 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/1a05555c46560c6b246aa0a996679bc6 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/1cb7fb6aa8bd1c2b7df8f7c52442e345 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/1d76f803b0a83adc5ea7e7c848657967 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/200152f95fc464d69c425ed8fdc2fbcc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/2049c8927ebd046c8a3291f81041d5f1 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/207907100aabd08a6767e39a95b364e3 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/249e2d4db815922fc72419c4a1407caf +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/3034e4c334b1ebed9433e33050555f18 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/316c88d859cc3666044e51b1dd89e872 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/347f43d816178c8ba11a28a771696924 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/36ab92a3b8d527ed1eff0944b5f1263d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/3893b852ff196f05ff6ca8e38bb2237f +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/3c358bd5fa32d151c7aa44971dd9b96f +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/3ce88fad85146e0bed233f5419c24d29 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/3dabcb7c89677292e1e019a9bac446e5 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/4116fac01e6d379ede37af725a592477 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/42628e032b8f0b16a5ba01a1fcc7b6d7 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/437b258a98e8fe2c87fa8e24b7ce9abf +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/43e98ed206f05738ae305e7e1b09a840 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/468da8933ba442b88b2f4b0e40c2ac30 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/48ef3fa68e9084c7cfa84e525decc318 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/4b68dcc030691297629a7156361018dc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/50368b1bd77c9130d821cbad89ab83ac +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/511a980807b8d16fc3fb839991041865 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/516a0973874a73d0d15feec9448f7466 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/569e21b0ca1a230c7880f8d7a8b1febf +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/5b5543d2ed5bed100f1739fc12ebf2c5 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/5c10dbffb918651dc0498579ba9a6853 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/5c366b5370316b3e9c03d1a58cb5eb44 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/5fcb9466e0d5cb0e31b35957fe2d3901 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/61da396fb86c5ecd844a2d83ac759b4b +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/624ba87170059068845a4651b3cd2c7c +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/6391f61b6121feda70da6d0a22520fdd +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/653a981829c12a52bd57b7918168a148 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/66479793d9e5683d9f7fa67522d1962d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/69c589bd224ee0df5ab02e4568e0ab39 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/6dd7c564897b7e66eecbb180baeef2c6 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/6e2b92a4e6966cb78e63207bc7888391 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/70adb410f59a0edc5aea8c2b2ef8a441 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/72cbfd5bf33945bcce154f7a4feaf04d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/740ee9d355ada8cf5e9beb620f2cd5cc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/74770a22b5d1b0b3bc3527da83706f96 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/759bf97655af50852816720db7b59fcb +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/76e9c19246c684413a02af695fa2b0bc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7728beeace48ca12e336d2bce0158871 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/77f49730c7b689f75a2e174fbd3ace2a +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/78021a57030fd36cf82699aad9910b26 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/796b349b06da691fe5f069f9e3947fcb +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/79e7505c70697cc7d34d4a8351c3b840 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7b2b7d9034fc7b77daf5da1436667e6f +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7c2ea2ca2cdd89b062bf23f44e8f599c +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7ea112af55e6df12cdff377052b71420 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7f27632588dd316836b009a621c0176c +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/7fcef9f644290dea8d0e4bf13f6bb8e9 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/81c6bf67419a29257ed79f442c24907d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/83656ce9260eb473c1654420e0180167 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/83e8bdddefc2dce069b56e6650135397 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/880c796f41e5d67ae68ed239acfc91e3 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/8c1c39dd537d2c9990fe9c70a5646b06 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/8d763042da5254015767385ce324b348 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/91e1ccbf65ff4d9b0f42b1159796bcf2 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/92cdfac7698b6bb68983cf317c1cedef +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/94cab8cbc120e152ce4c444492a3fc1d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/96b918c3c041b6a089c8adc870fa3aaa +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/97cbe306627b432ab3bfb52416690d1d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/98da83d396c0c00eb03937ecbc2e6bfa +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9db04db20ec9c4a0f84ed01caa5e6e2b +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9dc1c251f50c828fae95d6107619c53e +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9e91711ab34bbf89ad1cfb4351027d36 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9f587881f98b328b656e6456178418b5 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9fc981560caba00621bb95d0974ad076 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/9fd4385f8fda99f3ddd3f133a89231d1 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/a32ab71649e3db15eca95bcc3a7588da +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/a497c976969bdbb1f69875358d39d3b5 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/b06058d455770c1d9db6b6670bc4bf4d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/b3da405f1e68470ad6146a1322f2438c +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/b4ba5853663f6721d15942ce08dd76bf +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/b6f1534bcdbff92a16c85487f363235a +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/b9c57b9750f8af3551b1a5d9e27f0a92 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/bb5be6a0ee889a15214e2442aee8c6e1 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/bc80a81b2d67b5ad40f3c7a2bb6e6f22 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/bfaba27d5ce71d292f453659b0755511 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/bfac6cd2984fbd5e0d762389e3c37164 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/c17bec9e3b5db6d8385c3d6eb362e628 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/c1a9eceddc0a1e41eb2992e9204f71e6 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/c50cd87be040044504b5c3fde1047e24 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/c5907cfd07b24ad19b8c80e8af618a57 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/c8da5594caf845a183dd1c6cd45c5433 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/cbc6968ed49fa14db439a64dd0a46abc +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/cedf710ee090647b81c08675583eca62 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/cf1e3cebfad43293c3c470a5e437ebc9 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/d5a14f86bb4b422fdd8eb4722d966c9a +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/d66b9cdd3230f9e5354e495e17097c49 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/dfa0ed87d851222fe58ada385e3f037d +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e1aa402390382db4d97b27cb094485fa +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e4f1db35ef9d9fbbf53252a44e381eb8 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e57eb6c1ad51fd8c13afc0e719a259b5 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e7c37b542e914e392ec326190cea1aa2 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e923d7e19c216d4a924831f3896e007a +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/e96a414a621483bbc89e73f11be5e7b4 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/eafcfc3d2561c18743c1b32f0f710c68 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/ecdd630f5466d45a2afa7515aaa5fc3b +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/ee60a0a35d60cff425373970547694bd +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/eee2c36b75709b0c3797c2a151fdd5d3 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f104b66c0f89b453d0c8c73980fbab18 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f26d1bc86590415685e9836ad75d1774 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f4081e868eb565527099dba2c9d8c4de +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f813030b97e30415ad276bbd1f7e1fb4 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f8e3e28bc9640c25da58aea46c3ac4b3 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f9169d0a8b70eaf95de52b3c6ad51105 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/f939450f7a481e3fbeb158b81b39c624 +0 -0
- data/webapp/tmp/cache/assets/development/sprockets/fce73296b8298ac4c74b3e95cde4dfdb +0 -0
- metadata +941 -0
@@ -0,0 +1,391 @@
|
|
1
|
+
mysql Cookbook CHANGELOG
|
2
|
+
========================
|
3
|
+
This file is used to list changes made in each version of the mysql cookbook.
|
4
|
+
|
5
|
+
|
6
|
+
v5.3.6 (2014-06-18)
|
7
|
+
-------------------
|
8
|
+
- Fixing pid path location. Updating tests to include real RHEL
|
9
|
+
|
10
|
+
|
11
|
+
v5.3.4 (2014-06-16)
|
12
|
+
-------------------
|
13
|
+
- Fixing specs for Amazon Linux server package names
|
14
|
+
|
15
|
+
|
16
|
+
v5.3.2 (2014-06-16)
|
17
|
+
-------------------
|
18
|
+
- Fixing Amazon Linux support
|
19
|
+
|
20
|
+
|
21
|
+
v5.3.0 (2014-06-11)
|
22
|
+
-------------------
|
23
|
+
- #189 - Fix server_repl_password description
|
24
|
+
- #191 - Adding support for server55 and server56 on el-6
|
25
|
+
- #193 - Fix syntax in mysql_service example
|
26
|
+
- #199 - Adding Suse support
|
27
|
+
|
28
|
+
|
29
|
+
v5.2.12 (2014-05-19)
|
30
|
+
--------------------
|
31
|
+
PR #192 - recipes/server.rb should honor parameter node['mysql']['version']
|
32
|
+
|
33
|
+
|
34
|
+
v5.2.10 (2014-05-15)
|
35
|
+
--------------------
|
36
|
+
- COOK-4394 - restore freebsd support
|
37
|
+
|
38
|
+
|
39
|
+
v5.2.8 (2014-05-15)
|
40
|
+
-------------------
|
41
|
+
- [COOK-4653] - Missing mySQL 5.6 support for Ubuntu 14.04
|
42
|
+
|
43
|
+
|
44
|
+
v5.2.6 (2014-05-07)
|
45
|
+
-------------------
|
46
|
+
- [COOK-4625] - Fix password resource parameter consumption on Debian and Ubuntu
|
47
|
+
- Fix up typos and version numbers in PLATFORMS.md
|
48
|
+
- Fix up specs from COOK-4613 changes
|
49
|
+
|
50
|
+
|
51
|
+
v5.2.4 (2014-05-02)
|
52
|
+
-------------------
|
53
|
+
- [COOK-4613] - Fix permissions on mysql data_dir to allow global access to mysql.sock
|
54
|
+
|
55
|
+
|
56
|
+
v5.2.2 (2014-04-24)
|
57
|
+
-------------------
|
58
|
+
- [COOK-4564] - Using positive tests for datadir move
|
59
|
+
|
60
|
+
|
61
|
+
v5.2.0 (2014-04-22)
|
62
|
+
-------------------
|
63
|
+
- [COOK-4551] - power grants.sql from resource parameters
|
64
|
+
|
65
|
+
|
66
|
+
v5.1.12 (2014-04-21)
|
67
|
+
--------------------
|
68
|
+
- [COOK-4554] - Support for Debian Sid
|
69
|
+
|
70
|
+
|
71
|
+
v5.1.10 (2014-04-21)
|
72
|
+
--------------------
|
73
|
+
- [COOK-4565] Support for Ubuntu 14.04
|
74
|
+
- [COOK-4565] Adding Specs and TK platform
|
75
|
+
- Removing non-LTS 13.10 specs and TK platform
|
76
|
+
|
77
|
+
|
78
|
+
v5.1.8 (2014-04-12)
|
79
|
+
-------------------
|
80
|
+
Adding Ubuntu 13.04 to Platforminfo
|
81
|
+
|
82
|
+
|
83
|
+
v5.1.6 (2014-04-11)
|
84
|
+
-------------------
|
85
|
+
- [COOK-4548] - Add template[/etc/mysql/debian.cnf] to Ubuntu provider
|
86
|
+
|
87
|
+
|
88
|
+
v5.1.4 (2014-04-11)
|
89
|
+
-------------------
|
90
|
+
- [COOK-4547] - Shellescape server_root_password
|
91
|
+
|
92
|
+
|
93
|
+
v5.1.2 (2014-04-09)
|
94
|
+
-------------------
|
95
|
+
- [COOK-4519] - Fix error in run_dir for Ubuntu
|
96
|
+
- [COOK-4531] - Fix pid and run_dir for Debian
|
97
|
+
|
98
|
+
|
99
|
+
v5.1.0 (2014-04-08)
|
100
|
+
-------------------
|
101
|
+
[COOK-4523] - Allow for both :restart and :reload
|
102
|
+
|
103
|
+
|
104
|
+
v5.0.6 (2014-04-07)
|
105
|
+
-------------------
|
106
|
+
- [COOK-4519] - Updating specs to reflect pid file change on Ubuntu
|
107
|
+
|
108
|
+
|
109
|
+
v5.0.4 (2014-04-07)
|
110
|
+
-------------------
|
111
|
+
- [COOK-4519] - Fix path to pid file on Ubuntu
|
112
|
+
|
113
|
+
|
114
|
+
v5.0.2 (2014-04-01)
|
115
|
+
-------------------
|
116
|
+
- Moving server_deprecated into recipes directory
|
117
|
+
|
118
|
+
|
119
|
+
v5.0.0 (2014-03-31)
|
120
|
+
-------------------
|
121
|
+
- Rewriting as a library cookbook
|
122
|
+
- Exposing mysql_service and mysql_client resources
|
123
|
+
- User now needs to supply configuration
|
124
|
+
- Moving attribute driven recipe to server-deprecated
|
125
|
+
|
126
|
+
|
127
|
+
v4.1.2 (2014-02-28)
|
128
|
+
-------------------
|
129
|
+
- [COOK-4349] - Fix invalid platform check
|
130
|
+
- [COOK-4184] - Better handling of Ubuntu upstart service
|
131
|
+
- [COOK-2100] - Changing innodb_log_file_size tunable results in inability to start MySQL
|
132
|
+
|
133
|
+
|
134
|
+
v4.1.1 (2014-02-25)
|
135
|
+
-------------------
|
136
|
+
- **[COOK-2966] - Address foodcritic failures'
|
137
|
+
- **[COOK-4182] - Template parse failure in /etc/init/mysql.conf (data_dir)'
|
138
|
+
- **[COOK-4198] - Added missing tunable'
|
139
|
+
- **[COOK-4206] - create root@127.0.0.1, as well as root@localhost'
|
140
|
+
|
141
|
+
|
142
|
+
v4.0.20 (2014-01-18)
|
143
|
+
--------------------
|
144
|
+
* [COOK-3931] - MySQL Server Recipe Regression for Non-LTS Ubuntu Versions
|
145
|
+
* [COOK-3945] - MySQL cookbook fails on Ubuntu 13.04/13.10
|
146
|
+
* [COOK-3966] - mysql::server recipe can't find a template with debian 7.x
|
147
|
+
* [COOK-3985] - Missing /etc/mysql/debian.cnf template on mysql::_server_debian.rb recipe (mysql 4.0.4)
|
148
|
+
* [COOK-3974] - debian.cnf not updated
|
149
|
+
* [COOK-4001] - Pull request: Fixes for broken mysql::server on Debian
|
150
|
+
* [COOK-4071] - Mysql cookbook doesn't work on debian 7.2
|
151
|
+
|
152
|
+
|
153
|
+
v4.0.14
|
154
|
+
-------
|
155
|
+
Fixing style cops
|
156
|
+
|
157
|
+
|
158
|
+
v4.0.12
|
159
|
+
-------
|
160
|
+
### Bug
|
161
|
+
- **[COOK-4068](https://tickets.opscode.com/browse/COOK-4068)** - rework MySQL Windows recipe
|
162
|
+
|
163
|
+
### Improvement
|
164
|
+
- **[COOK-3801](https://tickets.opscode.com/browse/COOK-3801)** - Add innodb_adaptive_flushing_method and innodb_adaptive_checkpoint
|
165
|
+
|
166
|
+
|
167
|
+
v4.0.10
|
168
|
+
-------
|
169
|
+
fixing metadata version error. locking to 3.0
|
170
|
+
|
171
|
+
|
172
|
+
v4.0.8
|
173
|
+
------
|
174
|
+
Locking yum dependency to '< 3'
|
175
|
+
|
176
|
+
|
177
|
+
v4.0.6
|
178
|
+
------
|
179
|
+
# Bug
|
180
|
+
- [COOK-3943] Notifying service restart on grants update
|
181
|
+
|
182
|
+
|
183
|
+
v4.0.4
|
184
|
+
------
|
185
|
+
[COOK-3952] - Adding 'recursive true' to directory resources
|
186
|
+
|
187
|
+
|
188
|
+
v4.0.2
|
189
|
+
------
|
190
|
+
### BUGS
|
191
|
+
- Adding support for Amazon Linux in attributes/server_rhel.rb
|
192
|
+
- Fixing bug where unprivileged users cannot connect over a local socket. Adding integration test.
|
193
|
+
- Fixing bug in mysql_grants_cmd generation
|
194
|
+
|
195
|
+
|
196
|
+
v4.0.0
|
197
|
+
------
|
198
|
+
- [COOK-3928] Heavily refactoring for readability. Moving platform implementation into separate recipes
|
199
|
+
- Moving integration tests from minitest to serverspec, removing "improper" tests
|
200
|
+
- Moving many attributes into the ['mysql']['server']['whatever'] namespace
|
201
|
+
- [COOK-3481] - Merged Lucas Welsh's Windows bits and moved into own recipe
|
202
|
+
- [COOK-3697] - Adding security hardening attributes
|
203
|
+
- [COOK-3780] - Fixing data_dir on Debian and Ubuntu
|
204
|
+
- [COOK-3807] - Don't use execute[assign-root-password] on Debian and Ubuntu
|
205
|
+
- [COOK-3881] - Fixing /etc being owned by mysql user
|
206
|
+
|
207
|
+
|
208
|
+
v3.0.12
|
209
|
+
-------
|
210
|
+
### Bug
|
211
|
+
- **[COOK-3752](https://tickets.opscode.com/browse/COOK-3752)** - mysql service fails to start in mysql::server recipe
|
212
|
+
|
213
|
+
|
214
|
+
v3.0.10
|
215
|
+
-------
|
216
|
+
- Fix a failed release attempt for v3.0.8
|
217
|
+
|
218
|
+
|
219
|
+
v3.0.8
|
220
|
+
------
|
221
|
+
### Bug
|
222
|
+
- **[COOK-3749](https://tickets.opscode.com/browse/COOK-3749)** - Fix a regression with Chef 11-specific features
|
223
|
+
|
224
|
+
|
225
|
+
v3.0.6
|
226
|
+
------
|
227
|
+
### Bug
|
228
|
+
- **[COOK-3674](https://tickets.opscode.com/browse/COOK-3674)** - Fix an issue where the MySQL server fails to set the root password correctly when `data_dir` is a non-default value
|
229
|
+
- **[COOK-3647](https://tickets.opscode.com/browse/COOK-3647)** - Fix README typo (databas => database)
|
230
|
+
- **[COOK-3477](https://tickets.opscode.com/browse/COOK-3477)** - Fix log-queries-not-using-indexes not working
|
231
|
+
- **[COOK-3436](https://tickets.opscode.com/browse/COOK-3436)** - Pull percona repo in compilation phase
|
232
|
+
- **[COOK-3208](https://tickets.opscode.com/browse/COOK-3208)** - Fix README typo (LitenPort => ListenPort)
|
233
|
+
- **[COOK-3149](https://tickets.opscode.com/browse/COOK-3149)** - Create my.cnf before installing
|
234
|
+
- **[COOK-2681](https://tickets.opscode.com/browse/COOK-2681)** - Fix log_slow_queries for 5.5+
|
235
|
+
- **[COOK-2606](https://tickets.opscode.com/browse/COOK-2606)** - Use proper bind address on cloud providers
|
236
|
+
|
237
|
+
### Improvement
|
238
|
+
- **[COOK-3498](https://tickets.opscode.com/browse/COOK-3498)** - Add support for replicate_* variables in my.cnf
|
239
|
+
|
240
|
+
|
241
|
+
v3.0.4
|
242
|
+
------
|
243
|
+
### Bug
|
244
|
+
- **[COOK-3310](https://tickets.opscode.com/browse/COOK-3310)** - Fix missing `GRANT` option
|
245
|
+
- **[COOK-3233](https://tickets.opscode.com/browse/COOK-3233)** - Fix escaping special characters
|
246
|
+
- **[COOK-3156](https://tickets.opscode.com/browse/COOK-3156)** - Fix GRANTS file when `remote_root_acl` is specified
|
247
|
+
- **[COOK-3134](https://tickets.opscode.com/browse/COOK-3134)** - Fix Chef 11 support
|
248
|
+
- **[COOK-2318](https://tickets.opscode.com/browse/COOK-2318)** - Remove redundant `if` block around `node.mysql.tunable.log_bin`
|
249
|
+
|
250
|
+
v3.0.2
|
251
|
+
------
|
252
|
+
### Bug
|
253
|
+
- [COOK-2158]: apt-get update is run twice at compile time
|
254
|
+
- [COOK-2832]: mysql grants.sql file has errors depending on attrs
|
255
|
+
- [COOK-2995]: server.rb is missing a platform_family comparison value
|
256
|
+
|
257
|
+
### Sub-task
|
258
|
+
- [COOK-2102]: `innodb_flush_log_at_trx_commit` value is incorrectly set based on CPU count
|
259
|
+
|
260
|
+
v3.0.0
|
261
|
+
------
|
262
|
+
**Note** This is a backwards incompatible version with previous versions of the cookbook. Tickets that introduce incompatibility are COOK-2615 and COOK-2617.
|
263
|
+
|
264
|
+
- [COOK-2478] - Duplicate 'read_only' server attribute in base and tunable
|
265
|
+
- [COOK-2471] - Add tunable to set slave_compressed_protocol for reduced network traffic
|
266
|
+
- [COOK-1059] - Update attributes in mysql cookbook to support missing options for my.cnf usable by Percona
|
267
|
+
- [COOK-2590] - Typo in server recipe to do with conf_dir and confd_dir
|
268
|
+
- [COOK-2602] - Add `lower_case_table_names` tunable
|
269
|
+
- [COOK-2430] - Add a tunable to create a network ACL when allowing `remote_root_access`
|
270
|
+
- [COOK-2619] - mysql: isamchk deprecated
|
271
|
+
- [COOK-2515] - Better support for SUSE distribution for mysql cookbook
|
272
|
+
- [COOK-2557] - mysql::percona_repo attributes missing and key server typo
|
273
|
+
- [COOK-2614] - Duplicate `innodb_file_per_table`
|
274
|
+
- [COOK-2145] - MySQL cookbook should remove anonymous and password less accounts
|
275
|
+
- [COOK-2553] - Enable include directory in my.cnf template for any platform
|
276
|
+
- [COOK-2615] - Rename `key_buffer` to `key_buffer_size`
|
277
|
+
- [COOK-2626] - Percona repo URL is being constructed incorrectly
|
278
|
+
- [COOK-2616] - Unneeded attribute thread_cache
|
279
|
+
- [COOK-2618] - myisam-recover not using attribute value
|
280
|
+
- [COOK-2617] - open-files is a duplicate of open-files-limit
|
281
|
+
|
282
|
+
v2.1.2
|
283
|
+
------
|
284
|
+
- [COOK-2172] - Mysql cookbook duplicates `binlog_format` configuration
|
285
|
+
|
286
|
+
v2.1.0
|
287
|
+
------
|
288
|
+
- [COOK-1669] - Using platform("ubuntu") in default attributes always returns true
|
289
|
+
- [COOK-1694] - Added additional my.cnf fields and reorganized cookbook to avoid race conditions with mysql startup and sql script execution
|
290
|
+
- [COOK-1851] - Support server-id and binlog_format settings
|
291
|
+
- [COOK-1929] - Update msyql server attributes file because setting attributes without specifying a precedence is deprecated
|
292
|
+
- [COOK-1999] - Add read_only tunable useful for replication slave servers
|
293
|
+
|
294
|
+
v2.0.2
|
295
|
+
------
|
296
|
+
- [COOK-1967] - mysql: trailing comma in server.rb platform family
|
297
|
+
|
298
|
+
v2.0.0
|
299
|
+
------
|
300
|
+
**Important note for this release**
|
301
|
+
|
302
|
+
Under Chef Solo, you must set the node attributes for the root, debian and repl passwords or the run will completely fail. See COOK-1737 for background on this.
|
303
|
+
|
304
|
+
- [COOK-1390] - MySQL service cannot start after reboot
|
305
|
+
- [COOK-1610] - Set root password outside preseed (blocker for drop-in mysql replacements)
|
306
|
+
- [COOK-1624] - Mysql cookbook fails to even compile on windows
|
307
|
+
- [COOK-1669] - Using platform("ubuntu") in default attributes always returns true
|
308
|
+
- [COOK-1686] - Add mysql service start
|
309
|
+
- [COOK-1687] - duplicate `innodb_buffer_pool_size` attribute
|
310
|
+
- [COOK-1704] - mysql cookbook fails spec tests when minitest-handler cookbook enabled
|
311
|
+
- [COOK-1737] - Fail a chef-solo run when `server_root_password`, `server_debian_password`, and/or `server_repl_password` is not set
|
312
|
+
- [COOK-1769] - link to database recipe in mysql README goes to old opscode/cookbooks repo instead of opscode-cookbook organization
|
313
|
+
- [COOK-1963] - use `platform_family`
|
314
|
+
|
315
|
+
v1.3.0
|
316
|
+
------
|
317
|
+
**Important note for this release**
|
318
|
+
|
319
|
+
This version no longer installs Ruby bindings in the client recipe by default. Use the ruby recipe if you'd like the RubyGem. If you'd like packages from your distribution, use them in your application's specific cookbook/recipe, or modify the client packages attribute. This resolves the following tickets:
|
320
|
+
|
321
|
+
- COOK-932
|
322
|
+
- COOK-1009
|
323
|
+
- COOK-1384
|
324
|
+
|
325
|
+
Additionally, this cookbook now has tests (COOK-1439) for use under test-kitchen.
|
326
|
+
|
327
|
+
The following issues are also addressed in this release.
|
328
|
+
|
329
|
+
- [COOK-1443] - MySQL (>= 5.1.24) does not support `innodb_flush_method` = fdatasync
|
330
|
+
- [COOK-1175] - Add Mac OS X support
|
331
|
+
- [COOK-1289] - handle additional tunable attributes
|
332
|
+
- [COOK-1305] - add auto-increment-increment and auto-increment-offset attributes
|
333
|
+
- [COOK-1397] - make the port an attribute
|
334
|
+
- [COOK-1439] - Add MySQL cookbook tests for test-kitchen support
|
335
|
+
- [COOK-1236] - Move package names into attributes to allow percona to free-ride
|
336
|
+
- [COOK-934] - remove deprecated mysql/libraries/database.rb, use the database cookbook instead.
|
337
|
+
- [COOK-1475] - fix restart on config change
|
338
|
+
|
339
|
+
v1.2.6
|
340
|
+
------
|
341
|
+
- [COOK-1113] - Use an attribute to determine if upstart is used
|
342
|
+
- [COOK-1121] - Add support for Windows
|
343
|
+
- [COOK-1140] - Fix conf.d on Debian
|
344
|
+
- [COOK-1151] - Fix server_ec2 handling /var/lib/mysql bind mount
|
345
|
+
- [COOK-1321] - Document setting password attributes for solo
|
346
|
+
|
347
|
+
v1.2.4
|
348
|
+
------
|
349
|
+
- [COOK-992] - fix FATAL nameerror
|
350
|
+
- [COOK-827] - `mysql:server_ec2` recipe can't mount `data_dir`
|
351
|
+
- [COOK-945] - FreeBSD support
|
352
|
+
|
353
|
+
v1.2.2
|
354
|
+
------
|
355
|
+
- [COOK-826] mysql::server recipe doesn't quote password string
|
356
|
+
- [COOK-834] Add 'scientific' and 'amazon' platforms to mysql cookbook
|
357
|
+
|
358
|
+
v1.2.1
|
359
|
+
------
|
360
|
+
- [COOK-644] Mysql client cookbook 'package missing' error message is confusing
|
361
|
+
- [COOK-645] RHEL6/CentOS6 - mysql cookbook contains 'skip-federated' directive which is unsupported on MySQL 5.1
|
362
|
+
|
363
|
+
v1.2.0
|
364
|
+
------
|
365
|
+
- [COOK-684] remove mysql_database LWRP
|
366
|
+
|
367
|
+
v1.0.8
|
368
|
+
------
|
369
|
+
- [COOK-633] ensure "cloud" attribute is available
|
370
|
+
|
371
|
+
v1.0.7
|
372
|
+
------
|
373
|
+
- [COOK-614] expose all mysql tunable settings in config
|
374
|
+
- [COOK-617] bind to private IP if available
|
375
|
+
|
376
|
+
v1.0.6
|
377
|
+
------
|
378
|
+
- [COOK-605] install mysql-client package on ubuntu/debian
|
379
|
+
|
380
|
+
v1.0.5
|
381
|
+
------
|
382
|
+
- [COOK-465] allow optional remote root connections to mysql
|
383
|
+
- [COOK-455] improve platform version handling
|
384
|
+
- externalize conf_dir attribute for easier cross platform support
|
385
|
+
- change datadir attribute to data_dir for consistency
|
386
|
+
|
387
|
+
v1.0.4
|
388
|
+
------
|
389
|
+
- fix regressions on debian platform
|
390
|
+
- [COOK-578] wrap root password in quotes
|
391
|
+
- [COOK-562] expose all tunables in my.cnf
|
@@ -0,0 +1,211 @@
|
|
1
|
+
MySQL cookbook
|
2
|
+
=====================
|
3
|
+
|
4
|
+
The MySQL cookbook exposes the `mysql_service` and `mysql_client`
|
5
|
+
resources. These resources are utilized by the `mysql::client`
|
6
|
+
and `mysql::server` recipes, or can be consumed in other recipes by
|
7
|
+
depending on the MySQL cookbook.
|
8
|
+
|
9
|
+
This cookbook does its best to follow platform native idioms at all
|
10
|
+
times. This means things like logs, pid files, sockets, and service
|
11
|
+
managers work "as expected" by an administrator familiar with a given
|
12
|
+
platform.
|
13
|
+
|
14
|
+
Scope
|
15
|
+
-----
|
16
|
+
This cookbook is concerned with the "MySQL Community Server",
|
17
|
+
particularly those shipped with F/OSS Unix and Linux distributions. It
|
18
|
+
does not address forks and value-added repackaged MySQL distributions
|
19
|
+
like Drizzle, MariaDB, or Percona.
|
20
|
+
|
21
|
+
This cookbook does not try to encompass every single configuration
|
22
|
+
option available for MySQL. Instead, it provides a "just enough" to
|
23
|
+
get a MySQL server running, then allows the user to specify additional
|
24
|
+
custom configuration.
|
25
|
+
|
26
|
+
Requirements
|
27
|
+
------------
|
28
|
+
* Chef 11 or higher
|
29
|
+
* Ruby 1.9 (preferably from the Chef full-stack installer)
|
30
|
+
|
31
|
+
Resources
|
32
|
+
---------------------
|
33
|
+
The resources that ship in this cookbook are examples of 'singleton
|
34
|
+
resources'. This means that there can only be one instance of them
|
35
|
+
configured on a machine. The providers that handle the implementation
|
36
|
+
of the `mysql_service` and `mysql_client` resources do so by following
|
37
|
+
platform native idioms. These usually only allow for one instance of a
|
38
|
+
service to be running at a given time.
|
39
|
+
|
40
|
+
### mysql_service
|
41
|
+
|
42
|
+
The `mysql_service` resource configures the basic plumbing
|
43
|
+
needed to run a simple mysql_service with a minimal configuration.
|
44
|
+
|
45
|
+
### Example
|
46
|
+
|
47
|
+
mysql_service 'default' do
|
48
|
+
version '5.1'
|
49
|
+
port '3307'
|
50
|
+
data_dir '/data'
|
51
|
+
template_source 'custom.erb'
|
52
|
+
allow_remote_root true
|
53
|
+
root_network_acl ['10.9.8.7/6', '1.2.3.4/5']
|
54
|
+
remove_anonymous_users false
|
55
|
+
remove_test_database false
|
56
|
+
server_root_password 'decrypt_me_from_a_databag_maybe'
|
57
|
+
server_repl_password 'sync_me_baby_one_more_time'
|
58
|
+
action :create
|
59
|
+
end
|
60
|
+
|
61
|
+
The `version` parameter will allow the user to select from the
|
62
|
+
versions available for the platform, where applicable. When omitted,
|
63
|
+
it will install the default MySQL version for the target platform.
|
64
|
+
Available version numbers are `5.0`, `5.1`, `5.5`, and `5.6`,
|
65
|
+
depending on platform. See PLATFORMS.md for details.
|
66
|
+
|
67
|
+
The `port` parameter determines the listen port for the mysqld
|
68
|
+
service. When omitted, it will default to '3306'.
|
69
|
+
|
70
|
+
The `data_dir` parameter determines where the actual data files are
|
71
|
+
kept on the machine. This is useful when mounting external storage.
|
72
|
+
When omitted, it will default to the platform's native location.
|
73
|
+
|
74
|
+
The `template_source` parameter allows the user to override the
|
75
|
+
default minimal template used by the `mysql_service` resource. When
|
76
|
+
omitted, it will select one shipped with the cookbook based on the
|
77
|
+
MySQL version.
|
78
|
+
|
79
|
+
The `allow_remote_root` parameter allows the user to specify whether
|
80
|
+
remote connections from the mysql root user. When set to true, it is
|
81
|
+
recommended that it be used in combination with the `root_network_acl`
|
82
|
+
parameter. When omitted, it will default to false.
|
83
|
+
|
84
|
+
The `remove_anonymous_users` parameter allows the user to remove
|
85
|
+
anonymous users often installed by default with during the mysql db
|
86
|
+
initialization. When omitted, it defaults to true.
|
87
|
+
|
88
|
+
The `remove_test_database` parameter allows the user to specify
|
89
|
+
whether or not the test database is removed. When omitted, it defaults
|
90
|
+
to true.
|
91
|
+
|
92
|
+
The `root_network_acl` parameter allows the user to specify a list of
|
93
|
+
subnets to accept connections for the root user from. When omitted, it
|
94
|
+
defaults to none.
|
95
|
+
|
96
|
+
The `server_root_password` parameter allows the user to specify the
|
97
|
+
root password for the mysql database. This can be set explicitly in a
|
98
|
+
recipe, driven from a node attribute, or from data_bags. When omitted,
|
99
|
+
it defaults to `ilikerandompasswords`. Please be sure to change it.
|
100
|
+
|
101
|
+
The `server_debian_password` parameter allows the user to specify the
|
102
|
+
debian-sys-maint users password, used in log rotations and service
|
103
|
+
management on Debian and Debian derived platforms.
|
104
|
+
|
105
|
+
The `server_repl_password` parameter allows the user to specify the
|
106
|
+
password used by `'repl'@'%'`, used in clustering scenarios. When
|
107
|
+
omitted, it does not create the repl user or set a password.
|
108
|
+
|
109
|
+
The mysql_service resource supports :create, :restart, and :reload actions.
|
110
|
+
|
111
|
+
### mysql_client
|
112
|
+
|
113
|
+
The `mysql_client` resource installs or removes the MySQL client binaries and
|
114
|
+
development libraries
|
115
|
+
|
116
|
+
Recipes
|
117
|
+
-------
|
118
|
+
### mysql::server
|
119
|
+
|
120
|
+
This recipe calls a `mysql_service` resource, passing parameters
|
121
|
+
from node attributes.
|
122
|
+
|
123
|
+
### mysql::client
|
124
|
+
|
125
|
+
This recipe calls a `mysql_client` resource, with action :create
|
126
|
+
|
127
|
+
Usage
|
128
|
+
-----
|
129
|
+
The `mysql::server` recipe and `mysql_service` resources are designed to
|
130
|
+
provide a minimal configuration. The default `my.cnf` dropped off has
|
131
|
+
an `!includedir` directive. Site-specific configuration should be
|
132
|
+
placed in the platform's native location.
|
133
|
+
|
134
|
+
### run_list
|
135
|
+
|
136
|
+
Include `'recipe[mysql::server]'` or `'recipe[mysql::client]'` in your run_list.
|
137
|
+
|
138
|
+
### Wrapper cookbook
|
139
|
+
|
140
|
+
node.set['mysql']['server_root_password'] = 'yolo'
|
141
|
+
node.set['mysql']['port'] = '3308'
|
142
|
+
node.set['mysql']['data_dir'] = '/data'
|
143
|
+
|
144
|
+
include_recipe 'mysql::server'
|
145
|
+
|
146
|
+
template '/etc/mysql/conf.d/mysite.cnf' do
|
147
|
+
owner 'mysql'
|
148
|
+
owner 'mysql'
|
149
|
+
source 'mysite.cnf.erb'
|
150
|
+
notifies :restart, 'mysql_service[default]'
|
151
|
+
end
|
152
|
+
|
153
|
+
### Used directly in a recipe
|
154
|
+
|
155
|
+
template '/etc/mysql/conf.d/mysite.cnf' do
|
156
|
+
owner 'mysql'
|
157
|
+
owner 'mysql'
|
158
|
+
source 'mysite.cnf.erb'
|
159
|
+
notifies :restart, 'mysql_service[default]'
|
160
|
+
end
|
161
|
+
|
162
|
+
mysql_service 'default' do
|
163
|
+
version '5.5'
|
164
|
+
port '3307'
|
165
|
+
data_dir '/data'
|
166
|
+
template_source 'custom.erb'
|
167
|
+
action :create
|
168
|
+
end
|
169
|
+
|
170
|
+
Attributes
|
171
|
+
----------
|
172
|
+
|
173
|
+
default['mysql']['service_name'] = 'default'
|
174
|
+
default['mysql']['server_root_password'] = 'ilikerandompasswords'
|
175
|
+
default['mysql']['server_debian_password'] = 'postinstallscriptsarestupid'
|
176
|
+
default['mysql']['data_dir'] = '/var/lib/mysql'
|
177
|
+
default['mysql']['port'] = '3306'
|
178
|
+
|
179
|
+
### used in grants.sql
|
180
|
+
default['mysql']['allow_remote_root'] = false
|
181
|
+
default['mysql']['remove_anonymous_users'] = true
|
182
|
+
default['mysql']['root_network_acl'] = nil
|
183
|
+
|
184
|
+
License & Authors
|
185
|
+
-----------------
|
186
|
+
- Author:: Joshua Timberman (<joshua@opscode.com>)
|
187
|
+
- Author:: AJ Christensen (<aj@opscode.com>)
|
188
|
+
- Author:: Seth Chisamore (<schisamo@opscode.com>)
|
189
|
+
- Author:: Brian Bianco (<brian.bianco@gmail.com>)
|
190
|
+
- Author:: Jesse Howarth (<him@jessehowarth.com>)
|
191
|
+
- Author:: Andrew Crump (<andrew@kotirisoftware.com>)
|
192
|
+
- Author:: Christoph Hartmann (<chris@lollyrock.com>)
|
193
|
+
- Author:: Sean OMeara (<someara@opscode.com>)
|
194
|
+
|
195
|
+
```text
|
196
|
+
Copyright:: 2009-2014 Chef Software, Inc
|
197
|
+
|
198
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
199
|
+
you may not use this file except in compliance with the License.
|
200
|
+
You may obtain a copy of the License at
|
201
|
+
|
202
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
203
|
+
|
204
|
+
Unless required by applicable law or agreed to in writing, software
|
205
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
206
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
207
|
+
See the License for the specific language governing permissions and
|
208
|
+
limitations under the License.
|
209
|
+
```
|
210
|
+
|
211
|
+
=)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
default['mysql']['service_name'] = 'default'
|
3
|
+
|
4
|
+
# passwords
|
5
|
+
default['mysql']['server_root_password'] = 'ilikerandompasswords'
|
6
|
+
default['mysql']['server_debian_password'] = nil
|
7
|
+
default['mysql']['server_repl_password'] = nil
|
8
|
+
|
9
|
+
# used in grants.sql
|
10
|
+
default['mysql']['allow_remote_root'] = false
|
11
|
+
default['mysql']['remove_anonymous_users'] = true
|
12
|
+
default['mysql']['root_network_acl'] = nil
|
13
|
+
|
14
|
+
case node['platform']
|
15
|
+
when 'smartos'
|
16
|
+
default['mysql']['data_dir'] = '/opt/local/lib/mysql'
|
17
|
+
else
|
18
|
+
default['mysql']['data_dir'] = '/var/lib/mysql'
|
19
|
+
end
|
20
|
+
|
21
|
+
# port
|
22
|
+
default['mysql']['port'] = '3306'
|