Class: Vagrant::Provisioners::Winrm::Config

Inherits:
Config::Base
  • Object
show all
Defined in:
lib/vagrant-windows/provisioners/winrm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#inlineObject

Returns the value of attribute inline.



7
8
9
# File 'lib/vagrant-windows/provisioners/winrm.rb', line 7

def inline
  @inline
end

Instance Method Details

#validate(env, errors) ⇒ Object



9
10
11
12
13
14
# File 'lib/vagrant-windows/provisioners/winrm.rb', line 9

def validate(env, errors)
  # Validate that the parameters are properly set
  if !inline
    errors.add("No inline set")
  end
end