Closed mmoll closed 4 years ago
Thanks, great looking PR! Could you also add support to the README under https://github.com/voxpupuli/puppet-nodejs#limitations
There are still some problems, at least the one with the nodejs
package from Nodesource can also be seen on real systems (problem is IMHO in the NodeJS RPM itself), for EPEL, I'll need to have a look...
Appears to trying to load a template for EPEL8 which does not exist.
https://github.com/stahnma/puppet-module-epel/pull/92 is waiting for a new module release.
Fot the nodesource repo to work, yum module disable -y nodejs
would be needed (see https://github.com/nodesource/distributions/pull/997). Is there a puppet (non-exec) way to do this?
@mmoll As far as I know puppet/yum
or puppetlabs/yumrepo_core
do not support the handling of modules.
You could use the template resource to create the following file:
[root@1ca0b18b505b ~]# cat /etc/dnf/modules.d/nodejs.module
[nodejs]
name=nodejs
stream=
profiles=
state=disabled
@dhoppe Thanks for that hint, seems to work well. :bowing_man:
This should be ready for review/merge then.
Pull Request (PR) description
This Pull Request (PR) fixes the following issues