Class: SrcMstr
- Inherits:
-
ServiceManager
- Object
- ServiceManager
- SrcMstr
- Defined in:
- lib/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 ServiceManager
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
173 174 175 |
# File 'lib/resources/service.rb', line 173 def name @name end |
Instance Method Details
#info(service_name) ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'lib/resources/service.rb', line 175 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 |