On Fri, May 18, 2012 at 3:52 PM, <no-re...@cfengine.com> wrote: > Forum: CFEngine Help > Subject: Re: Purging package on debian based distributions? > Author: bahamat > Link to topic: https://cfengine.com/forum/read.php?3,25985,25986#msg-25986 > > You can use the package_method apt, edit cfengine_stdlib.cf and change it to > purge or create your own package method.
Right. You also might want to copy "body package_method apt", to something called "my_apt" or some other name to differentiate it from the "apt" in cfengine_stdlib.cf, otherwise next time you upgrade CFEngine, you'll get the new cfengine_stdlib.cf (which ships with CFEngine) and lose your changes (your modified "apt" will get overwritten by the stock "apt". Aleksey _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine