You can use apt pinning in /etc/apt/preferences. Deploy a different
version of that file on different hosts and you should be good :)

On Thu, Mar 22, 2012 at 23:45, Kai Weber <kai.we...@glorybox.de> wrote:
> Hi,
>
> I use a module (for Varnish in this case) which has the typical install,
> service, package classes.
>
> -- modules/varnish/manifests/install.pp:
>
>    class varnish::install {
>        package { $varnish::params::package_name:
>            ensure => installed,
>        }
>    }
>
> -- modules/project/manifests/proxy.pp
>
> class project::proxy {
>    include varnish
> }
>
> -- manifests/site.pp
>
> node proxy {
>    include project::users
>    include project::proxy
> }
>
> On certain nodes I want to install the package from another source e.g.
> debian-backports. I use puppetlabs/apt to manage my repositories.
>
> If I modify the Varnish module I have to backport all the bugfixes and changes
> made by the original author. So, how can I install the package from another
> source without modifying the original module?
>
> Thanks for your help,
> Kai
>
> --
> 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.

Reply via email to