Adding httpd-worker apache process on SLES

The apache2 process on SLES might be 'httpd-worker'. Otherwise
while running monasca-setup, the error is:
     ERROR: Apache process does not exist.

Change-Id: I27c757b9c3c3b93db7b3edd8e576147e94c32a4a
This commit is contained in:
Charu Jain 2017-10-11 10:11:02 -07:00 committed by Tomasz Trębski
parent ef4afab898
commit f3410a4475
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ import monasca_setup.detection
log = logging.getLogger(__name__)
# Process name is apache2 on Debian derivatives, on RHEL derivatives it's httpd,
# on openSUSE/SLES it might be httpd-prefork
APACHE_PROCESS_NAMES = ('apache2', 'httpd', 'httpd-prefork')
# on openSUSE/SLES it might be httpd-prefork or httpd-worker
APACHE_PROCESS_NAMES = ('apache2', 'httpd', 'httpd-prefork', 'httpd-worker')
DEFAULT_APACHE_CONFIG = '/root/.apache.cnf'
CONFIG_ARG_KEYS = set(["url", "user", "password", "use_server_status_metrics"])