<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Michael,<br>
    <br>
    On 04/06/12 11:02, Linder, Michael wrote:
    <blockquote
      cite="mid:036DFA01A7A0064ABB0980FDCE63D7C523DB9AFB@esc-mbx-01"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
p.sig, li.sig, div.sig
        {mso-style-name:sig;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
p.sigsmall, li.sigsmall, div.sigsmall
        {mso-style-name:sigsmall;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
span.sig1
        {mso-style-name:sig1;
        font-family:"Arial","sans-serif";}
span.sigsmall1
        {mso-style-name:sigsmall1;
        font-family:"Arial","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span>
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So
            it seems to working now, but the template 2.1 does not
            working  other versions 1.0 and 2.0 are working.
            <o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
    Pleased to hear it's working.<br>
    <br>
    I think two reasons may be at stake here:<br>
    1) The "Enforce a file content" PT was broken in version 2.1 for a
    while, it's been fixed since. You should make sure to upgrade to a
    recent version of rudder-policy-templates (ie 2.3.7, I guess).<br>
    2) Rudder currently doesn't support using several different versions
    of the same PT at the same time. So if you had several Policy
    Instances on the same PT, but using different versions of it, this
    would break too.<br>
    <br>
    Good luck!<br>
    Jonathan<br>
    <br>
    <blockquote
      cite="mid:036DFA01A7A0064ABB0980FDCE63D7C523DB9AFB@esc-mbx-01"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks
            for your help,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Michael
            LINDER.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:rudder-users-bounces@lists.rudder-project.org">rudder-users-bounces@lists.rudder-project.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:rudder-users-bounces@lists.rudder-project.org">mailto:rudder-users-bounces@lists.rudder-project.org</a>]
                <b>On Behalf Of </b>Jonathan Clarke<br>
                <b>Sent:</b> Monday, June 04, 2012 10:35 AM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><br>
                <b>Subject:</b> Re: [rudder-users] enforce file content<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi Michael,<br>
          <br>
          On 04/06/12 10:25, Linder, Michael wrote: <o:p></o:p></p>
        <pre>Hi,<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>I decided to test your nightly repos, where we can find the release 2.3.8 and I have still the same issue  to force the content. On the demo interface (2.3, running the 2.3.6 release I have the issue too), while on the 2.4 interface I don't get the issue. May be this information could help you to solve this issue.<o:p></o:p></pre>
        <p class="MsoNormal"><br>
          I'm almost certain that this is related to the version not of
          Rudder, but of the Policy Template / Technique you are using.<br>
          <br>
          Could you check for us? You can see this in the "Policy
          Instances" screen ("Directives" in 2.4), by clicking on the
          one(s) that are causing trouble, and checking out the "version
          used" on the right of the screen. You can see an example in
          this screenshot:
          <a moz-do-not-send="true"
