On Tue, Dec 29, 2009 at 12:27:15PM +0100, Patryk Lason wrote:
> Hi,
> 
> I have Cfengine 3.0.3 from SVN, revision 703.
> 
> And I have the following:
> -----------------------------------------------
> files:
>    "/var/spool/pbs/mom_priv/config"
>       copy_from => 
> cp("$(path)/var/spool/pbs/mom_priv/config","$(g.cf_master)"),
>          classes => classdef("pbs_mom_restart");
> 
> body classes classdef(class)
> {
>         promise_repaired => { "$(class)" };
> }
> -----------------------------------------------
> 
> After changing the "config" file I get:
> 
> Validation: Class item on rhs of lval 'class addition' given as { 
> pbs_mom_restart } is out of bounds (should match [a-zA-Z0-9_$()\[\].]+)
> 
> 
> What's wrong?

The answer is:
You don't have "pcre-devel" installed on the building machine.

Cheers,
Patryk
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to