Skip to content

Commit

Permalink
COOK-872, missed hardcoded directory in execute
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Dec 5, 2011
1 parent cd50ded commit 75f5574
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
# DESCRIPTION:
Description
===========

Installs activemq and sets up a service using the init script that comes with it.

# REQUIREMENTS:
Requirements
============

Platform:
## Platform:

Tested on Ubuntu 10.04 and CentOS 5.5. Should work on any Debian or Red Hat family distributions.

Opscode cookbooks:
## Cookbooks:

* java

# ATTRIBUTES:
Attributes
==========

* `activemq[:mirror]` - download URL up to the activemq/apache-activemq directory.
* `activemq[:version]` - version to install.
* `activemq[:deploy]` - directory to deploy to (/opt by default)
* `node['activemq']['mirror']` - download URL up to the activemq/apache-activemq directory.
* `node['activemq']['version']` - version to install.
* `node['activemq']['home']` - directory to deploy to (/opt by default)
* `node['activemq']['wrapper']['max_memory']` - maximum amount of memory to use for activemq.
* `node['activemq']['wrapper']['useDedicatedTaskRunner']` - whether to use the dedicated task runner

# USAGE:
Usage
=====

Simply add `recipe[activemq]` to a run list.

This cookbook doesn't use any custom configuration for activemq.

# LICENSE AND AUTHOR:
License and Author
==================

Author:: Joshua Timberman (<[email protected]>)

Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
end

execute "tar zxf #{tmp}/apache-activemq-#{version}-bin.tar.gz" do
cwd "/opt"
cwd node['activemq']['home']
end
end

Expand Down

0 comments on commit 75f5574

Please sign in to comment.