Updating the chef client


#1

What’s the preferred method for updating the chef client under Chef 11?
There doesn’t seem to be an APT repo, so I can’t manage it that way…
should I write a custom rule that downloads the DEB from S3 and installs it?

Also, what’s the “right” way to configure the chef client to daemonize
under Chef 11? The omnibus packages don’t seem to include an init script
that I can see.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS


#2

I guess the best way is to use the chef-client cookbook: http://community.opscode.com/cookbooks/chef-client

I haven’t done a chef-client upgrade so far, but for installing and configuring the client (and running it as a daemon), that’s definitely the way to go.

  • cassiano

On Tuesday, April 23, 2013 at 16:32, Morgan Blackthorne wrote:

What’s the preferred method for updating the chef client under Chef 11? There doesn’t seem to be an APT repo, so I can’t manage it that way… should I write a custom rule that downloads the DEB from S3 and installs it?

Also, what’s the “right” way to configure the chef client to daemonize under Chef 11? The omnibus packages don’t seem to include an init script that I can see.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS


#3

Heavy Water omnibus_updater cookbook.

Cheers,

AJ
On 24/04/2013 7:33 AM, “Morgan Blackthorne” stormerider@gmail.com wrote:

What’s the preferred method for updating the chef client under Chef 11?
There doesn’t seem to be an APT repo, so I can’t manage it that way…
should I write a custom rule that downloads the DEB from S3 and installs it?

Also, what’s the “right” way to configure the chef client to daemonize
under Chef 11? The omnibus packages don’t seem to include an init script
that I can see.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS


#4

Thanks to you both, that’s very helpful. I need to update my chef-*
cookbooks, but I didn’t realize that the chef-client cookbook would
actually configure the init script when it wasn’t shipped in the omnibus.
And the omnibus updater is exactly what I’m looking for.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS

On Tue, Apr 23, 2013 at 12:42 PM, AJ Christensen aj@junglist.gen.nz wrote:

Heavy Water omnibus_updater cookbook.

Cheers,

AJ
On 24/04/2013 7:33 AM, “Morgan Blackthorne” stormerider@gmail.com wrote:

What’s the preferred method for updating the chef client under Chef 11?
There doesn’t seem to be an APT repo, so I can’t manage it that way…
should I write a custom rule that downloads the DEB from S3 and installs it?

Also, what’s the “right” way to configure the chef client to daemonize
under Chef 11? The omnibus packages don’t seem to include an init script
that I can see.

Thanks!


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS