If you wish to test ganglia 3.1.7 here is a small fix.

config.xml: fix version dep using the rel tag. Unfortunately, it doesn't seem 
to work (but it is better than nothing) (any version)
edit_ganglia_conf: fix config file paths. (3.1.7)

-- 
        Olivier LAHAYE
        CEAEA Saclay
        DRT-LIST-DCSI-DIR
Index: config.xml
===================================================================
--- config.xml	(révision 9202)
+++ config.xml	(copie de travail)
@@ -29,9 +29,9 @@
       <filters>
         <dist>fc</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-gmetad</pkg>
-      <pkg version=">=3.0.6" >ganglia-gmond</pkg>
-      <pkg version=">=3.0.6" >ganglia-web</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmetad</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmond</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-web</pkg>
       <pkg>php-gd</pkg>
       <pkg>php-common</pkg>
     </requires>
@@ -40,36 +40,36 @@
         <dist>ydl</dist>
         <dist>rhel</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-gmetad</pkg>
-      <pkg version=">=3.0.6" >ganglia-gmond</pkg>
-      <pkg version=">=3.0.6" >ganglia-web</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmetad</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmond</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-web</pkg>
       <pkg>php-gd</pkg>
     </requires>
     <requires>
       <filters>
         <dist>sles</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-gmetad</pkg>
-      <pkg version=">=3.0.6" >ganglia-gmond</pkg>
-      <pkg version=">=3.0.6" >ganglia-web</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmetad</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmond</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-web</pkg>
       <pkg>php4-gd</pkg>
     </requires>
     <requires>
       <filters>
         <dist>suse</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-gmetad</pkg>
-      <pkg version=">=3.0.6" >ganglia-gmond</pkg>
-      <pkg version=">=3.0.6" >ganglia-web</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmetad</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmond</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-web</pkg>
       <pkg>php5-gd</pkg>
     </requires>
     <requires>
       <filters>
         <dist>debian</dist>
       </filters>
-      <pkg version=">=3.0.6" >gmetad</pkg>
-      <pkg version=">=3.0.6" >ganglia-monitor</pkg>
-      <pkg version=">=3.0.6" >libganglia1</pkg>
+      <pkg version="3.0.6" rel=">=" >gmetad</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-monitor</pkg>
+      <pkg version="3.0.6" rel=">=" >libganglia1</pkg>
     </requires>
   </serverDeps>
   <clientDeps>
@@ -81,18 +81,23 @@
         <dist>sles</dist>
         <dist>suse</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-gmond</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-gmond</pkg>
     </requires>
     <requires>
       <filters>
         <dist>debian</dist>
       </filters>
-      <pkg version=">=3.0.6" >ganglia-monitor</pkg>
+      <pkg version="3.0.6" rel=">=" >ganglia-monitor</pkg>
     </requires>
   </clientDeps>
   <apiDeps/>
   <changelog>
-    <versionEntry version="3.0.10-1">
+    <versionEntry version="3.0.11-1">
+      <changelogEntry authorName="Olivier Lahaye" date="2010-04-21T13:33:05+02:00">
+        <item>Convert the test_user script to Perl to ease maintenance.</item>
+      </changelogEntry>
+    </versionEntry>
+     <versionEntry version="3.0.10-1">
       <changelogEntry authorName="Geoffroy Vallee" date="2010-01-04T16:03:05-05:00">
         <item>Convert the test_user script to Perl to ease maintenance.</item>
       </changelogEntry>
Index: scripts/edit_ganglia_conf
===================================================================
--- scripts/edit_ganglia_conf	(révision 9202)
+++ scripts/edit_ganglia_conf	(copie de travail)
@@ -60,8 +60,8 @@
             'verbose'   => \$verbose, 
           ) || help_and_die();
 
-my $gmetad_conf = "/etc/gmetad.conf";
-my $gmond_conf = "/etc/gmond.conf";
+my $gmetad_conf = "/etc/ganglia/gmetad.conf";
+my $gmond_conf = "/etc/ganglia/gmond.conf";
 # GV: this cannot work currently so we deactivate.
 #if ($test) {
 #    $gmetad_conf = "gmetad.conf";
------------------------------------------------------------------------------
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to