Modify

Ticket #475 (closed defect: fixed)

Opened 15 years ago

Last modified 8 years ago

Probes not working

Reported by: [email protected] Owned by: desai
Priority: major Milestone: Bcfg2 0.9.5 Release
Component: bcfg2-server Version: 0.9.x
Keywords: Cc:

Description

With bcfg-server 0.9.4, probes are not working if the probe has a shebang. The following patch fixes the problem for me:

--- ./src/lib/Server/Plugins/Metadata.py	2007-06-14 22:14:50.000000000 +0200
+++ /usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Metadata.py	2007-07-30 16:35:07.000000000 +0200
@@ -321,7 +321,7 @@
                     probe.set('interpreter', match.group('interpreter'))
                 else:
                     probe.set('interpreter', '/bin/sh')
-                    ret.append(probe)
+                ret.append(probe)
         return ret
 
     def ReceiveData(self, client, data):

Attachments

Change History

comment:1 Changed 15 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for the patch, this is fixed in svn.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.