# == Class opendaylight::service
#
-# This class is meant to be called from opendaylight.
-# It ensure the service is running.
+# Starts the OpenDaylight systemd service.
#
class opendaylight::service {
- # TODO: Actually make ODL into a service that works this way
-
- service { $::opendaylight::service_name:
+ service { 'opendaylight':
ensure => running,
enable => true,
hasstatus => true,
+ # TODO: Confirm this is actually supported by ODL service
hasrestart => true,
}
}