>> Il 17/11/2011 16:05, Mark Burgess ha scritto:
>>> If you have an interactive program waiting for input, then CFEngine's
>>> batch approach is not really compatible. You probably need to run
>>> the programs in non-interactive mode, and maybe close any input
>>> channels< /dev/null.
>> Wait... so we are accepting that a "packages" promise could hang and we
>> have to work around that?
>> packages:
>> "$(packages)"
>> comment => "Install packages required to implement NTP",
>> package_policy => "add",
>> package_method => apt; # defined in stdlib
You probably need something like this.
body agent control {
# This is needed for packages that want some configuration like
# postfix.
environment => { "DEBIAN_FRONTEND=noninteractive" };
}
--
Nick Anderson <[email protected]>
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine