For the record, I think this is wrong. The check should be something like:
```elsif value.length > 63 || value.length+ChefObject.cloud_domain.length>255```