Puppet Class: profile::parsoid::vd_server
- Defined in:
- modules/profile/manifests/parsoid/vd_server.pp
Overview
This instantiates testreduce::server
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'modules/profile/manifests/parsoid/vd_server.pp', line 5
class profile::parsoid::vd_server(
Stdlib::Ensure::Service $service_ensure = lookup('profile::parsoid::vd_server::service_ensure'),
){
include ::passwords::testreduce::mysql
testreduce::server { 'parsoid-vd':
instance_name => 'parsoid-vd',
db_socket => '/run/mysqld/mysqld.sock',
db_host => 'localhost',
db_name => 'testreduce_vd',
db_user => 'testreduce',
db_pass => $passwords::testreduce::mysql::db_pass,
webapp_port => 8010,
coord_port => 8011,
service_ensure => $service_ensure,
}
$restart_ensure = $service_ensure ? {
'stopped' => absent,
default => present,
}
profile::auto_restarts::service { 'parsoid-vd':
ensure => $restart_ensure,
}
}
|