Sandra Schlichting
2012-Sep-17 13:51 UTC
[Puppet Users] Can puppet add repositories to nodes?
Hi all, I would like to add two repositories to Ubuntu nodes apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" deb http://dl.google.com/linux/chrome/deb/ stable main and then import the key apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 Can this be done in a clever way with puppet? Hugs, Sandra -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/lkxkivCib8YJ. 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.
Joe Topjian
2012-Sep-17 13:55 UTC
Re: [Puppet Users] Can puppet add repositories to nodes?
Hi Sandra, The Puppet Apt module should be of some use: http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ Thanks, Joe On Mon, Sep 17, 2012 at 7:51 AM, Sandra Schlichting < littlesandra88@gmail.com> wrote:> Hi all, > > I would like to add two repositories to Ubuntu nodes > > apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" > > deb http://dl.google.com/linux/chrome/deb/ stable main > > > and then import the key > > > apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 > > > Can this be done in a clever way with puppet? > > > Hugs, > > Sandra > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/lkxkivCib8YJ. > 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. >-- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Big data is coming to Canada. Join the welcome wagon. *Cyber Summit 2012* October 1-3, Banff www.cybera.ca/summit2012 Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure. -- 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.
Matt Zagrabelny
2012-Sep-17 14:12 UTC
[Warning: Phish?] Re: [Puppet Users] Can puppet add repositories to nodes?
On Mon, Sep 17, 2012 at 8:55 AM, Joe Topjian <joe.topjian@cybera.ca> wrote:> Hi Sandra, > > The Puppet Apt module should be of some use: > > http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/What I''ve done is use use file resources and the following apt locations: /etc/apt/sources.list.d /etc/apt/trusted.gpg.d and and exec resource to "apt-get update" when subscribed to the above files. Cheers, -mz> On Mon, Sep 17, 2012 at 7:51 AM, Sandra Schlichting > <littlesandra88@gmail.com> wrote: >> >> Hi all, >> >> I would like to add two repositories to Ubuntu nodes >> >> apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) >> partner" >> >> deb http://dl.google.com/linux/chrome/deb/ stable main >> >> >> and then import the key >> >> >> apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 >> >> >> Can this be done in a clever way with puppet? >> >> >> Hugs, >> >> Sandra >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/puppet-users/-/lkxkivCib8YJ. >> 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. > > > > > -- > Joe Topjian > Systems Administrator > Cybera Inc. > > www.cybera.ca > > Big data is coming to Canada. Join the welcome wagon. > Cyber Summit 2012 > October 1-3, Banff > www.cybera.ca/summit2012 > > Cybera is a not-for-profit organization that works to spur and support > innovation, for the economic benefit of Alberta, through the use of > cyberinfrastructure. > > -- > 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.
Sandra Schlichting
2012-Sep-17 15:03 UTC
Re: [Warning: Phish?] Re: [Puppet Users] Can puppet add repositories to nodes?
Hi Joe and Matt, Thanks a lot for both solutions!! I am actually going to use both as for normal hosts Joe''s solution is good, and Matt''s for LTSP clients =) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/kagYSfTf51IJ. 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.