On Monday, May 20, 2013 07:39:10 AM [email protected] wrote: > What is wrong with installing the packages at run-time?
In the development phase it offers a nice flexibility to install everything at runtime, I agree. For whats wrong about it in a procuction system I can only speak for the perspective of a distributor or product vendor: - the size of the pxe boot image is significantly reduced, as we do not need/want to include any devel packages or compilers => faster booting, less network traffic - fewer packages = fewer security issues trigger a rebuild of the image => fewer updates of the package that delivers the image to customers - predictable environment => easier debugging and bug reproducibility - no unnecessary moving parts (as Adam put it in his mail) => less stuff that can go wrong Thats our view and the reason why we will only deliver a 'static' image to our customers. So from my point of view, we should at least port the patches below to pebbles to also support the SUSE kind of way. > > -----Original Message----- > > From: crowbar-bounces On Behalf Of Adam Spiers > > Sent: Monday, May 20, 2013 6:43 AM > > To: crowbar > > Subject: Re: [Crowbar] [barclamp-provisioner] installation of gems in > > sledgehammer > > > > Hi all, > > > > Whilst upstreaming our provisioner changes to Pebbles, I noticed that we > > have a couple of commits which change run-time installation of gems in > > Sledgehammer to build-time installation: > > > > https://github.com/crowbar/barclamp-provisioner/commit/756e8f9a3 > > https://github.com/crowbar/barclamp-provisioner/commit/a232a69de > > > > Is there any reason why they should not be included at build-time rather > > than run-time? It would be good to converge on this if possible. > > > > ----- Forwarded message from "J. Daniel Schmidt" > > <[email protected]> - ---- > > > > Date: Thu, 16 May 2013 06:23:52 -0700 > > From: "J. Daniel Schmidt" <[email protected]> > > To: crowbar/barclamp-provisioner <barclamp- > > [email protected]> > > Cc: Adam Spiers <[email protected]> > > Subject: Re: [barclamp-provisioner] adaptions to allow the script also for > > SUSE based images > > > > (756e8f9) > > > > Reply-To: crowbar/barclamp-provisioner > > > > <reply+c-3226553-8adf655d2d5208d32d08663b8084046f48cc0eb4- > > > > [email protected]> > > > > This was done to allow the script to run in the SUSE sleshammer image. > > This > > image is very stripped down and no gem installs are possible at runtime - > > all needed gems have to be added to the image itself. > > There was some other magic in the original sledghammer image that put some > > gem files to /root and this script was meant to install them. With this > > patch we disabled the behaviour for suse but kept it for other > > distributions resp. sles/slege-hammer images. > > > > > > So if this feature is still present, we should definitely port this patch > > - or a similar functionality to disable gem installs. > > > > --- > > Reply to this email directly or view it on GitHub: > > https://github.com/crowbar/barclamp- > > provisioner/commit/756e8f9a3289b9b264513fadb010ed004a9ca1ea#commitco > > mment-3226553 > > > > ----- End forwarded message ----- Ciao, Daniel -- J. Daniel Schmidt <[email protected]> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer _______________________________________________ Crowbar mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/
