- From: Arnold Krille <
>
- To:
- Subject: [chef] node['chef_environment'] or node['chef_client']['environment']
- Date: Mon, 10 Dec 2012 21:33:17 +0100
Hi all,
the subject says it already. I am developing a recipe to deploy
backuppc (scheduled to make opensource in the next weeks) and I want
the server to find the clients in the same environment. So in the
test-environment I tried with the server getting its own environment
from node.chef_client.environment and it worked.
Today I did the first deploy to production and that node didn't have
node.chef_client.environment set (altough chef-client did run a few
times since bootstrapping with the -E-option). So I wonder which one is
the better to use to detect a nodes own environment?
Thanks in advance,
Arnold
Attachment:
signature.asc
Description: PGP signature
- [chef] node['chef_environment'] or node['chef_client']['environment'], Arnold Krille, 12/10/2012
Archive powered by MHonArc 2.6.16.