puppet-wildfly
puppet-wildfly copied to clipboard
RHEL yum group
I am attempting to use the EAP7 packages through the yum repo from Red Hat. I'm having a problem getting a few items working.
-
If I set manage_user to false as the jboss user and group are installed with the packages, I get a catalog error on the $wildfly::dirname resource as it requires the user even though the if statement is in the same prepare class. With this, I do not see how a successful run may be accomplished with manage_user set to false.
-
The yum group is jboss-eap7. I do not believe the package resource understands a yum group. Therefore, I was going to complete the install as an exec in the profile. From the docs, it looks like I will only be able to use the resource, cli, deployment, and restart types. Is this list complete as it looks like I would lose the majority of the module features?
You're right.
As far as I see, wildfly::dirname
shouldn't be managed when using package installation. It's easy to fix.
I've tested jboss-eap6 packages while ago, but I didn't had the time to finish this and we actually didn't have anyone needing this by that time. Maybe we could try again, it's basically a matter of not managing dirname
, initscripts
and maybe a few configuration files.
This module only need to know: where is Wildfly/JBoss (JBOSS_HOME
) and the service name to work properly.
Any progress from your side?
I don't have access to EAP packages, but I think yum::group
from puppet-yum
might solve your problem.
As an alternative to adding a new module to handle the groupinstall, we're using the eap7-wildfly package from the RedHat EAP channel. With its dependencies, this installs everything from the jboss-eap7 groupinstall except the eap7-artemis-native-wildfly package.
That's interesting @mtdjr . Now I have access to EAP packages. (: