Permalink
Browse files

Allow for Role execution by state

  • Loading branch information...
1 parent 9f92aaf commit 7a6520fc252f6e7721ab4f6b3098364507120951 @galthaus galthaus committed Feb 13, 2012
Showing with 13 additions and 0 deletions.
  1. +3 −0 chef/data_bags/crowbar/bc-template-glance.json
  2. +10 −0 chef/data_bags/crowbar/bc-template-glance.schema
@@ -72,6 +72,9 @@
"deployment": {
"glance": {
"crowbar-revision": 0,
+ "element_states": {
+ "glance-server": [ "readying", "ready", "applying" ]
+ },
"elements": {},
"element_order": [
[ "glance-server" ]
@@ -117,6 +117,16 @@
"crowbar-revision": { "type": "int", "required": true },
"crowbar-committing": { "type": "bool" },
"crowbar-queued": { "type": "bool" },
+ "element_states": {
+ "type": "map",
+ "mapping": {
+ = : {
+ "type": "seq",
+ "required": true,
+ "sequence": [ { "type": "str" } ]
+ }
+ }
+ },
"elements": {
"type": "map",
"required": true,

0 comments on commit 7a6520f

Please sign in to comment.