href="http://www.rudder-project.org/images/rudder-screenshots/RudderPI1.png">http://www.rudder-project.org/images/rudder-screenshots/RudderPI1.png</a>.<br>
          <br>
          Thanks!<br>
          Jonathan<br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre><o:p> </o:p></pre>
        <pre>-----Original Message-----<o:p></o:p></pre>
        <pre>From: Matthieu CERDA [<a moz-do-not-send="true" href="mailto:matthieu.cerda@normation.com">mailto:matthieu.cerda@normation.com</a>] <o:p></o:p></pre>
        <pre>Sent: Thursday, May 31, 2012 12:03 PM<o:p></o:p></pre>
        <pre>To: Linder, Michael<o:p></o:p></pre>
        <pre>Cc: <a moz-do-not-send="true" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
        <pre>Subject: Re: [rudder-users] enforce file content<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>Hey Michael,<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>We fixed quite a lot of bugs in recent releases of the Rudder Technique library (the Policy Templates), could you please give us the version of Rudder you are currently using ?<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>You might also have two different versions of the policy template applied to the same node (which would break things because we do not currently enforce consistent versions)<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>By the way, We will be releasing the 2.3.7 version soon if you are willing to update.<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>Thanks for your feedback !<o:p></o:p></pre>
        <pre>--<o:p></o:p></pre>
        <pre>Matthieu CERDA<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>On 31 mai 2012, at 11:43, "Linder, Michael" <a moz-do-not-send="true" href="mailto:Michael.Linder@arcelormittal.com"><Michael.Linder@arcelormittal.com></a> wrote:<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <pre>Dear,<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>I have got a strange behavior when I try to set two rules for "Enforce a file content", the server returns an error "configuration rule not applied at 2012-05-31 11:37". I click on details see below the informations:<o:p></o:p></pre>
          <pre>   - Deployment error for process '30' at DATE<o:p></o:p></pre>
          <pre>   - cannot write configuration node<o:p></o:p></pre>
          <pre>   - error when preparing rules for agents<o:p></o:p></pre>
          <pre>   - the generated promises are invalid<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>I will try to find why this issue is arriving but if you have any idea could you please give some feedbacks?<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Best regards, <o:p></o:p></pre>
          <pre>Michael Linder. <o:p></o:p></pre>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>rudder-users mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
        </blockquote>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>rudder-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">-- <o:p></o:p></p>
          <table class="MsoNormalTable" style="width:285.0pt" border="0"
            cellpadding="0" width="380">
            <tbody>
              <tr>
                <td colspan="2" style="padding:0in 0in 0in 0in">
                  <div class="MsoNormal" style="text-align:center"
                    align="center">
                    <hr size="2" width="100%" align="center">
                  </div>
                </td>
              </tr>
              <tr>
                <td colspan="2" style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t75" alt="" style='position:absolute;margin-left:0;margin-top:0;width:37.5pt;height:37.5pt;z-index:251658240;mso-wrap-distance-left:7.5pt;mso-wrap-distance-top:0;mso-wrap-distance-right:7.5pt;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical-relative:line' o:allowoverlap="f">
<v:imagedata src="imap://jonathan%2Eclarke@imap.normation.com:143/fetch%3EUID%3E.INBOX%3E65584?header=quotebody&part=1.2&filename=image001.png" o:title="part1.09000803.06060405@normation" />
<w:wrap type="square"/>
</v:shape><![endif]--><!--[if !vml]--><img
                      src="cid:part9.00000405.06030804@normation.com"
                      v:shapes="_x0000_s1026" height="50" hspace="10"
                      width="50" align="left"><!--[endif]--><span
                      class="sig1"><b>Jonathan CLARKE</b></span><br>
                    <span class="sig1"><i>CTO - Directeur technique</i></span><br>
                    <span class="sig1"><a moz-do-not-send="true"
                        href="http://www.normation.com"><span
                          style="color:#962322">Normation</span></a></span>
                    <o:p></o:p></p>
                </td>
              </tr>
              <tr>
                <td colspan="2" style="padding:0in 0in 0in 0in">
                  <div class="MsoNormal" style="text-align:center"
                    align="center">
                    <hr size="2" width="100%" align="center">
                  </div>
                </td>
              </tr>
              <tr>
                <td colspan="2" style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><span class="sigsmall1"><b><span
                          style="font-size:10.0pt">87 rue de Turbigo,
                          75003 Paris, France</span></b></span><o:p></o:p></p>
                </td>
              </tr>
              <tr>
                <td style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><span class="sigsmall1"><span
                        style="font-size:10.0pt">Telephone:</span></span><o:p></o:p></p>
                </td>
                <td style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><span class="sigsmall1"><span
                        style="font-size:10.0pt">+33 (0)1 83 62 41 24</span></span><o:p></o:p></p>
                </td>
              </tr>
              <tr>
                <td style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><span class="sigsmall1"><span
                        style="font-size:10.0pt">Mobile:</span></span><o:p></o:p></p>
                </td>
                <td style="padding:0in 0in 0in 0in">
                  <p class="MsoNormal"><span class="sigsmall1"><span
                        style="font-size:10.0pt">+33 (0)6 99 60 03 10</span></span><o:p></o:p></p>
                </td>
              </tr>
              <tr>
                <td colspan="2" style="padding:0in 0in 0in 0in">
                  <div class="MsoNormal" style="text-align:center"
                    align="center">
                    <hr size="2" width="100%" align="center">
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        </div>
      </div>
    </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:part11.04070607.09090005@normation.com"
                  height="50" hspace="10" width="50" align="left">
                <span class="sig">Jonathan CLARKE</span></b><br>
              <span class="sig"><i>CTO - Directeur technique</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>