diff --git a/recipes/default.rb b/recipes/default.rb index fd590de..7d1eb57 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -24,24 +24,24 @@ packages = %w( ceph ceph-common -) + ) if node['ceph']['install_debug'] packages_dbg = %w( ceph-dbg ceph-common-dbg -) + ) packages += packages_dbg end when 'rhel', 'fedora' packages = %w( ceph -) + ) if node['ceph']['install_debug'] packages_dbg = %w( ceph-debug -) + ) packages += packages_dbg end end diff --git a/recipes/radosgw.rb b/recipes/radosgw.rb index a69ffbc..85e5d6a 100644 --- a/recipes/radosgw.rb +++ b/recipes/radosgw.rb @@ -23,18 +23,18 @@ when 'debian' packages = %w( radosgw -) + ) if node['ceph']['install_debug'] packages_dbg = %w( radosgw-dbg -) + ) packages += packages_dbg end when 'rhel', 'fedora', 'suse' packages = %w( ceph-radosgw -) + ) end packages.each do |pkg| diff --git a/recipes/radosgw_apache2.rb b/recipes/radosgw_apache2.rb index 59e8233..b2694d9 100644 --- a/recipes/radosgw_apache2.rb +++ b/recipes/radosgw_apache2.rb @@ -22,12 +22,12 @@ packages = %w( apache2 libapache2-mod-fastcgi -) + ) when 'rhel', 'fedora' packages = %w( httpd mod_fastcgi -) + ) end packages.each do |pkg| diff --git a/recipes/tgt.rb b/recipes/tgt.rb index 330047a..eb353e9 100644 --- a/recipes/tgt.rb +++ b/recipes/tgt.rb @@ -23,11 +23,11 @@ when 'debian' packages = %w( tgt -) + ) when 'rhel', 'fedora' packages = %w( scsi-target-utils -) + ) end packages.each do |pkg|