Skip to content

Commit

Permalink
Update init.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
snwbr committed Mar 31, 2016
1 parent 2f41447 commit 5a550f0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions site/blog_platform/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
class { '::mysql::server': }
class { '::mysql::db': }


user { "wp_owner":
ensure => present,
}

class blog_platform {

class { 'wordpress': require => User["wp_owner"],}
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,
}
}

0 comments on commit 5a550f0

Please sign in to comment.