You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
puppet agent -t --environment dev
Info: Using environment 'dev'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for puppetboard.internal
Info: Applying configuration version 'puppet-dev-162b8843a30'
Notice: /Stage[main]/Puppetboard/File[/srv/puppetboard]/ensure: created (corrective)
Notice: /Stage[main]/Puppetboard/File[/srv/puppetboard/puppetboard]/ensure: created (corrective)
Notice: /Stage[main]/Puppetboard/File[/srv/puppetboard/puppetboard/settings.py]/ensure: defined content as '{sha256}f7aee1d278f518cc163188e6a8fead9b65a73fc83eeeb27b78d6946f734713e3' (corrective)
Info: /Stage[main]/Puppetboard/File[/srv/puppetboard/puppetboard/settings.py]: Scheduling refresh of Service[httpd]
Notice: /Stage[main]/Puppetboard::Apache::Vhost/File[/srv/puppetboard/puppetboard/wsgi.py]/ensure: defined content as '{sha256}a13cf924517e3a845432adfa66cdb21d461c8f6e5465d46b5afc23fef5e4765e' (corrective)
Notice: /Stage[main]/Puppetboard/Python::Pyvenv[/srv/puppetboard/virtenv-puppetboard]/File[/srv/puppetboard/virtenv-puppetboard]/ensure: created (corrective)
Notice: /Stage[main]/Puppetboard/Python::Pyvenv[/srv/puppetboard/virtenv-puppetboard]/Exec[python_virtualenv_/srv/puppetboard/virtenv-puppetboard]/returns: executed successfully (corrective)
Notice: /Stage[main]/Puppetboard/Python::Pip[puppetboard]/Exec[pip_install_puppetboard]/returns: executed successfully (corrective)
Notice: /Stage[main]/Apache::Mod::Wsgi/Apache::Mod[wsgi]/Package[python3-mod_wsgi]/ensure: created (corrective)
Info: /Stage[main]/Apache::Mod::Wsgi/Apache::Mod[wsgi]/Package[python3-mod_wsgi]: Scheduling refresh of Class[Apache::Service]
Notice: /Stage[main]/Apache/File[/etc/httpd/conf.modules.d/10-wsgi-python3.conf]/ensure: removed
Info: /etc/httpd/conf.modules.d: Scheduling refresh of Class[Apache::Service]
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
Notice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 2 events
Notice: Applied catalog in 30.27 seconds
Agent installs python3-mod_wsgi regardless of the python_version specified, results in internal server error due to virtualenv running python3.9 and mod_wsgi being 3.6
What behaviour did you expect instead
Specifying python 3.9 and RHEL 8 should modify apache::mod::wsgi::package_name and apache::mod::wsgi::mod_path
Output log
Any additional information you'd like to impart
Was able to "Hack" a way around it by editing puppetboard/manifests/apache/vhost.pp
Due to the package name of mod_wsgi being python39-mod_wsgi in python 3.9 I'm unable to install on RHEL8.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Agent installs python3-mod_wsgi regardless of the python_version specified, results in internal server error due to virtualenv running python3.9 and mod_wsgi being 3.6
What behaviour did you expect instead
Specifying python 3.9 and RHEL 8 should modify
apache::mod::wsgi::package_name
andapache::mod::wsgi::mod_path
Output log
Any additional information you'd like to impart
Was able to "Hack" a way around it by editing
puppetboard/manifests/apache/vhost.pp
This is extremely crude but get's me round the issue for now.
The text was updated successfully, but these errors were encountered: