Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 894)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#1157 fixed server: missing import in DBSettings.py desai https://www.google.com/accounts/o8/id?id=AItOawkfHvWdYf7g8kSZA32s7dhK0Xig9JKo_CA
Description

In 1.4.0pre1 an import is missing, causing an exception further down.

--- a/src/lib/Bcfg2/DBSettings.py
+++ b/src/lib/Bcfg2/DBSettings.py
@@ -9,6 +9,7 @@
 try:
     import django
     import django.conf
+    import django.core.management
     HAS_DJANGO = True
 except ImportError:
     HAS_DJANGO = False

/mkd

#1156 fixed client: SMF tool parsing fix desai https://www.google.com/accounts/o8/id?id=AItOawkfHvWdYf7g8kSZA32s7dhK0Xig9JKo_CA
Description

In 1.4.0pre1. 'str' has no attribute 'splitlines' - must use stdout, as in other places.

--- a/src/lib/Bcfg2/Client/Tools/SMF.py
+++ b/src/lib/Bcfg2/Client/Tools/SMF.py
@@ -104,7 +104,7 @@
         else:
             srvdata = \
                 self.cmd.run("/usr/bin/svcs -H -o STA %s" %
-                             entry.get('FMRI'))[1].splitlines()[0].split()
+                             entry.get('FMRI')).stdout.splitlines()[0].split()
             if srvdata[0] == 'MNT':
                 cmdarg = 'clear'
             else:

/mkd

#1155 fixed client: fix a typo in Action tool desai https://www.google.com/accounts/o8/id?id=AItOawkfHvWdYf7g8kSZA32s7dhK0Xig9JKo_CA
Description

In 1.4.0pre1 Action tool raised an exception. Here is the fix:

--- a/src/lib/Bcfg2/Client/Tools/Action.py      Tue Jul 29 11:33:41 2014 +0200
+++ b/src/lib/Bcfg2/Client/Tools/Action.py      Fri Aug 01 16:27:03 2014 +0200
@@ -36,7 +36,7 @@
             shell = True
             shell_string = '(in shell) '

-        if not Bcfg2.Options.setup.dryrun:
+        if not Bcfg2.Options.setup.dry_run:
             if Bcfg2.Options.setup.interactive:
                 prompt = ('Run Action %s%s, %s: (y/N): ' %
                           (shell_string, entry.get('name'),

/mkd

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.