Sébastien B.
2011-Sep-23 22:06 UTC
[Puppet Users] Using puppet to install debian packages from backports
Hello, with debian, provided you added backports.debian.org to your sources.list, you can install some fresher packages (say iceweasel) with the command apt-get install -t squeeze-backports iceweasel Is there anyway to do this using puppet ? Or maybe should I specify the required version of iceweasel. Maybe puppet will be smart enough to notice this version is only available from backports and install it ? Thank you from any help, Cheers Sebastien -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Denmat
2011-Sep-24 22:17 UTC
Re: [Puppet Users] Using puppet to install debian packages from backports
Hi, The options available to you are: * Try an exec that installs the package * try pinning the resource and push that to your apt config * try specifying version in the config To be honest I have not done any of these myself on debian style hosts. Cheers Den On 24/09/2011, at 8:06, Sébastien B. <barthelemy@crans.org> wrote:> Hello, > > with debian, provided you added backports.debian.org to your > sources.list, you can install some fresher packages (say iceweasel) > with the command > > apt-get install -t squeeze-backports iceweasel > > Is there anyway to do this using puppet ? > > Or maybe should I specify the required version of iceweasel. Maybe > puppet will be smart enough to notice this version is only available > from backports and install it ? > > Thank you from any help, > > Cheers > Sebastien > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Gabriel Filion
2011-Sep-25 18:19 UTC
Re: [Puppet Users] Using puppet to install debian packages from backports
On 11-09-24 06:17 PM, Denmat wrote:> Hi, > > The options available to you are: > * Try an exec that installs the package > * try pinning the resource and push that to your apt config > * try specifying version in the configUsing the backports version in the ensure parameter works, but you have to manually and regularly change the version tag if you want to follow upgrades. So this solution is only viable if you need the backports version, but also need to stay at a fixed version. Using the pinning mechanism works well. You just have to make sure you let only the packages you want to come from backports. If you''re lucky enough to be using Squeeze, then you can simply drop a file in /etc/apt/preferences.d (it''s unavailable before squeeze)> On 24/09/2011, at 8:06, Sébastien B. <barthelemy@crans.org> wrote: > >> Hello, >> >> with debian, provided you added backports.debian.org to your >> sources.list, you can install some fresher packages (say iceweasel) >> with the command >> >> apt-get install -t squeeze-backports iceweasel >> >> Is there anyway to do this using puppet ? >> >> Or maybe should I specify the required version of iceweasel. Maybe >> puppet will be smart enough to notice this version is only available >> from backports and install it ? >> >> Thank you from any help, >> >> Cheers >> Sebastien >> >> -- >> 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+unsubscribe@googlegroups.com. >> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >> >-- Gabriel Filion -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Sébastien B.
2011-Sep-26 00:02 UTC
[Puppet Users] Re: Using puppet to install debian packages from backports
Thank to both of you for your help, I''ll try to setup apt-pinning. Cheers -- S Barthélémy -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Meier
2011-Sep-26 06:32 UTC
Re: [Puppet Users] Re: Using puppet to install debian packages from backports
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi> I''ll try to setup apt-pinning.the apt module @ https://labs.riseup.net/code/projects/shared-apt/ Can help you by setting up pinning: https://labs.riseup.net/code/projects/shared-apt/repository/revisions/master/entry/README#L303 ~pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6AHHUACgkQbwltcAfKi3+DFwCeKQB2szZ9ODbrUqZHUbjO800n LGoAn2T125VuvPvRlK0zI4Cx2sYslUq1 =9bca -----END PGP SIGNATURE----- -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.