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 1a165a2 commit 2f41447
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site/blog_platform/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
class { '::mysql::server': }
class { '::mysql::db': }
class { 'wordpress': require => User["wp_owner"],}
class { 'apache': }


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

class blog_platform {

class { 'wordpress': require => User["wp_owner"],}
class { 'apache': }

mysql::db { 'wordpress':
user => 'wordpress',
password => 'password',
Expand Down

0 comments on commit 2f41447

Please sign in to comment.