Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #136 from deadpoint/master

Added SuSE support to puppetlabs-mysql
  • Loading branch information...
commit 3fbcf433b7295084f2d8574d151016e461895870 2 parents 4af7950 + 0d0c524
@hunner hunner authored
Showing with 34 additions and 0 deletions.
  1. +34 −0 manifests/params.pp
View
34 manifests/params.pp
@@ -49,6 +49,40 @@
$ssl_key = '/etc/mysql/server-key.pem'
}
+ 'Suse': {
+ $basedir = '/usr'
+ $datadir = '/var/lib/mysql'
+ $service_name = 'mysql'
+ $client_package_name = $::operatingsystem ? {
+ /OpenSuSE/ => 'mysql-community-server-client',
+ /(SLES|SLED)/ => 'mysql-client',
+ }
+ $server_package_name = $::operatingsystem ? {
+ /OpenSuSE/ => 'mysql-community-server',
+ /(SLES|SLED)/ => 'mysql',
+ }
+ $socket = $::operatingsystem ? {
+ /OpenSuSE/ => '/var/run/mysql/mysql.sock',
+ /(SLES|SLED)/ => '/var/lib/mysql/mysql.sock',
+ }
+ $pidfile = '/var/run/mysql/mysqld.pid'
+ $config_file = '/etc/my.cnf'
+ $log_error = $::operatingsystem ? {
+ /OpenSuSE/ => '/var/log/mysql/mysqld.log',
+ /(SLES|SLED)/ => '/var/log/mysqld.log',
+ }
+ $ruby_package_name = $::operatingsystem ? {
+ /OpenSuSE/ => 'rubygem-mysql',
+ /(SLES|SLED)/ => 'ruby-mysql',
+ }
+ $python_package_name = 'python-mysql'
+ $java_package_name = 'mysql-connector-java'
+ $root_group = 'root'
+ $ssl_ca = '/etc/mysql/cacert.pem'
+ $ssl_cert = '/etc/mysql/server-cert.pem'
+ $ssl_key = '/etc/mysql/server-key.pem'
+ }
+
'Debian': {
$basedir = '/usr'
$datadir = '/var/lib/mysql'
Please sign in to comment.
Something went wrong with that request. Please try again.