fixing FC017 and fixing spec failure based on chef gem dependency.