How long do you mean by a couple weeks? Check the gravity to see if it's done fermenting before you rack to either secondary or a keg. If it's been in the primary for 2 weeks you can either leave it there for another week or two then keg, or you can rack to secondary for week or two then keg. Personally I'd probably leave it in the primary longer then rack to a keg but either way will work just fine. The most important thing is to check your gravity to make sure it's done fermenting.
Knucklehead Brewery, Est. 2007
Always do sober what you do drunk. That will teach you to keep your mouth shut. -Ernest Hemingway