Timeperiods from from data bags

https://tickets.opscode.com/browse/COOK-4105