AFAIK, to put a master IP in a provisioning profile, use set. If you want to remove a master IP from the profile, use clear. I think in some older versions, it defaulted to "clear," which was a mess.
However, if all you want to use a provisioning profile for is to set what the master is, you don't need a provisioning profile. Just set the LMS in the AP System Group.