User talk:BDavis (WMF)/Notes/Thumb.php with Vagrant
Add topicAppearance
Latest comment: 11 years ago by BDavis (WMF) in topic IRC Chats
IRC Chats
[edit]9:57:56 AM bd808: ori-l: time to chat about a vagrant+puppet+apache design question? https://www.mediawiki.org/wiki/User:BDavis_(WMF)/Notes/Thumb.php_with_Vagrant#Puppet 9:58:53 AM bd808: I got it working with manual changes. Now I want to turn it into a role for vagrant 10:00:12 AM bd808: At the moment I just need some puppet & apache style guidance I think 10:00:36 AM bd808: I need to add a block of config to the apache vhost when the role is enabled 10:01:00 AM bd808: and I have a couple ideas of how that might be done, but don't know which is "better" or "right" 10:01:13 AM bd808: or maybe even "possilble" 10:01:44 AM ori-l: bd808: I have to finish syncing a change and 10:02:26 AM bd808: ori-l: cool beans. I'll take a stab at something and then you can tell me what I did so very wrong. :) 10:11:12 AM ori-l: bd808: you probably want something like 10:11:13 AM ori-l: https://dpaste.de/6OGHH/raw/ 10:11:23 AM ori-l: (poorly formatted because i did it in a hurry) 10:13:22 AM bd808: ori-l: my brain was making it much harder than that, but that might work 10:14:24 AM ori-l: if you're feeling up to it, you could factor out of the mediawiki::extension resource type a more generic mediawiki::settings resource type that gives the same nice mapping of puppet hashes to PHP code (paravoid is probably shuddering) 10:14:42 AM ori-l: i've been meaning to do that, and modify mediawiki::extension so that it uses it 10:14:55 AM ori-l: i'm still very jetlagged, so if that makes no sense at all, it's probably my fault then run off. I took a very cursory glance and it looks like good progress. I'll take a look in a few hours, if that's cool, unless paravoid figures it out first. (paravoid, thanks for helping.)