diff --git a/.vagrant-puppet/modules/mysql/manifests/init.pp b/.vagrant-puppet/modules/mysql/manifests/init.pp new file mode 100644 index 000000000..e88c26bab --- /dev/null +++ b/.vagrant-puppet/modules/mysql/manifests/init.pp @@ -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'] + } +}