separate *-dbg packages and add an attribute to manage it

This commit is contained in:
Guilhem Lettron
2013-03-06 18:08:43 +01:00
parent eb75034b02
commit b87b391e0f
3 changed files with 16 additions and 3 deletions

View File

@@ -19,11 +19,17 @@
packages = %w{
ceph
ceph-dbg
ceph-common
ceph-common-dbg
}
if node['ceph']['install_debug']
packages_dbg = %w{
ceph-dbg
ceph-common-dbg
}
packages = packages + packages_dbg
end
packages.each do |pkg|
package pkg do
action :upgrade