Created
October 29, 2012 20:45
-
-
Save baldurrensch/3976428 to your computer and use it in GitHub Desktop.
Add Mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.puppet/modules/hautelook/manifests/init.pp b/.puppet/modules/hautelook/manifests/init.pp | |
index 19b88fd..46fadb1 100644 | |
--- a/.puppet/modules/hautelook/manifests/init.pp | |
+++ b/.puppet/modules/hautelook/manifests/init.pp | |
@@ -69,6 +69,21 @@ class hautelook { | |
require => Package["memcached"] | |
} | |
+ package { "mysql-server": | |
+ ensure => installed, | |
+ provider => yum, | |
+ require => [ Yumrepo["remi"]] | |
+ } | |
+ | |
+ service { "mysqld": | |
+ enable => true, | |
+ hasstatus => true, | |
+ hasrestart => true, | |
+ restart => "/etc/init.d/mysqld restart", | |
+ ensure => running, | |
+ require => Package["mysql-server"] | |
+ } | |
+ | |
package { "nginx": | |
ensure => installed, | |
provider => yum, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment