686a5e958c
apache service is called “httpd” on RHEL/Fedora and apache2 on Debian/Ubuntu/Fedora. As pointed by Ben Nemec, os-svc-enable is best way to deal with this complexity and thus support all the operating system properly. This commit requires change I125c46bebb0342ee3bdb957116e7c7e8e27a2ecc on diskimage-builder to be able to enable apache with os-svc-enable. Change-Id: I4720b61eb0fd15e539564edd25843f8332478abf |
||
---|---|---|
.. | ||
install.d | ||
os-apply-config/etc/ssl | ||
os-refresh-config/post-configure.d | ||
post-install.d | ||
README.md | ||
element-deps |
README.md
Installs Apache2 from packages.
Will generate Snakeoil self signed ssl certs if the provided PEM file is unable to pass basic validity check.
The Snakeoil SSL cert can be configured via Heat Metadata. For example:
apache2:
snakeoil_pem: ----- BEGIN PlaceHolder...
snakeoil_key: ----- BEGIN PlaceHolder...
Sample usage shown in nagios3 template at: https://git.openstack.org/cgit/openstack/tripleo-heat-templates