Ask Your Question
0

How do I check for the existence of a prerequisite package not managed by puppet?

asked 2015-02-13 08:36:45 -0500

rspowell gravatar image

If installing something like puppet that needs java, how do you check to see if the jre or jdk is already installed IF java is not managed by Puppet?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-14 04:11:56 -0500

Walid Shaari gravatar image

Puppet does not solve the problem of package management, your package management tool have to resolve the dependencies and ensure access to repos that will fulfill your requirements. be it apt-get, yum, or chocolaty . if the package in question is not adhering to standard OS package management, there are tools such as fpm, packer, or even docker that might help.

edit flag offensive delete link more
0

answered 2015-02-16 07:32:49 -0500

rnelson0 gravatar image

If the packages do not have proper dependencies for some reason, perhaps it would be best to manage the jre/jdk you want installed. It is much better to capture the full state of your system anyway, and this give you a chance to specify the exact version of jre/jdk rather than hoping that the package dependency installs the correct version.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-02-13 08:36:45 -0500

Seen: 147 times

Last updated: Feb 16 '15