You could use this in a Vagrant setup if you like (I’ve done so for testing).
Step 1)Â Set the following in your Vagrantfile:
Vagrant::Config.run do |config| config.vm.box = "lucid32" config.vm.box_url = "http://files.vagrantup.com/lucid32.box" config.vm.provision :puppet end
Step 2) Get puppet-apt helper.
I used https://github.com/evolvingweb/puppet-apt and put it in a manifests/ directory like so:
$ mkdir manifests $ cd manifests $ git clone git://github.com/evolvingweb/puppet-apt.git
Step 3) Write your puppet manifest:
import "puppet-apt/manifests/init.pp" import "puppet-apt/manifests/ppa.pp"
class drizzlebuild { apt::ppa { "ppa:drizzle-developers/ppa": } package { "drizzle-dev": ensure => latest, } }
include drizzlebuild
Step 4) “vagrant  up” and you’re done! Feel free to build Drizzle inside this VM.
I’m sure there may be some more proper way to do it all, but that was a pretty neat first intro to me to Puppet and friends :)
Really nice set of Puppet posts, Stewart. Thanks so much!
My employer runs a network developer community portals and I’d be interested in talking to you more about adding some exposure for these posts. We’ve actually got the Peter Zaitsev as a Most Valuable Blogger from way back. Hit me up and we’ll talk.