From 471123f2599f709a7954201549f505aa08499a6c Mon Sep 17 00:00:00 2001 From: mergwyn Date: Sat, 25 Dec 2021 09:00:14 +0000 Subject: [PATCH] Workaround for internal server error As per https://github.com/voxpupuli/puppetboard/issues/527 --- site-modules/profile/manifests/puppet/server.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/site-modules/profile/manifests/puppet/server.pp b/site-modules/profile/manifests/puppet/server.pp index 5158fad4..4d42ade9 100644 --- a/site-modules/profile/manifests/puppet/server.pp +++ b/site-modules/profile/manifests/puppet/server.pp @@ -32,13 +32,18 @@ # Configure Apache on this server class { 'apache': } - class { 'apache::mod::wsgi': } + class { 'apache::mod::wsgi': + package_name => 'libapache2-mod-wsgi-py3', + mod_path => '/usr/lib/apache2/modules/mod_wsgi.so', + wsgi_application_group => 'puppet', + } # Configure Puppetboard class { 'puppetboard': manage_git => true, manage_virtualenv => true, default_environment => 'production', + virtualenv_version => '3', } # Access Puppetboard through pboard.example.com class { 'puppetboard::apache::vhost':