On Mon, Sep 17, 2012 at 8:55 AM, Joe Topjian <joe.topj...@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 > <littlesandr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.