[Python-apps-commits] r7005 - in packages/slapos.tool.grid/trunk/debian/patches (1 file)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Fri Apr 29 07:11:17 UTC 2011


    Date: Friday, April 29, 2011 @ 07:10:55
  Author: arnau
Revision: 7005

slapgrid.cfg has been renamed to slapos.cfg available in slapos.tool.format

Modified:
  packages/slapos.tool.grid/trunk/debian/patches/system_configuration_file_by_default.patch

Modified: packages/slapos.tool.grid/trunk/debian/patches/system_configuration_file_by_default.patch
===================================================================
--- packages/slapos.tool.grid/trunk/debian/patches/system_configuration_file_by_default.patch	2011-04-29 07:09:19 UTC (rev 7004)
+++ packages/slapos.tool.grid/trunk/debian/patches/system_configuration_file_by_default.patch	2011-04-29 07:10:55 UTC (rev 7005)
@@ -3,7 +3,7 @@
 Description: Fallback on system configuration file by default
  Scripts expect the configuration file as their first argument, but as
  the configuration file options are set up through debconf, fallback
- on /etc/slapos/slapgrid.cfg generated upon package installation.
+ on /etc/slapos/slapos.cfg generated upon package installation.
 
 --- a/src/slapos/tool/grid/slapgrid.py	2011-04-26 20:55:59.358391616 +0900
 +++ b/src/slapos/tool/grid/slapgrid.py	2011-04-26 21:02:31.362391796 +0900
@@ -11,8 +11,8 @@
  Typical usage:
   * %prog [options] CONFIGURATION_FILE
  
-+If CONFIGURATION_FILE is not given explicitly, it will fallback on
-+`/etc/slapos/slapgrid.cfg'.
++If CONFIGURATION_FILE is not given explicitly, it fallbacks on
++`/etc/slapos/slapos.cfg'.
 +
  Note : Command-line arguments supersede configuration file arguments.""".strip()
  
@@ -26,7 +26,7 @@
 -    parser.error("Configuration file is obligatory. Consult documentation by "
 -        "calling with -h.")
 -  configuration_file = argument_list[0]
-+    configuration_file = "/etc/slapos/slapgrid.cfg"
++    configuration_file = "/etc/slapos/slapos.cfg"
 +  else:
 +    configuration_file = argument_list[0]
    #FIXME library that gives not iterable instances of crap.




More information about the Python-apps-commits mailing list