[chef] Re: node doesn't show attributes inherited from role in shef


Chronological Thread 
  • From: Bryan Berry < >
  • To:
  • Subject: [chef] Re: node doesn't show attributes inherited from role in shef
  • Date: Fri, 14 Oct 2011 07:44:55 +0200

I forgot to mention that I am  running shef in client mode and I see it load its assigned roles and recipes

On Fri, Oct 14, 2011 at 7:19 AM, Bryan Berry < "> > wrote:
I have created a role "lan0" that applies attributes to all the nodes that use it.

I can access these attributes from within a recipe however they are not visible when I am using shef. Is this a feature or a bug?


lan0.json

{
  "name": "lan0",
  "default_attributes": {
  },
  "json_class": "Chef::Role",
  "env_run_lists": {
  },
  "run_list": [

  ],
  "description": "Attributes and run_lists specific to the LAN network segment",
  "chef_type": "role",
  "override_attributes": {
    "smtp_relay_host": "foohqmail.foo.org",
    "domain": "HQ.FOO.ORG",
    "resolver": {
      "nameservers": [
        "168.50.3.8",
        "168.50.3.90"
      ],
      "search": "hq.foo.org foo.org"
    },
    "ntp": {
      "servers": [
        "ntp.foo.org"
      ]
    }
  }
}





Archive powered by MHonArc 2.6.16.

§