Add chef_zero provisioner support.
This commit is contained in:
parent
3b18f4a5ec
commit
dd32f2472e
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module VagrantPlugins
|
||||||
module ChefFileCachePath
|
module ChefFileCachePath
|
||||||
def self.chef_provisioner?(machine)
|
def self.chef_provisioner?(machine)
|
||||||
provisioners = machine.config.vm.provisioners
|
provisioners = machine.config.vm.provisioners
|
||||||
chef_provisioners = [:chef_solo, :chef_client]
|
chef_provisioners = [:chef_solo, :chef_client, :chef_zero]
|
||||||
compat_provisioners = provisioners.select { |p| chef_provisioners.include? p.name || p.type }
|
compat_provisioners = provisioners.select { |p| chef_provisioners.include? p.name || p.type }
|
||||||
|
|
||||||
if compat_provisioners.size > 1
|
if compat_provisioners.size > 1
|
||||||
|
|
Loading…
Reference in a new issue