This message was deleted.
# forge-modules
s
This message was deleted.
r
Stating the obvious: did you enable the PHP 8 Appstream so the packages can be installed? I guess Puppet or the Apache module won't do that for you automatically.
d
Hey Rob, is there a way to enable the app stream via puppet. I couldn't really find one that worked for me. I tried the package resource with dnfmodule as the provider and enable_only set to true, but that threw some errors about having to do a dnf reset, but even after manually doing the reset, it it kept showing the same error.
r
I searched shortly when I replied, but I didn't see it either. Also, the howto's that I found for installing PHP 8.0 all used the Remi repository. Maybe someone else knows. However, you can at least test if it will work by manually enabling the Appstream you need. If it doesn't work, you can still use the Remi repository, which may be easier.
d
Thanks Rob! Enabling the module manually worked (dnf module enable php:8.0).. now to figure out how to get puppet to enable the module.... BTW.. i'm calling the class like this: class{ 'apache:mod:php': php_version => '8', }
d
Hey Rob! Thanks for the link, I think i got it to work.. having some issues with the modules.. but cant tell if that is an OS issues or puppet at this point..i'll report back in a bit
Hi Rob.. so just closing the loop.. i was able to enable the module like this package{ 'php-package': ensure => '8.0', name => 'php', provider => dnfmodule, enable_only => true, } class{ 'apache:mod:php': php_version => '8' }
Thanks for your help!