Look into apt pinning, that is the way to pin specific packages to come from a specific origin. It's done in /etc/apt/preferences, the deep inner workings are a tad voodoo, but nothing too crazy :)
On Thu, Dec 22, 2011 at 00:50, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: > Hi Puppet Users, > > I am trying to install a package (request-tracker4) from Debian > backports onto a stable (squeeze) Debian system using puppet. I've > googled around and didn't find anything concrete about the best way > going about this. > > Does anyone have advice regarding this? > > The crux is that apt-get (or aptitude) currently is called like: > > /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install > request-tracker4 > > However to resolve dependencies contained within the backports repo, > we need to add the '-t squeeze-backports' option: > > /usr/bin/apt-get -q -y -t squeeze-backports -o > DPkg::Options::=--force-confold install request-tracker4 > > I was thinking of making a custom provider. Is that sane? > > Thanks for the hints! > > -matt zagrabelny > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Walter Heck -- follow @walterheck on twitter to see what I'm up to! -- Check out my new startup: Server Monitoring as a Service @ http://tribily.com Follow @tribily on Twitter and/or 'Like' our Facebook page at http://www.facebook.com/tribily -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.