On Wed, 2020-09-23 at 00:55 -0700, Martin Opitz wrote:
> Hi Bas,
>
> i still have problems.
> First, i upgraded to 3.15.2:
> ii cfengine-community 3.15.2-1.debia amd64 CFEngine 3 Community
>
> Then, i installed the
package.cf you suggested over the existing
packages.cf:
> -rw-r--r-- 1 root root 91105 Sep 23 09:39 /var/cfengine/share/CoreBase/masterfiles/lib/
packages.cf
> -rwxr-xr-x 1 root root 91105 Jul 16 2011 /var/cfengine/share/CoreBase/masterfiles/lib/packages.cf.orig
>
> Still i have the error:
> root@testnode:~# cf-agent
> /var/cfengine/inputs/lib/ntp.cf:13:0: error: Undefined body apt_get with type package_module
> /var/cfengine/inputs/lib/ntp.cf:17:0: error: Undefined body yum with type package_module
> error: Policy failed validation with command '"/var/cfengine/bin/cf-promises" -c "/var/cfengine/inputs/
promises.cf"'
> error: Failsafe condition triggered. Interactive session detected, skipping
failsafe.cf execution.
> error: Error reading CFEngine policy. Exiting...
somewhere in 'inputs'? You can try running 'cf-agent --verbose' or 'cf-agent --debug'