Updating environments with Rake

Hi,

I’ve added some environments to our Chef repository and (using the Rakefile
that comes with the Chef repo) I’m trying to update the Chef server.

The documentation about environments () states: “Each time you rake install
your Chef Repository, we will re-compile the corresponding JSON and store
it in the chef server.” however if I do a “rake install” the server doesn’t
seem to be updated with the changes. Is there something I’m missing?

Thanks,
Mark

On Wednesday, June 6, 2012 at 9:11 AM, mark bradley wrote:

Hi,

I've added some environments to our Chef repository and (using the Rakefile that comes with the Chef repo) I'm trying to update the Chef server.

The documentation about environments () states: "Each time you rake install your Chef Repository, we will re-compile the corresponding JSON and store it in the chef server." however if I do a "rake install" the server doesn't seem to be updated with the changes. Is there something I'm missing?

Thanks,
Mark

Which page is this?

--
Dan DeLeo

It's on http://wiki.opscode.com/display/chef/Environments under the heading
"The Ruby DSL"

Mark

On Wed, Jun 6, 2012 at 12:20 PM, Daniel DeLeo dan@kallistec.com wrote:

On Wednesday, June 6, 2012 at 9:11 AM, mark bradley wrote:

Hi,

I've added some environments to our Chef repository and (using the
Rakefile that comes with the Chef repo) I'm trying to update the Chef
server.

The documentation about environments () states: "Each time you rake
install your Chef Repository, we will re-compile the corresponding JSON and
store it in the chef server." however if I do a "rake install" the server
doesn't seem to be updated with the changes. Is there something I'm missing?

Thanks,
Mark

Which page is this?

--
Dan DeLeo