Everything is a Freaking DNS problem - apt-get http://127.0.0.1:8080/blog/taxonomy/term/1371/0 en Packaging Drupal Modules or not ? http://127.0.0.1:8080/blog/packaging-drupal-modules-or-not <p>So <a href="http://bitfieldconsulting.com/puppet-drupal" rel="nofollow">John</a> wrote down his experiences on deploying Drupal sites with Puppet .</p> <p>It's not a secret that I've been thinking about similar stuff and how I could get to the best possible setup.</p> <p>John starts of with using Puppet to download Drush... while I want to use <a href="http://repo.inuits.be/centos/5/os/noarch/drush-All-Versions-2.1-1.noarch.rpm" rel="nofollow">rpm</a> for that ...</p> <p>I want my core infrastructure to be fully packaged... not downloaded and untarred. I want to be able to reproduce my platform in a couple of months , with the exact same versions I`m using now .. not with the version that happens to be on ftp.drupal.org at that point in time, or with ftp.drupal.org being down.</p> <p>Now the next question off course is what's the core infrastructure.<br /> Where does the infrastructure end and does the application start. There's little discussion about having a puppet created vhost , an apache conf.d file, a matching .htaccess file if wanted , and the appropriate settings.php for a multisite drupal config.</p> <p>There's also little doubt to me on using drush to run the updates, manage the drupal site etc . Reading John's article made me think some further about what and when I want things packaged. </p> <p>John's post lead to a discussion on #infra-talk on getting all drupal modules packaged for Centos with <a href="http://www.karan.org/blog/" rel="nofollow">Karan</a> and some others</p> <p>In a development environment I probably want to have periodic drush updates getting the latest modules from the interwebs and potentially breaking my devs code. But making sure that when you put a site in production it will be on a fairly up to date platform, and not on the platform you started developing on 24 months ago.</p> <p>In a production environment however you only want tested updates of your modules as indeed they will break code.</p> <p>It's probably going to be a mix and match setup having a local rpm/deb repo with packaged modules that have been tested and validated in your setup and using drush to enable or configure them for that production setup.</p> <p>But also having a CI environment wher Drush will get the new modules from the interwebs when needed. and package them for you.</p> <p>To me that sounds beter than getting all the available Drupal modules and packaging them, even automated, and preparing a repository of those modules of which only a small percentage will actually be used by people.</p> <p>But I need to think about it some more :)</p> http://127.0.0.1:8080/blog/packaging-drupal-modules-or-not#comments apt-get centos devops drupal puppet rpm yum Tue, 16 Feb 2010 20:20:13 +0000 Kris Buytaert 987 at http://127.0.0.1:8080/blog To not yum or to not apt-get, that's NOT the question. http://127.0.0.1:8080/blog/not-yum-or-not-apt-get-thats-not-question <p>Over at the <a href="http://code.openark.org/blog/mysql/to-not-yum-or-to-not-apt-get" rel="nofollow">OPenARK blog</a> Shlomi Noach argues that using apt-get or yum to install your MySQL instance will one day most likeley break your MySQL setup. Depdendencies, distros not shipping the MySQL version you want to use and on some distro's indeed the mysql vs MySQL issue, agreed, it all makes things less trivial.</p> <p>However why give up a clean packaged system if there are other ways out ?</p> <p>First of all by claiming that such an installation can break a working production environment looks to me like admitting you don't have a split development, production environment and that rather than testing stuff upfront indeed you just hack a long in production.</p> <p>So rather than using a tarball for the MySQL instance an --force to satisfy the missing dependencies (hence also cluttering your system) , a much cleaner and less error prone setup is to only deploy from your own , self controlled repository , in which you only allow tested packages, most probably not the distro based package , hence packages that won't break your setups ;) But still you will be using apt or yum and deploying rpm's and debs , perfectly satisfying dependency needs.</p> <p>Apart from that .. watch out for Banquise .. :) Coming to your favourite distro soon..</p> http://127.0.0.1:8080/blog/not-yum-or-not-apt-get-thats-not-question#comments apt apt-get banquise deb mysql rpm yum Tue, 16 Feb 2010 20:13:33 +0000 Kris Buytaert 986 at http://127.0.0.1:8080/blog