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 #4280: Correct the SLES apache include addition to apache2 sysconf... #197

Merged
merged 1 commit into from
Jan 15, 2014
Merged

Fixes #4280: Correct the SLES apache include addition to apache2 sysconf... #197

merged 1 commit into from
Jan 15, 2014

Conversation

Kegeruneku
Copy link

...ig

Ticket: http://www.rudder-project.org/redmine/issues/4280

To be merged in 2.4 upwards

@@ -207,6 +206,14 @@ then
cp -a %{rudderdir}/share/techniques /var/rudder/configuration-repository/
fi

# Add required includes in the SLES apache2 configuration
%if 0%{?sles_version}
if ! grep -q ". /etc/sysconfig/rudder-apache" /etc/sysconfig/apache2
Copy link
Member

Choose a reason for hiding this comment

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

Please make your grep command more precise (and less error-prone) by using an anchored regexp. This could so easily match a commented line and cause endless headaches to solve...

Kegeruneku pushed a commit that referenced this pull request Jan 15, 2014
…sysconfig_includes_in_all_cases

Fixes #4280: Correct the SLES apache include addition to apache2 sysconf...
@Kegeruneku Kegeruneku merged commit d345004 into Normation:branches/rudder/2.4 Jan 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants