added a condition check for chef::solo