Class: Inspec::Resources::SystemdService

Inherits:
Service
  • Object
show all
Defined in:
lib/inspec/resources/service.rb

Overview

specific resources for specific service managers

Instance Attribute Summary

Attributes inherited from Service

#service_ctl

Instance Method Summary collapse

Methods inherited from Service

#description, #enabled?, #initialize, #installed?, #name, #params, #runlevels, #running?, #startmode, #to_s, #type

Constructor Details

This class inherits a constructor from Inspec::Resources::Service

Instance Method Details

#select_service_mgmtObject



690
691
692
# File 'lib/inspec/resources/service.rb', line 690

def select_service_mgmt
  Systemd.new(inspec, service_ctl)
end