| [2008/05/13 00:01:33] @ cote joined channel #puppet | ||
| [2008/05/13 00:03:23] @ kenvandine joined channel #puppet | ||
| [2008/05/13 00:04:43] @ Quit: sparanjape: Read error: 104 (Connection reset by peer) | ||
| [2008/05/13 00:16:17] @ Quit: windowsrefund: Nick collision from services. | ||
| [2008/05/13 00:16:24] @ keithlard joined channel #puppet | ||
| [2008/05/13 00:16:41] @ windowsrefund joined channel #puppet | ||
| [2008/05/13 00:16:58] @ Quit: windowsrefund: Nick collision from services. | ||
| [2008/05/13 00:17:06] <keithlard> hey hey | ||
| [2008/05/13 00:17:10] @ windowsrefund joined channel #puppet | ||
| [2008/05/13 00:18:13] @ Quit: windowsrefund: Nick collision from services. | ||
| [2008/05/13 00:18:33] @ windowsrefund joined channel #puppet | ||
| [2008/05/13 00:18:56] @ Quit: windowsrefund: Nick collision from services. | ||
| [2008/05/13 00:19:01] @ winrefund is now known as windowsrefund | ||
| [2008/05/13 00:22:44] @ flakrat joined channel #puppet | ||
| [2008/05/13 00:32:48] @ Zothar_Work left channel #puppet () | ||
| [2008/05/13 00:33:44] @ lak joined channel #puppet | ||
| [2008/05/13 00:37:04] <ashp> anyone install gems via puppet? | ||
| [2008/05/13 00:38:46] <ashp> i still don't know how to get past it asking me what version i want to install | ||
| [2008/05/13 00:39:11] <ashp> err: //Node[default]/iclassify/iclassify::install/Package[mysql]/ensure: change from absent to latest failed: Could not update: Execution of '/usr/bin/gem install --include-dependencies mysql' returned 256: Select which gem to install for your platform (x86_64-linux) | ||
| [2008/05/13 00:39:15] <ashp> 1. mysql 2.7.3 (mswin32) | ||
| [2008/05/13 00:39:18] <ashp> 2. mysql 2.7.1 (mswin32) | ||
| [2008/05/13 00:39:28] <ashp> I need to force it to install 'the latest' or at least pick 1 | ||
| [2008/05/13 00:40:07] @ Quit: dysinger: | ||
| [2008/05/13 00:42:17] @ Quit: lak: | ||
| [2008/05/13 00:42:47] <fsweetser> shot in the dark - 'ensure => latest' ? | ||
| [2008/05/13 00:44:25] <keithlard> ashp: rubygems >= 0.9 supports versions | ||
| [2008/05/13 00:44:56] <ashp> i need a way to tell it to stop supporting versions, or have puppet's gem provider updated :/ | ||
| [2008/05/13 00:45:12] <keithlard> but i've found by far the best way to manage gems is to convert them to rpms first, with gem2rpm. it's literally a one-liner | ||
| [2008/05/13 00:45:22] @ Quit: zobbo: "Ex-Chat" | ||
| [2008/05/13 00:45:34] <keithlard> or failing that, distribute the gem file to a temporary directory and have puppet do a local install from there | ||
| [2008/05/13 00:45:35] <ashp> ohhh OH | ||
| [2008/05/13 00:45:41] <ashp> there's a gem2rpm, that's the best news I've had all day | ||
| [2008/05/13 00:45:50] <ashp> this is problem solved :) | ||
| [2008/05/13 00:45:52] <ashp> thank you! | ||
| [2008/05/13 00:46:02] <keithlard> :D | ||
| [2008/05/13 00:46:38] <keithlard> just run 'gem2rpm foo.gem' and it outputs a spec file; 'rpmbuild -ba foo.spec' creates the RPM | ||
| [2008/05/13 00:48:54] @ Quit: shake-n-bake: | ||
| [2008/05/13 00:53:26] @ fluxdude joined channel #puppet | ||
| [2008/05/13 00:55:48] @ freiheit joined channel #puppet | ||
| [2008/05/13 00:59:43] <ashp> hmm now to find a copy of gem2rpm :) | ||
| [2008/05/13 01:00:26] <keithlard> this is the latest version i've found: http://people.redhat.com/dlutter/yum/SRPMS/rubygem-gem2rpm-0.5.3-1.src.rpm | ||
| [2008/05/13 01:00:59] <keithlard> or install the gem! | ||
| [2008/05/13 01:01:17] <ashp> Aha, I should have guessed there's a gem! | ||
| [2008/05/13 01:01:32] <ashp> Is there a way to tell gem to just download gems? Or do I have to install them, then turn them into gems? | ||
| [2008/05/13 01:01:43] @ martha joined channel #puppet | ||
| [2008/05/13 01:01:55] @ Quit: strerror_work: | ||
| [2008/05/13 01:03:49] <keithlard> what i do is install the gem, then copy the gem from /usr/lib/ruby/gems/1.8/cache into my SOURCES directory for rpm building | ||
| [2008/05/13 01:04:01] <keithlard> then uninstall the gem :) | ||
| [2008/05/13 01:04:10] <keithlard> there might be a smarter way but i don't know it | ||
| [2008/05/13 01:06:10] @ jvanzyl joined channel #puppet | ||
| [2008/05/13 01:06:35] <ashp> I think my gem stuff is incorrect as I can't search with gem search gem | ||
| [2008/05/13 01:06:38] <ashp> so i better go fix this first | ||
| [2008/05/13 01:13:07] @ Quit: M-: "Leaving" | ||
| [2008/05/13 01:16:12] <ashp> oh, unlike every package manager I've ever seen it doesn't search remotely by default | ||
| [2008/05/13 01:16:35] <keithlard> yes, gem's a bit strange | ||
| [2008/05/13 01:16:49] <keithlard> just 'gem install mysql' should do it | ||
| [2008/05/13 01:17:06] <ashp> I just had to do --remote gem2rpm to get it working | ||
| [2008/05/13 01:17:18] <keithlard> aye | ||
| [2008/05/13 01:19:21] @ Quit: cote: Read error: 104 (Connection reset by peer) | ||
| [2008/05/13 01:22:23] @ Quit: kambiz: Read error: 104 (Connection reset by peer) | ||
| [2008/05/13 01:32:41] @ kambiz joined channel #puppet | ||
| [2008/05/13 01:35:10] @ lak joined channel #puppet | ||
| [2008/05/13 01:38:55] @ Quit: lak: Client Quit | ||
| [2008/05/13 01:48:23] @ Quit: bender183: "My damn controlling terminal disappeared!" | ||
| [2008/05/13 01:58:24] @ slj39 left channel #puppet () | ||
| [2008/05/13 01:59:30] @ stevenjenkins joined channel #puppet | ||
| [2008/05/13 02:02:22] @ andrewcshafer joined channel #puppet | ||
| [2008/05/13 02:07:17] @ lak joined channel #puppet | ||
| [2008/05/13 02:21:48] @ brscott joined channel #puppet | ||
| [2008/05/13 02:22:47] <ashp> holoway: ping | ||
| [2008/05/13 02:23:41] @ brscott left channel #puppet () | ||
| [2008/05/13 02:31:38] @ Quit: jvanzyl: | ||
| [2008/05/13 02:35:45] <ashp> Someone try to install the fastthread gem needed for mongrel for me? | ||
| [2008/05/13 02:35:56] <ashp> It just bombs out with "can't find header files for ruby." | ||
| [2008/05/13 02:36:04] <keithlard> you need the ruby-devel rpm | ||
| [2008/05/13 02:36:12] <ashp> I was just about to say | ||
| [2008/05/13 02:36:15] <ashp> maybe that's a hint to add ruby-devel | ||
| [2008/05/13 02:36:23] <keithlard> fastthread is a native extension so it needs to be compiled | ||
| [2008/05/13 02:36:28] <ashp> I figured it just meant ruby internal headers | ||
| [2008/05/13 02:38:35] <ashp> Hmm why do half of these | ||
| [2008/05/13 02:38:40] <ashp> only exist for mswin32 | ||
| [2008/05/13 02:49:46] <ashp> Urgh, now mysql won't build | ||
| [2008/05/13 02:49:52] <ashp> it can't find lmysqlclient that's CLEARLY there | ||
| [2008/05/13 02:50:07] <keithlard> is it looking for a previous version of libmysqlclient? | ||
| [2008/05/13 02:51:25] <ashp> it just checks: checking for mysql_query() in -lmysqlclient... no | ||
| [2008/05/13 02:51:26] <gepetto> ::puppet:: Plugins InModules edited by luke @ http://reductivelabs.com/trac/puppet/wiki/PluginsInModules (by luke@madstop.com) | ||
| [2008/05/13 02:51:44] <ashp> -fasynchronous-unwind-tables -Wall -fPIC conftest.c -L"/usr/local/lib" -L"/usr/lib" -L"/usr/local/lib/mysql" -lnsl -lz -lm -lruby-static -lmysqlclient | ||
| [2008/05/13 02:51:51] <ashp> oh no, i see the flaw here | ||
| [2008/05/13 02:52:35] <ashp> it actually puts them into usr/lib/mysql/ | ||
| [2008/05/13 02:53:12] <keithlard> did you install mysql from the rpm? | ||
| [2008/05/13 02:53:21] <ashp> Successfully installed mysql-2.7 | ||
| [2008/05/13 02:53:30] <ashp> mysql came from rhel5 | ||
| [2008/05/13 02:53:39] <ashp> I just ln'ed usr/lib/mysql to usr/local/lib/ | ||
| [2008/05/13 02:53:47] <ashp> i am just getting the raw gems on to convert into rpms | ||
| [2008/05/13 03:19:01] <infinity3> is anyone configuring apcupsd with puppet. | ||
| [2008/05/13 03:19:34] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/13 03:20:35] @ dysinger joined channel #puppet | ||
| [2008/05/13 03:27:05] @ randybias joined channel #puppet | ||
| [2008/05/13 03:28:07] <holoway> ashp: ah, rubygems | ||
| [2008/05/13 03:28:10] <holoway> it's getting better | ||
| [2008/05/13 03:28:14] <holoway> with new versions | ||
| [2008/05/13 03:28:17] <holoway> but still sucks | ||
| [2008/05/13 03:28:18] <holoway> :) | ||
| [2008/05/13 03:28:28] @ Quit: lak: | ||
| [2008/05/13 03:28:29] <holoway> did you get iclassify running? | ||
| [2008/05/13 03:30:15] <ashp> I'm er, trying | ||
| [2008/05/13 03:30:19] <ashp> right now I'm on '/usr/bin/ld: skipping incompatible /usr/local/lib/mysql/libmysqlclient.a when searching for -lmysqlclient | ||
| [2008/05/13 03:30:29] <ashp> while trying to build 64bit rpms of gem-mysql | ||
| [2008/05/13 03:31:17] <holoway> lame | ||
| [2008/05/13 03:31:34] <holoway> that mysql native gem is always problematic | ||
| [2008/05/13 03:31:43] <ashp> I'm tempted to skip this one as it's the only thing left | ||
| [2008/05/13 03:31:58] <ashp> and i don't really know or care why it is convinced the 64bit mysql-devel stuff is 'incompatible' | ||
| [2008/05/13 03:32:31] <ashp> ldconfig -v is happy, so this gem must just be broken | ||
| [2008/05/13 03:32:54] <ashp> weirdly gem instasll mysql lists newer versions but only for win32, which is weird | ||
| [2008/05/13 03:33:59] @ ezralini joined channel #puppet | ||
| [2008/05/13 03:35:07] <mmestnik> Hello, I'm surprised that puppetd(as a daemon and client) exists on some problems. Would I not be better off running via cron, so any errors are retried? | ||
| [2008/05/13 03:35:21] <ashp> gem install mysql -- --with-mysql-config=/usr/lib64/mysql/mysql_config (this may work) | ||
| [2008/05/13 03:35:53] <ashp> Successfully installed mysql-2.7 | ||
| [2008/05/13 03:36:23] <mmestnik> I've discovered that it has some locking, is it good/dependable? | ||
| [2008/05/13 03:40:01] <holoway> mmestnik: yes, it's quite dependable | ||
| [2008/05/13 03:40:10] <holoway> people run it out of cron, people run it as a daemon | ||
| [2008/05/13 03:40:24] <holoway> no shame in running it out of cron | ||
| [2008/05/13 03:41:22] <mmestnik> I'll try. the bug I'm working with is is puppetmasterd dies the port is closed and clients won't start in that case. | ||
| [2008/05/13 03:42:33] <holoway> mmestnik: that should be fixed in 0.24.4? | ||
| [2008/05/13 03:42:42] @ lak joined channel #puppet | ||
| [2008/05/13 03:43:21] <infinity3> how can i pass a variable when I include a class in a node? | ||
| [2008/05/13 03:44:05] <infinity3> i want to set different shutdown times for different servers. the config file will be generated by a template, but i'm not sure how to pass the time to shutdown to the templte. | ||
| [2008/05/13 03:44:16] <mmestnik> rpmforge is shipping 0.22.4. | ||
| [2008/05/13 03:44:38] <ashp> Ah is THAT why so many people still have 0.22? | ||
| [2008/05/13 03:44:42] @ plathrop joined channel #puppet | ||
| [2008/05/13 03:44:45] <ashp> I use EPEL so I get the latest | ||
| [2008/05/13 03:45:10] <holoway> mmestnik: use the dlutter repo | ||
| [2008/05/13 03:45:16] <holoway> and run 0.24.4 | ||
| [2008/05/13 03:45:36] <ashp> I wonder if the dlutter repo is any better than the EPEL packages | ||
| [2008/05/13 03:45:59] <mmestnik> Nahh, I need nrpe too. | ||
| [2008/05/13 03:47:41] @ Quit: andrewcshafer: | ||
| [2008/05/13 03:48:30] <mmestnik> ashp: Should EPEL be compatible with RedHat? We run RHEL4 and 5 in both 64 and 32 flavors. | ||
| [2008/05/13 03:48:55] <ashp> yeah, it's specifically for fedora/RHEL | ||
| [2008/05/13 03:49:04] <ashp> I use it with RHEL5 and i've had no problems so far, really nice packages | ||
| [2008/05/13 03:51:37] <holoway> ashp: are you writing down all your iclassify travails so you can update the wiki? :) | ||
| [2008/05/13 03:54:00] <ashp> I am making a puppet module | ||
| [2008/05/13 03:54:12] <ashp> and I'm making rpms for both i386 and x86_64 | ||
| [2008/05/13 03:54:15] <ashp> of all the gems required | ||
| [2008/05/13 03:54:20] <ashp> for RHEL | ||
| [2008/05/13 03:54:29] <ashp> so hopefully when I finish this should make it easier to install! | ||
| [2008/05/13 03:54:35] <holoway> ashp: that kicks ass | ||
| [2008/05/13 03:55:27] @ Quit: plathrop: Remote closed the connection | ||
| [2008/05/13 04:00:43] @ holoway is now known as holoway-in-trans | ||
| [2008/05/13 04:01:07] @ gh joined channel #puppet | ||
| [2008/05/13 04:09:07] @ Quit: elrako2: Read error: 104 (Connection reset by peer) | ||
| [2008/05/13 04:13:55] @ Quit: randybias: | ||
| [2008/05/13 04:15:08] <ashp> Phew, rubygem requirements and mysql automated finally. | ||
| [2008/05/13 04:18:05] @ andrewcshafer joined channel #puppet | ||
| [2008/05/13 04:28:12] @ shadoi joined channel #puppet | ||
| [2008/05/13 04:36:36] <ashp> I suppose the right thing to do | ||
| [2008/05/13 04:36:46] <ashp> would be to use puppet to install git, and then check out iclassify and install it properly | ||
| [2008/05/13 04:36:52] <ashp> rather than taking a static copy and bundling it up | ||
| [2008/05/13 04:37:03] <ashp> it'll mean a lot of exec's but it's probably the right way | ||
| [2008/05/13 04:40:35] @ Quit: andrewcshafer: | ||
| [2008/05/13 04:41:20] <ashp> Hmm, I wonder if lak would object to adding 'name =>' into Exec so that I can do require => Exec['name'] as a shortcut | ||
| [2008/05/13 04:41:25] <ashp> as the full command is awkward | ||
| [2008/05/13 04:45:29] @ Quit: Volcane: "leaving" | ||
| [2008/05/13 04:45:55] <fsweetser> just do something like 'exec { load-sysctl: command => "/sbin/sysctl -p /etc/sysctl.conf" } | ||
| [2008/05/13 04:46:08] <fsweetser> you can than reference it as 'load-sysctl' instead of the full command | ||
| [2008/05/13 04:46:56] <ashp> ohhh ok, that makes sense | ||
| [2008/05/13 04:47:10] <ashp> I just figure I'm going to either need a/ a script to install iclassify, or about 15 exec's | ||
| [2008/05/13 04:47:58] <ashp> with those I'd have to build the dependency tree really carefully, so it's not ideal | ||
| [2008/05/13 04:51:08] @ Quit: kambiz: "Leaving" | ||
| [2008/05/13 05:01:49] @ jvanzyl joined channel #puppet | ||
| [2008/05/13 05:04:03] @ plathrop joined channel #puppet | ||
| [2008/05/13 05:19:47] @ mccune joined channel #puppet | ||
| [2008/05/13 05:26:24] <windowsrefund> May 12 15:19:22 e5puppet1 puppetmasterd[8211]: Could not call: FATAL: Ident authentication failed for user "puppet" | ||
| [2008/05/13 05:26:32] <windowsrefund> anyone know what that is? | ||
| [2008/05/13 05:28:45] <ashp> ohh, nice lak reply :) | ||
| [2008/05/13 05:30:03] @ holoway-in-trans is now known as holoway | ||
| [2008/05/13 05:47:39] @ mccune left channel #puppet () | ||
| [2008/05/13 05:54:39] @ shenson is now known as shenson_not_here | ||
| [2008/05/13 05:55:47] @ Innocenti joined channel #puppet | ||
| [2008/05/13 05:59:50] <windowsrefund> ah, I only get that error when storeconfigs = true in puppet.conf | ||
| [2008/05/13 06:00:02] <fsweetser> postgresql? | ||
| [2008/05/13 06:01:10] @ emerose joined channel #puppet | ||
| [2008/05/13 06:02:24] <ashp> lak: You should definitely tank out that caching catalog stuff, I always do all my testing with -tv which ignores it as i understand it, and it's never been slow as a result | ||
| [2008/05/13 06:02:30] <ashp> s/tank/tear | ||
| [2008/05/13 06:02:38] <lak> already done | ||
| [2008/05/13 06:03:07] <ashp> are you still working in git? | ||
| [2008/05/13 06:03:14] <ashp> because now via github i see no more changes anymore | ||
| [2008/05/13 06:03:17] <ashp> i noticed that the other day | ||
| [2008/05/13 06:04:15] <lak> it varies | ||
| [2008/05/13 06:04:19] <lak> and the branch i work on varies | ||
| [2008/05/13 06:04:24] <lak> well, i'm always using git | ||
| [2008/05/13 06:04:33] <lak> but i do'nt necessary push changes to my personal repo on a timely schedule | ||
| [2008/05/13 06:04:47] <lak> and, also, i haven't made a commit in about 5-7 days, i think | ||
| [2008/05/13 06:04:55] <lak> wife's phd kinda brought everything to a stand-still | ||
| [2008/05/13 06:05:19] <ashp> I saw a reference to that, was she doing her graduation or er, whatever you do at the end of a phd | ||
| [2008/05/13 06:05:27] <ashp> I realise that despite working for a university I have no idea how education works | ||
| [2008/05/13 06:06:29] <ashp> God, I'm so glad I've never used any windows equivalents to puppet, my boss constantly double checks with me if puppetmaster dies all the servers won't uninstall all their software and unconfigure themselves | ||
| [2008/05/13 06:06:44] <ashp> because he once worked at a place where exactly that happened if they couldn't reach the configuration server | ||
| [2008/05/13 06:08:13] <fsweetser> wow... that sounds like the kind of story old sysadmins tell young sysadmins around the campfire to frighten them | ||
| [2008/05/13 06:08:29] <ashp> I just can't imagine how you would set about designing something so fundementally flawed | ||
| [2008/05/13 06:08:52] <fsweetser> hmm.... | ||
| [2008/05/13 06:09:21] <fsweetser> config = null; config += get_stuff_from_server; apply(config); | ||
| [2008/05/13 06:09:45] <fsweetser> null + null = null, which is valid, right? =) | ||
| [2008/05/13 06:10:02] <ashp> :D | ||
| [2008/05/13 06:10:37] @ emerose_ joined channel #puppet | ||
| [2008/05/13 06:12:16] <windowsrefund> fsweetser, yes | ||
| [2008/05/13 06:12:52] <fsweetser> sounds like you've got postgresql configured to use ident to authenticate connections, but ident isn't running | ||
| [2008/05/13 06:13:19] <windowsrefund> oh, I'll have to dig into that a bit | ||
| [2008/05/13 06:13:26] <windowsrefund> this is my first time using that db | ||
| [2008/05/13 06:13:34] <windowsrefund> thanks for the pointer | ||
| [2008/05/13 06:13:42] <fsweetser> I'm mostly a mysql guy myself, so good luck with that =) | ||
| [2008/05/13 06:16:54] @ roald joined channel #puppet | ||
| [2008/05/13 06:18:30] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/05/13 06:18:31] <windowsrefund> yea, me too. I just figure it's time to learn something about postgresql when I consider what MySQL A/B is doing now-a-days | ||
| [2008/05/13 06:19:03] <fsweetser> they've at least backed off from their threats to make future features closed source, so there's hope | ||
| [2008/05/13 06:19:10] <fsweetser> but yeah, I know what you mean | ||
| [2008/05/13 06:19:31] <plathrop> Wow, I find this back and forth betweek lak and holoway to be deeply educational. | ||
| [2008/05/13 06:19:38] <fsweetser> indeed... | ||
| [2008/05/13 06:19:49] <ashp> plathrop: I'm glad I managed to spur on that thread after all, it's a great thread. | ||
| [2008/05/13 06:19:56] <fsweetser> I'm going to have to go back and re-read the thread about a week after it's settled down =) | ||
| [2008/05/13 06:19:57] <ashp> with all my yapping about sudo :D | ||
| [2008/05/13 06:20:33] <plathrop> ashp: Even where I disagree, I'm finding myself re-evaluating a buch of stuff I thought I knew. Many thanks for kicking up the dirt! | ||
| [2008/05/13 06:20:38] <plathrop> fsweetser: Me too | ||
| [2008/05/13 06:21:07] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/13 06:21:40] <ashp> All I know is I'm excited to see this stuff brought up because right now a lot of my forward thinking is occupied with the requirement of knowing information about the entire infrastructure | ||
| [2008/05/13 06:21:44] <ashp> and making decisions based on that | ||
| [2008/05/13 06:22:20] <plathrop> ashp: I think that is where a lot of us are... | ||
| [2008/05/13 06:22:20] <fsweetser> absolutely - nagios, NTP servers... | ||
| [2008/05/13 06:22:23] @ jeckersb joined channel #puppet | ||
| [2008/05/13 06:22:44] <fsweetser> wouldn't it be neat if puppet could allow you to promote a machine to server status if an existing one went down? | ||
| [2008/05/13 06:23:05] <ashp> That's something else we're dealing with, or planning for | ||
| [2008/05/13 06:23:14] <ashp> better ways to handle that | ||
| [2008/05/13 06:23:23] <ashp> right now we generally have a vmware+real server pair for each thing | ||
| [2008/05/13 06:23:28] <ashp> not everything load balances however | ||
| [2008/05/13 06:24:11] * fsweetser wishes everything were as inherently failover-friendly as NTP or DNS | ||
| [2008/05/13 06:25:12] <ashp> puppet at least lets me keep everything in sync, but i still have the problem that on a backup server i might need to keep the service down unless the primary goes down | ||
| [2008/05/13 06:25:21] <ashp> and so i can't use service{} because puppet will try to keep it running on both, etc | ||
| [2008/05/13 06:25:39] <ashp> unless I use different environments (which we're doing, productiveactive and passive), it's not clean however | ||
| [2008/05/13 06:26:03] <fsweetser> is puppet, with its default 30 minute check interval, the best tool for that anyway? | ||
| [2008/05/13 06:26:30] <ashp> no, but I do need a good way to toggle servers as 'passive' so don't always ensure => running on that environment | ||
| [2008/05/13 06:26:35] <fsweetser> true | ||
| [2008/05/13 06:26:53] <ashp> so the more power I can have in an external node tool | ||
| [2008/05/13 06:26:54] <ashp> the better | ||
| [2008/05/13 06:26:57] <fsweetser> hrm... wonder how it might work to have per-resource check intervals... | ||
| [2008/05/13 06:27:16] <ashp> hmm | ||
| [2008/05/13 06:27:27] <ashp> would be interesting to have that adjustable | ||
| [2008/05/13 06:27:31] <fsweetser> ie, obsess over checking DNS every 5 minutes, but user accounts every 6 hours | ||
| [2008/05/13 06:28:11] <ashp> i guess it would require a lot more sophisicated scheduler, but it would be useful | ||
| [2008/05/13 06:28:16] <ashp> there's a lot of things i don't really need to check very often | ||
| [2008/05/13 06:28:18] <ashp> just once a day | ||
| [2008/05/13 06:28:32] <ashp> i would almost like to say 'run all resources on startup, then X minutes' | ||
| [2008/05/13 06:28:39] <ashp> so i could set packages with ensure => latest to 24 hours | ||
| [2008/05/13 06:34:03] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2008/05/13 06:38:21] @ shake-n-bake joined channel #puppet | ||
| [2008/05/13 06:38:22] @ Quit: ezralini: | ||
| [2008/05/13 06:38:31] @ shenson_not_here is now known as shenson | ||
| [2008/05/13 06:41:14] @ Quit: Maliuta: Read error: 110 (Connection timed out) | ||
| [2008/05/13 06:48:48] @ johnson joined channel #puppet | ||
| [2008/05/13 06:50:18] <holoway> the next place that thread is going is discussion about whether the right place to model that external data is as, basically, external resources, or as data that builds resources | ||
| [2008/05/13 06:50:33] @ Quit: jvanzyl: | ||
| [2008/05/13 06:51:24] <windowsrefund> fsweetser, I prefer to speak in terms of free and non-free rather than open vs. closed. The latter is language of the Open Source camp which is all about practical things that are less important that freedom | ||
| [2008/05/13 06:51:29] <windowsrefund> s/that/than | ||
| [2008/05/13 06:54:09] <fsweetser> I agree with you about the Open Source Camp (ie, ESR and company), but in general, it's far too confusing when talking about free software with people who don't already really get it, and trying to explain "no, not that kind of free, this kind of free!" | ||
| [2008/05/13 06:54:49] <fsweetser> ie, the "well, if it's really free software, how does RedHat charge for it?" confusion | ||
| [2008/05/13 06:55:16] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/05/13 06:57:15] @ Quit: johnson: Nick collision from services. | ||
| [2008/05/13 06:57:26] <ashp> I don't agree with randy that repeatability is exactly what I want ever time in that everlasting thread | ||
| [2008/05/13 06:57:32] <ashp> but i'm going to go home rather than write a giant reply :) | ||
| [2008/05/13 06:58:05] <windowsrefund> I agree that it can be tedious but we don't use different language to convey the ideas of free speech so there's no good reason to do it for other aspects of our freedom | ||
| [2008/05/13 06:58:29] <fsweetser> ashp: my thought was - if you ever run into a case where a->b vs b->a makes a difference, then you better tell puppet about it | ||
| [2008/05/13 06:58:35] <windowsrefund> I mean, we don't say "open speech" in order to avoid the discussion of freedom | ||
| [2008/05/13 06:58:45] <windowsrefund> anyway, I must run | ||
| [2008/05/13 06:58:46] <fsweetser> if you're depending on a stable ordering, you're already living dangerously | ||
| [2008/05/13 06:58:53] <windowsrefund> always a pleasure :) | ||
| [2008/05/13 06:58:57] <fsweetser> later =) | ||
| [2008/05/13 06:59:17] @ shake-n-bake joined channel #puppet | ||
| [2008/05/13 06:59:27] <holoway> fsweetser: you do want stable ordering, though | ||
| [2008/05/13 06:59:39] <holoway> the more you have using puppet, the more a->b vs b->a moments you have | ||
| [2008/05/13 06:59:49] <fsweetser> well, yes and no... | ||
| [2008/05/13 07:00:02] <holoway> I don't think I'm ever going to win this argument, because Luke uses words like "hell" to describe the results | ||
| [2008/05/13 07:00:08] <holoway> :) | ||
| [2008/05/13 07:00:12] @ Maliuta joined channel #puppet | ||
| [2008/05/13 07:00:14] <fsweetser> I personally don't trust implicit properties, like the order of things in a file, to change behavior | ||
| [2008/05/13 07:00:25] <plathrop> fsweetser: Yeah, I'm with you. | ||
| [2008/05/13 07:00:29] <fsweetser> but then, I usually don't even trust code I write, so that's just me =) | ||
| [2008/05/13 07:00:48] <holoway> fsweetser: you do all the time, though, in every programming language you use, most likely | ||
| [2008/05/13 07:01:02] <holoway> even puppet must do that, because it needs to re-order everything to execute it | ||
| [2008/05/13 07:01:04] <plathrop> holoway: At least you have made me really think about my opinions and why I have them. | ||
| [2008/05/13 07:01:06] <holoway> since it doesn't run in parallel | ||
| [2008/05/13 07:01:08] <fsweetser> procedural ones, yes - declarative ones, no | ||
| [2008/05/13 07:01:34] <holoway> fsweetser: even in the declarative ones, you have a moment where you say "start here" | ||
| [2008/05/13 07:01:59] <holoway> plathrop: good! | ||
| [2008/05/13 07:02:00] <holoway> :) | ||
| [2008/05/13 07:02:19] <fsweetser> I guess mentally, I think of manifests as more like prolog, where I give it a set of conditions, and let it worry about how to fulfill them | ||
| [2008/05/13 07:02:47] <holoway> fsweetser: right | ||
| [2008/05/13 07:03:01] <holoway> but it's not really like prolog on the outside end.. you do care about the order the manifest is applied | ||
| [2008/05/13 07:03:14] <holoway> (it's nice that it's kind of like prolog on the definition end) | ||
| [2008/05/13 07:03:30] <holoway> like I said, I don't expect to win this argument | ||
| [2008/05/13 07:03:50] <fsweetser> true. I'm just the paranoid type that likes to have things like dependencies clearly spelled out and documented, and the requires makes me happy =) | ||
| [2008/05/13 07:04:12] <holoway> fsweetser: but they would be! you just do it at the level you ought to anyway, which is that classes provide functionality you don't rely on | ||
| [2008/05/13 07:04:17] <holoway> the implementation details of | ||
| [2008/05/13 07:04:30] <holoway> and that, within a class, it moves in order | ||
| [2008/05/13 07:04:40] <holoway> want to know what the dependencies of File["foo"] are? | ||
| [2008/05/13 07:04:46] <holoway> just scroll up | ||
| [2008/05/13 07:04:50] <holoway> :) | ||
| [2008/05/13 07:05:45] @ Quit: sigmonsays_: Read error: 110 (Connection timed out) | ||
| [2008/05/13 07:06:06] <fsweetser> true - at that point it just boils down to preference =) | ||
| [2008/05/13 07:06:29] <holoway> fsweetser: exactly | ||
| [2008/05/13 07:06:43] <holoway> the rest of this is noise | ||
| [2008/05/13 07:06:44] <holoway> it's preference | ||
| [2008/05/13 07:07:48] <gepetto> ::puppet:: Changeset [68d8d0ae0686939d94dae8ccc70e5582187335dc]: Adding a module for handling caching informati... @ http://reductivelabs.com/trac/puppet/changeset/68d8d0ae0686939d94dae8ccc70e5582187335dc (by Luke Kanies <luke@madstop.com>) | ||
| [2008/05/13 07:09:47] <fujin> hai chaps! | ||
| [2008/05/13 07:10:14] <holoway> fujin: hola | ||
| [2008/05/13 07:10:22] <fujin> ! | ||
| [2008/05/13 07:10:25] <fujin> whats crackin | ||
| [2008/05/13 07:10:39] <holoway> continuing the great philosophical smackdown of '08 | ||
| [2008/05/13 07:10:59] <fujin> oh I see | ||
| [2008/05/13 07:12:16] @ Quit: roald: "KVIrc 3.2.6 Anomalies http://www.kvirc.net/" | ||
| [2008/05/13 07:13:50] <fujin> oh ya, so fujin's 2c | ||
| [2008/05/13 07:13:56] <fujin> markdown > rst > textile | ||
| [2008/05/13 07:16:33] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/13 07:18:59] @ jvanzyl joined channel #puppet | ||
| [2008/05/13 07:22:36] @ shenson is now known as shenson_not_here | ||
| [2008/05/13 07:24:19] <gepetto> ::puppet:: Ticket #1218 (defect closed): Undefined variable lib/puppet/util/settings.rb @ http://reductivelabs.com/trac/puppet/ticket/1218#comment:2 (by luke@madstop.com) | ||
| [2008/05/13 07:24:19] <gepetto> ::puppet:: Ticket #1217 (defect closed): urpmi backend can't check if the latest release of a package is instal... @ http://reductivelabs.com/trac/puppet/ticket/1217#comment:8 (by luke@madstop.com) | ||
| [2008/05/13 07:25:15] <fujin> oh sup lak! | ||
| [2008/05/13 07:27:14] @ andrewcshafer joined channel #puppet | ||
| [2008/05/13 07:38:15] <infinity3> how can i read variables from a file ? | ||
| [2008/05/13 07:39:25] <shadoi> fujin: http://johnmacfarlane.net/pandoc/ | ||
| [2008/05/13 07:39:56] <shadoi> should let us use almost any wiki | ||
| [2008/05/13 07:47:14] <shadoi> infinity3: what do you mean? | ||
| [2008/05/13 07:47:16] <infinity3> is it possible to have a file in puppet with a hostname and a setting. then the other puppet files can reference them? | ||
| [2008/05/13 07:47:33] <shadoi> Most like you want to make it a fact | ||
| [2008/05/13 07:47:39] <shadoi> likely* | ||
| [2008/05/13 07:47:48] <infinity3> shadoi: that sounds like an interesting idea | ||
| [2008/05/13 07:47:58] <infinity3> shadoi: where do i start? | ||
| [2008/05/13 07:48:05] <shadoi> wiki:AddingFacts | ||
| [2008/05/13 07:48:07] <gepetto> shadoi: wiki: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts | ||
| [2008/05/13 07:48:29] <infinity3> i'm glad i asked. sounds like a genious idea | ||
| [2008/05/13 07:53:17] <fujin> shadoi: so what, we'd just run our current stuff through a converter? | ||
| [2008/05/13 07:53:29] <fujin> shadoi: do you know if markdown can be used for ->pdf like rST | ||
| [2008/05/13 07:53:40] <gepetto> ::puppet:: Ticket #1207 (defect closed): usermod problem on Solaris @ http://reductivelabs.com/trac/puppet/ticket/1207#comment:4 (by luke@madstop.com) | ||
| [2008/05/13 07:53:40] <gepetto> ::puppet:: Ticket #1196 (defect closed): Service commands should use /sbin/service on Red Hat-based systems, no... @ http://reductivelabs.com/trac/puppet/ticket/1196#comment:4 (by luke@madstop.com) | ||
| [2008/05/13 07:53:40] <gepetto> ::puppet:: Ticket #1185 (defect closed): puppet-mode.el issue with array syntax @ http://reductivelabs.com/trac/puppet/ticket/1185#comment:20 (by luke@madstop.com) | ||
| [2008/05/13 07:55:38] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/13 08:03:35] @ Quit: Demosthenex: "leaving" | ||
| [2008/05/13 08:03:59] <shadoi> fujin: with that tool it can | ||
| [2008/05/13 08:04:17] <shadoi> http://johnmacfarlane.net/pandoc/markdown2pdf1.html | ||
| [2008/05/13 08:04:51] <shadoi> in some ways it makes rST pointless | ||
| [2008/05/13 08:04:54] <shadoi> :) | ||
| [2008/05/13 08:05:14] <fujin> I see, that's the main idea behind our rST usage isn't it - that it can be quickly converted to our (wiki, pdf) | ||
| [2008/05/13 08:06:08] <shadoi> yup | ||
| [2008/05/13 08:06:43] <fujin> how polished is that tool? | ||
| [2008/05/13 08:06:54] <shadoi> lak: I wish I'd known you were working on the YAML -> DB thing. I started doing it yesterday. | ||
| [2008/05/13 08:07:05] <lak> i can send you the code if you want | ||
| [2008/05/13 08:07:13] <lak> i don't yet know if i can release it, but i think i can | ||
| [2008/05/13 08:07:35] <fujin> yaml->db thing?? :o | ||
| [2008/05/13 08:07:37] <infinity3> instead of specifying nodes by name, can you group them toghether or something? | ||
| [2008/05/13 08:07:46] <shadoi> are you just forking and doing the same thing with ActiveRecord? Or do you use DBI or something for performance? | ||
| [2008/05/13 08:07:53] <infinity3> or i mean instead of specificying all nodes individually, can you group them somehow? | ||
| [2008/05/13 08:08:06] <shadoi> infinity3: nodes can do basic inheritance | ||
| [2008/05/13 08:08:17] <shadoi> infinity3: use an external_node tool if you can though. | ||
| [2008/05/13 08:08:34] <infinity3> shadoi: external node tool? should i google for that? | ||
| [2008/05/13 08:08:43] <shadoi> wiki:ExternalNodes | ||
| [2008/05/13 08:08:45] <gepetto> shadoi: wiki: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes | ||
| [2008/05/13 08:08:49] <shadoi> :) | ||
| [2008/05/13 08:14:07] <shadoi> lak: see above | ||
| [2008/05/13 08:14:39] <infinity3> whats the diff between inherits and includes? i don't see anything in the wiki about it | ||
| [2008/05/13 08:14:49] <fujin> Starting with release 8.04 (“Hardy Heron”), pandoc will be included in Ubuntu linux. | ||
| [2008/05/13 08:14:52] <fujin> can't see anything in my shit | ||
| [2008/05/13 08:14:56] <fujin> bunch of liars | ||
| [2008/05/13 08:14:58] * fujin builds | ||
| [2008/05/13 08:15:08] <shadoi> infinity3: inherit lets you use overrides | ||
| [2008/05/13 08:15:27] <lak> shadoi: i'm not doing anything for performance | ||
| [2008/05/13 08:15:27] <gepetto> ::puppet:: Ticket #1167 (defect closed): error reporting for variable expansion in settings is not-sane @ http://reductivelabs.com/trac/puppet/ticket/1167#comment:4 (by luke@madstop.com) | ||
| [2008/05/13 08:15:35] <lak> and really, it's probably not *exactly* what you're expecting | ||
| [2008/05/13 08:15:43] <shadoi> I see | ||
| [2008/05/13 08:15:51] <shadoi> hmm | ||
| [2008/05/13 08:15:51] <lak> it's not really meant to replace storeconfigs, it's meant to be used to inject arbitrary resources into the db | ||
| [2008/05/13 08:15:59] <shadoi> ah gotcha | ||
| [2008/05/13 08:16:03] <shadoi> well that will still be useful | ||
| [2008/05/13 08:16:05] <fujin> oh | ||
| [2008/05/13 08:16:07] <fujin> zomg | ||
| [2008/05/13 08:16:18] <fujin> nice ! | ||
| [2008/05/13 08:16:19] <lak> i just emailed it to you | ||
| [2008/05/13 08:16:28] <shadoi> lak: if you can get the code I'd love to see it. I will keep working on this in my copious spare time. | ||
| [2008/05/13 08:16:32] <shadoi> sweet | ||
| [2008/05/13 08:16:55] <holoway> shadoi: you might want to steal the stomp stuff from the runnels code I posted | ||
| [2008/05/13 08:17:12] <holoway> if you're going to do the resource->queue->storeconfigs route | ||
| [2008/05/13 08:17:32] <holoway> the last few months have seen a huge number of stomp servers | ||
| [2008/05/13 08:17:57] <fujin> anyone interested in helping me write some tests for http://github.com/fujin/puppet/commits/fix1210 ? | ||
| [2008/05/13 08:18:21] <shadoi> actually... I don't know how useful it is to make it asynchronous... most of the time you want the data for collect in the same run you store it. | ||
| [2008/05/13 08:18:58] <shadoi> It may be that it's just ActiveRecord, and the fact that it's not in it's own thread that slows it down so much. | ||
| [2008/05/13 08:19:02] @ zobbo joined channel #puppet | ||
| [2008/05/13 08:19:12] <fujin> shadoi: could you mail me that logcache.rb ? aj@junglist.gen.nz | ||
| [2008/05/13 08:19:19] <fujin> that one you showed me the other day, the reporting plug | ||
| [2008/05/13 08:19:38] <holoway> shadoi: that's certainly a possibility | ||
| [2008/05/13 08:20:06] <shadoi> I think I'll play with using DataMapper for it | ||
| [2008/05/13 08:20:23] <shadoi> fujin: didn't I send it to you? | ||
| [2008/05/13 08:20:26] <shadoi> I swear I did | ||
| [2008/05/13 08:20:33] <fujin> naw you pm'd it to me | ||
| [2008/05/13 08:20:34] <fujin> forgot to log | ||
| [2008/05/13 08:20:36] <fujin> ;( | ||
| [2008/05/13 08:20:47] <shadoi> ah, it's probably in pastie somewhere | ||
| [2008/05/13 08:21:09] <shadoi> http://pastie.org/pastes/181319 | ||
| [2008/05/13 08:21:15] <shadoi> yay for pastie search | ||
| [2008/05/13 08:21:48] <gepetto> ::puppet:: Ticket #1155 (enhancement closed): PATCH: SELinux enhancements. @ http://reductivelabs.com/trac/puppet/ticket/1155#comment:8 (by luke@madstop.com) | ||
| [2008/05/13 08:21:52] <shadoi> man I'm gonna start using that more often. :) | ||
| [2008/05/13 08:22:49] <shiruken> selinux? | ||
| [2008/05/13 08:23:51] <fujin> did you write that shadoi ? | ||
| [2008/05/13 08:24:12] <shadoi> no Digant did | ||
| [2008/05/13 08:24:17] <shadoi> I just hacked it to work with 0.24.4 | ||
| [2008/05/13 08:24:40] <Wakko666> lak: i'd like to respectfully disagree with your analysis that this is going to be rarely used. | ||
| [2008/05/13 08:25:43] <Wakko666> lak: the fact is, several major distros ship SELinux (most notably Fedora and Ubuntu). So, having a method for centrally managing policy modules is already in demand. | ||
| [2008/05/13 08:25:56] <shadoi> lak: Puppet.settings.addargs(options) !?! damnit. | ||
| [2008/05/13 08:26:04] <shadoi> so much time spent on that stupid issue. | ||
| [2008/05/13 08:26:10] <lak> Wakko666: really? | ||
| [2008/05/13 08:26:17] <lak> for some reason i thought it was just red hat | ||
| [2008/05/13 08:26:31] <lak> Wakko666: sorry, i should have seen if you were on irc before closing the ticket | ||
| [2008/05/13 08:26:35] <Wakko666> lak: nope. SELinux is supported by Ubuntu and Gentoo | ||
| [2008/05/13 08:26:38] <lak> ah | ||
| [2008/05/13 08:27:03] <lak> i'm willing to reopen the ticket, but i'm trying to be strict about requiring fully tested code before i accept it | ||
| [2008/05/13 08:27:04] <Wakko666> lak: i could dig up other distros that ship it, if need be, but those are the ones I'm aware of off the top of my head | ||
| [2008/05/13 08:27:11] <lak> i know it's been sitting there forever without me responding | ||
| [2008/05/13 08:27:12] <fujin> wow, since when did selinux run on Ubuntu? | ||
| [2008/05/13 08:27:16] <lak> which is my bad | ||
| [2008/05/13 08:27:18] <fujin> ubuntu server certainly does not ship with it enabled | ||
| [2008/05/13 08:27:46] <lak> enabled? i doubt anyone ships with it enabled | ||
| [2008/05/13 08:27:55] <shadoi> lak: does this code work if you change the defaults for Puppet[:dbname] or any of the other storeconfigs params? | ||
| [2008/05/13 08:27:56] <fujin> all of the RH derivatives do | ||
| [2008/05/13 08:28:03] <fujin> Ubuntu ships with it in the optional repo | ||
| [2008/05/13 08:28:06] <lak> shadoi: erm, maybe? | ||
| [2008/05/13 08:28:14] <lak> i mean, i assume so, but i wasn't able to help you earlier, so... | ||
| [2008/05/13 08:28:15] <shadoi> lak: that's the problem fujin and I were having | ||
| [2008/05/13 08:28:20] <lak> i know | ||
| [2008/05/13 08:28:25] <fujin> where's this code? | ||
| [2008/05/13 08:28:29] <shadoi> Puppet.settings.addargs(options) does that fix it maybe? | ||
| [2008/05/13 08:28:45] <fujin> :O | ||
| [2008/05/13 08:28:53] <fujin> code->fujin | ||
| [2008/05/13 08:29:01] <gepetto> ::puppet:: Ticket #174 (enhancement closed): [PATCH] A native authorized_key type is available @ http://reductivelabs.com/trac/puppet/ticket/174#comment:21 (by luke@madstop.com) | ||
| [2008/05/13 08:29:47] <lak> shadoi: i can't imagine it does; that just makes it possible to use puppet's settings on the cli | ||
| [2008/05/13 08:29:53] <shadoi> k | ||
| [2008/05/13 08:29:54] <lak> shadoi: feel free to send that code to fujin | ||
| [2008/05/13 08:29:58] <shadoi> k | ||
| [2008/05/13 08:30:31] @ Quit: flakrat: "Leaving" | ||
| [2008/05/13 08:30:34] <Wakko666> lak: that's fair. i don't want to see you add in untested/broken code. if you can, I'd like some feedback on what tests are needed. I'm a bit new to ruby, so I could use some guidance there. | ||
| [2008/05/13 08:30:42] <lak> ok | ||
| [2008/05/13 08:31:00] <lak> first, all new tests should be written for rspec, which all go in the spec/ directory | ||
| [2008/05/13 08:31:16] <lak> this is slightly onerous, since we still have a ton of test/unit tests in test/ | ||
| [2008/05/13 08:31:22] <lak> but overall, should be easier and more obvious | ||
| [2008/05/13 08:31:51] <lak> pick a random file in that dir, in either unit/ or integration/, and execute it directly with "./<test_file> -cfs" | ||
| [2008/05/13 08:31:58] <lak> this gives you good output on what's in the test | ||
| [2008/05/13 08:32:08] <lak> it's also useful to install the zentest gem | ||
| [2008/05/13 08:32:13] <lak> hrm | ||
| [2008/05/13 08:32:17] <lak> not sure i blogged about this | ||
| [2008/05/13 08:32:26] <lak> crap | ||
| [2008/05/13 08:32:28] <lak> i didn't | ||
| [2008/05/13 08:32:30] <plathrop> lak: I don't think you did. | ||
| [2008/05/13 08:32:46] <lak> really, it should be doc'ed on the trac site | ||
| [2008/05/13 08:32:51] <lak> plathrop: feel like doing so? :) | ||
| [2008/05/13 08:33:04] <lak> oh up-and-coming puppet jedi :) | ||
| [2008/05/13 08:33:10] <plathrop> lak: Sure, I can do that. | ||
| [2008/05/13 08:33:16] <lak> that would be teh awesome | ||
| [2008/05/13 08:33:21] <plathrop> The farce is strong with me :-D | ||
| [2008/05/13 08:33:38] * holoway hands plathrop the pieces to his light sabre | ||
| [2008/05/13 08:33:41] <lak> Wakko666: so just ask plathrop to send you a note when he's done :) | ||
| [2008/05/13 08:34:24] <Wakko666> will do. :) those notes give me a better starting place. if you want to re-opent the ticket, i'll get an updated set of tests attached to it as soon as they're ready | ||
| [2008/05/13 08:35:39] <plathrop> Wakko666: I'll do a quick writeup now. | ||
| [2008/05/13 08:36:40] <fujin> shadoi: can ya pastie? | ||
| [2008/05/13 08:37:24] <fujin> lak: is there a quick and painless process for migrating from test::unit to rspec? | ||
| [2008/05/13 08:37:46] <lak> erm, no | ||
| [2008/05/13 08:37:48] <lak> not really | ||
| [2008/05/13 08:37:53] <gepetto> ::puppet:: Documentation Start edited by plathrop @ http://reductivelabs.com/trac/puppet/wiki/DocumentationStart (by paul@tertiusfamily.net) | ||
| [2008/05/13 08:37:53] <gepetto> ::puppet:: Ticket #1155 (enhancement reopened): PATCH: SELinux enhancements. @ http://reductivelabs.com/trac/puppet/ticket/1155#comment:9 (by luke@madstop.com) | ||
| [2008/05/13 08:37:58] <lak> at least partially because a lot of the test::unit tests completely suck | ||
| [2008/05/13 08:38:05] <lak> so it's a lot like starting from scratch | ||
| [2008/05/13 08:38:32] <fujin> figured as much | ||
| [2008/05/13 08:39:22] <fujin> what are the monkey_patches under spec/? | ||
| [2008/05/13 08:39:39] <shadoi> fujin: I emailed it | ||
| [2008/05/13 08:39:45] <fujin> ah, ty | ||
| [2008/05/13 08:43:58] <lak> fujin: monkey-patches to rspec itself, because it doesn't quite do what we need | ||
| [2008/05/13 08:45:07] <fujin> # Act like puppetmasterd, so we get its configuration. | ||
| [2008/05/13 08:45:08] <fujin> Puppet[:name] = "puppetmasterd" | ||
| [2008/05/13 08:45:08] <fujin> Puppet.parse_config | ||
| [2008/05/13 08:45:10] <fujin> shadoi: ^ | ||
| [2008/05/13 08:45:19] <fujin> lak: you told me to :name = "puppetmasterd" *AFTER* .parse_config | ||
| [2008/05/13 08:45:21] <shadoi> fujin: yeah, I'm guessing it suffers from the same issues | ||
| [2008/05/13 08:45:22] <fujin> *there's* the magic! | ||
| [2008/05/13 08:45:29] <shadoi> nah I did that | ||
| [2008/05/13 08:45:31] <shadoi> no worky | ||
| [2008/05/13 08:45:31] <fujin> oh? | ||
| [2008/05/13 08:45:34] <fujin> heh. | ||
| [2008/05/13 08:45:35] <lak> really? that was silly of me | ||
| [2008/05/13 08:45:36] <fujin> crap :\ | ||
| [2008/05/13 08:45:41] @ asa joined channel #puppet | ||
| [2008/05/13 08:46:25] <fujin> ah yeah, that doesn't work anyway | ||
| [2008/05/13 08:46:26] <fujin> ffs | ||
| [2008/05/13 08:48:31] <fujin> lak: so what's brahma when it's at home? | ||
| [2008/05/13 08:48:41] <lak> that executable? | ||
| [2008/05/13 08:48:50] <lak> it accepts yaml and writes the resulting resources to the db | ||
| [2008/05/13 08:48:53] <lak> for a client | ||
| [2008/05/13 08:50:06] <fujin> ah | ||
| [2008/05/13 08:50:10] <fujin> It just talks about 'bramha-related resources', kinda cool name | ||
| [2008/05/13 08:50:32] <fujin> thought it was some kind of secret project | ||
| [2008/05/13 08:52:16] @ plathrop_ joined channel #puppet | ||
| [2008/05/13 08:52:22] @ Quit: plathrop_: Client Quit | ||
| [2008/05/13 08:54:26] <fujin> god of creation even | ||
| [2008/05/13 08:54:32] <fujin> hell, I should know that, my name is Arjuna | ||
| [2008/05/13 08:54:36] <ashp> i'm still waiting for the tool that analyses my entire network then writes a giant piece of puppet configuration that runs it for me :/ | ||
| [2008/05/13 08:55:26] <lak> ashp: not until the third quarter, unfortunately | ||
| [2008/05/13 08:55:34] <lak> and really, i'm not sure if i'm joking or not :) | ||
| [2008/05/13 08:55:49] <fujin> hehe | ||
| [2008/05/13 08:55:52] <fujin> that'd be awesome | ||
| [2008/05/13 08:56:07] <fujin> hrm, that brahma doesn't work for me (probably the same limitation) | ||
| [2008/05/13 08:56:13] <fujin> it can't seem to read the values from the puppetmasterd section | ||
| [2008/05/13 08:56:33] <fujin> ./brahma -H junglist.gen.nz --search | ||
| [2008/05/13 08:56:44] <fujin> => 0 | ||
| [2008/05/13 08:57:06] @ johnf joined channel #puppet | ||
| [2008/05/13 08:57:07] <fujin> oh, the only mode at the moment is save? | ||
| [2008/05/13 08:57:19] <lak> maybe? | ||
| [2008/05/13 08:57:24] <lak> i dunno | ||
| [2008/05/13 08:57:28] <lak> no warranties :) | ||
| [2008/05/13 08:57:40] <lak> and i'm done for the one | ||
| [2008/05/13 08:57:43] <lak> night, rather | ||
| [2008/05/13 08:57:47] <fujin> heh | ||
| [2008/05/13 08:57:48] <lak> one last night with the in-laws | ||
| [2008/05/13 08:57:50] <lak> ta ta | ||
| [2008/05/13 08:57:53] <fujin> seeya dude | ||
| [2008/05/13 08:58:01] @ Quit: lak: | ||
| [2008/05/13 08:58:07] @ plathrop left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/13 08:59:42] @ lak joined channel #puppet | ||
| [2008/05/13 09:00:08] <fujin> o hai lak! | ||
| [2008/05/13 09:00:10] <fujin> you returned | ||
| [2008/05/13 09:00:15] <lak> only briefly | ||
| [2008/05/13 09:00:17] <lak> forgot something | ||
| [2008/05/13 09:00:59] <asa> hello all, can someone help me out with a facter + pluginsync issue? | ||
| [2008/05/13 09:01:24] <fujin> what's the issue asa | ||
| [2008/05/13 09:01:31] <asa> I have a custom fact which I was able to push out with factsync = true and use no problem in a case statement. | ||
| [2008/05/13 09:01:56] <asa> I shifted over to pluginsync and module organization and now I am not able to see my facter value | ||
| [2008/05/13 09:02:08] <asa> the fact gets pushed out nicely to the client. | ||
| [2008/05/13 09:02:15] <fujin> specify factpath on your client | ||
| [2008/05/13 09:02:18] <fujin> otherwise it won't load em | ||
| [2008/05/13 09:02:23] @ Quit: jvanzyl: | ||
| [2008/05/13 09:02:26] <shadoi> don't use the new pluginsync method for facts yet :) | ||
| [2008/05/13 09:02:30] <asa> I am able to set up the rubypath on the client and get facter to see it. | ||
| [2008/05/13 09:02:44] <asa> I do have a factpath specced for the client. | ||
| [2008/05/13 09:02:48] <shadoi> asa: see Luke's recent email | ||
| [2008/05/13 09:02:51] <asa> that is the weird part | ||
| [2008/05/13 09:02:52] <shadoi> to the list | ||
| [2008/05/13 09:03:00] <fujin> what's wrong with the pluginsync method for facts? | ||
| [2008/05/13 09:03:03] <asa> hmm.. ok. =) | ||
| [2008/05/13 09:03:37] <asa> I am NOT crazy then. | ||
| [2008/05/13 09:03:41] <asa> =) | ||
| [2008/05/13 09:04:02] <asa> so does factsync AND plugin sync work together? | ||
| [2008/05/13 09:04:36] <fujin> don't think so | ||
| [2008/05/13 09:05:16] <asa> argh. | ||
| [2008/05/13 09:05:26] <fujin> shadoi: where's lukes post? | ||
| [2008/05/13 09:06:49] @ plathrop joined channel #puppet | ||
| [2008/05/13 09:06:58] <plathrop> Wakko666: you around? | ||
| [2008/05/13 09:07:51] <gepetto> ::puppet:: Writing Tests edited by plathrop @ http://reductivelabs.com/trac/puppet/wiki/WritingTests (by paul@tertiusfamily.net) | ||
| [2008/05/13 09:07:51] <gepetto> ::puppet:: Writing Tests edited by plathrop @ http://reductivelabs.com/trac/puppet/wiki/WritingTests (by paul@tertiusfamily.net) | ||
| [2008/05/13 09:07:53] <fujin> hrm | ||
| [2008/05/13 09:07:56] <shadoi> fujin: Thread: [Puppet Users] Re: Distribution of a custom module | ||
| [2008/05/13 09:08:00] <fujin> yeah I see it | ||
| [2008/05/13 09:08:02] <fujin> weird | ||
| [2008/05/13 09:08:04] <fujin> cause it's working fine here | ||
| [2008/05/13 09:08:07] <plathrop> Wakko666: I wrote up a quick description. If you have questions, feel free to bug me. My email address is up there ^^^ | ||
| [2008/05/13 09:08:47] <shadoi> fujin: it's just got oddities, that aren't fun to figure out. | ||
| [2008/05/13 09:09:05] <shadoi> once it _just works_ then it should be the default. | ||
| [2008/05/13 09:09:20] <Wakko666> plathrop: sounds good. thanks. :) | ||
| [2008/05/13 09:14:05] <asa> shadoi: any tips for getting something simple to work? I have a simple fact which worked before and now does not show up when sourced through puppet. | ||
| [2008/05/13 09:14:14] @ plathrop left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/13 09:14:34] <shadoi> asa: what do you mean by "sourced through puppet" | ||
| [2008/05/13 09:14:41] <shadoi> in a template or inside the language? | ||
| [2008/05/13 09:14:49] <shadoi> or something else | ||
| [2008/05/13 09:14:53] <fujin> asa: you've definitely configured --factpath on the client? | ||
| [2008/05/13 09:15:02] <asa> well my fact works fine, when used with facter | ||
| [2008/05/13 09:15:14] <asa> I am using factpath through puppet.conf | ||
| [2008/05/13 09:15:20] <fujin> what does it look like | ||
| [2008/05/13 09:15:34] <asa> factpath = $vardir/facts | ||
| [2008/05/13 09:15:34] <fujin> --configprint factpath | ||
| [2008/05/13 09:15:38] <fujin> well thats' why | ||
| [2008/05/13 09:15:57] <fujin> pluginsync will ship em to $vardir/lib/facter | ||
| [2008/05/13 09:16:00] @ Quit: lak: | ||
| [2008/05/13 09:16:08] <fujin> so you need to set factpath = $vardir/lib/facter | ||
| [2008/05/13 09:16:11] <asa> well I just changed it up cause you said that way was broken right? | ||
| [2008/05/13 09:16:22] <asa> =) | ||
| [2008/05/13 09:16:32] <fujin> no, I never said it was broken - you need to set pluginsync=yes everywhere and then configure factsync | ||
| [2008/05/13 09:16:32] <asa> it is broken both ways for me. | ||
| [2008/05/13 09:16:48] <fujin> info: Loading fact configured_ntp_servers | ||
| [2008/05/13 09:16:55] <fujin> do you have any facts in $vardir/lib/facter ? | ||
| [2008/05/13 09:17:07] <asa> I do get the info line | ||
| [2008/05/13 09:17:12] <fujin> eh?? | ||
| [2008/05/13 09:17:13] <asa> when I launch puppetd. | ||
| [2008/05/13 09:17:20] <fujin> you get the info line but can't use them? | ||
| [2008/05/13 09:17:36] <shadoi> fujin: default path is $vardir/facts | ||
| [2008/05/13 09:17:43] <asa> they don't kick back correct values. I use a notice line and the variable is empty | ||
| [2008/05/13 09:17:54] <asa> like notice ($myfactname) | ||
| [2008/05/13 09:18:10] <asa> will kick a blank notice line on the puppetmaster | ||
| [2008/05/13 09:18:13] <shadoi> asa: do you have a puppet client on the puppetmaster? | ||
| [2008/05/13 09:18:18] <asa> I do. | ||
| [2008/05/13 09:18:24] <shadoi> does it have the fact? | ||
| [2008/05/13 09:18:26] <asa> that is not where i am testing but... that | ||
| [2008/05/13 09:18:39] <shadoi> because notice only works if the server has the fact. | ||
| [2008/05/13 09:18:43] <shadoi> it's a server side function | ||
| [2008/05/13 09:18:44] <asa> should that matter? are you sayting notice is going to run on server? | ||
| [2008/05/13 09:18:48] <shadoi> yes | ||
| [2008/05/13 09:18:52] <fujin> asa: show your whole puppet.conf | ||
| [2008/05/13 09:18:58] <fujin> use notify { $fact: } if you want to test client | ||
| [2008/05/13 09:19:03] <asa> ah. welll then my testing methodology is rotten. | ||
| [2008/05/13 09:19:13] <fujin> echo "notify { $myfactname: }"|puppet --debug | ||
| [2008/05/13 09:19:18] <asa> Ill try that for a sec. | ||
| [2008/05/13 09:20:07] <asa> Could not parse for environment development: Syntax error at ':'; expected '}' at line 1 | ||
| [2008/05/13 09:20:16] <fujin> eh | ||
| [2008/05/13 09:20:17] <fujin> oh | ||
| [2008/05/13 09:20:18] <shadoi> () not {} | ||
| [2008/05/13 09:20:26] <fujin> ;P | ||
| [2008/05/13 09:20:48] <shadoi> and notice not notify | ||
| [2008/05/13 09:20:49] <asa> Unknown function notify at line 1 | ||
| [2008/05/13 09:20:50] <shadoi> wait | ||
| [2008/05/13 09:20:54] <fujin> ah stupid bash | ||
| [2008/05/13 09:20:58] <asa> ah ok. | ||
| [2008/05/13 09:21:19] <shadoi> yeah.. notice | ||
| [2008/05/13 09:21:39] <asa> ok... same bizness. blank. | ||
| [2008/05/13 09:21:53] <asa> notice: Scope(Class[main]): | ||
| [2008/05/13 09:22:03] <fujin> notify dude notify | ||
| [2008/05/13 09:22:06] <fujin> notice is on the puppetmaster | ||
| [2008/05/13 09:22:18] <fujin> cat: /tmp/test/pp: No such file or directory | ||
| [2008/05/13 09:22:22] <fujin> #!/usr/bin/env puppet | ||
| [2008/05/13 09:22:22] <fujin> notify { $netmask: } | ||
| [2008/05/13 09:22:23] <fujin> ^ | ||
| [2008/05/13 09:22:24] <asa> damn... shadoi:"and notice not notify" | ||
| [2008/05/13 09:22:32] <asa> confused! | ||
| [2008/05/13 09:22:35] <fujin> lol | ||
| [2008/05/13 09:22:37] <asa> ok ok .... | ||
| [2008/05/13 09:22:53] @ Quit: huangmingyou: "Leaving." | ||
| [2008/05/13 09:22:55] <shadoi> fujin: wtf? | ||
| [2008/05/13 09:23:00] <fujin> what do ya mean wtf | ||
| [2008/05/13 09:23:09] <shadoi> http://reductivelabs.com/trac/puppet/wiki/FunctionReference#notice | ||
| [2008/05/13 09:23:30] <fujin> I suppose that really should work, too | ||
| [2008/05/13 09:23:37] <shadoi> I don't see any mention of "notify" anywhere | ||
| [2008/05/13 09:23:45] <shadoi> other than resource deps | ||
| [2008/05/13 09:23:52] <fujin> yeah, I learnt it off lak | ||
| [2008/05/13 09:24:01] <shadoi> and if there IS another one, it should fucking get renamed. | ||
| [2008/05/13 09:24:06] <fujin> notice: Scope(Class[main]): 255.255.255.248 | ||
| [2008/05/13 09:24:07] <fujin> notice: 255.255.255.248 | ||
| [2008/05/13 09:24:22] <fujin> shadoi: notify "blah" creates a dependancy to said named resource | ||
| [2008/05/13 09:24:31] <fujin> and you can quite happily notify a resource which doesn't exist | ||
| [2008/05/13 09:24:38] <shadoi> ah, gotcha | ||
| [2008/05/13 09:24:43] <shadoi> very strange usage. :) | ||
| [2008/05/13 09:24:46] <fujin> indeed | ||
| [2008/05/13 09:24:59] <shadoi> scope.lookupvar("factname") should work too | ||
| [2008/05/13 09:25:02] <asa> ok... so what should I use then. notify{} ? | ||
| [2008/05/13 09:25:06] <fujin> try both | ||
| [2008/05/13 09:25:08] <shadoi> in a script | ||
| [2008/05/13 09:25:09] <fujin> both are working | ||
| [2008/05/13 09:25:24] <shadoi> asa: is this 0.24.4? | ||
| [2008/05/13 09:25:27] <shadoi> there was a bug about this | ||
| [2008/05/13 09:25:27] <asa> yes | ||
| [2008/05/13 09:26:38] <shadoi> http://reductivelabs.com/trac/puppet/ticket/1147 | ||
| [2008/05/13 09:27:34] <fujin> http://www.youtube.com/watch?v=ZdVHZwI8pcA | ||
| [2008/05/13 09:27:38] <fujin> I'm beached as bro! | ||
| [2008/05/13 09:28:22] <asa> looks like my environment. my client is ubuntu. | ||
| [2008/05/13 09:29:49] <shadoi> fujin: bloody weird kiwi accent. :P | ||
| [2008/05/13 09:30:07] <fujin> so funny | ||
| [2008/05/13 09:30:14] <fujin> thats an australian pretending to be an NZ, but he does it quite well | ||
| [2008/05/13 09:30:16] <fujin> got a chup? | ||
| [2008/05/13 09:30:21] <fujin> narr i only eat plenktun | ||
| [2008/05/13 09:31:51] <fujin> a bucket or a hooose bro | ||
| [2008/05/13 09:33:58] @ Quit: ashp: "Lost terminal" | ||
| [2008/05/13 09:34:52] @ ashp joined channel #puppet | ||
| [2008/05/13 09:36:48] <asa> so... not happy. echo "notice ( "super $operatingsystem" )"|puppet --debug | ||
| [2008/05/13 09:36:59] <asa> kicks back notice: Scope(Class[main]): super | ||
| [2008/05/13 09:37:00] <fujin> ;\ | ||
| [2008/05/13 09:37:09] <fujin> operatingsystem is a default facter fact | ||
| [2008/05/13 09:37:14] <asa> without the basic facts | ||
| [2008/05/13 09:37:24] <asa> yeah. that seems quite broken no? | ||
| [2008/05/13 09:38:58] <fujin> indeed | ||
| [2008/05/13 09:39:08] <fujin> you should be able to get the default ones | ||
| [2008/05/13 09:40:08] <asa> I would think so. | ||
| [2008/05/13 09:42:06] <asa> my puppet.conf is at http://pastie.caboo.se/195811 | ||
| [2008/05/13 09:42:25] <fujin> and facter works fine usually? | ||
| [2008/05/13 09:42:57] <asa> yeah. | ||
| [2008/05/13 09:43:42] <fujin> try this, asa http://pastie.caboo.se/195812 | ||
| [2008/05/13 09:46:14] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/05/13 09:46:39] <infinity3> are there examples of nested conditions anywhere | ||
| [2008/05/13 09:48:04] <fujin> infinity3: I use some nested ones here http://github.com/fujin/module-iptables/tree/master/manifests/init.pp | ||
| [2008/05/13 09:48:11] <fujin> in iptables::snippet | ||
| [2008/05/13 09:48:20] <fujin> err, guess that doesn't really count, it's a case with a selector inside of it | ||
| [2008/05/13 09:49:20] @ shake-n-bake joined channel #puppet | ||
| [2008/05/13 09:49:55] <asa> fujin: nope. | ||
| [2008/05/13 09:50:21] <asa> my custom facts don't show up anymore but I am also unable to use the built in ones | ||
| [2008/05/13 09:50:29] <fujin> what the fucking fuck | ||
| [2008/05/13 09:50:30] <asa> does this work for you? echo "notice ( "super $operatingsystem" )"|puppet --debug | ||
| [2008/05/13 09:50:49] <fujin> nah doesn't work liek that | ||
| [2008/05/13 09:50:53] <fujin> create a file in /tmp | ||
| [2008/05/13 09:51:00] <fujin> put you rshit in there | ||
| [2008/05/13 09:51:11] <fujin> test.pp | ||
| [2008/05/13 09:51:14] <fujin> #!/usr/bin/env puppet | ||
| [2008/05/13 09:51:28] <asa> ok... keep getting conflicting helpful suggestions. | ||
| [2008/05/13 09:51:33] <fujin> sorry | ||
| [2008/05/13 09:51:41] <fujin> I thought that would work, passing it to puppet | ||
| [2008/05/13 09:51:43] <fujin> but bash doesn't like the $ | ||
| [2008/05/13 09:52:13] @ martha left channel #puppet () | ||
| [2008/05/13 09:52:17] <asa> ok. that work.s | ||
| [2008/05/13 09:52:20] <fujin> hehe | ||
| [2008/05/13 09:52:21] <asa> thanks. good baseline. | ||
| [2008/05/13 10:05:51] <asa> ok. well my custom fact does not show up but $operatingsystem works ok. | ||
| [2008/05/13 10:06:27] <asa> when I do runs of puppetd I get an info line saying it is reading "myfact", a line I don't get when using puppet through /tmp/test.pp | ||
| [2008/05/13 10:06:58] <Cuchulain> bash will interpret the $ | ||
| [2008/05/13 10:07:05] <Cuchulain> if you quote the whole line with ' ' | ||
| [2008/05/13 10:07:22] <Cuchulain> eg, echo 'notice ( "super $operatingsystem" )' .... | ||
| [2008/05/13 10:07:25] <Cuchulain> it'll work beter | ||
| [2008/05/13 10:07:37] <fujin> asa: do puppet --configprint factpath | ||
| [2008/05/13 10:07:42] <fujin> you should see that path with your facts in it | ||
| [2008/05/13 10:07:45] <Cuchulain> whether it'll work with puppet or not is another matter, but that'll stop bash expanding your $ :) | ||
| [2008/05/13 10:07:49] <fujin> you might have to re-sync your puppetds | ||
| [2008/05/13 10:10:07] <asa> if I use it like:/usr/bin/puppet --verbose --debug /tmp/test.pp I get the notice line. still does not work though. | ||
| [2008/05/13 10:10:18] <asa> puppet --configprint factpath | ||
| [2008/05/13 10:10:25] <asa> gives /var/lib/puppet/lib/puppet/facter | ||
| [2008/05/13 10:10:38] <asa> and myfact.rb lives there. | ||
| [2008/05/13 10:10:41] <infinity3> how can i make something like this work? http://pastebin.com/m1f20f93d | ||
| [2008/05/13 10:10:50] <infinity3> differenct sources depending on lsbrelease | ||
| [2008/05/13 10:11:23] <infinity3> i would actually like to match against 3.* and 4.* but i'm not sure if thats possible. | ||
| [2008/05/13 10:11:38] @ jvanzyl joined channel #puppet | ||
| [2008/05/13 10:12:34] <asa> I am going to go into my fact code and make sure it is up to snuff. | ||
| [2008/05/13 10:12:55] <fujin> 12:10 < asa> gives /var/lib/puppet/lib/puppet/facter | ||
| [2008/05/13 10:12:57] <fujin> is still wrong | ||
| [2008/05/13 10:13:04] <fujin> did you look at your config file that I edited? | ||
| [2008/05/13 10:13:19] <fujin> pluginsync will ship facts to /var/lib/puppet/lib/facter | ||
| [2008/05/13 10:13:25] <fujin> factpath will pick facts up from there | ||
| [2008/05/13 10:13:30] <asa> yeah. I tried it like that and it did not work. | ||
| [2008/05/13 10:13:52] <asa> it looks like they get picked up ok from /var/lib/puppet/lib/puppet/facter | ||
| [2008/05/13 10:14:01] <asa> they show up with notice lines. so they are loading. | ||
| [2008/05/13 10:14:09] <asa> info: Loading fact myfact | ||
| [2008/05/13 10:14:17] <fujin> heh | ||
| [2008/05/13 10:14:22] <fujin> I dunno then man | ||
| [2008/05/13 10:14:30] <fujin> and you can't notify { $myfact: } in your test.pp? | ||
| [2008/05/13 10:15:15] @ Quit: shadoi: "leaving" | ||
| [2008/05/13 10:15:42] <waawaamilk> can I make puppet listen on multiple IP addresses? | ||
| [2008/05/13 10:15:47] <holoway> fujin: what'd you get your lady for her birthday? | ||
| [2008/05/13 10:15:58] <waawaamilk> perhaps multiple bindaddress declarations? | ||
| [2008/05/13 10:16:03] <waawaamilk> puppetmaster that is | ||
| [2008/05/13 10:17:09] <asa> fujin: nope. | ||
| [2008/05/13 10:17:20] <asa> notify for $operatingsystem works ok. | ||
| [2008/05/13 10:17:33] <asa> Ill make a superbasic fact and test that. | ||
| [2008/05/13 10:17:33] <fujin> holoway: clothes and jewellery so far | ||
| [2008/05/13 10:17:44] <fujin> nearly run out of money, which I figure is a good indication of when I've spent enough | ||
| [2008/05/13 10:18:02] <fujin> waawaamilk: puppetd or master? | ||
| [2008/05/13 10:18:15] <waawaamilk> I want the master to be listening on two ip addresses | ||
| [2008/05/13 10:18:21] <fujin> in the case of master, I'd probably say let apache/nginx take care of the listening | ||
| [2008/05/13 10:18:24] <fujin> and proxy to mongrels | ||
| [2008/05/13 10:18:41] <waawaamilk> oh yeah, that would work | ||
| [2008/05/13 10:18:52] <fujin> fastest and most scalable solution, anywho | ||
| [2008/05/13 10:18:59] <waawaamilk> right | ||
| [2008/05/13 10:19:15] <waawaamilk> I'm installing apache2 anyways, so I'll just do that | ||
| [2008/05/13 10:19:16] <fujin> holoway: saw some of those pens man - they are insane | ||
| [2008/05/13 10:21:58] <holoway> fujin: that is a good indication | ||
| [2008/05/13 10:22:11] <holoway> fujin: yeah, they make crazy pens | ||
| [2008/05/13 10:22:35] <holoway> the kind you would sign laws with, or do write million dollar checks | ||
| [2008/05/13 10:22:38] <fujin> at least then she can't say "you didn't spend enough on me!" | ||
| [2008/05/13 10:22:41] <holoway> really nice to write with, though | ||
| [2008/05/13 10:22:42] <fujin> hell yea | ||
| [2008/05/13 10:22:54] <fujin> yeah I had asked them if I could use it to write some shit | ||
| [2008/05/13 10:22:56] <fujin> they are real smooth | ||
| [2008/05/13 10:24:02] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/05/13 10:24:28] <asa> so did the fact language change perhaps? | ||
| [2008/05/13 10:24:50] <asa> all the facter receipes are gone. | ||
| [2008/05/13 10:25:17] <asa> except for the addingFacts one at http://reductivelabs.com/trac/puppet/wiki/AddingFacts | ||
| [2008/05/13 10:25:30] <jamesturnbull> asa: not gone | ||
| [2008/05/13 10:25:36] <jamesturnbull> asa: in the recipes namespace | ||
| [2008/05/13 10:25:41] <jamesturnbull> asa: wiki:Recipes | ||
| [2008/05/13 10:25:45] <gepetto> jamesturnbull: asa: wiki:Recipes is http://reductivelabs.com/trac/puppet/wiki/Recipes | ||
| [2008/05/13 10:26:06] <gepetto> ::puppet:: Writing Tests edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/WritingTests (by james@lovedthanlost.net) | ||
| [2008/05/13 10:26:09] <asa> http://reductivelabs.com/trac/puppet/wiki/IsVmwareGuestRecipe | ||
| [2008/05/13 10:26:14] <asa> is gone for example | ||
| [2008/05/13 10:26:25] <jamesturnbull> asa: renamed | ||
| [2008/05/13 10:26:34] <jamesturnbull> http://reductivelabs.com/trac/puppet/wiki/Recipes/VMWareGuest | ||
| [2008/05/13 10:26:47] <asa> ok. I clicked on 3 or 4 and assumed they where all messed. | ||
| [2008/05/13 10:26:49] <asa> thanks. | ||
| [2008/05/13 10:28:11] <jamesturnbull> asa: it is in a state of flux as we sort the wiki out | ||
| [2008/05/13 10:28:17] <jamesturnbull> asa: hopefully in the next two weeks | ||
| [2008/05/13 10:28:24] <fujin> jamesturnbull: any progress with redmine at all? | ||
| [2008/05/13 10:28:31] <asa> ok. cool. | ||
| [2008/05/13 10:28:45] <asa> I am not having a super productive day in puppetland. =) | ||
| [2008/05/13 10:35:09] <jamesturnbull> fujin: going to "fix" the wiki first | ||
| [2008/05/13 10:35:19] <jamesturnbull> fujin: then think about redmine | ||
| [2008/05/13 10:35:51] <fujin> ah right | ||
| [2008/05/13 10:35:55] <fujin> get it ready for translocation I guess | ||
| [2008/05/13 10:38:15] <fujin> jamesturnbull: did you see what blake found earlier.. pandoc? | ||
| [2008/05/13 10:38:32] <fujin> does quick conversions between all the formats we're having issue with | ||
| [2008/05/13 10:39:29] <fujin> unfortunately excluding tracs native wiki markup (pos) | ||
| [2008/05/13 10:40:16] <holoway> fujin: you might be able to find a translator from trac to something else it supports | ||
| [2008/05/13 10:49:07] <jamesturnbull> holoway: yeah that's one of my tasks todat | ||
| [2008/05/13 10:49:22] <jamesturnbull> holoway: extract the wiki documents and convert and then put into a git repo | ||
| [2008/05/13 10:52:19] @ pdt joined channel #puppet | ||
| [2008/05/13 10:59:46] <windowsrefund> what's redmine? | ||
| [2008/05/13 11:00:21] <jamesturnbull> redmine.org | ||
| [2008/05/13 11:00:39] <jamesturnbull> alternative to trac/bugzilla/etc/lighthouse/etc | ||
| [2008/05/13 11:03:29] @ Quit: keithlard: | ||
| [2008/05/13 11:03:35] <fujin> railsy goodness | ||
| [2008/05/13 11:03:43] <fujin> windowsrefund: it has pretty Git integration | ||
| [2008/05/13 11:03:55] <holoway> fujin: won't be hard to be nicer than trac | ||
| [2008/05/13 11:04:01] <holoway> in that regard | ||
| [2008/05/13 11:04:02] <fujin> indeed | ||
| [2008/05/13 11:04:17] <jamesturnbull> holoway: you speak truth :) | ||
| [2008/05/13 11:04:34] <holoway> jamesturnbull: at least about that :) | ||
| [2008/05/13 11:04:51] @ M- joined channel #puppet | ||
| [2008/05/13 11:05:09] <fujin> http://wormwood.lovedthanlost.net:3000/repositories/show/puppet | ||
| [2008/05/13 11:05:36] @ keithlard joined channel #puppet | ||
| [2008/05/13 11:05:46] <holoway> fujin: password protected | ||
| [2008/05/13 11:10:27] <fastjay> anyone here up on the best practicies stuff? | ||
| [2008/05/13 11:10:36] <fastjay> and not against my spelling :) | ||
| [2008/05/13 11:11:25] <fujin> holoway: admin/admin I think | ||
| [2008/05/13 11:12:13] <holoway> fujin: oh yeah, that's a way nicer repo browser | ||
| [2008/05/13 11:12:32] <fujin> indeed | ||
| [2008/05/13 11:12:41] <fujin> only issue with redmine so far is the wiki | ||
| [2008/05/13 11:12:44] <fujin> its textile only | ||
| [2008/05/13 11:12:45] <jamesturnbull> fastjay: I am - v1 or v2? | ||
| [2008/05/13 11:13:01] <fastjay> v2 | ||
| [2008/05/13 11:13:18] <jamesturnbull> fastjay: ask away | ||
| [2008/05/13 11:13:20] <fastjay> i am in the process of moving our puppet stuff into this | ||
| [2008/05/13 11:13:38] <fujin> yea | ||
| [2008/05/13 11:13:43] <fastjay> so.. we have anycast dns boxes.. does that go into my named stuff? or do i make dns stuff? | ||
| [2008/05/13 11:13:47] <fastjay> s/dns/anycast/ | ||
| [2008/05/13 11:14:25] <fastjay> the 'catch' about the anycast dns boxes... they have a bunch of dummy interfaces.. so.. do i make a 'dr' class for the dummy imntefaces.. and just glue thta all togheter with a template class? | ||
| [2008/05/13 11:14:50] <fastjay> i think thats the 'right' way to do it. but not 100% sure :) | ||
| [2008/05/13 11:14:54] <jamesturnbull> fastjay: sounds like the right approach | ||
| [2008/05/13 11:15:26] <fastjay> i think i just needed to hear it outloud then :) | ||
| [2008/05/13 11:15:45] <fastjay> as part of the PBP2 stuff.. do i glue everything together at the node level or service level? | ||
| [2008/05/13 11:16:23] <fastjay> right now our nodes.pp and class include stuff is glued together by our inventory system and a handful of facts | ||
| [2008/05/13 11:18:43] <gh> do 0.24.4 clients not play well with 0.24.1 servers? | ||
| [2008/05/13 11:19:02] <fastjay> gh: i want to know the answer to thta too. I have about 500 boxes I need to upgrade :) | ||
| [2008/05/13 11:19:03] <gh> just upgraded the client and on the server side i get 'err: Cannot currently copy links' | ||
| [2008/05/13 11:19:29] <gh> err: //Node[default]/spk/vim/File[/etc/vimrc]/source: Could not describe /vim/vimrc.RedHat-Tikanga-x86_64: Cannot currently copy links | ||
| [2008/05/13 11:19:29] <gh> warning: //Node[default]/spk/vim/File[/etc/vimrc]/ensure: No specified sources exist | ||
| [2008/05/13 11:19:37] <gh> tons of those that worked before the upgrade.. | ||
| [2008/05/13 11:20:04] <holoway> gh: it would not suprise me if they did not | ||
| [2008/05/13 11:20:48] <fujin> clients are not forwards compatible to servers | ||
| [2008/05/13 11:20:53] <fujin> you're supposed to upgrade the server first | ||
| [2008/05/13 11:21:40] <gh> i thought you might say that | ||
| [2008/05/13 11:22:01] <gh> tomorrow will be a fun day of bootstrapping another puppet environment | ||
| [2008/05/13 11:23:04] <jamesturnbull> gh: always server first - too many hitches the other way | ||
| [2008/05/13 11:23:05] <fastjay> gh: 'clusterm' is your friend ;) | ||
| [2008/05/13 11:24:14] <holoway> gh: we usually use capistrano to manage the upgrade | ||
| [2008/05/13 11:24:35] <holoway> depending on how you manage your puppet install | ||
| [2008/05/13 11:24:40] <holoway> that might be handy for you as well | ||
| [2008/05/13 11:24:44] <gh> hmm, i guess i'll build the new puppet server, change the puppet.domain CNAME to point to it for my clients and then use it to rebuild the current puppet servers | ||
| [2008/05/13 11:25:00] @ rizwank joined channel #puppet | ||
| [2008/05/13 11:25:02] <fastjay> gh: don't forget to copy certs over :) | ||
| [2008/05/13 11:25:11] <fastjay> holoway: do you have an example of how you use cap for your puppet stuff? | ||
| [2008/05/13 11:25:22] <rizwank> Can anyone suggest an ERB guide for puppet? I don't use ruby, so the ERB docs don't make much sense for me. | ||
| [2008/05/13 11:25:29] <rizwank> I need to do If(variablename) print this, else print this | ||
| [2008/05/13 11:25:44] <fastjay> rizwank: you will run into problems iirc that the variable is not defined | ||
| [2008/05/13 11:25:57] <fastjay> i know thats happened to me. thought i think the ruby Kernel space has a way to check it. | ||
| [2008/05/13 11:26:02] <rizwank> assuming that varabilename is always defined | ||
| [2008/05/13 11:26:07] <rizwank> I mean, can I just use ruby methods? | ||
| [2008/05/13 11:26:08] <holoway> pastie: url me | ||
| [2008/05/13 11:26:20] <fastjay> rizwank: yes | ||
| [2008/05/13 11:26:32] <rizwank> so inside the <%= block I can write full ruby? | ||
| [2008/05/13 11:26:36] <fastjay> yes | ||
| [2008/05/13 11:26:42] <fastjay> let me show you a somewhat nasty template I have | ||
| [2008/05/13 11:26:59] <pastie> http://pastie.org/195842 by holoway. | ||
| [2008/05/13 11:27:16] <holoway> rizwank: you can write any ruby you like in the <% %> blocks | ||
| [2008/05/13 11:27:26] <holoway> use <% -%> to not include a whitespace line after processing | ||
| [2008/05/13 11:28:09] <fastjay> http://pastie.org/195843 | ||
| [2008/05/13 11:28:09] <rizwank> I thought it was <%= not <%- | ||
| [2008/05/13 11:28:27] <fastjay> the one i pasted is a for loop that takes in a var | ||
| [2008/05/13 11:28:31] <fastjay> and splits it on , | ||
| [2008/05/13 11:28:37] <fastjay> and then generates dns zone files | ||
| [2008/05/13 11:28:39] <fastjay> from it | ||
| [2008/05/13 11:28:48] <fastjay> nasty but it works ;) | ||
| [2008/05/13 11:29:04] <holoway> rizwank: <%= %> will insert | ||
| [2008/05/13 11:29:10] <holoway> <% -%> will not | ||
| [2008/05/13 11:29:16] <rizwank> oh, I see. | ||
| [2008/05/13 11:29:40] <rizwank> how do you test them - from the ruby commandline? | ||
| [2008/05/13 11:29:46] @ gh left channel #puppet () | ||
| [2008/05/13 11:30:20] <rizwank> how come no close quote on something? | ||
| [2008/05/13 11:32:42] <fastjay> typo? | ||
| [2008/05/13 11:33:56] <fujin> eh, what's the diff between <%= %> and <% %>? | ||
| [2008/05/13 11:34:25] <fastjay> = will print the return of the block of code executed | ||
| [2008/05/13 11:34:35] <fastjay> ie if you do <%= variable %> | ||
| [2008/05/13 11:34:40] <fastjay> it will print out the content of variables | ||
| [2008/05/13 11:35:08] <fujin> ah right | ||
| [2008/05/13 11:37:44] <rizwank> and <% %> is used for control statementS? and text around them is printed out? | ||
| [2008/05/13 11:37:48] <rizwank> hence the if then else example? | ||
| [2008/05/13 11:37:54] <rizwank> fastjay, btw, thanks for the example. | ||
| [2008/05/13 11:40:59] <fujin> can you do var.nil? in erb? | ||
| [2008/05/13 11:41:02] <fujin> for puppet variables | ||
| [2008/05/13 11:41:09] <fujin> Or don't thay have a nil method | ||
| [2008/05/13 11:44:20] <fastjay> if its not there i don't htink you can nil? on it | ||
| [2008/05/13 11:44:36] <fastjay> there is something in the kernel space to find out if the object exisists.. I can't recall what it is though | ||
| [2008/05/13 11:44:39] <fastjay> as i suck at life today :) | ||
| [2008/05/13 11:49:04] <fujin> I thought the nil object was magical, and applied to every subclass of Object | ||
| [2008/05/13 11:49:07] <fujin> and therefore everything | ||
| [2008/05/13 11:59:28] <fujin> nil method even | ||
| [2008/05/13 12:11:12] <rizwank> http://txt.binnyva.com/2007/12/find-if-a-variable-is-defined-in-ruby/ | ||
| [2008/05/13 12:11:35] <rizwank> if(defined? var_name) then | ||
| [2008/05/13 12:11:36] <rizwank> print var_name + " is set" | ||
| [2008/05/13 12:11:36] <rizwank> end | ||
| [2008/05/13 12:14:00] <fujin> ah right, you'd get no method nil for objects that don't have it | ||
| [2008/05/13 12:16:57] @ Quit: jvanzyl: | ||
| [2008/05/13 12:22:14] @ Quit: keithlard: | ||
| [2008/05/13 12:31:32] @ lak joined channel #puppet | ||
| [2008/05/13 12:41:57] @ Quit: emerose_: | ||
| [2008/05/13 12:44:32] <asa> fujin: looks like facter changed underneath me. before I was returning true in my fact and now I need to return 'true' (as a string) to get it to work | ||
| [2008/05/13 12:44:43] @ Quit: lak: | ||
| [2008/05/13 12:44:45] <asa> and spit out a value that works for me. | ||
| [2008/05/13 12:46:40] <fujin> ah; | ||
| [2008/05/13 12:46:41] <fujin> cool. | ||
| [2008/05/13 13:05:37] @ Quit: andrewcshafer: | ||
| [2008/05/13 13:06:34] @ Quit: asa: | ||
| [2008/05/13 13:22:16] @ rizwank left channel #puppet () | ||
| [2008/05/13 13:30:07] @ pjohnson joined channel #puppet | ||
| [2008/05/13 13:31:01] <fujin> I has a funny; http://www.youtube.com/watch?v=ZdVHZwI8pcA | ||
| [2008/05/13 13:38:28] @ plathrop joined channel #puppet | ||
| [2008/05/13 13:51:02] @ andrewcshafer joined channel #puppet | ||
| [2008/05/13 13:52:05] @ jvanzyl joined channel #puppet | ||
| [2008/05/13 14:33:25] @ emerose joined channel #puppet | ||
| [2008/05/13 14:42:53] @ Quit: jshare: Read error: 104 (Connection reset by peer) | ||
| [2008/05/13 14:43:34] @ jshare joined channel #puppet | ||
| [2008/05/13 14:49:54] @ Vivek joined channel #puppet | ||
| [2008/05/13 14:50:02] <fujin> holoway: might be worth mentioning on that ticket *how* you use your changes | ||
| [2008/05/13 14:50:31] <fujin> am I to understand you should <% if has_variable? blah %>? | ||
| [2008/05/13 14:50:38] <fujin> HAS SLEEP TIME NOW PLZ? | ||
| [2008/05/13 14:50:43] <fujin> <3 backwars ass method naming | ||
| [2008/05/13 14:50:48] <fujin> I love you holoway | ||
| [2008/05/13 14:51:54] <fujin> holoway: help me write spec tests for my tagmail templating stuff | ||
| [2008/05/13 14:53:15] <Cuchulain> you're sounding desperate there | ||
| [2008/05/13 14:54:55] <fujin> :\ | ||
| [2008/05/13 14:55:00] <fujin> I can't get my head around em | ||
| [2008/05/13 14:55:03] <fujin> you wanna write em Cuchulain ? | ||
| [2008/05/13 15:00:58] @ Quit: johnf: Remote closed the connection | ||
| [2008/05/13 15:05:11] @ sparanjape joined channel #puppet | ||
| [2008/05/13 15:08:53] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/05/13 15:10:32] @ lak joined channel #puppet | ||
| [2008/05/13 15:11:42] @ Quit: Vivek: "brb" | ||
| [2008/05/13 15:15:21] <holoway> fujin: yeah, you can do | ||
| [2008/05/13 15:15:33] <holoway> <% if has_variable?("something") %> | ||
| [2008/05/13 15:15:44] <holoway> and it will return true/false, instead of raising an exception | ||
| [2008/05/13 15:15:58] <holoway> fujin: sure, I can do that | ||
| [2008/05/13 15:16:04] <holoway> re: tests | ||
| [2008/05/13 15:16:20] <holoway> did you see the tests I wrote for the TemplateWrapper? | ||
| [2008/05/13 15:16:46] <fujin> yeah | ||
| [2008/05/13 15:16:47] <fujin> I did | ||
| [2008/05/13 15:16:47] <fujin> ! | ||
| [2008/05/13 15:16:50] <fujin> that's why i asked | ||
| [2008/05/13 15:16:57] <fujin> cause you have some kind of magical inherit ruby abilities | ||
| [2008/05/13 15:17:07] <fujin> well, see | ||
| [2008/05/13 15:17:07] <fujin> http://github.com/fujin/puppet/commits/fix1210 | ||
| [2008/05/13 15:17:11] <fujin> http://reductivelabs.com/trac/puppet/ticket/1210 | ||
| [2008/05/13 15:18:25] <holoway> fujin: I'm going to walk you through it, okay | ||
| [2008/05/13 15:18:26] <holoway> ? | ||
| [2008/05/13 15:18:33] <holoway> it's easy once you get the hang of it | ||
| [2008/05/13 15:18:48] <fujin> ok | ||
| [2008/05/13 15:18:50] <fujin> cool man | ||
| [2008/05/13 15:19:25] <fujin> holoway: I can't decide if I should extend the current unit tests for reports or rewrite it all in rspec | ||
| [2008/05/13 15:19:42] <fujin> I figure rewriting the whole reports stuff in rspec is a better idea, I just have no idea of how much work is involved | ||
| [2008/05/13 15:21:24] <holoway> it looks like the base report class has unit tests | ||
| [2008/05/13 15:21:34] <holoway> in rspec | ||
| [2008/05/13 15:21:39] <fujin> eh where? | ||
| [2008/05/13 15:22:00] <fujin> transaction/report.rb? | ||
| [2008/05/13 15:22:24] <fujin> oh I'm a tard | ||
| [2008/05/13 15:22:24] <fujin> I see it | ||
| [2008/05/13 15:22:32] <holoway> ah, sneaky | ||
| [2008/05/13 15:22:37] <holoway> it creates a new module for oyu | ||
| [2008/05/13 15:22:38] <holoway> okay | ||
| [2008/05/13 15:22:50] <holoway> so, here is the way to think about unit testing | ||
| [2008/05/13 15:22:52] @ Quit: plathrop: Read error: 110 (Connection timed out) | ||
| [2008/05/13 15:23:13] <holoway> what you are trying to do is isolate all the parts of the code that exist *outside* the unit you are testing | ||
| [2008/05/13 15:23:23] <fujin> o_0 | ||
| [2008/05/13 15:24:14] <holoway> and you're going to do that by creating things called "mocks" and "stubs" | ||
| [2008/05/13 15:24:26] <holoway> that replace the actual methods you would be calling with fake ones | ||
| [2008/05/13 15:24:45] <holoway> letting you test only the code you care about, and not the code it's calling | ||
| [2008/05/13 15:24:49] <holoway> (just that "unit") | ||
| [2008/05/13 15:24:55] <holoway> still with me, at least in theory? | ||
| [2008/05/13 15:25:14] <fujin> umm | ||
| [2008/05/13 15:25:22] <fujin> yeah, sure | ||
| [2008/05/13 15:25:31] <fujin> What is considered a unit though | ||
| [2008/05/13 15:25:43] <holoway> most often, it's a module or a class | ||
| [2008/05/13 15:25:50] <fujin> I mean I can see this examplegroup thing, and then is each it "" do..end block supposed to be a 'unit'? | ||
| [2008/05/13 15:26:00] <holoway> so we'll create a series of tests for that module/class | ||
| [2008/05/13 15:26:07] <holoway> lets look at the template stuff I just did | ||
| [2008/05/13 15:26:10] <holoway> because it was easier than this | ||
| [2008/05/13 15:26:17] <holoway> and it serves to illustrate the point | ||
| [2008/05/13 15:26:21] <holoway> pull up my patch to 1177 | ||
| [2008/05/13 15:26:28] <fujin> moment | ||
| [2008/05/13 15:26:34] <fujin> has it been merged into 0.24.x yet? | ||
| [2008/05/13 15:26:37] <fujin> #1177 | ||
| [2008/05/13 15:26:39] <gepetto> fujin: #1177 is http://reductivelabs.com/trac/puppet/ticket/1177 "You should be able to test within a template for whether a variable or fact is defined" | ||
| [2008/05/13 15:26:49] <fujin> you on github? | ||
| [2008/05/13 15:27:18] <holoway> yeah, but it's not pushed there yet | ||
| [2008/05/13 15:27:25] <holoway> http://reductivelabs.com/trac/puppet/attachment/ticket/1177/0001-Adding-has_variable-support-fixing-ticket-1177.patch | ||
| [2008/05/13 15:27:32] <fujin> yea | ||
| [2008/05/13 15:27:33] <fujin> see it | ||
| [2008/05/13 15:27:50] <holoway> and pull up lib/puppet/parser/templatewrapper.rb | ||
| [2008/05/13 15:28:41] <holoway> so, in the actual templatewrapper class | ||
| [2008/05/13 15:28:49] <holoway> we call things like | ||
| [2008/05/13 15:28:53] <holoway> Puppet::Module::find_template | ||
| [2008/05/13 15:29:02] <holoway> and arguments to the @scope object | ||
| [2008/05/13 15:29:11] <holoway> and FileTest.exists? | ||
| [2008/05/13 15:29:21] <holoway> all that stuff doesn't really matter, in terms of testing this class | ||
| [2008/05/13 15:29:30] <holoway> only what it *returns* matters | ||
| [2008/05/13 15:30:03] <holoway> so if you look at that before(:each) do .. end block in the tests | ||
| [2008/05/13 15:30:27] <holoway> that's setting up some fake objects (stubs) that will return values to those method calls | ||
| [2008/05/13 15:30:48] <fujin> well that seems entirely pointless if you're not actually calling the code | ||
| [2008/05/13 15:30:49] <holoway> so when the templatewrapper calls @scope.compiler.environment | ||
| [2008/05/13 15:31:01] <holoway> I know it'll return "foo" | ||
| [2008/05/13 15:31:09] <fujin> ah | ||
| [2008/05/13 15:31:22] <fujin> but aren't you specifically then just testing the abilitity to write a mock/stub? | ||
| [2008/05/13 15:31:30] <fujin> and/or call it correctly | ||
| [2008/05/13 15:31:36] <holoway> and I don't have to care about the implementation of puppets *actual* scope class | ||
| [2008/05/13 15:31:52] <holoway> well, the assumption is that the real @scope object | ||
| [2008/05/13 15:31:55] <holoway> has it's own unit tests | ||
| [2008/05/13 15:32:12] <fujin> lost me now, | ||
| [2008/05/13 15:32:14] * fujin goes crosseyed | ||
| [2008/05/13 15:32:22] <holoway> okay, lets keep going, and we'll work it out |