Fix salt provisioning validation

(mismatch between minion/master)
This commit is contained in:
Bruno Binet 2014-01-08 18:11:11 +01:00
parent d0cf22dd5f
commit 9625957203
1 changed files with 3 additions and 3 deletions

View File

@ -92,12 +92,12 @@ module VagrantPlugins
if @minion_key || @minion_pub
if !@minion_key || !@minion_pub
errors << @minion_pub
errors << I18n.t("vagrant.provisioners.salt.missing_key")
end
end
if @master_key && @master_pub
if !@minion_key && !@minion_pub
if @master_key || @master_pub
if !@master_key || !@master_pub
errors << I18n.t("vagrant.provisioners.salt.missing_key")
end
end