Ask Your Question
1

Problem with puppetlabs/java (400, Could not find class)

asked 2013-01-06 02:03:50 -0500

Alex gravatar image

I am evaluating Puppet as a deployment/configuration management tool for a couple of organisations, but am having problems understanding quite how dependency management is meant to work.

I am trying to create a module that will depend on Java. That is to say, I will be deploying resources that require the Java runtime to be present on the node.

I'm trying to make use of puppetlabs/java, which I have checked out into the modules folder on the master as:

root@puppetmaster:/etc/puppet# tree modules/java
modules/java
|-- CHANGELOG
|-- LICENSE
|-- Modulefile
|-- README.markdown
|-- manifests
|   |-- init.pp
|   |-- package_debian ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-08 17:09:42 -0500

glarizza gravatar image

Have you checked permissions on the java module directory to make sure it's owned by the puppet user and group?

edit flag offensive delete link more

Comments

That was it! I'm surprised puppet module installed the module with the wrong permissions - will look into it. Thanks.

Alex gravatar imageAlex ( 2013-01-08 18:08:13 -0500 )edit

There is a bug open on this --> https://projects.puppetlabs.com/issues/14333 You're welcome to follow along!

glarizza gravatar imageglarizza ( 2013-01-10 13:08:50 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-01-06 02:03:50 -0500

Seen: 662 times

Last updated: Jan 08 '13