Some HOAs have really strict rules about the kinds of animals you can raise (along with anything else they feel like restricting...) 
My ducks and geese have a 12x20 pen with a very simple A frame shelter inside to get out of the weather (usually just the sun in the summer, they almost never use it in the winter). The pen has a 6-foot fence all the way around, and netting on top. Now, we don't have a big old pond for them to sleep on safely, and we have coyotes and even occasionally mountain lions in town, so they have to be secured at night. I trained them when they were little to come when I feed them at night. And sometimes they can be herded (not always, it can take a while some nights to get them into the pen because the one white pekin drake is often chasing around one of the females (duck, goose, male, female, he's not all that picky!) but it generally goes pretty well, especially if they hear me drop some grain into their food dish!
During the day they have free range of the 1/2 acre pasture, and  from April to October they have a big cow waterer to use as a pond.
The irrigation was just turned on--time to get the hose out and fill 'er up!