Forum: CFEngine Help
Subject: Re: How to specify default masterfiles directory
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,26503,26520#msg-26520
Running cf-agent -f without a full path, just only , CFEngine assumes that the
is in /var/cfengine/inputs.
cf-agent -f fail
Forum: CFEngine Help
Subject: Re: How to specify default masterfiles directory
Author: linuxgurugamer
Link to topic: https://cfengine.com/forum/read.php?3,26503,26511#msg-26511
Just answered my own question.
When I put the cf files in /var/cfengine/inputs, not having absolute paths, and
call the
Forum: CFEngine Help
Subject: Re: How to specify default masterfiles directory
Author: linuxgurugamer
Link to topic: https://cfengine.com/forum/read.php?3,26503,26510#msg-26510
Forgot to mention that the files do exist in /var/cfengine/inputs:
and I am running the cf-agent as root
#ls /var/cfeng
Forum: CFEngine Help
Subject: Re: How to specify default masterfiles directory
Author: linuxgurugamer
Link to topic: https://cfengine.com/forum/read.php?3,26503,26506#msg-26506
Then I have a problem, because the following doesn't work:
body common control
{
inputs =>{ "cfengine_stdlib.cf", "erra
Forum: CFEngine Help
Subject: Re: How to specify default masterfiles directory
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,26503,26504#msg-26504
If no absolute paths are specified, files in the "inputs" attribute are assumed
to be under /var/cfengine/inputs, so inputs =>