Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
tomcat module
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Berry Sizemore  
View profile   Translate to Translated (View Original)
 More options Jan 12, 7:49 pm
From: Berry Sizemore <berry.sizem...@gmail.com>
Date: Thu, 12 Jan 2012 16:49:01 -0800 (PST)
Local: Thurs, Jan 12 2012 7:49 pm
Subject: tomcat module
Hi,

Some time ago, Nan wrote a Tomcat module for my company.  I have added
it to module forge here:
http://forge.puppetlabs.com/users/multiverse/modules/Tomcat/releases/1

I have recently been wrestling with the behavior of the module and
could use some help.

[root@puppetmaster pkg]# uname -a
Linux  2.6.18-238.el5xen SMP x86_64 x86_64 x86_64 GNU/Linux
Note:  some information is suppressed.

[root@puppetmaster puppet]# puppet --version
2.6.9 (Puppet Enterprise 1.2.4)

When I create new Tomcat instances for the first time, let's say there
are two, the task completes excellently, including deploying/exploding
my wars.

When I create a third Tomcat instance, I get error messages that make
no sense to me.  My suspicion is that I need to use different syntax.
Our goal is to reduce the amount of time that is consumed deploying
new wars.  Here is a snapshot I took of the initial success, and the
subsequent failure.  You can see the current code I am using at the
forge link above.

Here is the screenshot:  http://www.multiverse.org/tomcat-one-run.jpg
- if the link gives you 404 or redirects with 403, you may have to
type it in by hand.  Sorry about that!

Thanks,
Berry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Berry Sizemore  
View profile  
 More options Jan 12, 8:20 pm
From: Berry Sizemore <berry.sizem...@gmail.com>
Date: Thu, 12 Jan 2012 17:20:20 -0800 (PST)
Local: Thurs, Jan 12 2012 8:20 pm
Subject: Re: tomcat module
Here is a digest of a conversation on IRC:

***

I am trying to figure out why puppet builds out a tree successfully,
but fails to do it a 2nd time when I add more data into my YAML file.

I believe http://docs.puppetlabs.com/learning/definedtypes.html
explains the problem

You cannot instantiate tomcat::war { 'foo': } twice on one node

Example YAML file
http://pastebin.com/sRkR4nas

***


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Berry Sizemore  
View profile  
 More options Jan 17, 5:22 pm
From: Berry Sizemore <berry.sizem...@gmail.com>
Date: Tue, 17 Jan 2012 14:22:26 -0800 (PST)
Local: Tues, Jan 17 2012 5:22 pm
Subject: Re: tomcat module
After groking the defined types link, it everything looked good.  The
issue was that the data needed to be unique for this to work.  I
ensured that each of my instances had a unique name in its YAML file,
as well for the names of the apps.  Now it is cruising right along.

Thanks,
Berry

On Jan 12, 5:20 pm, Berry Sizemore <berry.sizem...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »