from os.path import join

# Base Path for ceph
base_path = '/var/lib/ceph'

# Base run Path
base_run_path = '/var/run/ceph'

tmp_path = join(base_path, 'tmp')

mon_path = join(base_path, 'mon')

mds_path = join(base_path, 'mds')

osd_path = join(base_path, 'osd')

# Default package components to install
default_components = (
    'ceph-osd',
    'ceph-radosgw',
    'ceph-mds',
    'ceph-mon',
    'ceph',
)

@@ -17,16 +17,51 @@
 ort join
+%0Afrom collections import namedtuple
 %0A%0A# Base
@@ -337,15 +337,13 @@
 all%0A
-default
+_base
 _com
@@ -352,17 +352,17 @@
 nents = 
-(
+%5B
 %0A    'ce
@@ -384,15 +384,11 @@
 eph-
-radosgw
+mds
 ',%0A 
@@ -389,34 +389,34 @@
 ds',%0A    'ceph-m
-ds
+on
 ',%0A    'ceph-mon
@@ -415,25 +415,383 @@
 ceph
--mon',%0A    'ceph',%0A
+',%0A%5D%0A%0Adefault_components = namedtuple('DefaultComponents', %5B'rpm', 'deb'%5D)%0A%0A# the difference here is because RPMs currently name the radosgw differently than DEBs.%0A# TODO: This needs to get unified once the packaging naming gets consistent%0Adefault_components.rpm = tuple(_base_components.append('ceph-radosgw'))%0Adefault_components.deb = tuple(_base_components.append('radosgw')
 )%0A

create distinct rpm/deb default packages