Salt cloud master host

Scenario cloud map:

```
ubuntu_small:
  - master:
    make_master: True
    securitygroup: ['ssh-external', 'salt-internal']
  - web:
    securitygroup: ['ssh-external', 'salt-internal']
```

To run this from my local machine I must set `ssh_interface: public_ips` but this means the minions are configured to talk to the master on the public_ip which I don't allow with these security groups.

Proposed solution:
Also add `salt_interface: private_ips`. Then I can provision over ssh to the public interface but let the new master and minions communicate internally only.

Tested with ec2, would appreciate any thoughts or testing of the other providers which I've updated too. This could well break the clouds I haven't updated.
I am out and about tonight. I think this is an interesting solution, I am
not sure how I would solve it. I will think about it tonight and give you a
better response in the morning.
On Aug 13, 2014 4:55 PM, "Matthew Mead-Briggs" <notifications@github.com>
wrote:

> In salt/utils/cloud.py:
>
> > @@ -316,6 +316,7 @@ def bootstrap(vm_, opts):
> >      deploy_kwargs = {
> >          'opts': opts,
> >          'host': vm_['ssh_host'],
> > +        'salt_host': vm_['salt_host'],
>
> Maybe I should put something here to defend against it not being set by
> some of the providers i.e. default back to the ssh_host.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/saltstack/salt/pull/14968/files#r16209006>.
>