Upstart was legacy of Ubuntu 14.04, which we don't support.
Change-Id: I3081411a0237f26a900db5eb0965a5784a57e7f1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
+++ /dev/null
-# odl - OpenDaylight SDN Controller
-#
-# NB: The ODL Upstart config provided by ODL Puppet mod isn't well supported
-
-description "OpenDaylight SDN Controller"
-
-# Make sure we start before an interface receives traffic
-start on (started network-interface
- or started network-manager
- or started networking)
-
-stop on runlevel [!023456]
-
-console output
-
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64/
-
-exec start-stop-daemon --start --chuid odl:odl -u odl -n java --startas /opt/opendaylight/bin/karaf -- server
-
# == Class opendaylight::service
#
-# Starts the OpenDaylight systemd or Upstart service.
+# Starts the OpenDaylight systemd service.
#
class opendaylight::service {
service { 'opendaylight':
generic_tests
# Run test that specialize in checking deb-based installs
- # NB: Passing osfamily required to do upstart vs systemd (default) checks
# Note that this function is defined in spec_helper
- deb_install_tests(osfamily: osfamily)
+ deb_install_tests
# Run test that specialize in checking Karaf feature installs
# NB: Only testing defaults here, specialized Karaf tests elsewhere