lib/vagrant-orchestrate/plugin.rb in vagrant-orchestrate-0.6.5 vs lib/vagrant-orchestrate/plugin.rb in vagrant-orchestrate-0.7.0.pre
- old
+ new
@@ -1,7 +1,8 @@
require "vagrant-orchestrate/action/filtermanaged"
require "vagrant-orchestrate/action/setcredentials"
+require "securerandom"
begin
require "vagrant"
rescue LoadError
raise "The Vagrant Orchestrate plugin must be run within Vagrant."
@@ -13,9 +14,10 @@
fail "The Vagrant Orchestrate plugin is only compatible with Vagrant 1.6+"
end
module VagrantPlugins
module Orchestrate
+ DEPLOYMENT_ID = SecureRandom.uuid
class Plugin < Vagrant.plugin("2")
name "Orchestrate"
description <<-DESC
This plugin installs commands that make pushing changes to vagrant-managed-servers easy.
DESC