Class: Specinfra::Command::Fedora::Base::Service
- Inherits:
-
Redhat::Base::Service
- Object
- Base
- Base::Service
- Linux::Base::Service
- Redhat::Base::Service
- Specinfra::Command::Fedora::Base::Service
- Defined in:
- lib/specinfra/command/fedora/base/service.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from Redhat::Base::Service
check_is_enabled, disable, enable, reload, restart, start, stop
Methods inherited from Base::Service
check_is_monitored_by_god, check_is_monitored_by_monit, check_is_running, check_is_running_under_supervisor, check_is_running_under_upstart
Methods inherited from Base
Class Method Details
.create ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/specinfra/command/fedora/base/service.rb', line 3 def create if os[:release].to_i < 15 self else Specinfra::Command::Fedora::V15::Service end end |