Forum: Cfengine Help
Subject: Re: MySQL backup via Cfengine3
Author: ro
Link to topic: https://cfengine.com/forum/read.php?3,19623,19630#msg-19630

Nice, that finally did the trick:


body agent control {
        any::
#[...]
                environment => { "DEBIAN_FRONTEND=noninteractive","HOME=/root" 
};
#[...]
}


Thanks!

PS: For anybody tempted to solve this with the "--defaults-extra-file=" option: 
that doesn't seem to work with mysqldump:

mysqldump: unknown variable 'defaults-extra-file=/root/.my.cnf'

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

Reply via email to