In a small saucepan, combine cranberries, balsamic, sugar, rosemary, water, and salt. Stir to combine. Bring to a simmer over medium heat. Cook for ten minutes until thick.
Add above ingredients to food processor and pulse until a compote consistency.
Cut the puff pastry into an 8x8-inch square.
Place the puff pastry on a greased baking sheet.
Place the brie in the center of the dough. Pinch the dough up along the edges of the brie. Do not totally cover the brie. Brush all edges of the dough with the melted butter.
Spoon the sauce on to the brie. Place the brie in the oven and bake for 12-15 minutes until the edges are lightly golden and crisp. Top with pecans and sprig of rosemary to garnish. Allow baked brie to cool for 5-10 minutes before serving and slicing.