Class: BradyW::IIS

Inherits:
BaseTask
  • Object
show all
Defined in:
lib/iis.rb

Overview

A task for starting/stopping IIS. The task will not fail if the service cannot be stopped successfully to avoid failing the build if IIS is already running.

Instance Attribute Summary collapse

Attributes inherited from BaseTask

#name, #unless

Instance Attribute Details

#commandObject

Required Command to execute, should be either :start or :stop



10
11
12
# File 'lib/iis.rb', line 10

def command
  @command
end

#service=(value) ⇒ Object

Optional Service to bounce, by default W3SVC will be bounced.



13
14
15
# File 'lib/iis.rb', line 13

def service=(value)
  @service = value
end