Enable provision with --provision-with flag

This commit is contained in:
Evgeny Vereshchagin 2014-12-30 06:10:52 +03:00
parent 62711b49b0
commit 43bb715c00
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ module VagrantPlugins
parser.on("--provision-with x,y,z", Array,
"Enable only certain provisioners, by type.") do |list|
options[:provision_types] = list.map { |type| type.to_sym }
options[:provision_enabled] = true
options[:provision_ignore_sentinel] = true
end
end