7da354907e
Change-Id: I6181e0d4a717d0a11ea2d741034db99435d5e180 Reviewed-on: https://review.openstack.org/10521 Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
34 lines
710 B
Puppet
34 lines
710 B
Puppet
class openstack_project::wiki($mysql_root_password) {
|
|
|
|
include openssl
|
|
include subversion
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_tcp_ports => [80, 443]
|
|
}
|
|
|
|
realize (
|
|
User::Virtual::Localuser["rlane"],
|
|
)
|
|
|
|
class { 'mediawiki':
|
|
role => 'all',
|
|
mediawiki_location => '/srv/mediawiki/w',
|
|
site_hostname => $fqdn;
|
|
}
|
|
class { 'memcached':
|
|
max_memory => 2048,
|
|
listen_ip => '127.0.0.1',
|
|
tcp_port => 11000,
|
|
udp_port => 11000,
|
|
}
|
|
class {"mysql::server":
|
|
config_hash => {
|
|
'root_password' => "${mysql_root_password}",
|
|
'default_engine' => 'InnoDB',
|
|
'bind_address' => '127.0.0.1',
|
|
}
|
|
}
|
|
include mysql::server::account_security
|
|
}
|