separate *-dbg packages and add an attribute to manage it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user