add tests for the normalized distro name

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
initial strucutre for determining distributions

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
more tests for get_distro
check we raise an UnsupportedP exception

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
allow a fallback option when no distro is found

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
a test to make sure we can fallback nicely

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
add documentation for the get function

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
patch pushy to allow us to do sudo

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
add an install module for debian

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
import the install function into the module

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
create the install module for CentOS

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
use the name that comes from lsb and slap the connection too

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
add proper init with install imports to fedora an suse

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
create the install module for fedora

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
create the install module for suse

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
remove all the 'if' conditionals for install and use hosts.get

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
remove all install functions from ceph_deploy.install

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
fix broken test for the new module magic

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Merge pull request #22 from alfredodeza/5727

Abstract host release/distro detection 

Reviewed-by: Sage Weil <sage@inktank.com>
mds: simplify, fix err.errno problem

Signed-off-by: Sage Weil <sage@inktank.com>