- From: Bryan Berry <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Contribute to the elasticsearch cookbook?
- Date: Tue, 17 Apr 2012 12:01:19 +0200
it checks to see whether elasticsearch is unpacked
I forgot an important attribute in my example
ark "elasticsearch" do
url
https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz
version "0.19.2"
prefix_root "/usr/local"
checksum adac92d66ce91f42d9e67bd60e6b1335995f5dfdd153165fdcf1fe24b63ac59e
has_binaries [ "bin/elasticsearch" ]
end
ark does keep the downloaded tarball in the chef cache path
ark checks whether or not the directory
/usr/local/elasticsearch-0.19.2/ exists and is empty
If it is not empty, ark unpacks the downloaded tarball
that's awesome that it is debianized, sadly it has not been
centos-ized ;( as well
On Tue, Apr 17, 2012 at 11:53 AM, Denis Barishev
<
>
wrote:
>
On 04/17/2012 01:29 PM, Bryan Berry wrote:
>
>
>
> if I can chime in, downloading and unpacking using the ark resource
>
> would be as simple as
>
>
>
> ark "elasticsearch" do
>
> url
>
> https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz
>
> prefix_root "/usr/local"
>
> checksum
>
> adac92d66ce91f42d9e67bd60e6b1335995f5dfdd153165fdcf1fe24b63ac59e
>
> has_binaries [ "bin/elasticsearch" ]
>
> end
>
>
>
> https://github.com/bryanwb/chef-ark
>
>
>
> just an idea ;)
>
>
>
Yeah, I couldn't agree more it is awesome. But I've got only one question
>
regarding ark. How does it track whether the app is installed? Does it keep
>
downloaded source tarball or what?
>
Actually I'm interested in the ark and I will probably use it later)
>
Bryan note that elasticsearch is now debianized (>- 0.19) so there's no need
>
to use source installation method if you've got your apt repository or some
>
kind of third-party repository like PPA. In debian/ubuntu with versions
>
later 0.19 packages can be easily used.
>
>
Denis
Archive powered by MHonArc 2.6.16.