Forum: Cfengine Help Subject: Re: Creating package_method for gentoo's portage Author: doychin Link to topic: https://cfengine.com/forum/read.php?3,22533,22537#msg-22537
So Tokarski Boleslaw found the problem: Hello, I don't believe that the package_list_command is executed inside a shell. Piping will not work in such a case. You may write a bash or perl script instead and use it from cfengine. I am not a gentoo user, but is there no emerge --list command? Best regards, Boleslaw Tokarski No piping in package_list_command. Separate shell script solves the problem. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine