[chef] Unable to set environment on a node during bootstrap


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Unable to set environment on a node during bootstrap
  • Date: Mon, 12 Sep 2011 09:04:01 -0700 (PDT)


Hello all,

I'm trying to bootstrap a new node, and set its environment so the correct
versions of its cookbooks are run during the bootstrap process.  It doesn't
seem to work - the new node is created with the environment "_default".  
Here's
the bootstrap command I'm using:

knife bootstrap node.domain -N node.domain -x root -P XXXXXX -r
role[datacenter1],role[dev],recipe[baseline] --distro centos5-gems
--environment dev

thanks in advance.

 -mg



Archive powered by MHonArc 2.6.16.

§