[chef] nodes, roles and recipes


Chronological Thread 
  • From: Kelly Goedert < >
  • To:
  • Subject: [chef] nodes, roles and recipes
  • Date: Wed, 4 Jan 2012 14:25:04 -0200

Hi,

I created a role, a node and added the chef-client recipe to this role and then added the role to the node. So far, so good. Now, I would like that for a particular node that has this role the chef client run interval to be different then 30min. How can I do this? As of now, my node configuration looks like this:

 {
  "normal": {
    "tags": [

    ]
  },
  "name": "mee13",
  "chef_environment": "_default",
  "run_list": [
    "role[developer]"
  ]
}


I added 

 {
  "normal": {
    "tags": [

    ]
  },
  "name": "mee13",
  "chef_environment": "_default",
  "chef_client": {
      "interval": 5
   },
  "run_list": [
    "role[developer]"
  ]
}

But the node config was not updated. What is wrong?

Thanks 

Kelly



Archive powered by MHonArc 2.6.16.

§