Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine 
Help: Possible bug in cfengine 2
Author: kevinmusker
Link to topic: https://cfengine.com/forum/read.php?3,16865,16895#msg-16895

Ah, that's interesting - it works on my version too. I can reproduce the bug by 
defining the variables inside a class that the test server is not in.


control:

actionsequence = ( directories )

undefined_class::

voip_user = ( "foo" )
voip_group = ( "bar" )

directories:

any::
/tmp/foobarbaz
mode=0755
owner=${voip_user}
group=${voip_group}


If I change the class to one that matches the test server, e.g. freebsd, then 
it works as expected.

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

Reply via email to