Mercurial > repos > other > Puppet
diff modules/mysql/manifests/client.pp @ 244:48d3a1948e4d
Update MySQL module
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Dec 2019 14:11:43 -0500 |
parents | 58d1818c2ded |
children | 668df4711671 |
line wrap: on
line diff
--- a/modules/mysql/manifests/client.pp Fri Dec 20 15:36:56 2019 +0000 +++ b/modules/mysql/manifests/client.pp Sat Dec 21 14:11:43 2019 -0500 @@ -1,3 +1,23 @@ +# @summary +# Installs and configures the MySQL client. +# +# @example Install the MySQL client +# class {'::mysql::client': +# package_name => 'mysql-client', +# package_ensure => 'present', +# bindings_enable => true, +# } +# +# @param bindings_enable +# Whether to automatically install all bindings. Valid values are `true`, `false`. Default to `false`. +# @param install_options +# Array of install options for managed package resources. You must pass the appropriate options for the package manager. +# @param package_ensure +# Whether the MySQL package should be present, absent, or a specific version. Valid values are 'present', 'absent', or 'x.y.z'. +# @param package_manage +# Whether to manage the MySQL client package. Defaults to `true`. +# @param package_name +# The name of the MySQL client package to install. # class mysql::client ( $bindings_enable = $mysql::params::bindings_enable, @@ -19,11 +39,9 @@ } } - # Anchor pattern workaround to avoid resources of mysql::client::install to # "float off" outside mysql::client - anchor { 'mysql::client::start': } -> - Class['mysql::client::install'] -> - anchor { 'mysql::client::end': } - + anchor { 'mysql::client::start': } + -> Class['mysql::client::install'] + -> anchor { 'mysql::client::end': } }