<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I'm sorry, I had misunderstood.<br>
      <br>
      The error message you're seeing is because of a bug in the version
      of rpmPackageInstallation that you are using. You must use a
      different version for it to work at all.<br>
      <br>
      This error message does not mean that it is trying to get the RPM
      package from the Rudder server. RPM packages are always taken via
      the local pacakge manager (yum on CentOS, zypper or rug on SLES,
      etc). So, to install a RPM from a different repository, you first
      need to configure yum to use that repository. I recommend using a
      file copy or file edit Directive to achieve this for yum.<br>
      <br>
      Regards,<br>
      Jonathan<br>
      <br>
      On 25/10/13 17:41, Prestasit01 wrote:<br>
    </div>
    <blockquote cite="mid:D24EE976410D5544AA291E9B782A3A80EE93BF@daru1"
      type="cite">
      <pre wrap="">Hello,

I'm already in the latest version of this directive (4.1). This directive only allow to install rpm from the rudder-server.
I'm trying to make a rudder rule which force the rudder-node to install a package from it own repository (and not from the rudder-server folder).

Do you think that it's possible ?

Thanks for the support.

Cedric 


-----Message d'origine-----
De : Jonathan Clarke [<a class="moz-txt-link-freetext" href="mailto:jonathan.clarke@normation.com">mailto:jonathan.clarke@normation.com</a>] 
Envoyé : vendredi 25 octobre 2013 17:00
À : Prestasit01
Cc : <a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
Objet : Re: [rudder-users] YUM install

Hello Cédric,

On 25/10/13 16:38, Prestasit01 wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

We need to install some package from our repository and it will be great to install them with a rudder directive.

I tried to configure a directive : "Package management for RHEL / CentOS / SuSE / RPM systems" but it seems work with stocked rpm on the rudder server. :

!! Could not examine file "/var/rudder/cfengine-community/inputs/rpmPackageInstallation/3.0/rpmPackageInstallationData" in readfile
  !!! System error for stat: "No such file or directory"

Is that possible to ask rudder to install one package and its dependancies using a node repository ?

Thanks for the answer.
</pre>
      </blockquote>
      <pre wrap="">
I think you are running into a bug that has already been fixed in this Technique (<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/redmine/issues/3779">http://www.rudder-project.org/redmine/issues/3779</a>).

If possible, please upgrade your Techniques as explained in <a class="moz-txt-link-freetext" href="http://www.rudder-project.org/rudder-doc-2.7/rudder-doc.html#_technique_upgrade">http://www.rudder-project.org/rudder-doc-2.7/rudder-doc.html#_technique_upgrade</a>. 
Then make sure your problematic Directive in the Rudder web interface is using the latest version of the RPM installation Technique, if not upgrade it.

Hope this helps!

Jonathan

-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressement vise peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <style type="text/css">
<!--
   a.redlink:link { color: #962322; }
   a.redlink:visited { color: #962322; }
  .sig { font-family: sans-serif; font-size: small; }
  .sigsmall { font-family: sans-serif; font-size: x-small; }
-->
</style>
      <table border="0" cellpadding="0" cellspacing="2" width="380">
        <tbody>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><b><img alt=""
                  src="cid:part1.04050202.02050009@normation.com"
                  align="left" height="50" hspace="10" width="50">
                <span class="sig">Jonathan Clarke</span></b><br>
              <span class="sig"><i>Chief Business Officer</i></span><br>
              <span class="sig"><a class="redlink"
                  href="http://www.normation.com">Normation</a></span> </td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
                  75003 Paris, France</b></span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Telephone:</span></td>
            <td><span class="sigsmall">+33 (0)1 83 62 41 24</span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Mobile:</span></td>
            <td><span class="sigsmall">+33 (0)6 99 60 03 10</span></td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>