Permalink
Browse files

Ensure correct ordering of ceph roles in run list for any given node.

On any given node, the ceph-mon role needs to precede ceph-store on the
Chef runlist if both are present.

https://bugzilla.novell.com/show_bug.cgi?id=776827
  • Loading branch information...
1 parent 5a483d5 commit 34a341843944ece906eb3928612c43ffce1cfb41 @aspiers aspiers committed Aug 28, 2012
Showing with 15 additions and 0 deletions.
  1. +5 −0 chef/data_bags/crowbar/bc-template-ceph.json
  2. +10 −0 chef/data_bags/crowbar/bc-template-ceph.schema
View
5 chef/data_bags/crowbar/bc-template-ceph.json
@@ -21,6 +21,11 @@
[ "ceph-mon" ],
[ "ceph-store" ]
],
+ "element_run_list_order": {
+ "ceph-mon-master": 80,
+ "ceph-mon": 81,
+ "ceph-store": 82
+ },
"config": {
"environment": "ceph-base-config",
"mode": "full",
View
10 chef/data_bags/crowbar/bc-template-ceph.schema
@@ -64,6 +64,16 @@
"sequence": [ { "type": "str" } ]
} ]
},
+ "element_run_list_order": {
+ "type": "map",
+ "required": false,
+ "mapping": {
+ = : {
+ "type": "int",
+ "required": true
+ }
+ }
+ },
"config": {
"type": "map",
"required": true,

0 comments on commit 34a3418

Please sign in to comment.