Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (23 sloc) 0.503 kb
# Get mysql up and running
class mysql {
package { "mysql-server":
ensure => installed;
}
case $operatingsystem {
centos: {
package { "mysql-devel":
ensure => installed;
}
}
ubuntu: {
package { "libmysqld-dev":
ensure => installed;
}
}
}
service { "mysql":
ensure => running,
enable => true,
require => Package['mysql-server'];
}
}
Jump to Line
Something went wrong with that request. Please try again.