Cut the peeled pumpkin into slices and wrap each bun with smoked bacon. Put the pumpkin on a baking sheet, pour oil and maple syrup on top. Place between the slices of pumpkin cloves of garlic and sprigs of thyme, salt and pepper to taste.
Bake at 180 degrees for 30-40 minutes. Serve warm.