Class: Inspec::Resources::SrcMstr
- Inherits:
- 
      ServiceManager
      
        - Object
- ServiceManager
- Inspec::Resources::SrcMstr
 
- Defined in:
- lib/inspec/resources/service.rb
Overview
AIX services
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute name. 
Attributes inherited from ServiceManager
Instance Method Summary collapse
Methods inherited from ServiceManager
Constructor Details
This class inherits a constructor from Inspec::Resources::ServiceManager
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
| 332 333 334 | # File 'lib/inspec/resources/service.rb', line 332 def name @name end | 
Instance Method Details
#info(service_name) ⇒ Object
| 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | # File 'lib/inspec/resources/service.rb', line 334 def info(service_name) @name = service_name running = status? return nil if running.nil? { name: service_name, description: nil, installed: true, running: running, enabled: enabled?, type: "srcmstr", } end |