Specific environment for deploying Salt in Vagrantfile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Specific environment for deploying Salt in Vagrantfile

Hi guys,

I am trying to figure out how to do something the seems pretty basic to me, but I can't find how to achieve it.

I would like to be able to, using the same states, deploy my production app on a certain number of machines (3), but on only one machine for development purposes (using Vagrant).
My original idea was to either declare a "vagrant.sls" file, replacing "top.sls" (preferred solution), or to declare different environments in the "top.sls" file. However, I can't figure out how to specify the desired environment using the Vagrant Salt module.

Am I trying to do something wrong? Would the standard process be something else?

Thanks for any help,

PS: I am also posting in the Salt user group, not sure exactly who could help, I'll update either of both post when a solution comes out.

This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/ad1a074b-c8a8-4685-9d7b-44dcb386c1bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.