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


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

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.

§