1
# Copyright 2015 Canonical Ltd. This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
4
"""Service class for the monitored tgt service."""
10
from provisioningserver.drivers.service import (
16
class TGTService(Service):
17
"""Monitored tgt service."""
22
def get_expected_state(self):
23
"""Return a the expected state for the tgt service.
25
The tgt service should always be on. No condition exists where it
28
return SERVICE_STATE.ON