Repo's usually don't have latest version

Since repo’s don’t have the latest (stable) version of many applications,
is there an example of a chef cookbook that downloads the latest version
and then sets up the startup scripts etc?

I’m specifically looking for redis and/or mongo but it doesn’t really
matter as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

many :wink: see the infochimps cookbooks and my ark LWRP


On Mon, Mar 19, 2012 at 1:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo's don't have the latest (stable) version of many applications,
is there an example of a chef cookbook that downloads the latest version
and then sets up the startup scripts etc?

I'm specifically looking for redis and/or mongo but it doesn't really
matter as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

great!
So this will somehow create the startup/shotdown scripts by itself or is
that something you can to configure? (I can’t see how it can just do this
magically by itself).

Any example usages so I can see how works?

On Mon, Mar 19, 2012 at 8:09 AM, Bryan Berry bryan.berry@gmail.com wrote:

many :wink: see the infochimps cookbooks and my ark LWRP

https://github.com/infochimps-labs/ironfan-pantry
https://github.com/bryanwb/cookbooks/tree/master/ark

On Mon, Mar 19, 2012 at 1:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo’s don’t have the latest (stable) version of many applications,
is there an example of a chef cookbook that downloads the latest version
and then sets up the startup scripts etc?

I’m specifically looking for redis and/or mongo but it doesn’t really
matter as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

erm, now that I think of it, won’t you have to compile mongodb and redis?
my ark resource won’t handle that, look for the tar resource on github.com,
that is probably what you need

On Mon, Mar 19, 2012 at 6:54 PM, S Ahmed sahmed1020@gmail.com wrote:

great!
So this will somehow create the startup/shotdown scripts by itself or is
that something you can to configure? (I can’t see how it can just do this
magically by itself).

Any example usages so I can see how works?

On Mon, Mar 19, 2012 at 8:09 AM, Bryan Berry bryan.berry@gmail.comwrote:

many :wink: see the infochimps cookbooks and my ark LWRP

https://github.com/infochimps-labs/ironfan-pantry
https://github.com/bryanwb/cookbooks/tree/master/ark

On Mon, Mar 19, 2012 at 1:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo’s don’t have the latest (stable) version of many
applications, is there an example of a chef cookbook that downloads the
latest version and then sets up the startup scripts etc?

I’m specifically looking for redis and/or mongo but it doesn’t really
matter as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

On Mon, Mar 19, 2012 at 12:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo's don't have the latest (stable) version of many applications, is
there an example of a chef cookbook that downloads the latest version and
then sets up the startup scripts etc?

I'm specifically looking for redis and/or mongo but it doesn't really matter
as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

Hi :slight_smile:

I think this could be an example of what you're looking for:

Isn't it?

--
Juanje

2012/3/20 Juan Jesús Ojeda Croissier juanje.ojeda@gmail.com:

On Mon, Mar 19, 2012 at 12:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo's don't have the latest (stable) version of many applications, is
there an example of a chef cookbook that downloads the latest version and
then sets up the startup scripts etc?

I'm specifically looking for redis and/or mongo but it doesn't really matter
as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

Hi :slight_smile:

I think this could be an example of what you're looking for:
https://github.com/gchef/mongodb-cookbook

And one example for Redis:

--
Juanje

Thanks for those links, I’m looking at them now!

On Mon, Mar 19, 2012 at 11:34 PM, Juan Jesús Ojeda Croissier <
juanje.ojeda@gmail.com> wrote:

2012/3/20 Juan Jesús Ojeda Croissier juanje.ojeda@gmail.com:

On Mon, Mar 19, 2012 at 12:02 PM, S Ahmed sahmed1020@gmail.com wrote:

Since repo’s don’t have the latest (stable) version of many
applications, is

there an example of a chef cookbook that downloads the latest version
and

then sets up the startup scripts etc?

I’m specifically looking for redis and/or mongo but it doesn’t really
matter

as I imagine the general pattern would be the same.

i.e. any example will do

(I will be running Ubuntu)

Hi :slight_smile:

I think this could be an example of what you’re looking for:
https://github.com/gchef/mongodb-cookbook

And one example for Redis:
https://github.com/gchef/redis-cookbook


Juanje