Vagrant: Add automated provisioning of MySQL

refs #4216
This commit is contained in:
Eric Lippmann 2013-05-29 17:38:39 +02:00
parent f631a60d60
commit f2afd7423d

View File

@ -0,0 +1,30 @@
# Class: mysql
#
# This class installs the mysql server and client software.
#
# Parameters:
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
# include mysql
#
class mysql {
Exec { path => '/usr/bin' }
package {
'mysql':
ensure => installed;
'mysql-server':
ensure => installed;
}
service { 'mysqld':
ensure => running,
require => Package['mysql-server']
}
}