|
10 | 10 | #
|
11 | 11 | # [*client_package_name*] - The name of the mysql client package.
|
12 | 12 | #
|
| 13 | +# [*client_package_ensure*] - State of the client package. |
| 14 | +# |
13 | 15 | # [*config_file*] - The location of the server config file
|
14 | 16 | #
|
15 | 17 | # [*config_template*] - The template to use to generate my.cnf.
|
|
22 | 24 | #
|
23 | 25 | # [*etc_root_password*] - Whether or not to add the mysql root password to /etc/my.cnf
|
24 | 26 | #
|
25 |
| -# [*java_package_name*] - The name of the java package containing the java connector |
26 |
| -# |
27 | 27 | # [*log_error*] - Where to log errors
|
28 | 28 | #
|
29 | 29 | # [*manage_config_file*] - if the config file should be managed (default: true)
|
|
38 | 38 | #
|
39 | 39 | # [*package_name*] - legacy parameter used to specify the client package. Should not be used going forward
|
40 | 40 | #
|
41 |
| -# [*perl_package_name*] - The name of the perl mysql package to install |
42 |
| -# |
43 |
| -# [*perl_package_provider*] - The installation suite to use when installing the perl package. |
44 |
| -# |
45 | 41 | # [*php_package_name*] - The name of the phpmysql package to install
|
46 | 42 | #
|
47 | 43 | # [*pidfile*] - The location mysql will expect the pidfile to be, and will put it when starting the service.
|
|
50 | 46 | #
|
51 | 47 | # [*purge_conf_dir*] - Value fed to recurse and purge parameters of the /etc/mysql/conf.d resource
|
52 | 48 | #
|
53 |
| -# [*python_package_name*] - The name of the python mysql package to install |
54 |
| -# |
55 | 49 | # [*restart*] - Whether to restart mysqld (true/false)
|
56 | 50 | #
|
57 | 51 | # [*root_group*] - Use specified group for root-owned files
|
58 | 52 | #
|
59 | 53 | # [*root_password*] - The root MySQL password to use
|
60 | 54 | #
|
61 |
| -# [*ruby_package_name*] - The name of the ruby mysql package to install |
62 |
| -# |
63 |
| -# [*ruby_package_provider*] - The installation suite to use when installing the ruby package. |
64 |
| -# FreeBSD Does not use this. |
65 |
| -# |
66 | 55 | # [*server_package_ensure*] - ensure value for server packages.
|
67 | 56 | #
|
68 | 57 | # [*server_package_name*] - The name of the server package to install
|
|
91 | 80 | $basedir = $mysql::params::basedir,
|
92 | 81 | $bind_address = $mysql::params::bind_address,
|
93 | 82 | $client_package_name = $mysql::params::client_package_name,
|
| 83 | + $client_package_ensure = $mysql::params::client_package_ensure, |
94 | 84 | $config_file = $mysql::params::config_file,
|
95 | 85 | $config_template = $mysql::params::config_template,
|
96 | 86 | $datadir = $mysql::params::datadir,
|
97 | 87 | $tmpdir = $mysql::params::tmpdir,
|
98 | 88 | $default_engine = $mysql::params::default_engine,
|
99 | 89 | $etc_root_password = $mysql::params::etc_root_password,
|
100 |
| - $java_package_name = $mysql::params::java_package_name, |
101 | 90 | $log_error = $mysql::params::log_error,
|
102 | 91 | $manage_config_file = true,
|
103 | 92 | $manage_service = $mysql::params::manage_service,
|
104 | 93 | $max_allowed_packet = $mysql::params::max_allowed_packet,
|
105 | 94 | $old_root_password = $mysql::params::old_root_password,
|
106 | 95 | $package_ensure = $mysql::params::package_ensure,
|
107 |
| - $package_name = undef, |
108 |
| - $perl_package_name = $mysql::params::perl_package_name, |
109 |
| - $perl_package_provider = $mysql::params::perl_package_provider, |
110 | 96 | $php_package_name = $mysql::params::php_package_name,
|
111 | 97 | $pidfile = $mysql::params::pidfile,
|
112 | 98 | $port = $mysql::params::port,
|
113 | 99 | $purge_conf_dir = $mysql::params::purge_conf_dir,
|
114 |
| - $python_package_name = $mysql::params::python_package_name, |
115 | 100 | $max_connections = $mysql::params::max_connections,
|
116 | 101 | $restart = $mysql::params::restart,
|
117 | 102 | $root_group = $mysql::params::root_group,
|
118 | 103 | $root_password = $mysql::params::root_password,
|
119 |
| - $ruby_package_name = $mysql::params::ruby_package_name, |
120 |
| - $ruby_package_provider = $mysql::params::ruby_package_provider, |
121 | 104 | $server_package_name = $mysql::params::server_package_name,
|
122 | 105 | $service_name = $mysql::params::service_name,
|
123 | 106 | $service_provider = $mysql::params::service_provider,
|
|
127 | 110 | $ssl_cert = $mysql::params::ssl_cert,
|
128 | 111 | $ssl_key = $mysql::params::ssl_key
|
129 | 112 | ) inherits mysql::params{
|
130 |
| - if $package_name { |
131 |
| - warning('Using $package_name has been deprecated in favor of $client_package_name and will be removed.') |
132 |
| - $client_package_name_real = $package_name |
133 |
| - } else { |
134 |
| - $client_package_name_real = $client_package_name |
135 |
| - } |
136 |
| - package { 'mysql_client': |
137 |
| - ensure => $package_ensure, |
138 |
| - name => $client_package_name_real, |
139 |
| - } |
| 113 | + |
| 114 | + include '::mysql::client::install' |
| 115 | + include '::mysql::bindings' |
140 | 116 |
|
141 | 117 | Class['mysql::config'] -> Mysql::Db <| |>
|
142 | 118 |
|
|
0 commit comments