Joe McDonagh
2009-Dec-07 22:09 UTC
[Puppet Users] Debian preseed values for puppet deb package
It would be nice if we could preseed the puppet installation package with some values. This way during boot up, preseeding debian-installer, I could also preseed the puppet package to start in a certain environment. Beyond that you could preseed certname, server, etc. This e-mail is to basically gather thoughts and see if it''s worth filing a debian bug to get this functionality into the .deb. -- Joe McDonagh Silent Penguin Services Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode Blog: www.colonfail.com -- 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.
Russ Allbery
2009-Dec-07 23:04 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes:> It would be nice if we could preseed the puppet installation package > with some values. This way during boot up, preseeding debian-installer, > I could also preseed the puppet package to start in a certain > environment. Beyond that you could preseed certname, server, etc.> This e-mail is to basically gather thoughts and see if it''s worth filing > a debian bug to get this functionality into the .deb.Out of curiosity, why not use FAI? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> -- 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.
Ohad Levy
2009-Dec-07 23:32 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
Or Foreman - it generates a preseed file and also everything you need to start puppet (e.g. Your env and friends). Ohad On 12/8/09, Russ Allbery <rra@stanford.edu> wrote:> Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes: > >> It would be nice if we could preseed the puppet installation package >> with some values. This way during boot up, preseeding debian-installer, >> I could also preseed the puppet package to start in a certain >> environment. Beyond that you could preseed certname, server, etc. > >> This e-mail is to basically gather thoughts and see if it''s worth filing >> a debian bug to get this functionality into the .deb. > > Out of curiosity, why not use FAI? > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > -- > > 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.
Joe McDonagh
2009-Dec-08 14:56 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
Russ Allbery wrote:> Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes: > > >> It would be nice if we could preseed the puppet installation package >> with some values. This way during boot up, preseeding debian-installer, >> I could also preseed the puppet package to start in a certain >> environment. Beyond that you could preseed certname, server, etc. >> > > >> This e-mail is to basically gather thoughts and see if it''s worth filing >> a debian bug to get this functionality into the .deb. >> > > Out of curiosity, why not use FAI? > >Because FAI is deprecated. You can preseed nearly all necessart values via the debian-installer, and LVM can be done in the late-command. Pre-seeding the puppet package itself is a separate issue entirely, that doesn''t have to be tied to provisioning. -- Joe McDonagh Silent Penguin Services Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode Blog: www.colonfail.com -- 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.
Joe McDonagh
2009-Dec-08 14:57 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
Ohad Levy wrote:> Or Foreman - it generates a preseed file and also everything you need > to start puppet (e.g. Your env and friends). > > Ohad > > On 12/8/09, Russ Allbery <rra@stanford.edu> wrote: > >> Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes: >> >> >>> It would be nice if we could preseed the puppet installation package >>> with some values. This way during boot up, preseeding debian-installer, >>> I could also preseed the puppet package to start in a certain >>> environment. Beyond that you could preseed certname, server, etc. >>> >>> This e-mail is to basically gather thoughts and see if it''s worth filing >>> a debian bug to get this functionality into the .deb. >>> >> Out of curiosity, why not use FAI? >> >> -- >> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> >> >> -- >> >> 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. > > >A preseed file for debian-installer? I don''t need it. I am saying, adding support for preseeded values to the puppet package itself. I talked to Nigel and I got the idea that it doesn''t currently support preseeding any values, so he suggested emailing the community to get a list of settings that people would like to be able to preseed. -- Joe McDonagh Silent Penguin Services Operations Engineer AIM: YoosingYoonickz IRC: joe-mac on freenode Blog: www.colonfail.com -- 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.
seph
2009-Dec-08 18:24 UTC
[Puppet Users] Re: Debian preseed values for puppet deb package
Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes:> A preseed file for debian-installer? I don''t need it. I am saying, > adding support for preseeded values to the puppet package itself. I > talked to Nigel and I got the idea that it doesn''t currently support > preseeding any values, so he suggested emailing the community to get a > list of settings that people would like to be able to preseed.I think the only one I care about is "server". For me, everything after that is set by puppet itself. But you could also add environment, wait-time, boot-or-cron. seph -- 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.
Silviu Paragina
2009-Dec-08 21:42 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
My vote then _Client:_ server environment certname maybe include the client/server certificates (not so sure since they are kind of big) The certificate would be useful to allow secure <<pseudo>> auto-signing for puppet with the help of some custom functions. Ie it allows initial connect, on this run you get the real hostname via a custom fact, call a function, delayed (anacron or something) sign the certificate, modify via manifests the puppet.conf to be what you got for the real hostname. Also you could include some other bootstrap stuff in this run. _Server:_ For the server package I counter recommend anything. If you need to automate a puppet master install it would be a good idea to do it via some manifest and/or with the help of another puppet master. Silviu On 08.12.2009 16:57, Joe McDonagh wrote:> Ohad Levy wrote: > >> Or Foreman - it generates a preseed file and also everything you need >> to start puppet (e.g. Your env and friends). >> >> Ohad >> >> On 12/8/09, Russ Allbery<rra@stanford.edu> wrote: >> >> >>> Joe McDonagh<joseph.e.mcdonagh@gmail.com> writes: >>> >>> >>> >>>> It would be nice if we could preseed the puppet installation package >>>> with some values. This way during boot up, preseeding debian-installer, >>>> I could also preseed the puppet package to start in a certain >>>> environment. Beyond that you could preseed certname, server, etc. >>>> >>>> This e-mail is to basically gather thoughts and see if it''s worth filing >>>> a debian bug to get this functionality into the .deb. >>>> >>>> >>> Out of curiosity, why not use FAI? >>> >>> -- >>> Russ Allbery (rra@stanford.edu)<http://www.eyrie.org/~eagle/> >>> >>> -- >>> >>> 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. >> >> >> >> > A preseed file for debian-installer? I don''t need it. I am saying, > adding support for preseeded values to the puppet package itself. I > talked to Nigel and I got the idea that it doesn''t currently support > preseeding any values, so he suggested emailing the community to get a > list of settings that people would like to be able to preseed. > >-- 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.
Russ Allbery
2009-Dec-09 00:43 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
Joe McDonagh <joseph.e.mcdonagh@gmail.com> writes:> Because FAI is deprecated.By whom?> You can preseed nearly all necessart values via the debian-installer, > and LVM can be done in the late-command.I think you''d be way better off using FAI. It really makes handling things like this much easier rather than relying on debian-installer and all packages to support the preseeds that you want. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> -- 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.
Marc Fournier
2009-Dec-09 16:42 UTC
Re: [Puppet Users] Debian preseed values for puppet deb package
On Mon, 07 Dec 2009 17:09:41 -0500 Joe McDonagh <joseph.e.mcdonagh@gmail.com> wrote:> It would be nice if we could preseed the puppet installation package > with some values. This way during boot up, preseeding > debian-installer, I could also preseed the puppet package to start in > a certain environment. Beyond that you could preseed certname, > server, etc.Here we use this sort of thing: file { "/var/cache/debconf/sun-java6-bin.preseed": ensure => present, content => "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true", } package { "sun-java6-bin": ensure => present, responsefile => "/var/cache/debconf/sun-java6-bin.preseed", require => File["/var/cache/debconf/sun-java6-bin.preseed"], } Then anything you can do using preseed is open to you. Hope this helps ! Marc -- 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.