Hi,
I try to use the puppet to configure the Jboss EAP 6.X. My first init.pp
looks as follow:
...
class jboss_rpm_install {
# Required RPM package
$jboss_core_rpm = [
"jbossas-appclient",
"jbossas-bundles",
"jbossas-core",
"jbossas-hornetq-native",
"jbossas-jbossweb-native",
"jbossas-modules-eap",
"jbossas-product-eap",
"jbossas-standalone",
"jbossas-welcome-content-eap"
]
package { $jboss_core_rpm: ensure => "installed" }
}
...
But in this form I can't set the version of the many RPMs. So I change to
the second form as follow:
...
package {
"jbossas-appclient": ensure => latest;
"jbossas-bundles": ensure => latest;
"jbossas-core": ensure => latest;
"jbossas-hornetq-native": ensure => latest;
"jbossas-jbossweb-native" : ensure => latest;
"jbossas-modules-eap": ensure => latest;
"jbossas-product-eap": ensure => latest;
"jbossas-standalone": ensure => latest;
"jbossas-welcome-content-eap": ensure => latest;
}
...
This works. But I prefer the first form. How to do?
-- Wei
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/76f8fa84-65f7-4bb4-8f89-e6a6ba7b2404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.