Per @ghoneycutt, we should fail explicitly and explain why.

This commit is contained in:
Justin Ellison 2012-01-11 12:31:34 -06:00 committed by Nan Liu
parent 7513d0308c
commit 09af083e3c

View file

@ -25,6 +25,9 @@ class mysql::params{
$socket = '/var/run/mysqld/mysqld.sock'
$config_file = '/etc/mysql/my.cnf'
}
default: {
fail("Unsupported operating system: ${::operatingsystem}. ${module_name} supports debian, ubuntu, redhat, centos, and fedora.")
}
}
$python_package_name = 'python-mysqldb'
$ruby_package_name = 'ruby-mysql'