If you give me more background I might be able to help. What is wrong with editfiles? Or perl s///?
On 2/20/06, Robert Lazzurs <[EMAIL PROTECTED]> wrote: > On 2/20/06, Robert Lazzurs <[EMAIL PROTECTED]> wrote: > > Hello > > > > I am having trouble finding a way to manage the apt pin preferences > > file from cfengine (/etc/apt/preferences) > > (Sorry about the above post, gmail and opera do not work well together > it appears) > > I current have a few classes defined for each application 'pool' eg > app_mysql5 for servers that require mysql 5 and app_php4 for servers > that require php 4. > > However for this to work I need to change the pin priority for the > repos that these apps come from as below. > > Package: * > Pin: release c=php4 > Pin-Priority: 1001 > > Package: * > Pin: release c=mysql5 > Pin-Priority: 1001 > > I would like to find some way to manage this through cfengine, however > I cannot find a solution yet and was wondering if any one on this list > could provide a suggestion. > > Kind regards, > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine > -- Christian Pearce _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine