Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
# See the License for the specific language governing permissions and
# limitations under the License.
-packages = %w{
- radosgw
-}
+case node['platform_family']
+when "debian"
+ packages = %w{
+ radosgw
+ }
-if node['ceph']['install_debug']
- packages_dbg = %w{
- radosgw-dbg
+ if node['ceph']['install_debug']
+ packages_dbg = %w{
+ radosgw-dbg
+ }
+ packages += packages_dbg
+ end
+when "rhel","fedora","suse"
+ packages = %w{
+ ceph-radosgw
}
- packages += packages_dbg
end
packages.each do |pkg|