fuel-library/deployment/puppet/osnailyfacter/modular/api-proxy/api-proxy.pp
Vladimir Kuklin 3119253955 Create a wrapper to apache start and stop
Stop/Start apache service, on failure repeat operation after timeout

Closes-bug: #1457893
Related-Bug: #1459357
Change-Id: I906139554c7cf770ffdac29f95d3d97f29b87f43
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2015-05-28 12:34:21 +00:00

14 lines
290 B
Puppet

notice('MODULAR: api-proxy.pp')
# Apache and listen ports
class { 'osnailyfacter::apache':
listen_ports => hiera_array('apache_ports', ['80', '8888']),
}
# API proxy vhost
class {'osnailyfacter::apache_api_proxy':
master_ip => hiera('master_ip'),
}
include ::tweaks::apache_wrappers