[rudder-users] order rules

Francois Armand francois.armand at normation.com
Fri Feb 1 14:41:50 CET 2013


Le 01/02/2013 13:23, Le Haies Cyrille a écrit :
>
> My problemmay be linked to the fact that I have not set correctly Ruder.
> I created several rule, the first rule instqll freetds and the second
> install php.
> explanation:
> Installing php libraries of the need for the connector mssql freetds,
> the freetds rules should apply before the rules php.
> The solution may be to create a single rule that contains instructions
> for my 2 previous using different priority level for each technique?
>

As far as I understand your context, you should be OK with either
solution: after converging, you will have both PHP and FreeTDS
installed, and all should be OK.

But I know it's a kind of mind-shifting, not easy at the begining. What
helps me is generally to think backward, from the desired goal: say I
have a fully installed & configured server, with both PHP and FreeTDS.
Say someone desinstall (or broke configuration) FreeTDS. What the system
should do ? If it can recover from that point, then there is not a real
dependency between FreeTDS and PHP (even if both are needed in the end,
of course !). If the system can't recover withtout
reinstalling/reconfiguring PHP, there is some kind of dependency, and a
workaround will have to be find (perhaps it's a dedicated Technique, or
something else).

Today, with you configuration (one rule for installing PHP, one other
for FreeTDS), you don't get a working system ? Do you have some errors
to report, that could help ?

Cheers,

-- 
------------------------------------------------------------------------
*François ARMAND*
/Directeur de la R&D/
Normation <http://www.normation.com>
------------------------------------------------------------------------
*87 rue de Turbigo, 75003 Paris, France*
Telephone: 	+33 (0)1 83 62 99 23
Mobile: 	+33 (0)6 63 37 60 55
------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130201/dca67853/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig-normation-logo-square.png
Type: image/png
Size: 3503 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130201/dca67853/attachment.png>


More information about the rudder-users mailing list