from genes import apt
import platform

class Config:
    OS = platform.system()
    (DIST, _, CODE) = platform.linux_distribution()
    REPO = DIST.lower() + '-' + CODE

def main():
    if Config.OS == 'Linux':
        if Config.DIST == 'Ubuntu' or Config.DIST == 'Debian':
            apt.recv_key('58118E89F3A912897C070ADBF76221572C52609D')
            apt.add_repo('docker.list', 'https://apt.dockerproject.org/repo', Config.REPO, 'main')
            apt.update()
            apt.install('docker-engine')
            
        else:
            #FIXME: print failure case
            pass
    
    else:
        #FIXME: print failure, handle osx/windows
        pass

@@ -509,24 +509,57 @@
             
+#FIXME: add compose, machine, etc
 %0A        els
@@ -621,16 +621,99 @@
 ass%0A    
+elif Config.OS = 'Darwin':%0A        #brew_cask.install('dockertoolbox')%0A        pass
 %0A    els

Add todos and stubs for osx