switch test-kitchen provisioner to chef-zero
This allows for using roles (when they're present in compiled form, i.e. JSON -- I added these). In theory it should help with all search() calls, but I haven't tested that yet.
This commit is contained in:
parent
11d68739cc
commit
1a08d7ab18
16
.kitchen.yml
16
.kitchen.yml
@ -9,9 +9,13 @@ platforms:
|
||||
- name: centos-6.4
|
||||
- name: centos-5.9
|
||||
|
||||
provisioner:
|
||||
name: chef_zero
|
||||
|
||||
suites:
|
||||
- name: default
|
||||
run_list:
|
||||
- "recipe[ceph::repo]"
|
||||
- "recipe[ceph]"
|
||||
attributes: &defaults
|
||||
ceph:
|
||||
@ -19,23 +23,19 @@ suites:
|
||||
fsid: ae3f1d03-bacd-4a90-b869-1a4fabb107f2
|
||||
mon_initial_members:
|
||||
- "127.0.0.1"
|
||||
- name: repo
|
||||
run_list:
|
||||
- "recipe[ceph::repo]"
|
||||
attributes: *defaults
|
||||
- name: osd
|
||||
run_list:
|
||||
- "recipe[ceph::osd]"
|
||||
- "role[ceph-osd]"
|
||||
attributes: *defaults
|
||||
- name: mon
|
||||
run_list:
|
||||
- "recipe[ceph::mon]"
|
||||
- "role[ceph-mon]"
|
||||
attributes: *defaults
|
||||
- name: mds
|
||||
run_list:
|
||||
- "recipe[ceph::mds]"
|
||||
- "role[ceph-mds]"
|
||||
attributes: *defaults
|
||||
- name: radosgw
|
||||
run_list:
|
||||
- "recipe[ceph::radosgw]"
|
||||
- "role[ceph-radosgw]"
|
||||
attributes: *defaults
|
||||
|
8
roles/ceph-mds.json
Normal file
8
roles/ceph-mds.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "ceph-mds",
|
||||
"description": "Ceph Metadata Server",
|
||||
"run_list": [
|
||||
"recipe[ceph::repo]",
|
||||
"recipe[ceph::mds]"
|
||||
]
|
||||
}
|
8
roles/ceph-mon.json
Normal file
8
roles/ceph-mon.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "ceph-mon",
|
||||
"description": "Ceph Monitor",
|
||||
"run_list": [
|
||||
"recipe[ceph::repo]",
|
||||
"recipe[ceph::mon]"
|
||||
]
|
||||
}
|
8
roles/ceph-osd.json
Normal file
8
roles/ceph-osd.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "ceph-osd",
|
||||
"description": "Ceph Object Storage Device",
|
||||
"run_list": [
|
||||
"recipe[ceph::repo]",
|
||||
"recipe[ceph::osd]"
|
||||
]
|
||||
}
|
8
roles/ceph-radosgw.json
Normal file
8
roles/ceph-radosgw.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "ceph-radosgw",
|
||||
"description": "Ceph RADOS Gateway",
|
||||
"run_list": [
|
||||
"recipe[ceph::repo]",
|
||||
"recipe[ceph::radosgw]"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user