refactor osd_device status saving

Currently, chef set status at compile time and no at run-time.
So you can have a problem and a status set