Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Option disable vagrant orchestrate push command if there are multiple servers #43

Open
calvn opened this issue Jul 17, 2015 · 4 comments

Comments

@calvn
Copy link
Contributor

calvn commented Jul 17, 2015

There should be an option to disable the general vagrant orchestrate push command if there are more than one managed servers to prevent accidental push of servers that might be in other environments/datacenters. Something similar to vagrant ssh where you have to specify the target machine if there is more than one, but that also works when passing in a regex in this case.

@calvn calvn changed the title Option disable vagrant orchestrate push command if there are multiple servers Option disable vagrant orchestrate push command if there are multiple servers Jul 17, 2015
@chrisbaldauf
Copy link
Contributor

Interesting. So you're looking to require either a regex or the name of an individual server to the vagrant orchestrate push command? How would you expect that to look in the config.orchestrate section of the Vagrantfile?

@calvn
Copy link
Contributor Author

calvn commented Jul 17, 2015

Correct. Probably similar to how you can disable GUARD_CLEAN through a true/false switch in the Vagrantfile.

@chrisbaldauf
Copy link
Contributor

That doesn't currently exist. "Guard Clean" is currently only controlled by environment variable.

@calvn
Copy link
Contributor Author

calvn commented Jul 17, 2015

I see. In any case, the config.orchestrate variable for enabling/disabling should be a true/false value. I don't know the exact implementation, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants