Skip to content

Instantly share code, notes, and snippets.

@waltz
Created April 4, 2013 23:26
Show Gist options
  • Save waltz/5315285 to your computer and use it in GitHub Desktop.
Save waltz/5315285 to your computer and use it in GitHub Desktop.
include stdlib
include apache
class { 'apache::mod::php':
user => 'vagrant',
group => 'vagrant',
}
apache::vhost { $fqdn :
priority => '20',
port => '80',
docroot => $docroot,
configure_firewall => false
}
a2mod { 'rewrite':
ensure => present
}
# mysql
class { 'mysql::server':
config_hash => {
root_password => 'openurbanroot',
bind_address => '0.0.0.0'
}
}
class { 'mysql::php': }
mysql::db { 'openurban-mediawiki':
user => 'openurban',
password => 'openurbanuser',
host => '10.0.%.%',
grant => ['all'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment