creativecommons / sre-salt-prime

Site Reliability Engineering / DevOps SaltStack configuration files
MIT License
20 stars 9 forks source link

Configuration Adjustments for Resolving Apache2 and Let's Encrypt Integration Issue in SaltStack #291

Open Shafiya-Heena opened 1 month ago

Shafiya-Heena commented 1 month ago

Issue Description

During the process of provisioning a chapters stage server using the Salt master, we encountered an issue related to the startup of the Apache2 service. This issue stemmed from the absence of Let's Encrypt configuration for HTTPS (port 443), resulting in the failure to initiate the Apache2 service.


      ID: apache2 service
Function: service.running
  Result: False
 Comment: Job for apache2.service failed because the control process exited with error code.
          See "systemctl status apache2.service" and "journalctl -xe" for details.
 Started: 15:52:41.608590
Duration: 230.483 ms
 Changes:

Recommendations:

To address the encountered issue, the propose steps for modification in the Salt configuration file:

Implementing these adjustments should help resolve the startup issue and establish a functional Apache2 service with the necessary Let's Encrypt configuration.

Related Links