Hi,
Maybe something like this.
You could first tell vagrant not to run highstate:
config.vm.provision :salt do |salt|
salt.run_highstate = true
end
Then you could use a shell provisioner to run the chosen states:
config.vm.provision "shell",
inline: "salt-call --local state.sls foo,bar"
end
Hope this helps,
--
Ronan Amicel
On Wed, Feb 25, 2015 at 8:56 AM, Chris Withers <[email protected]> wrote:
> Hi All,
>
> Is there a way I can use the salt provisioner to run only a handful of
> states rather than doing a full highstate?
>
> Our full highstate does a bunch of stuff that doesn't make sense for an
> ephemperal development VM, and in fact, a lot of which just won't work.
>
> cheers,
>
> Chris
>
> --
> 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 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.