update postinstall script for debian7
update chef postinstall script for sl6