Merge pull request #4268 from rajatchopra/master

Fix vagrant networking round 2
This commit is contained in:
Zach Loafman
2015-02-10 07:39:48 -08:00
6 changed files with 89 additions and 77 deletions

View File

@@ -70,4 +70,7 @@ kubelet:
- file: /etc/init.d/kubelet
{% endif %}
- file: /var/lib/kubelet/kubernetes_auth
{% if grains.network_mode is defined and grains.network_mode == 'openvswitch' %}
- sls: sdn
{% endif %}

View File

@@ -41,6 +41,10 @@ base:
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
- openvpn
{% endif %}
{% if grains['cloud'] is defined and grains['cloud'] == 'vagrant' %}
- docker
- sdn
{% endif %}
'roles:kubernetes-pool-vsphere':
- match: grain