lib/vagrant-invade/validator/provision/shell.rb in vagrant-invade-0.4.0.pre.alpha vs lib/vagrant-invade/validator/provision/shell.rb in vagrant-invade-0.4.0
- old
+ new
@@ -1,10 +1,11 @@
module VagrantPlugins
module Invade
module Validator
module Provision
+ # (see: https://docs.vagrantup.com/v2/provisioning/shell.html)
class Shell
attr_accessor :env
attr_accessor :shell
@@ -15,10 +16,10 @@
'privileged' => nil # Vagrant default is true
}
def initialize(env, shell)
@env = env
- @shell = Provision.validate_base(env, shell)
+ @shell = shell
end
def validate
return nil unless @shell