<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <blockquote
      cite="mid:fc.000f5d971e93ca4a3b9aca0025c71ef1.1e93cb4d@educagri.fr"
      type="cite">
      <pre wrap="">bonjour,


Il y a un mois j'ai installé et configuré rudder server 2.3 sans
problème.
J'ai essayé la 2.4 et l'agent me donne cette erreur:


 /var/rudder/cfengine-community/bin/cf-agent -KI
 !! Duplicate selection of value for variable "execRun" in scope g
 !! Rule from /var/rudder/cfengine-community/inputs/common/1.0/site.cf
at/before line 58
R:
@@Common@@log_info@@hasPolicyServer-root@@common-root@@5@@common@@StartRun@@2012-09-21
16:32:50+02:00##4a069efc-54a2-4f9b-a310-de31de09940d@#Start execution
BAD: Unspecified server refusal (see verbose server output)
 !! Authentication dialogue with 172.16.20.52 failed
Unable to establish connection with 172.16.20.52
 -> No suitable server responded to hail
Promise (version not specified) belongs to bundle 'update' in file
'/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 83
BAD: Unspecified server refusal (see verbose server output)
 !! Authentication dialogue with 172.16.20.52 failed
Unable to establish connection with 172.16.20.52
 -> No suitable server responded to hail
Promise (version not specified) belongs to bundle 'update' in file
'/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 99
R:
@@HasPolicyServer@@Error@@hasPolicyServer-root#@common-root##4a069efc-54a2-4f9b-a310-de31de09940d@#Cannot
update policy files
 -> Executing '/usr/bin/curl -s -f -o "/var/rudder/tmp/uuid.txt"
<a class="moz-txt-link-freetext" href="http://172.16.20.52/uuid">http://172.16.20.52/uuid</a>' ...(timeout=-678,owner=-1,group=-1)
 -> Completed execution of /usr/bin/curl -s -f -o
"/var/rudder/tmp/uuid.txt" <a class="moz-txt-link-freetext" href="http://172.16.20.52/uuid">http://172.16.20.52/uuid</a>
R:
@@Common@@log_info@@hasPolicyServer-root@@common-root@@5@@common@@EndRun@@2012-09-21
16:32:50+02:00##4a069efc-54a2-4f9b-a310-de31de09940d@#End execution



Merci



Francois Armand <a class="moz-txt-link-rfc2396E" href="mailto:francois.armand@normation.com"><francois.armand@normation.com></a> writes:
</pre>
      <blockquote type="cite">
        <pre wrap="">Le 03/09/2012 10:06, Michael Gliwinski a écrit :




Hi All,

A quick question.  Is there a way to affect the order in which directives
are 
applied?  Or the order in generated bundlesequence?

The specific issue I'm having now is that I have an RPM package
installation 
directive and a checkGenericFileContent directive for updating a
configuration 
file installed by the package.  The problem is that
checkGenericFileContent is 
before rpmPackageInstallation in the bundlesequence, so on first
installation 
the config file is created by CFe before the package is installed, which
causes 
RPM to install the config file as an .rpmnew file.




Michael, 

I opened that ticket to follow that request: [
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/redmine/issues/2881">http://www.rudder-project.org/redmine/issues/2881</a>
]<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/redmine/issues/2881">http://www.rudder-project.org/redmine/issues/2881</a>

Cheers, 

-- 



---------------------------------------------------------------------------     

[Image] François ARMAND
Directeur de la R&D
[ <a class="moz-txt-link-freetext" href="http://www.normation.com">http://www.normation.com</a> ]Normation      


---------------------------------------------------------------------------     

87 rue de Turbigo, 75003 Paris, France  
Telephone:      +33 (0)1 83 62 99 23
Mobile: +33 (0)6 63 37 60 55


---------------------------------------------------------------------------     

</pre>
      </blockquote>
      <pre wrap="">


Khalid Farrahe
--------------------------------------------
Système Réseaux Linux
AgroSup Dijon / Institut EDUTER
BP 87 999 
21079 DIJON Cedex 
<a class="moz-txt-link-abbreviated" href="http://www.eduter.fr">www.eduter.fr</a>
Tel : 03 80 77 27 13
 -------------------------------

</pre>
    </blockquote>
    <br>
    Hello Khalid,<br>
    <br>
    Please be aware that you are posting on a public mailing list where
    the spoken language is English, then you have to write in English.<br>
    <br>
    Besides, you're problem is not related to this thread so a new
    thread will be more suitable. Could you open a new thread, please ?<br>
    <br>
    We need more information to help you. Could you be more precise ?<br>
    <ul>
      <li>What is your OS ?</li>
    </ul>
    <ul>
      <li>What was the version of Rudder installed before ? Rudder 2.3.8
        ?</li>
    </ul>
    <ul>
      <li>What is the version installed now ? Rudder 2.4.0.beta4  ? You
        can check the version by using these commands: </li>
    </ul>
    <blockquote>
      <ul>
        <li>On debian:
          <pre>apt-cache search -i -f rudder | grep -A 1 "Package: "
</pre>
        </li>
      </ul>
    </blockquote>
    <blockquote>
      <ul>
        <li>On SuSE:</li>
      </ul>
    </blockquote>
    <pre>     zypper search -is rudder</pre>
    <blockquote>
      <ul>
        <li>On RHEL/CentOS:</li>
      </ul>
    </blockquote>
    <pre>     yum list installed | grep rudder
</pre>
    <br>
    <ul>
      <li>Are the same versions of Rudder installed on the node and
        server ?<br>
        <br>
      </li>
      <li>Is your node already accepted from Rudder ?<br>
        <br>
      </li>
      <li>Is the IP of the node corresponding to the accepted network
        defined in Rudder (Administration => Policy Server) ?<br>
        <br>
      </li>
      <li>Could you run on the server cf-server into verbose mode, on
        the agent run cf-agent and post us the output ?</li>
      <ul>
        <li>On the server:<br>
          <pre>pkill -f /var/rudder/cfengine-community/bin/cf-serverd</pre>
          <pre>/var/rudder/cfengine-community/bin/cf-serverd --no-fork -v</pre>
        </li>
      </ul>
      <ul>
        <li>On the node:<br>
          <pre>/var/rudder/cfengine-community/bin/cf-agent -IK -b update</pre>
        </li>
      </ul>
    </ul>
    <p><br>
      Thanks for your report !<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
==========================================
Nicolas PERRON
------------------------------------------
Normation
87 rue de Turbigo, 75003 Paris, France
------------------------------------------
Telephone:  +33 (0)1 83 62 56 79
Mobile:     +33 (0)6 24 79 31 79
------------------------------------------
Web:        <a class="moz-txt-link-freetext" href="http://www.normation.com/">http://www.normation.com/</a>
==========================================</pre>
  </body>
</html>