Aleksey, Such functionality have been asked already but not yet evaluated by Cfengine developers as worth implementing, AFAIR.
2010/10/28 Aleksey Tsalolikhin <atsaloli.t...@gmail.com>: > Does anybody have a recipe for, or would like to make one, for > removing packages not explicitly whitelisted? > > In other words, if we provide a variable of type slist that contains a > list of packages we expect to be present on the system, do the > following: > > a) make sure all packages listed are installed, and > b) remove any packages that are installed but not listed. > > I'm asking about (b). > > Best, > -at > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine