[rudder-users] order of application
Michael Gliwinski
Michael.Gliwinski at henderson-group.com
Mon Sep 3 11:25:43 CEST 2012
On Monday 03 Sep 2012 10:16:04 Nicolas Charles wrote:
> On 03/09/2012 10:06, Michael Gliwinski wrote:
> > A quick question. Is there a way to affect the order in which
> > directives are applied? Or the order in generated bundlesequence?
> So far, there is no way to affect the order of application of
> directives. However, it is something we'd like to implement in Rudder.
> We are wondering how it should (could?) be defined in the WebUI, and are
> open to suggestions !
I guess the most useful thing would be to have it as part of rule management
to allow re-ordering individual directives (e.g. a list with up/down buttons,
drag & drop, etc.), however AFAICS this may not be so easy to do.
AFAICS you can already affect ordering of directives within a given type with
the 'Priority' property (e.g. to affect which 'Enforce a file content' directive
is applied first). Is that correct?
I'm not actually sure if it would be useful to expose global ordering of
directive types (i.e. bundlesequence), possibly a better default would work OK
here.
> > 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.
E.g. for this case, changing bundlesequence to do package installation before
manageFilesAndFolders and check_generic_file_content would work fine, the
downside is it introduces a problem when checkGenericFileContent is used to
modify configuration of the package manager itself.
Do you think this is a rather common case?
**********************************************************************************************
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************
More information about the rudder-users
mailing list