-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(FM-7605) - Disabling conf_enabled on Ubuntu 18.04 by default as it conflicts with Shibboleth causing errors with apache2. #1856
Conversation
manifests/params.pp
Outdated
@@ -218,7 +218,11 @@ | |||
$server_root = '/etc/apache2' | |||
$conf_dir = $httpd_dir | |||
$confd_dir = "${httpd_dir}/conf.d" | |||
$conf_enabled = "${httpd_dir}/conf-enabled" | |||
if !($::operatingsystem == 'Ubuntu' and $::lsbdistrelease == '18.04') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be moved to the Ubuntu18 specific params section further down.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now $conf_enabled
is not defined for some operating systems. Perhaps the template handles this, but IMHO it's a bad practice
@HelenCampbell @eimlav Code is update |
39f216b
to
a4c3b93
Compare
…flicts with Shibboleth, causing errors with apache2
Have moved the exclusion to its previous location as the new one caused unit test failures. |
@ekohl Are you happy with the code as it is now?? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The conf_enabled directory is still a bit odd - there's an unmanaged directory which causes some unpredictable results on a server. I'm fine with this as a workaround, but IMHO the module (by default) should get back to fully managing /etc/apache2
.
No description provided.