You haven't told what you want your turret to do, only what it does.
If you want your barrel to point at an enemy, you can use iTween Look To, which allows you to take the transform of your enemy and turn the turret to "look" in that direction. You can even restrain certain axis to prevent the barrel from pointing up, fx.
Just notice that you need to have the barrel object "zeroed" axis wise, before mounting it on your base.