added lib to determine plattform and put the proper repo in place.  this is to support centos. removed apt_repo recipe