[11:33:29] assuming we got a batch_max = 1 what's the best way of getting the hostname of the targeted host in a cookbook? [13:37:30] <_joe_> vgutierrez: the only way I can think of is to use the generator of targets to yield the single target and extract it from there [13:37:44] <_joe_> I think I did that somewhere [13:37:56] <_joe_> but basically that can be done in spicerack, IIRC, not in a cookbook [13:37:57] _joe_: hostname = hosts.hosts[0].split('.')[0] [13:38:06] <_joe_> ewww :P [13:42:29] looks pythonic to me [13:43:42] or you could go all rube goldberg and just run the `hostname` command on the target first :) [13:44:22] isn't the real Rube Goldberg using a shell script and doing everything yourself? [13:44:50] depends on your POV I guess :) [13:49:40] bblack: that's not even the beginning of going full Goldberg with cumin ;) [14:18:03] I have resolved the pa.ge otherwise it'll do it again tomorrow morning [14:52:25] akosiaris: I have some of your changes ready to be merged on puppetmaster, do you want me to merge these too? [14:59:03] (going to merge) [15:05:10] anyone know how or who manages dns records for wikilovesmonuments.org? I need to update their MX records [15:10:52] looks like the http servers are hosted by wikimedia.nl [15:11:59] hmm, interesting [15:12:55] fabfur: yes, thanks! [15:13:03] 👍 [15:13:03] https://www.wikimedia.nl/wat-wij-doen/wiki-loves-monuments/ [15:13:16] ^ it's listed under their projects (have to xlate from dutch w/ browser) [15:17:15] thanks, maybe i'll try their email address