class Packer::Provisioner::WindowsRestart

Public Class Methods

new() click to toggle source
Calls superclass method Packer::Provisioner::new
# File lib/packer/provisioners/windows_restart.rb, line 8
def initialize
  super
  self.data['type'] = WINDOWS_RESTART
end

Public Instance Methods

restart_check_command(command) click to toggle source
# File lib/packer/provisioners/windows_restart.rb, line 17
def restart_check_command(command)
  self.__add_string('restart_check_command', command)
end
restart_command(command) click to toggle source
# File lib/packer/provisioners/windows_restart.rb, line 13
def restart_command(command)
  self.__add_string('restart_command', command)
end
restart_timeout(timeout) click to toggle source
# File lib/packer/provisioners/windows_restart.rb, line 21
def restart_timeout(timeout)
  self.__add_string('restart_timeout', timeout)
end