Hi,

No, that doesn't work either.

Further investigation shows that it's a problem with syncing all of the
cookbooks for use with Chef solo. When running vagrant provision the
cookbooks are vendored to
~/.berkshelf/vagrant-berkshelf/shelves/berkshelf<some identifier>/cookbook
and I can see my updates in there. When provisioning is finished I can also
see the recipe changes applied to /vagrant/recipes.

None of this is useful though as the cookbooks are run from
/tmp/vagrant-chef/<hash>/cookbooks, which is not updated by either vagrant
provision or vagrant reload --provision when using ec2 as a provider.

Regards,
Yoshi

On 4 May 2015 at 16:09, Alvaro Miranda Aguilera <[email protected]> wrote:

> Can you test with  vagrant reload --provision ??
>
> On Tue, May 5, 2015 at 5:24 AM, Yoshi Spendiff <[email protected]>
> wrote:
> > Hi,
> >
> > I'm using vagrant-aws while developing cookbooks to use on Amazon Linux.
> I'm
> > also using vagrant-berkshelf for cookbook dependency mapping.
> >
> > I'm finding that running vagrant up works as intended but running vagrant
> > provision does not actually update the cookbooks on the instance. Is this
> > supposed to work or is it not currently a supported feature of
> vagrant-aws?
> > I've just been using destroy + up to apply changes.
> >
> > If it is supported then I figured it was something to do with my workflow
> > with berkshelf. Has anyone got this working?
> >
> > Regards,
> > Yoshi
> >
> > --
> > 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.
>
> --
> 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/_xe5dy9S5Eo/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