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

(FM-7605) - Disabling conf_enabled on Ubuntu 18.04 by default as it conflicts with Shibboleth causing errors with apache2. #1856

Merged
merged 1 commit into from
Dec 12, 2018

Conversation

david22swan
Copy link
Member

No description provided.

@david22swan
Copy link
Member Author

screen shot 2018-12-06 at 12 43 36 pm

@@ -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') {
Copy link
Contributor

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.

manifests/params.pp Outdated Show resolved Hide resolved
Copy link
Collaborator

@ekohl ekohl left a 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

@david22swan
Copy link
Member Author

@HelenCampbell @eimlav Code is update

@david22swan david22swan force-pushed the ub18_fix branch 2 times, most recently from 39f216b to a4c3b93 Compare December 7, 2018 09:28
@pmcmaw pmcmaw changed the title (FM-7605) Disabling conf_enabled on Ubuntu 18.04 by default as it conflicts with Shibboleth causing errors with apache2. (FM-7605) - Disabling conf_enabled on Ubuntu 18.04 by default as it conflicts with Shibboleth causing errors with apache2. Dec 7, 2018
…flicts with Shibboleth, causing errors with apache2
@david22swan
Copy link
Member Author

david22swan commented Dec 7, 2018

Have moved the exclusion to its previous location as the new one caused unit test failures.

@david22swan
Copy link
Member Author

@ekohl Are you happy with the code as it is now??

Copy link
Collaborator

@ekohl ekohl left a 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.

@HelenCampbell HelenCampbell merged commit 5f9ec25 into puppetlabs:master Dec 12, 2018
@david22swan david22swan deleted the ub18_fix branch December 17, 2018 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants