Community cookbooks updating


#1

Does anyone have a tool or script that will check your chef or chef repo to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

-Mat


#2

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies ashmere@gmail.com wrote:

Does anyone have a tool or script that will check your chef or chef repo to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.


#3

Yes, the feature is beta, since it does not handle non-community site
sources.
But works quite well.

On Tuesday, January 29, 2013, Brian Akins wrote:

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies <ashmere@gmail.com<javascript:;>>
wrote:

Does anyone have a tool or script that will check your chef or chef repo
to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.


#4

And so can librarian https://github.com/applicationsonline/librarian:

$ librarian-chef outdated [–verbose]

Both are fantastic tools for cookbook dependency management you might want
to check out if you haven’t already.

Cheers, Torben

On Tue, Jan 29, 2013 at 1:00 PM, Brian Akins brian@akins.org wrote:

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies ashmere@gmail.com wrote:

Does anyone have a tool or script that will check your chef or chef repo
to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.


#5

I’m using librarian… it will tell me if cookbooks that are sourced from
the community site are outdated against the community site.
but, it won’t tell me if cookbooks that I’ve downloaded from the community
site into my local repo are now outdated (we downloaded apache2, added one
attribute to it, and now we’re about 5 versions behind).

Does berkshelf check your own repo for cookbooks that are also on the
community site?

On Tue, Jan 29, 2013 at 7:56 AM, Torben Knerr ukio@gmx.de wrote:

And so can librarian https://github.com/applicationsonline/librarian:

$ librarian-chef outdated [–verbose]

Both are fantastic tools for cookbook dependency management you might want
to check out if you haven’t already.

Cheers, Torben

On Tue, Jan 29, 2013 at 1:00 PM, Brian Akins brian@akins.org wrote:

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies ashmere@gmail.com wrote:

Does anyone have a tool or script that will check your chef or chef
repo to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.


#6

thanks guys I’ll take a look at both librarian and berkshelf and see which
works better for me.
I guess I should be using one of them for cookbook management anyway.
-Mat

On 29 January 2013 13:17, Jesse Campbell hikeit@gmail.com wrote:

I’m using librarian… it will tell me if cookbooks that are sourced from
the community site are outdated against the community site.
but, it won’t tell me if cookbooks that I’ve downloaded from the community
site into my local repo are now outdated (we downloaded apache2, added one
attribute to it, and now we’re about 5 versions behind).

Does berkshelf check your own repo for cookbooks that are also on the
community site?

On Tue, Jan 29, 2013 at 7:56 AM, Torben Knerr ukio@gmx.de wrote:

And so can librarian https://github.com/applicationsonline/librarian:

$ librarian-chef outdated [–verbose]

Both are fantastic tools for cookbook dependency management you might
want to check out if you haven’t already.

Cheers, Torben

On Tue, Jan 29, 2013 at 1:00 PM, Brian Akins brian@akins.org wrote:

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies ashmere@gmail.com wrote:

Does anyone have a tool or script that will check your chef or chef
repo to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.


#7

For those not using any extra cookbook management apps I wrote a quick little Ruby script called ocd_check. It looks up every cookbook in your local chef repo against the community site

Sent from my iPhone

On Jan 29, 2013, at 7:36 AM, Mat Davies ashmere@gmail.com wrote:

thanks guys I’ll take a look at both librarian and berkshelf and see which works better for me.
I guess I should be using one of them for cookbook management anyway.
-Mat

On 29 January 2013 13:17, Jesse Campbell hikeit@gmail.com wrote:

I’m using librarian… it will tell me if cookbooks that are sourced from the community site are outdated against the community site.
but, it won’t tell me if cookbooks that I’ve downloaded from the community site into my local repo are now outdated (we downloaded apache2, added one attribute to it, and now we’re about 5 versions behind).

Does berkshelf check your own repo for cookbooks that are also on the community site?

On Tue, Jan 29, 2013 at 7:56 AM, Torben Knerr ukio@gmx.de wrote:

And so can librarian:
$ librarian-chef outdated [–verbose]
Both are fantastic tools for cookbook dependency management you might want to check out if you haven’t already.

Cheers, Torben

On Tue, Jan 29, 2013 at 1:00 PM, Brian Akins brian@akins.org wrote:

On Tue, Jan 29, 2013 at 6:56 AM, Mat Davies ashmere@gmail.com wrote:

Does anyone have a tool or script that will check your chef or chef repo to
see if any of the community cookbooks are out of date with the current
community version and give you a list of those that are?

Berkshelf can do that - although that feature is tagged as beta.