26 Sep 2010, 1:31
Comments Off
Comments Off
Twitter Weekly Updates for 2010-09-26
- Waiting for a session timeout to hit so I can continue debugging the session code I wrote… #sillyme #
- So, this comm. api needs a X-Requested-With header to give proper responses. Would've been nice if they mentioned that in the manual #fail #
- Dropbox is actually quite cool! Why didn't I try this before? #dropbox #share #files http://db.tt/G2Pz5Ht #
- @baseonmars Thanks for that link! I *love* Feynman… #
- @ripienaar Try the stuff we offer! You'll like it! Just send us an email at info@twenty-five.nl and I'll set you up with a test VM for week. in reply to ripienaar #
- Pauze tijdens theater "Het Oneindige Verhaal" van Het Laagland (première) in schouwburg Geleen. Erg leuk! #
- Het stuk, dan, de pauze zelf is maar saai. #
Powered by Twitter Tools
19 Sep 2010, 1:31
Comments Off
Comments Off
Twitter Weekly Updates for 2010-09-19
- We're looking for a Linux support engineer. Keywords: root cause analysis, Internet (networking) technology, Debian, Puppet. http://www.kumina.nl #
- @KrisBuytaert Of course it is! What else could it be? :P in reply to KrisBuytaert #
- Apparantly they canceled the train I was going to take. Awesome #fail #ns #
- @Dankjewelske Ik weet het antwoord niet, maar als ik jou was zou ik eens bellen met je rechtsbijstand of met de Jurofoon (0900-1411). in reply to Dankjewelske #
- Why the hell is websupport.wdc.com using a SSL cert signed by an expired VeriSign CA cert?? #fail #westerndigital #rma #
- @davecoveney Oooo that's a good one!! in reply to davecoveney #
- Why does Java stuff always have a startup script that doesn't conform to the norm? So irritating. I mean, a while loop to restart? #fail #
- @KrisBuytaert http://packages.debian.org/search?keywords=tanukiwrapper :( in reply to KrisBuytaert #
- @ripienaar I got "You got 18 of 20 correct. Your score: 90% You are dangerously overinformed." Now I feel like a nerd… in reply to ripienaar #
- @ripienaar Admittedly, I had some lucky guesses in there… in reply to ripienaar #
- @ArjenNL Ik ben geen alumni, remember? :P in reply to ArjenNL #
- @iivvoo als je die haalt, zou ik hem best wel eens willen zien… Ben al lang op zoek naar een goeie, betaalbare ereader! in reply to iivvoo #
- Our new Coffee machine from Miko.eu was placed this morning. So nice to have good coffee at the office! Loving it! #coffee #
- @channtalle Ik vond hem erg tegenvallen :( in reply to channtalle #
- 200km between 2 lovers is about 201km too much. #needtofix #
Powered by Twitter Tools
12 Sep 2010, 1:31
Comments Off
Comments Off
Twitter Weekly Updates for 2010-09-12
- Rain. #
- @dankjewelske It ain't even funny anymore… I'm soaked :( #
- @dankjewelske Das een goeie tip… #
- @j_mantz Hou ze eens tegen :p #
- Fijn, die #nsproef sta in een overvolle trein naar Sittard. #
- NU.nl is raar: http://bit.ly/aRBkrf Wat heeft Carlton uit The Fresh Prince nu in hemelsnaam met dit artikel te maken? #
- @WasBC Nog lang geen 18C hier :P in reply to WasBC #
- My 'lock is 50 :) #
Powered by Twitter Tools
5 Sep 2010, 1:31
Comments Off
Comments Off
Twitter Weekly Updates for 2010-09-05
- We're more intimate with our customers than most companies: We've got root. #
- @peroict True, irc too ;) #
- I don't want of those new iPod Nano's… my fingers are way too fat for it! #apple #ipod #
- Nu.nl: "Het aandeel vrouwen op Wall Street is afgenomen." En dan nu het opmerkelijke nieuws: "Het aandeel mannen is gestegen"!! #
Powered by Twitter Tools
Puppet Tips&Tricks: Variable variables
Sometimes you want to use variable variables, for instance when you want to iterate over all the ipaddress_* facts that facter found. Using something like ${ipaddress_$if} doesn’t work, though. Inline_template to the rescue! Volcane on IRC suggested the following solution, which works great:
$ifs = split($interfaces,",")
define do_this {
$mule = "ipaddress_${name}"
$donkey = inline_template("<%= scope.lookupvar(mule) %>")
notify { "Found interface $donkey":; }
}
do_this { $ifs:; }
This will output:
$ sudo puppet net.pp notice: Found interface 172.29.121.22 notice: //Do_this[eth0]/Notify[Found interface 172.29.121.22]/message: defined 'message' as 'Found interface 172.29.121.22' notice: Found interface 213.207.83.56 notice: //Do_this[eth1]/Notify[Found interface 213.207.83.56]/message: defined 'message' as 'Found interface 213.207.83.56'
Hope this helps someone else! Leave a message if it does.