Now, I noticed the yumrepo, but this is of little use today, I need to add an ubuntu ppa ( a few really ) to my installation. How would this be done? Is there a provider that can do this? I searched for one, and saw an answer dating from 09, but surely things have changed since then? -- 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.
On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford <lazyweb@gmail.com> wrote:> Now, I noticed the yumrepo, but this is of little use today, I need to add > an ubuntu ppa ( a few really ) to my installation. How would this be done? > Is there a provider that can do this? > I searched for one, and saw an answer dating from 09, but surely things have > changed since then?Given how simple the text file format for a PPA is, I tend to do this with a simple define that wraps a File resource, and then ensure apt-get update is called after the PPA is defined.> > -- > 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.
What about keys? On Jan 14, 12:11 am, Nigel Kersten <ni...@puppetlabs.com> wrote:> On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford <lazy...@gmail.com> wrote: > > Now, I noticed the yumrepo, but this is of little use today, I need to add > > an ubuntu ppa ( a few really ) to my installation. How would this be done? > > Is there a provider that can do this? > > I searched for one, and saw an answer dating from 09, but surely things have > > changed since then? > > Given how simple the text file format for a PPA is, I tend to do this > with a simple define that wraps a File resource, and then ensure > apt-get update is called after the PPA is defined. > > > > > > > > > > > -- > > 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.
On Tue, Feb 22, 2011 at 12:08 AM, Rawler <ulrik.mikaelsson@gmail.com> wrote:> What about keys?Run an exec that adds the key. How would you normally solve this ?> > On Jan 14, 12:11 am, Nigel Kersten <ni...@puppetlabs.com> wrote: >> On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford <lazy...@gmail.com> wrote: >> > Now, I noticed the yumrepo, but this is of little use today, I need to add >> > an ubuntu ppa ( a few really ) to my installation. How would this be done? >> > Is there a provider that can do this? >> > I searched for one, and saw an answer dating from 09, but surely things have >> > changed since then? >> >> Given how simple the text file format for a PPA is, I tend to do this >> with a simple define that wraps a File resource, and then ensure >> apt-get update is called after the PPA is defined. >> >> >> >> >> >> >> >> >> >> > -- >> > 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. > >-- 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.
On Feb 22, 2011, at 10:09 AM, Nigel Kersten wrote:> On Tue, Feb 22, 2011 at 12:08 AM, Rawler <ulrik.mikaelsson@gmail.com> wrote: >> What about keys? > > Run an exec that adds the key. How would you normally solve this ?Indeed, this is what I have done previously. The other option is to use a File resource for the keys as well which is rather easy method if your deployment shares a set of repositories. -Mark> >> >> On Jan 14, 12:11 am, Nigel Kersten <ni...@puppetlabs.com> wrote: >>> On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford <lazy...@gmail.com> wrote: >>>> Now, I noticed the yumrepo, but this is of little use today, I need to add >>>> an ubuntu ppa ( a few really ) to my installation. How would this be done? >>>> Is there a provider that can do this? >>>> I searched for one, and saw an answer dating from 09, but surely things have >>>> changed since then? >>> >>> Given how simple the text file format for a PPA is, I tend to do this >>> with a simple define that wraps a File resource, and then ensure >>> apt-get update is called after the PPA is defined. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>> -- >>>> 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. >> >> > > -- > 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.
Hello, on Jan 13, 11:07 pm, Kevin Beckford wrote:> Now, I noticed the yumrepo, but this is of little use today, I need to add > an ubuntu ppa ( a few really ) to my installation. How would this be done? > Is there a provider that can do this?I have created a definition for this today, but only roughly tested it: blog post: http://daniel.hahler.de/puppet-definition-to-add-launchpad-ppa-repository gist: https://gist.github.com/844735 This also supports APT keys via "apt::key". HTH, Daniel -- http://daniel.hahler.de/ -- 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.
Daniel Hahler:> http://daniel.hahler.de/puppet-definition-to-add-launchpad-ppa-repository > gist: https://gist.github.com/844735 > > This also supports APT keys via "apt::key".To me, it''s cleaner to ship files than to run programs. I tend to go with something more like: http://pastebin.ubuntu.com/572759/ This supports any sort of apt source, generally (even deb-src), and optionally drops in a gpg keyring for PPAs. Since it uses file resources only, it does not interrupt the flow of predictions in a "puppetd -t --noop" run. The behavior of Execs in --noop is the primary reason I cannot abide them in my modules ☺ -- You are in an open field west of a big white house with a boarded front door. There is a small mailbox here.> _-- 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.
Nick Moffitt:> http://pastebin.ubuntu.com/572759/I should note that that''s a rarified example. It really ought to pass an ensure parameter down to those files! -- Hey, how come nobody here in the future has a time machine except me? -- 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.