Will the real chef-server cookbook please stand up?

Hey guys,

Just wondering - I’m seeing a very barebone version of chef-server
cookbook at https://github.com/opscode-cookbooks/chef-server and a
fully-functional one shipped with the Chef 11 RPM. Is there any reason
why Github doesn’t contain the RPM version?


Best regards, Dmitriy V.

That github cookbook just automates the steps here:

That would be appropriate to feed into chef-solo or chef-client -z in
order to automate building a chef-server. You can also just run this:

curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -P
server

The cookbooks inside the chef-server RPM that are run via sudo chef-server-ctl reconfigure are "internal" to the chef-server-ctl
"API" and their sources are here:

TL;DR: "yo dawg, i put some chef around your chef to run your chef" or
something like that... but I'm too old for memes...

On Tue Apr 8 14:56:58 2014, DV wrote:

Hey guys,

Just wondering - I'm seeing a very barebone version of chef-server
cookbook at GitHub - chef-cookbooks/chef-server: Cookbook to install standalone Chef Server and a
fully-functional one shipped with the Chef 11 RPM. Is there any reason
why Github doesn't contain the RPM version?

Great answer, you cleared up all of the confusion I've had. Thank you!

We've written a wrapper cookbook to help with setting up HA Chef by
splitting the services onto separate hardware and enabling replication
for Postgres/Solr/Bookshelf. We ended up with 4 types of hosts (4th
being the web UI / API server).

However, we couldn't use the postgresql recipe that comes with
chef-server cookbook because it doesn't have any attributes to set up
replication. Also, once we've modified all the log_directory
attributes, "chef-server-ctl tail" broke.. I wonder if someone
somewhere would like to know more about this.

We've managed to avoid modifying chef-server cookbook to fit our
purposes, though, which says that the authors have done a great job at
making it customizable enough.

On Tue, Apr 8, 2014 at 3:31 PM, Lamont Granquist lamont@opscode.com wrote:

That github cookbook just automates the steps here:

Install the Chef Infra Server

That would be appropriate to feed into chef-solo or chef-client -z in order
to automate building a chef-server. You can also just run this:

curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -P server

The cookbooks inside the chef-server RPM that are run via sudo chef-server-ctl reconfigure are "internal" to the chef-server-ctl "API" and
their sources are here:

https://github.com/opscode/omnibus-chef-server/tree/master/files/chef-server-cookbooks

TL;DR: "yo dawg, i put some chef around your chef to run your chef" or
something like that... but I'm too old for memes...

On Tue Apr 8 14:56:58 2014, DV wrote:

Hey guys,

Just wondering - I'm seeing a very barebone version of chef-server
cookbook at GitHub - chef-cookbooks/chef-server: Cookbook to install standalone Chef Server and a
fully-functional one shipped with the Chef 11 RPM. Is there any reason
why Github doesn't contain the RPM version?

--
Best regards, Dmitriy V.

Can you pur your HA recipes on GitHub :slight_smile: I think it can insterest many
people here.
Maybe maybe you could grab some help to makes replications working :wink:

Regards

On Sat, Apr 12, 2014 at 3:38 AM, DV vindimy@gmail.com wrote:

Great answer, you cleared up all of the confusion I've had. Thank you!

We've written a wrapper cookbook to help with setting up HA Chef by
splitting the services onto separate hardware and enabling replication
for Postgres/Solr/Bookshelf. We ended up with 4 types of hosts (4th
being the web UI / API server).

However, we couldn't use the postgresql recipe that comes with
chef-server cookbook because it doesn't have any attributes to set up
replication. Also, once we've modified all the log_directory
attributes, "chef-server-ctl tail" broke.. I wonder if someone
somewhere would like to know more about this.

We've managed to avoid modifying chef-server cookbook to fit our
purposes, though, which says that the authors have done a great job at
making it customizable enough.

On Tue, Apr 8, 2014 at 3:31 PM, Lamont Granquist lamont@opscode.com
wrote:

That github cookbook just automates the steps here:

Install the Chef Infra Server

That would be appropriate to feed into chef-solo or chef-client -z in
order
to automate building a chef-server. You can also just run this:

curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -P
server

The cookbooks inside the chef-server RPM that are run via sudo chef-server-ctl reconfigure are "internal" to the chef-server-ctl "API"
and
their sources are here:

https://github.com/opscode/omnibus-chef-server/tree/master/files/chef-server-cookbooks

TL;DR: "yo dawg, i put some chef around your chef to run your chef" or
something like that... but I'm too old for memes...

On Tue Apr 8 14:56:58 2014, DV wrote:

Hey guys,

Just wondering - I'm seeing a very barebone version of chef-server
cookbook at GitHub - chef-cookbooks/chef-server: Cookbook to install standalone Chef Server and a
fully-functional one shipped with the Chef 11 RPM. Is there any reason
why Github doesn't contain the RPM version?

--
Best regards, Dmitriy V.

--
Barthélemy Vessemont - bvessemont@gmail.com
Ingénieur en informatique diplômé de l'UTC (Compiègne)

Yes, actually I was going to write a how-to blog post describing the
process so that others can pick up where I left off - so I'll get on
that shortly.

On Sat, Apr 12, 2014 at 6:40 AM, Barthélemy Vessemont
bvessemont@gmail.com wrote:

Can you pur your HA recipes on GitHub :slight_smile: I think it can insterest many
people here.
Maybe maybe you could grab some help to makes replications working :wink:

Regards

On Sat, Apr 12, 2014 at 3:38 AM, DV vindimy@gmail.com wrote:

Great answer, you cleared up all of the confusion I've had. Thank you!

We've written a wrapper cookbook to help with setting up HA Chef by
splitting the services onto separate hardware and enabling replication
for Postgres/Solr/Bookshelf. We ended up with 4 types of hosts (4th
being the web UI / API server).

However, we couldn't use the postgresql recipe that comes with
chef-server cookbook because it doesn't have any attributes to set up
replication. Also, once we've modified all the log_directory
attributes, "chef-server-ctl tail" broke.. I wonder if someone
somewhere would like to know more about this.

We've managed to avoid modifying chef-server cookbook to fit our
purposes, though, which says that the authors have done a great job at
making it customizable enough.

On Tue, Apr 8, 2014 at 3:31 PM, Lamont Granquist lamont@opscode.com
wrote:

That github cookbook just automates the steps here:

Install the Chef Infra Server

That would be appropriate to feed into chef-solo or chef-client -z in
order
to automate building a chef-server. You can also just run this:

curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -P
server

The cookbooks inside the chef-server RPM that are run via sudo chef-server-ctl reconfigure are "internal" to the chef-server-ctl "API"
and
their sources are here:

https://github.com/opscode/omnibus-chef-server/tree/master/files/chef-server-cookbooks

TL;DR: "yo dawg, i put some chef around your chef to run your chef" or
something like that... but I'm too old for memes...

On Tue Apr 8 14:56:58 2014, DV wrote:

Hey guys,

Just wondering - I'm seeing a very barebone version of chef-server
cookbook at GitHub - chef-cookbooks/chef-server: Cookbook to install standalone Chef Server and a
fully-functional one shipped with the Chef 11 RPM. Is there any reason
why Github doesn't contain the RPM version?

--
Best regards, Dmitriy V.

--
Barthélemy Vessemont - bvessemont@gmail.com
Ingénieur en informatique diplômé de l'UTC (Compiègne)

--
Best regards, Dmitriy V.