Forum: Cfengine Help
Subject: Re: package_method apt
Author: christian
Link to topic: https://cfengine.com/forum/read.php?3,16917,16977#msg-16977

Does really nobody have an idea why this command ends in a failure of cf-agent?

package_list_update_ifelapsed => "240"; # 4 hours

here is my packete_method apt

34.     body package_method apt
35.     {
36.     package_list_update_command => "/usr/bin/aptitude update"; 
37.     package_changes => "bulk"; 
38.     package_list_command => "/usr/bin/dpkg -l"; 
39.     package_list_name_regex    => "ii\s+([^\s]+).*";
40.     package_list_version_regex => "ii\s+[^\s]+\s+([^\s]+).*";
41.     package_installed_regex => ".*";

thanks and best regards :)

christian

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

Reply via email to