Skip to content

Commit

Permalink
Update site.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
snwbr committed Mar 31, 2016
1 parent 9a7c49f commit 375a528
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion manifests/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,26 @@
include skeleton
include memcached
include users::admins
include blog_platform
#include blog_platform

class { 'wordpress': }
class { 'apache': }
class { '::apache::mod::php': }
class { '::mysql::server': }

mysql::db { 'wordpress':
user => 'wordpress',
password => 'password',
host => 'localhost',
grant => ['SELECT', 'UPDATE', 'DELETE', 'INSERT'],
}

user { "wp_owner":
ensure => present,
before => Class['wordpress'],
}



class { 'nginx':
root => '/var/www/html',
Expand Down

0 comments on commit 375a528

Please sign in to comment.