Created
September 19, 2013 21:02
-
-
Save terrimonster/6629792 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
class blog { | |
include apache | |
include php | |
$myvhost = 'terriblog.puppetlabs.com' | |
class { 'wordpress': | |
install_dir => "/var/www/${myvhost}", | |
db_name => 'wordpress', | |
db_host => 'localhost', | |
db_user => 'wordpress', | |
db_password => 'insecureassword', | |
} | |
#Configuration of php-enabled webserver | |
apache::vhost { $myvhost: | |
priority => '10', | |
} | |
#Configuration MySQL server | |
class { 'mysql::server': | |
config_hash => { 'root_password' => 'password', }, | |
} | |
include mysql::php | |
#PHP 5.3 or greater | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment