I patched it into commit bc9f877 and that fixed it. Shell provisioner
overrides are now working as I would expect them.

Any eta on when this might get patched into a release?

Thanks
Kurt


On Sat, Apr 19, 2014 at 2:14 AM, Aravind Gottipati <[email protected]>wrote:

> 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 a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vagrant-up/jL0OP5M4kCU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.

Reply via email to