Fix websockets ip address config
[integration/packaging/puppet-opendaylight.git] / manifests / service.pp
index acf6c0d7cb70f73be5c08ab2b43fc1a65752f952..7f8786e54368479ef8db25a36e4878ce10a2c9b1 100644 (file)
@@ -1,15 +1,13 @@
 # == 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,
   }
 }