On Fri, Apr 18, 2014 at 12:58 PM, Kurt Bosselman <[email protected]> wrote:
> However, I tried to use the preserve_order flag and received a similar
> message:
>
> shell provisioner:
>
> * The following settings shouldn't exist: preserve_order
>
I suspect it's the same problem as the earlier one with :id. Try this patch.
diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb
index 79e667f..5c86afb 100644
--- a/plugins/kernel_v2/config/vm.rb
+++ b/plugins/kernel_v2/config/vm.rb
@@ -265,6 +265,7 @@ module VagrantPlugins
end
prov.preserve_order = !!options[:preserve_order]
+ options.delete(:preserve_order)
prov.add_config(options, &block)
nil
end
> Not entirely sure I'm using it correctly as I couldn't find an example:
> inline: "echo virtualbox chef-install override", id:
> "chef-install", preserve_order: true
Once you apply that patch, this should work. Try it and let me know.
Aravind.
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.