Skip to content

Instantly share code, notes, and snippets.

@jsierles
Created September 30, 2009 18:33
Show Gist options
  • Select an option

  • Save jsierles/198327 to your computer and use it in GitHub Desktop.

Select an option

Save jsierles/198327 to your computer and use it in GitHub Desktop.
name "attr1"
description "Test attributes 1"
recipes "attribute_test"
default_attributes :test => {
:one => {1 => 1, 2 => 1, 3 => 1}
}
---
name "attr2"
description "Test attributes 2"
default_attributes :test => {
:one => {1 => 2, 3 => 4, 5 => 6}
}
--
"run_list": ["role[attr1]", "role[attr2]"]
--
node attributes show:
"one": {"1": "2", "3": "4", "5": "6"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment