Alexandre Marangone 57c6e08276 Support EL, Fedora and (open)SuSE repo
- Recipe is now ceph::repo
- For EL, add EPEL repository for dependencies by default.
Deactivable by using el_add_epel: false under ceph: {} in
the chef environment.
- Handle package names difference between EL/FC/SuSE and Debian.

Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
2013-03-26 14:55:46 -07:00

9 lines
154 B
Ruby

case node['platform_family']
when "debian"
include_recipe "ceph::apt"
when "rhel", "suse"
include_recipe "ceph::rpm"
else
raise "not supported"
end