Open calvn opened 8 years ago
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?
Correct. Probably similar to how you can disable GUARD_CLEAN
through a true/false switch in the Vagrantfile.
That doesn't currently exist. "Guard Clean" is currently only controlled by environment variable.
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.
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 tovagrant 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.