You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by cl...@apache.org on 2011/09/16 14:39:10 UTC

svn commit: r1171525 - /incubator/deltacloud/trunk/server/support/fedora/deltacloud-core

Author: clalance
Date: Fri Sep 16 12:39:09 2011
New Revision: 1171525

URL: http://svn.apache.org/viewvc?rev=1171525&view=rev
Log:
Change the initscript to use the mock driver by default.

Since it is owned by the top-level deltacloud-core package
(and not the deltacloud-core-ec2 subpackage), there is no
guarantee that the ec2 driver will work.  Instead, use the
mock driver by default (which we know will work), and leave
it up to the user to install subpackages if they want to
use other drivers.

Signed-off-by: Chris Lalancette <cl...@redhat.com>

Modified:
    incubator/deltacloud/trunk/server/support/fedora/deltacloud-core

Modified: incubator/deltacloud/trunk/server/support/fedora/deltacloud-core
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/support/fedora/deltacloud-core?rev=1171525&r1=1171524&r2=1171525&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/support/fedora/deltacloud-core (original)
+++ incubator/deltacloud/trunk/server/support/fedora/deltacloud-core Fri Sep 16 12:39:09 2011
@@ -32,10 +32,10 @@ prog="deltacloud-core"
 #
 #
 API_ENV="${ENV:-production}"
-DRIVER="${DRIVER:-ec2}"
+DRIVER="${DRIVER:-mock}"
 PORT="${PORT:-3002}"
 LOGFILE="${LOGFILE:-/var/log/$prog/$DRIVER.log}"
-lockfile="${LOCKFILE:-/var/lock/subsys/$prog }"
+lockfile="${LOCKFILE:-/var/lock/subsys/$prog}"
 
 [ -r $LOGFILE ] && chown nobody $LOGFILE
 [ -r $lockfile ] && chown nobody $lockfile