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 ac07590 commit 1a165a2
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions site/blog_platform/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#class { 'mysql::server': }

class { '::mysql::server': }

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

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

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

class blog_platform {

Expand All @@ -17,8 +15,4 @@
host => 'localhost',
grant => ['SELECT', 'UPDATE', 'DELETE', 'INSERT'],
}

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

0 comments on commit 1a165a2

Please sign in to comment.