Use apt and yum cookbooks in package cookbook.