xcat-core/xCAT-OpenStack/chef-cookbooks/grizzly-xcat/cookbooks/mysql/metadata.json

419 lines
18 KiB
JSON
Raw Normal View History

{
"name": "mysql",
"description": "Installs and configures mysql for client or server",
"long_description": "Description\n===========\n\nInstalls and configures MySQL client or server.\n\nRequirements\n============\n\nChef 0.10.10+.\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n* Mac OS X (Using homebrew)\n\nTested on:\n\n* Debian 5.0, 6.0\n* Ubuntu 10.04-12.04\n* CentOS 5.5-5.8, 6.2-6.3\n* Mac OS X 10.7.2\n\nSee TESTING.md for information about running tests in Opscode's Test\nKitchen.\n\nCookbooks\n---------\n\nRequires Opscode's openssl cookbook for secure password generation.\nSee _Attributes_ and _Usage_ for more information.\n\nThe RubyGem installation in the `mysql::ruby` recipe requires a C\ncompiler and Ruby development headers to be installed in order to\nbuild the mysql gem.\n\nRequires `homebrew`\n[cookbook](http://community.opscode.com/cookbooks/homebrew) on Mac OS\nX.\n\nResources and Providers\n=======================\n\nThe LWRP that used to ship as part of this cookbook has been\nrefactored into the\n[database](http://community.opscode.com/cookbooks/database)\ncookbook. Please see the README for details on updated usage.\n\nAttributes\n==========\n\nSee the `attributes/server.rb` or `attributes/client.rb` for default\nvalues. Several attributes have values that vary based on the node's\nplatform and version.\n\n* `node['mysql']['client']['packages']` - An array of package names\n that should be installed on \"client\" systems. This can be modified,\n e.g., to specify packages for Percona.\n* `node['mysql']['server']['packages']` - An array of package names\n that should be installed on \"server\" systems. This can be modified,\n e.g., to specify packages for Percona.\n\n* `node['mysql']['auto-increment-increment']` -\n auto-increment-increment value in my.cnf\n* `node['mysql']['auto-increment-offset]` - auto-increment-offset\n value in my.cnf\n* `node['mysql']['basedir']` - Base directory where MySQL is installed\n* `node['mysql']['bind_address']` - Listen address for MySQLd\n* `node['mysql']['conf_dir']` - Location for mysql conf directory\n* `node['mysql']['confd_dir']` - Location for mysql conf.d style\n include directory\n* `node['mysql']['data_dir']` - Location for mysql data directory\n* `node['mysql']['ec2_path']` - location of mysql data_dir on EC2\n nodes\n* `node['mysql']['grants_path']` - Path where the grants.sql should be\n written\n* `node['mysql']['mysqladmin_bin']` - Path to the mysqladmin binary\n* `node['mysql']['old_passwords']` - Sets the `old_passwords` value in\n my.cnf.\n* `node['mysql']['pid_file']` - Path to the mysqld.pid file\n* `node['mysql']['port']` - Liten port for MySQLd\n* `node['mysql']['reload_action']` - Action to take when mysql conf\n files are modified. Also allows \"reload\" and \"none\".\n* `node['mysql']['root_group']` - The default group of the \"root\" user\n* `node['mysql']['service_name']` - The name of the mysqld service\n* `node['mysql']['socket']` - Path to the mysqld.sock file\n* `node['mysql']['use_upstart']` - Whether to use upstart for the\n service provider\n* `mysql['root_network_acl']` - Set define the network the root user will be able to login from, default is nil\n\nPerformance and other \"tunable\" attributes are under the\n`node['mysql']['tunable']` attribute, corresponding to the same-named\nparameter in my.cnf, and the default values are used. See\n`attributes/server.rb`.\n\nBy default, a MySQL installation has an anonymous user, allowing anyone\nto log into MySQL without having to have a user account created for\nthem. This is intended only for testing, and to make the installation\ngo a bit smoother. You should remove them before moving into a\nproduction environment.\n\n* `node['mysql']['remove_anonymous_users']` - Remove anonymous users\n\nNormally, root should only be allowed to connect from 'localhost'. This\nensures that someone cannot guess at the root password from the network.\n\n* `node['mysql']['allow_remote_root']` - If true Sets root access from '%'. If false deletes any non-localhost root users.\n\nBy default, MySQL comes with a database named 'test' that anyone can\nacces
"maintainer": "Opscode, Inc.",
"maintainer_email": "cookbooks@opscode.com",
"license": "Apache 2.0",
"platforms": {
"debian": ">= 0.0.0",
"ubuntu": ">= 0.0.0",
"centos": ">= 0.0.0",
"suse": ">= 0.0.0",
"fedora": ">= 0.0.0",
"redhat": ">= 0.0.0",
"scientific": ">= 0.0.0",
"amazon": ">= 0.0.0",
"freebsd": ">= 0.0.0",
"windows": ">= 0.0.0",
"mac_os_x": ">= 0.0.0"
},
"dependencies": {
"openssl": ">= 1.0.0",
"build-essential": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
"homebrew": ">= 0.0.0",
"windows": ">= 0.0.0"
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
"mysql/server_root_password": {
"display_name": "MySQL Server Root Password",
"description": "Randomly generated password for the mysqld root user",
"default": "randomly generated",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/bind_address": {
"display_name": "MySQL Bind Address",
"description": "Address that mysqld should listen on",
"default": "ipaddress",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/data_dir": {
"display_name": "MySQL Data Directory",
"description": "Location of mysql databases",
"default": "/var/lib/mysql",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/conf_dir": {
"display_name": "MySQL Conf Directory",
"description": "Location of mysql conf files",
"default": "/etc/mysql",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/ec2_path": {
"display_name": "MySQL EC2 Path",
"description": "Location of mysql directory on EC2 instance EBS volumes",
"default": "/mnt/mysql",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/reload_action": {
"display_name": "MySQL conf file reload action",
"description": "Action to take when mysql conf files are modified",
"default": "reload",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable": {
"display_name": "MySQL Tunables",
"description": "Hash of MySQL tunable attributes",
"type": "hash",
"choice": [
],
"calculated": false,
"required": "optional",
"recipes": [
]
},
"mysql/tunable/key_buffer": {
"display_name": "MySQL Tuntable Key Buffer",
"default": "250M",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/max_connections": {
"display_name": "MySQL Tunable Max Connections",
"default": "800",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/wait_timeout": {
"display_name": "MySQL Tunable Wait Timeout",
"default": "180",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/net_read_timeout": {
"display_name": "MySQL Tunable Net Read Timeout",
"default": "30",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/net_write_timeout": {
"display_name": "MySQL Tunable Net Write Timeout",
"default": "30",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/back_log": {
"display_name": "MySQL Tunable Back Log",
"default": "128",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/table_cache": {
"display_name": "MySQL Tunable Table Cache for MySQL < 5.1.3",
"default": "128",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/table_open_cache": {
"display_name": "MySQL Tunable Table Cache for MySQL >= 5.1.3",
"default": "128",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/max_heap_table_size": {
"display_name": "MySQL Tunable Max Heap Table Size",
"default": "32M",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/expire_logs_days": {
"display_name": "MySQL Exipre Log Days",
"default": "10",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/tunable/max_binlog_size": {
"display_name": "MySQL Max Binlog Size",
"default": "100M",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client": {
"display_name": "MySQL Connector/C Client",
"description": "Hash of MySQL client attributes",
"type": "hash",
"choice": [
],
"calculated": false,
"required": "optional",
"recipes": [
]
},
"mysql/client/version": {
"display_name": "MySQL Connector/C Version",
"default": "6.0.2",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/arch": {
"display_name": "MySQL Connector/C Architecture",
"default": "win32",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/package_file": {
"display_name": "MySQL Connector/C Package File Name",
"default": "mysql-connector-c-6.0.2-win32.msi",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/url": {
"display_name": "MySQL Connector/C Download URL",
"default": "http://www.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.0.2-win32.msi/from/http://mysql.mirrors.pair.com/",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/package_name": {
"display_name": "MySQL Connector/C Registry DisplayName",
"default": "MySQL Connector C 6.0.2",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/basedir": {
"display_name": "MySQL Connector/C Base Install Directory",
"default": "C:\\Program Files (x86)\\MySQL\\Connector C 6.0.2",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/lib_dir": {
"display_name": "MySQL Connector/C Library Directory (containing libmysql.dll)",
"default": "C:\\Program Files (x86)\\MySQL\\Connector C 6.0.2\\lib\\opt",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/bin_dir": {
"display_name": "MySQL Connector/C Executable Directory",
"default": "C:\\Program Files (x86)\\MySQL\\Connector C 6.0.2\\bin",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"mysql/client/ruby_dir": {
"display_name": "Ruby Executable Directory which should gain MySQL support",
"default": "system ruby",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
}
},
"groupings": {
},
"recipes": {
"mysql": "Includes the client recipe to configure a client",
"mysql::client": "Installs packages required for mysql clients using run_action magic",
"mysql::server": "Installs packages required for mysql servers w/o manual intervention",
"mysql::server_ec2": "Performs EC2-specific mountpoint manipulation"
},
"version": "3.0.0"
}