From f2afd7423d38f210340e13e1906b362afc9f72fd Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 29 May 2013 17:38:39 +0200 Subject: [PATCH] Vagrant: Add automated provisioning of MySQL refs #4216 --- .../modules/mysql/manifests/init.pp | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vagrant-puppet/modules/mysql/manifests/init.pp 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'] + } +}