Here is the output with debug on:
--------
EvaluateORString(any)
(a)(n)(y)
GetORATom(any)->any
EvaluateANDString(any)
GetANDATom(any)->any
Checking OR atom (any)?
EvalORString-temp-result3.5 count=1
EvaluateANDString(any) returns true
EvalORString-temp-result-n=1 (any)
EvaluateORString(any) returns 1
Software error - expected type (X) for boolean constraint classes did
not match internals
Unappending Software error - expected type (X) for boolean constraint
classes did not match internals
Fatal cfengine error: Aborted
Unappending Fatal cfengine error: Aborted
GetVariable(control_common,version) type=(to be determined)
IsExpandable(version) - syntax verify
Found 0 variables in (version)
Looking for control_common.version
Searching for scope context control_common
Found scope reference control_common
GetVariable(control_common,version): using scope 'control_common' for
variable 'version'
return final variable type=string, value={
0.2.0}
On 11/18/2010 11:07 AM, Seva Gluschenko wrote:
> Well, this is the very tight cut of output, it's hard to tell anything
> from there. Perhaps, you should even dive into -d 1 verbosity.
>
> 2010/11/18 Sandra Wittenbrock<[email protected]>:
>
>> Hi Seva,
>>
>> I am running cfengine3 on ubuntu linux. This output is from running
>> "cf-agent -v".
>>
>> Sandra
>>
>> On 11/18/2010 10:50 AM, Seva Gluschenko wrote:
>>
>>> Sandra,
>>>
>>> did you run it with -v switch? It produces somehow noisy but portions
>>> useful output. What version of Cfengine are you using, btw? Which OS?
>>>
>>> 2010/11/18 Sandra Wittenbrock<[email protected]>:
>>>
>>>
>>>> Hello,
>>>>
>>>> I'm trying to implement the process restart I was advised on. In this
>>>> case, the process restarts with a command, so it failed under
>>>> "commands:" rather than "processes:"
>>>>
>>>> The error I get is:
>>>>
>>>> -> Using literal pathtype for /etc/sysctl.conf
>>>> cf3 Software error - expected type (X) for boolean constraint classes
>>>> did not match internals
>>>> cf3 Fatal cfengine error: Aborted
>>>>
>>>>
>>>> Below is the relevant code:
>>>>
>>>>
>>>> bundle agent site
>>>> {
>>>>
>>>>
>>>> files:
>>>>
>>>> sdm_hosts::
>>>>
>>>> "/etc/sysctl.conf"
>>>> create => "true",
>>>> edit_line => sdmsysctl,
>>>> perms => usystem("0644"),
>>>> classes => if_repaired("sysctl_reconfigured");
>>>>
>>>>
>>>> commands:
>>>>
>>>> sysctl_reconfigured::
>>>> "/sbin/sysctl"
>>>> args => "-p",
>>>> contain => standard;
>>>> }
>>>>
>>>> body contain standard
>>>> {
>>>> exec_owner => "root";
>>>> }
>>>>
>>>> _______________________________________________
>>>> Help-cfengine mailing list
>>>> [email protected]
>>>> https://cfengine.org/mailman/listinfo/help-cfengine
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine