Created
February 22, 2016 10:44
-
-
Save MeenachiSundaram/dbe9cfcc3a0046a2033d to your computer and use it in GitHub Desktop.
This file contains 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
node 'db' { | |
include 'mysql::server' | |
mysql::db { 'wordpress': | |
user => 'wordpress', | |
password => 'password', | |
host => 'localhost', | |
grant => ['SELECT', 'UPDATE'], | |
sql => '/var/lib/mysql/wordpress', | |
import_timeout => 900, | |
} | |
include 'mysql::client' | |
include 'mysql::bindings' | |
} | |
node 'web' { | |
include apache | |
include 'apache::mod::php' | |
include 'mysql::client' | |
include 'mysql::bindings' | |
include wordpress | |
} | |
node 'lb' { | |
include ::haproxy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment