[rudder-users] enforce file content

Jonathan Clarke jonathan.clarke at normation.com
Tue Jun 5 13:03:31 CEST 2012


Michael,

On 04/06/12 11:02, Linder, Michael wrote:
>
> So it seems to working now, but the template 2.1 does not working
>  other versions 1.0 and 2.0 are working.
>

Pleased to hear it's working.

I think two reasons may be at stake here:
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).
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.

Good luck!
Jonathan

> Thanks for your help,
>
> Michael LINDER.
>
>  
>
> *From:*rudder-users-bounces at lists.rudder-project.org
> [mailto:rudder-users-bounces at lists.rudder-project.org] *On Behalf Of
> *Jonathan Clarke
> *Sent:* Monday, June 04, 2012 10:35 AM
> *To:* rudder-users at lists.rudder-project.org
> *Subject:* Re: [rudder-users] enforce file content
>
>  
>
> Hi Michael,
>
> On 04/06/12 10:25, Linder, Michael wrote:
>
> Hi,
>  
> 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.
>
>
> I'm almost certain that this is related to the version not of Rudder,
> but of the Policy Template / Technique you are using.
>
> 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:
> http://www.rudder-project.org/images/rudder-screenshots/RudderPI1.png.
>
> Thanks!
> Jonathan
>
>
>  
> -----Original Message-----
> From: Matthieu CERDA [mailto:matthieu.cerda at normation.com] 
> Sent: Thursday, May 31, 2012 12:03 PM
> To: Linder, Michael
> Cc: rudder-users at lists.rudder-project.org <mailto:rudder-users at lists.rudder-project.org>
> Subject: Re: [rudder-users] enforce file content
>  
> Hey Michael,
>  
> 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 ?
>  
> 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)
>  
> By the way, We will be releasing the 2.3.7 version soon if you are willing to update.
>  
> Thanks for your feedback !
> --
> Matthieu CERDA
>  
> On 31 mai 2012, at 11:43, "Linder, Michael" <Michael.Linder at arcelormittal.com> <mailto:Michael.Linder at arcelormittal.com> wrote:
>  
>
>     Dear,
>
>      
>
>     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:
>
>        - Deployment error for process '30' at DATE
>
>        - cannot write configuration node
>
>        - error when preparing rules for agents
>
>        - the generated promises are invalid
>
>      
>
>     I will try to find why this issue is arriving but if you have any idea could you please give some feedbacks?
>
>      
>
>     Best regards, 
>
>     Michael Linder. 
>
>     _______________________________________________
>
>     rudder-users mailing list
>
>     rudder-users at lists.rudder-project.org <mailto:rudder-users at lists.rudder-project.org>
>
>     http://www.rudder-project.org/mailman/listinfo/rudder-users
>
> _______________________________________________
> rudder-users mailing list
> rudder-users at lists.rudder-project.org <mailto:rudder-users at lists.rudder-project.org>
> http://www.rudder-project.org/mailman/listinfo/rudder-users
>
>  
>
> -- 
>
> ------------------------------------------------------------------------
>
> *Jonathan CLARKE*
> /CTO - Directeur technique/
> Normation <http://www.normation.com>
>
> ------------------------------------------------------------------------
>
> *87 rue de Turbigo, 75003 Paris, France*
>
> Telephone:
>
> 	
>
> +33 (0)1 83 62 41 24
>
> Mobile:
>
> 	
>
> +33 (0)6 99 60 03 10
>
> ------------------------------------------------------------------------
>
>  
>


-- 
------------------------------------------------------------------------
*Jonathan CLARKE*
/CTO - Directeur technique/
Normation <http://www.normation.com>
------------------------------------------------------------------------
*87 rue de Turbigo, 75003 Paris, France*
Telephone: 	+33 (0)1 83 62 41 24
Mobile: 	+33 (0)6 99 60 03 10
------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20120605/64f3c5b1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4159 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20120605/64f3c5b1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.png
Type: image/png
Size: 3503 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20120605/64f3c5b1/attachment-0003.png>


More information about the rudder-users mailing list