module-puppetlabs-mysql/manifests/params.pp

29 lines
501 B
ObjectPascal
Raw Normal View History

# Class: mysql::params
#
# This class holds parameters that need to be
# accessed by other classes.
#
# Parameters:
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
2011-05-25 08:22:43 +02:00
class mysql::params{
$socket = '/var/run/mysqld/mysqld.sock'
case $operatingsystem {
'centos', 'redhat', 'fedora': {
$service_name = 'mysqld'
}
'ubuntu', 'debian': {
$service_name = 'mysql'
}
default: {
$python_package_name = 'python-mysqldb'
$ruby_package_name = 'ruby-mysql'
}
}
2011-05-25 08:22:43 +02:00
}