On 2012-26-07 9:34, Mikoo wrote:
> Hi,
>
> We are looking for a framework that will facilitate deployment and
> configuration of our applications. Puppet seems to be one possibility
> but I have some questions:
>
> First of all, our applications are written in Java. Is there an impact
> concerning the use of Puppet?
Not really.
> We also write our applications using OSGi, so our applications are
> divided in multiple bundles that run on an OSGi framework. Does Puppet
> support such kind of architecture?
>
Afaik, the choices for managing a java application in a fashion similar
to what package managers like gems do would be do use Maven or Eclipse
p2 (unless packaging your Java app as gems or rpms). There are several
alternatives for the combination of Maven and Puppet - not sure how well
it works in practice - never tried.
OTOH, it is common to use puppet to configure new servers and never
update them (a new server is instead provisioned from scratch). In such
a scenario, you really don''t need a Java "Package manager" in
your
operation environment except to do the build and publication of the
packages to use.
IMO (since we also use Java, OSGi, Eclipse Equinox, p2, etc.) it would
be very interesting to have a combination of Puppet client, JRuby, and
OSGi with a p2 package manager. A poor man''s solution for this would be
to write a puppet provider that invokes the "p2 director" (it
installs,
uninstalls, and updates configurations) via system exec.
Which OSGi framework are you using?
Found this too:
http://stackoverflow.com/questions/11430142/deploying-java-server-applications-that-arent-wars
Which confirms that a good solution would be to package your apps as
rpms and starting them as services is a good way to reduce complexity
and separate concerns (although being more course grained and not as
dynamic).
Hope that helps.
Regards
- henrik
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.