Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #8232: Apache config does not get cleaned up after removal of rudder-webapp #935

Conversation

jooooooon
Copy link
Member


%if 0%{?sles_version}
# Remove required includes in the SLES apache2 configuration
if grep -qE "^. /etc/sysconfig/rudder-apache$" /etc/sysconfig/apache2; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The grep is already done by the sed line since sed won't do anything if there is no change.
Shouldn't we check the existence of the file instead ? (in case the user remove apache at the same time)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jooooooon jooooooon force-pushed the bug_8232/apache_config_does_not_get_cleaned_up_after_removal_of_rudder_webapp branch from e0c4bfd to 4742586 Compare May 18, 2016 13:17
@jooooooon
Copy link
Member Author

Commit modified

@peckpeck
Copy link
Member

Good, merging

@peckpeck peckpeck merged commit b17dffb into Normation:branches/rudder/2.11 May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants