Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1566252 - [RFE] The requirement is to define and have arbitrary Apache configuration. Options persist and/or reapply during updates.
Summary: [RFE] The requirement is to define and have arbitrary Apache configuration. O...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-11 20:55 UTC by Onkar
Modified: 2019-01-31 18:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-31 18:31:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Onkar 2018-04-11 20:55:35 UTC
Description of problem:The requirement is to define and have arbitrary Apache configuration. Options persist and/or reapply during updates.
CU need to enable SSO for that he added custom configuration under /etc/httpd/conf.d. When run installer files get disappeared.


Version-Release number of selected component (if applicable):Satellite 6.3


How reproducible: Keep custom configuration file under /etc/httpd/conf.d and then run installer commands file get disappeared.


Steps to Reproduce:
1.
2.
3.

Actual results: Files get disappear.

 
Expected results: File remain as it is or need a mechanism to restore file automatically.


Additional info:

Comment 2 Ewoud Kohl van Wijngaarden 2018-11-13 16:42:19 UTC
There is the option in custom-hiera.yaml:

  apache::purge_configs: false

This will stop the installer from removing unmanaged configs. Do note that this is unsupported because now we can no longer guarantee Apache is in the correct state.

I'll think about a method to achieve the same in a way we can support.

Comment 4 Bryan Kearney 2019-01-31 18:31:38 UTC
Note with comment 2, that the setting is supported but with arbitrary configs the satellite can get into an unknown state. We suggest using custom-heira which we feel will meet most security and performance needs.


Note You need to log in before you can comment on or make changes to this bug.