| [2008/05/09 00:04:12] @ Omahn joined channel #puppet | ||
| [2008/05/09 00:06:13] @ greenmoss joined channel #puppet | ||
| [2008/05/09 00:07:39] <greenmoss> so in an attempt to find a workaround for #1199, I restart the puppet daemons hourly... but they *still* don't update | ||
| [2008/05/09 00:07:41] <gepetto> greenmoss: #1199 is http://reductivelabs.com/trac/puppet/ticket/1199 "puppetd dies after connection to puppetmaster fails" | ||
| [2008/05/09 00:08:06] <greenmoss> the daemon is definitely running, it just never updates | ||
| [2008/05/09 00:08:46] <greenmoss> should I give up on the daemon scheduling updates, and just invoke puppetd via cron instead? | ||
| [2008/05/09 00:09:29] <greenmoss> or can someone offer suggestions for debugging what the daemon is doing, and why it's not scheduling updates? | ||
| [2008/05/09 00:13:42] <greenmoss> maybe a stray scheduling file is getting left behind when the daemon shuts down? | ||
| [2008/05/09 00:14:45] @ shenson_not_here is now known as shenson | ||
| [2008/05/09 00:19:45] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 00:25:12] @ mccune joined channel #puppet | ||
| [2008/05/09 00:26:04] <lak> greenmoss: there's no scheduling file | ||
| [2008/05/09 00:28:31] <lak> it certainly doesn't make sense to me that you've got daemons that are running but aren't connecting to the central host | ||
| [2008/05/09 00:28:49] <greenmoss> do you have any debugging suggestions? | ||
| [2008/05/09 00:29:37] <lak> i assume you've watched them on the console or whatever | ||
| [2008/05/09 00:29:43] <lak> and they just sit there, never waking up to connect? | ||
| [2008/05/09 00:29:50] @ glaw joined channel #puppet | ||
| [2008/05/09 00:30:21] <greenmoss> I start them up using Ubuntu's init script, and see them running on the command line, but they never do anything | ||
| [2008/05/09 00:30:41] <greenmoss> if I use puppetd --debug they work fine for that run | ||
| [2008/05/09 00:30:52] <lak> do they run again? | ||
| [2008/05/09 00:30:55] <greenmoss> oops, I mean puppetd --test | ||
| [2008/05/09 00:31:06] <lak> what if you do puppetd --debug --no-daemonize? | ||
| [2008/05/09 00:31:15] <greenmoss> let me try it and report back | ||
| [2008/05/09 00:36:03] <lak> ok | ||
| [2008/05/09 00:36:06] <lak> i gotta head out | ||
| [2008/05/09 00:36:29] @ Quit: lak: | ||
| [2008/05/09 00:36:31] <greenmoss> hmm... it runs, but stopas after the "loading fact" | ||
| [2008/05/09 00:36:55] @ brscott joined channel #puppet | ||
| [2008/05/09 00:38:02] @ brscott left channel #puppet () | ||
| [2008/05/09 00:41:39] @ patobrien joined channel #puppet | ||
| [2008/05/09 00:44:05] @ Quit: patobrien: Client Quit | ||
| [2008/05/09 00:47:51] @ patobrien joined channel #puppet | ||
| [2008/05/09 00:53:07] @ Quit: porridge: "reboot" | ||
| [2008/05/09 01:01:04] @ a-priori joined channel #puppet | ||
| [2008/05/09 01:02:37] @ Quit: patobrien: "Leaving" | ||
| [2008/05/09 01:07:14] @ Quit: thegcat: | ||
| [2008/05/09 01:30:27] @ porridge joined channel #puppet | ||
| [2008/05/09 01:35:27] @ ezralini joined channel #puppet | ||
| [2008/05/09 01:37:33] @ Quit: kolla: Remote closed the connection | ||
| [2008/05/09 01:43:44] @ andrewcshafer joined channel #puppet | ||
| [2008/05/09 01:44:56] @ RainDoctor joined channel #puppet | ||
| [2008/05/09 01:47:01] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/09 01:47:20] @ descala joined channel #puppet | ||
| [2008/05/09 01:48:10] <ezralini> So, I have this script that needs to be run on boot, whenever it changes, and not every time the puppet client runs - and I can't figure out the right mix of parameters to the Exec and FIle types | ||
| [2008/05/09 01:48:39] <ezralini> pastie: | ||
| [2008/05/09 01:48:48] <pastie> http://pastie.org/193700 by ezralini. | ||
| [2008/05/09 01:49:07] <ezralini> that's what I got now, and that won't run the exeec on boot, I believe | ||
| [2008/05/09 01:50:14] @ Quit: porridge: "reboot" | ||
| [2008/05/09 01:50:34] <greenmoss> ezralini: why don't you have puppet update the file, and then put it in /etc/rc.boot or whatever your os's equivalent is? | ||
| [2008/05/09 01:50:53] <ezralini> greenmoss: I just thought of that | ||
| [2008/05/09 01:51:03] <ezralini> I think that may be the best way to go | ||
| [2008/05/09 01:51:38] <ezralini> When I was originally hackiung this together, I had the file in /root and never moved it. It's time | ||
| [2008/05/09 01:54:36] @ porridge joined channel #puppet | ||
| [2008/05/09 01:57:13] @ Quit: strerror_work: | ||
| [2008/05/09 02:02:32] <sigmonsays_> mornin | ||
| [2008/05/09 02:05:06] @ chadh_ joined channel #puppet | ||
| [2008/05/09 02:09:36] @ lak joined channel #puppet | ||
| [2008/05/09 02:11:34] <sigmonsays_> what are some common ways of transfering files to machines? | ||
| [2008/05/09 02:11:58] <sigmonsays_> file { "/my/file" : source => "http:///" } ? | ||
| [2008/05/09 02:12:27] <sparanjape> i guess instead of http .. source => "puppet://" | ||
| [2008/05/09 02:12:47] <sigmonsays_> where do the files go on puppetmaster when you use puppet:// | ||
| [2008/05/09 02:13:37] <sparanjape> guess generally stored at the mount point specified in fileserver.conf | ||
| [2008/05/09 02:14:58] <sigmonsays_> ahhh | ||
| [2008/05/09 02:14:59] <sigmonsays_> gotcha | ||
| [2008/05/09 02:16:43] <sigmonsays_> puppetmaster runs the file server? | ||
| [2008/05/09 02:18:29] <hacim> thom: hey any ideas about how to handle the piuparts problem from 0.20? | ||
| [2008/05/09 02:20:43] @ winrefund joined channel #puppet | ||
| [2008/05/09 02:20:48] @ kambiz joined channel #puppet | ||
| [2008/05/09 02:20:52] <winrefund> greets | ||
| [2008/05/09 02:21:05] <kambiz> hello | ||
| [2008/05/09 02:21:17] <sigmonsays_> uninitialized constant Puppet::Network::Handler::FileServer::AuthStoreError and puppetmasterd fails. What's that mean? | ||
| [2008/05/09 02:21:25] <winrefund> does anyone have any scripts or something that provide information about when a host was last updated? | ||
| [2008/05/09 02:21:29] <sigmonsays_> AuthStoreError is a parse error perhaps? | ||
| [2008/05/09 02:23:00] <kambiz> is there an easy way to check multiple source paths from a module in a specific order, and take the first one I find? | ||
| [2008/05/09 02:23:14] <kambiz> (for a file copy) | ||
| [2008/05/09 02:23:48] @ Quit: sparanjape: "Leaving" | ||
| [2008/05/09 02:23:57] <sigmonsays_> wtf. anyone know why "deny *" doesnt work in fileserver.conf ? | ||
| [2008/05/09 02:24:03] <sigmonsays_> the docs say it should | ||
| [2008/05/09 02:24:21] <benp-> sigmonsays_: files can go into modules as well. modules are just a way to group together related files, manifests, templates, plugins | ||
| [2008/05/09 02:25:14] <sigmonsays_> aye | ||
| [2008/05/09 02:25:29] <thom> hacim: not really had chance to do much more than read your email :( | ||
| [2008/05/09 02:31:59] <hacim> thom: no worries, when you get a chance, i'm just stuck and need another perspective | ||
| [2008/05/09 02:32:23] <greenmoss> winrefund: I write the current timestamp to /tmp every time puppetd runs, then check that the timestamp is recent using nagios | ||
| [2008/05/09 02:32:53] <greenmoss> winrefund: you could also write out the current timestamp on the server, then sync to clients, and check that with nagios | ||
| [2008/05/09 02:33:09] <greenmoss> winfrefund: or whatever monitoring program you use | ||
| [2008/05/09 02:36:56] @ Quit: chadh: Read error: 113 (No route to host) | ||
| [2008/05/09 02:39:29] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2008/05/09 02:45:04] <sigmonsays_> is there a variable that contains the puppetmasters hostname? I'm trying to use it in a file source parameter | ||
| [2008/05/09 02:45:31] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/09 02:47:24] <sigmonsays_> oop. I figured it out! | ||
| [2008/05/09 02:47:25] <sigmonsays_> heh | ||
| [2008/05/09 02:47:34] <winrefund> greenmoss, I like the first approach since I also use nagios in my environment | ||
| [2008/05/09 02:48:13] <winrefund> greenmoss, can I see how you write the current timestamp to /tmp? | ||
| [2008/05/09 02:48:30] <greenmoss> winrefund: I use an external script for that | ||
| [2008/05/09 02:49:19] <greenmoss> oops... no, I don't | ||
| [2008/05/09 02:50:07] <greenmoss> http://pastie.caboo.se/193729 | ||
| [2008/05/09 02:50:57] <winrefund> thanks | ||
| [2008/05/09 02:51:33] <greenmoss> the external script is called using nagios nrpe: http://pastie.caboo.se/193730 | ||
| [2008/05/09 02:51:34] <winrefund> what would happen if the manifest was broken in some way? | ||
| [2008/05/09 02:52:00] @ Quit: _newbie_: Remote closed the connection | ||
| [2008/05/09 02:52:10] @ Quit: Innocenti: Client Quit | ||
| [2008/05/09 02:52:15] <sigmonsays_> winrefund, usually puppetmaster refuses to restart (syntax errors) | ||
| [2008/05/09 02:52:23] @ Quit: glaw: Remote closed the connection | ||
| [2008/05/09 02:52:52] <winrefund> right | ||
| [2008/05/09 02:52:58] <winrefund> so it would use the cached copy | ||
| [2008/05/09 02:53:00] <greenmoss> winrefund: I haven't delved too deeply into the matter... it's more to check whether puppetd is actually running correctly | ||
| [2008/05/09 02:53:23] <winrefund> and the cached copy would run the exec and update the timestamp? | ||
| [2008/05/09 02:53:42] <winrefund> greenmoss, yea I'm just trying to foresee any issues :) | ||
| [2008/05/09 02:54:32] <greenmoss> winrefund: yeah, I don't imagine this will make absolutely certain that everything's ok... especially since there's no way I can see of forcing the timestamp write to happen last | ||
| [2008/05/09 02:54:53] <winrefund> yea that's what I was thinking | ||
| [2008/05/09 02:54:57] <riddley2> lak around? | ||
| [2008/05/09 02:55:08] <lak> riddley2: yeah, kind of | ||
| [2008/05/09 02:55:25] <lak> i might sign off any second (waiting for lunch people) but i'm here now | ||
| [2008/05/09 02:55:33] <winrefund> greenmoss, I think that information (timestamp) is on the server though | ||
| [2008/05/09 02:55:35] <riddley2> I'll chat you later then :) | ||
| [2008/05/09 02:55:38] <riddley2> it's no biggie | ||
| [2008/05/09 02:55:46] <riddley2> just stuff about the wiki thread | ||
| [2008/05/09 02:55:52] @ Quit: DerekW: "Leaving" | ||
| [2008/05/09 02:56:10] <riddley2> and google makes it too difficult to change my from: address so that my message can go to the list :) | ||
| [2008/05/09 02:56:41] <greenmoss> winrefund: I didn't look too hard for it, honestly | ||
| [2008/05/09 02:57:12] <lak> riddley2: i can easily subscribe another address for you if you want | ||
| [2008/05/09 02:57:33] <lak> and... i thought google made it pretty easy to have multiple addresses...? | ||
| [2008/05/09 02:58:15] <winrefund> greenmoss, I'll take another look this afternoon and let you know if I come up with anything | ||
| [2008/05/09 03:00:02] * Volcane wonders why he is getting "tlsv1 alert unknown ca" on his 24.4 machine thats both a master and a client | ||
| [2008/05/09 03:00:05] <riddley2> I'll figure it out :) | ||
| [2008/05/09 03:00:43] @ huangmingyo1 joined channel #puppet | ||
| [2008/05/09 03:00:51] <lak> Volcane: maybe differing ssl dirs? | ||
| [2008/05/09 03:01:39] <Volcane> ssldir is set in the [main] section, so should be both the same | ||
| [2008/05/09 03:02:19] <Volcane> this is a debian box, and as i already discovered the debian puppet package has a rather interesting take on whats sane | ||
| [2008/05/09 03:02:32] <Volcane> on my redhat machines it works fine with both on same box and both sharing the same ssl dir | ||
| [2008/05/09 03:03:15] @ Quit: lak: | ||
| [2008/05/09 03:03:22] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/05/09 03:04:55] <sigmonsays_> Is there a way to globally set which package manager to use? | ||
| [2008/05/09 03:06:12] <Volcane> you can use http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#resource-defaults ? | ||
| [2008/05/09 03:07:14] <sigmonsays_> I was close | ||
| [2008/05/09 03:07:47] <sigmonsays_> I read that but nothing popped out, am I missing something obvious? | ||
| [2008/05/09 03:08:45] <Volcane> well, it lets you set defaults for all future calls of a specific type | ||
| [2008/05/09 03:08:54] <Volcane> so if i understand you right | ||
| [2008/05/09 03:09:35] <Volcane> Package { provider => yum } | ||
| [2008/05/09 03:09:47] <Volcane> will force all package{....} stuff to use yum | ||
| [2008/05/09 03:09:56] <Volcane> if you do that in your node definition, or site or whatever | ||
| [2008/05/09 03:10:09] <sigmonsays_> oh, I see | ||
| [2008/05/09 03:11:19] <sigmonsays_> yeah because i'm on RHEL | ||
| [2008/05/09 03:11:22] <sigmonsays_> but I want touse yum :) | ||
| [2008/05/09 03:11:33] <sigmonsays_> so i'm sure it couldn't guess correctly | ||
| [2008/05/09 03:11:46] <Volcane> weird, it should, but yeah thats the way to go | ||
| [2008/05/09 03:12:42] <Volcane> it will default to yum on centos, fedora and redhat. apparently | ||
| [2008/05/09 03:15:18] <sigmonsays_> so i'm running my own repo that's programed via puppet. great start, but when I need to deploy a new version of a package, and yum is caching the data, how do I make that work? | ||
| [2008/05/09 03:15:45] <sigmonsays_> I hvae package { "..." : ensure => latest } but the log didn't say it changed | ||
| [2008/05/09 03:16:50] @ Quit: huangmingyou: Read error: 110 (Connection timed out) | ||
| [2008/05/09 03:18:51] <ashp> i think yum does that to me sometimes, and I don't have a solution besides doing a clean all from time to time | ||
| [2008/05/09 03:19:22] @ kenvandine joined channel #puppet | ||
| [2008/05/09 03:19:36] <holoway> ashp: what have you wrought with your sudoers madness! | ||
| [2008/05/09 03:19:49] <sigmonsays_> yeah, well I incremented a revision and "yum install -y blah" works but i'm not sure how puppet knows it changed | ||
| [2008/05/09 03:19:49] <ashp> Ahaha, the discussion of the month?! | ||
| [2008/05/09 03:19:59] <sigmonsays_> hehe | ||
| [2008/05/09 03:20:11] <holoway> yeah, but now I'm on totally shakey ground, because sudo is such a bad example of the larger point | ||
| [2008/05/09 03:20:20] <holoway> :) | ||
| [2008/05/09 03:20:28] <gepetto> ::puppet:: Reports edited by ctrlaltdel @ http://reductivelabs.com/trac/puppet/wiki/Reports (by francois@ctrlaltdel.ch) | ||
| [2008/05/09 03:20:37] <ashp> We need a better counter example than sudo, that's for sure | ||
| [2008/05/09 03:22:38] <holoway> I'm just going to seperate the replies between the "sudo is better modeled X ways" reply, and the "here is where we diverge philosophically" one | ||
| [2008/05/09 03:23:34] <ashp> I guess I'm torn between both sides of the argument. I can completely see lak's point in how we should be thinking, and yet in some circumstances it just feels more 'natural' to model it via the method I'd prefer, a single template. | ||
| [2008/05/09 03:24:05] <holoway> Well, the underlying tension here is not about sudo, or native types vs. templates | ||
| [2008/05/09 03:24:24] <ashp> Centralised information oppossed to distributed? | ||
| [2008/05/09 03:24:32] <ashp> opposed, i can spell, honest | ||
| [2008/05/09 03:24:52] <holoway> it's about where does the utility of the resource abstraction layer, with it's added layers of internal complexity, break in the face of complexity? | ||
| [2008/05/09 03:25:02] <holoway> iptables, sudoers, etc | ||
| [2008/05/09 03:25:11] <ashp> You're having a more interesting argument than I was. :) | ||
| [2008/05/09 03:25:19] <holoway> all are probably below the breaking point of that utility | ||
| [2008/05/09 03:25:33] <holoway> but if you take the philosophy to it's logical end | ||
| [2008/05/09 03:25:39] <holoway> where distribution is the stated goal | ||
| [2008/05/09 03:25:51] <holoway> "I can give you module X, and it does Y and P,D,Q platforms" | ||
| [2008/05/09 03:26:11] <holoway> s/and/on/g | ||
| [2008/05/09 03:26:17] <sigmonsays_> anyone know how to stagger cron runs to avoid clobbering a central point | ||
| [2008/05/09 03:26:35] <sigmonsays_> servers 1-10 run on hour1, 11-20 run on hour2, etc | ||
| [2008/05/09 03:26:37] <ashp> sigmonsays_: use a wrapper script that sleeps for a random peoid of time? | ||
| [2008/05/09 03:27:01] <sigmonsays_> hmm, I want the behavior a bit more defined but I can come up w/ something like that | ||
| [2008/05/09 03:27:14] <sigmonsays_> just wanted someone elses experience. | ||
| [2008/05/09 03:27:19] <holoway> the utility of developing a native abstraction is much less obvious to me | ||
| [2008/05/09 03:27:48] <holoway> for example -- if I have nagios types for monitoring embedded in my functional classes | ||
| [2008/05/09 03:27:58] <holoway> and I then distribute it | ||
| [2008/05/09 03:28:21] <holoway> the re-use of those modules is tied to my choice of monitoring system | ||
| [2008/05/09 03:28:31] <holoway> no nagios? just start with my module and edit it | ||
| [2008/05/09 03:28:49] <ashp> Hmm, that's true, it's something I hadn't considered | ||
| [2008/05/09 03:29:03] <holoway> except that, if I make improvements, that you might want, we've now diverged, and you're managing a subset/superset of my classes | ||
| [2008/05/09 03:29:28] <ashp> But generalising things like 'monitoring', oh god, it would just get more and more abstract | ||
| [2008/05/09 03:29:33] <holoway> if you take the philosophy to it's furthest extent, you solve that problem by "Monitoring" | ||
| [2008/05/09 03:29:36] <holoway> exactly | ||
| [2008/05/09 03:29:52] <holoway> and as you increase that abstraction, you start to loose utility and flexibility | ||
| [2008/05/09 03:29:59] <ashp> I can't wait to add my HLS/ module that has 'include software' to run my entire network :) | ||
| [2008/05/09 03:30:20] <holoway> this is why nobody has written, or wants to write, an Apache native type | ||
| [2008/05/09 03:30:40] <holoway> but everyone has rocking apache definitions | ||
| [2008/05/09 03:31:00] <ashp> Not me, I have a terrible apache mode. :D | ||
| [2008/05/09 03:31:03] <ashp> module, even. | ||
| [2008/05/09 03:31:15] <ashp> I see what you mean however, already a lot of the distributed modules | ||
| [2008/05/09 03:31:18] <ashp> like the lab42 ones | ||
| [2008/05/09 03:31:25] <ashp> require you to start pulling in other modules of theirs, support stuff | ||
| [2008/05/09 03:31:34] <holoway> right, you have to | ||
| [2008/05/09 03:31:40] <holoway> and that's not a bad thing, neccessarily | ||
| [2008/05/09 03:31:59] <holoway> but if you really want to make it componentized and distributable | ||
| [2008/05/09 03:32:21] <ashp> I guess deep down I never believe we'll have distributable modules that will work out of the box for anything but the most simple cases | ||
| [2008/05/09 03:32:25] <holoway> you either extend the abstraction all the way to it's peak (monitor { "monkey": provider => nagios } | ||
| [2008/05/09 03:32:47] <ashp> I've already defining base modules and adding inherited classes to start customising my postfix per function, so it's only going to get less distributable with time | ||
| [2008/05/09 03:33:03] <holoway> or you admit that sometimes, what you are doing with the primitives puppet provides is building great abstractions *for your problem* | ||
| [2008/05/09 03:33:43] <holoway> anyway, all this will wind up in response #2 | ||
| [2008/05/09 03:33:45] <gepetto> holoway: anyway: #2 is http://reductivelabs.com/trac/puppet/ticket/2 "Add 'link' ability to File" | ||
| [2008/05/09 03:33:45] <ashp> You have to admit that, because who here is trying to solve problems for everyone? | ||
| [2008/05/09 03:34:09] <ashp> I'm just trying to solve MY problems, and they are probably solved in ways that are unsuitable for many other environments. | ||
| [2008/05/09 03:34:25] <holoway> Where Luke and I diverge philosophically is pretty late in the game | ||
| [2008/05/09 03:34:48] <holoway> I think the utility cliff for native types/providers falls off in the face of most applications | ||
| [2008/05/09 03:35:10] <holoway> files, users, groups, services, packages are clear winners | ||
| [2008/05/09 03:35:30] <holoway> sudo, iptables... likely clear winners | ||
| [2008/05/09 03:35:53] <holoway> apache? webserver? "monitor"? | ||
| [2008/05/09 03:36:35] <holoway> I think that's a lot more murkey | ||
| [2008/05/09 03:37:58] <riddley2> is it only more murkey because those providers don't yet exist? | ||
| [2008/05/09 03:38:13] <riddley2> that is to say, if they were all there and magical, wouldn't it be great? | ||
| [2008/05/09 03:39:11] <holoway> riddley2: How would you model a mod_rewrite rule that comes after an <Location> block? | ||
| [2008/05/09 03:39:24] <holoway> I'm not sure if they existed they would be great | ||
| [2008/05/09 03:39:34] <holoway> because the utility of doing that in puppet's synatx | ||
| [2008/05/09 03:39:36] <riddley2> I mean, I agree... there is definitely a lot of utility to be had from the "lower level" providers, but I think a lot can be done with bigger stuff | ||
| [2008/05/09 03:40:00] <holoway> I'm not sure buys me much of anything in the face of Apache's inherient complexity | ||
| [2008/05/09 03:40:08] <holoway> you can model a cross-platform User type | ||
| [2008/05/09 03:40:17] <holoway> because User is a very well defined critter | ||
| [2008/05/09 03:40:28] <holoway> a cross-platform "Websever" type is way harder | ||
| [2008/05/09 03:40:37] <riddley2> sure I see what you're saying and to a certain extent I agree | ||
| [2008/05/09 03:40:56] <holoway> and when it comes to things like export/collect | ||
| [2008/05/09 03:41:06] <riddley2> but, and this is perhaps academic, there's nothing to say that someone couldn't write an Apache provider that knows every little thing Apache does | ||
| [2008/05/09 03:41:27] <holoway> riddley2: sure, you could, but to what practical benefit? to what value? | ||
| [2008/05/09 03:41:30] <holoway> I can already do | ||
| [2008/05/09 03:41:38] <holoway> include apache::module::ssl | ||
| [2008/05/09 03:41:48] <holoway> would | ||
| [2008/05/09 03:42:10] <riddley2> yea, to me the value is easy relocation/duplication of services | ||
| [2008/05/09 03:42:26] <riddley2> if Apache1 dies, I can move it to Apache2 and it's exactly the same | ||
| [2008/05/09 03:42:33] <riddley2> it's sorta like living documentation | ||
| [2008/05/09 03:43:35] @ thegcat joined channel #puppet | ||
| [2008/05/09 03:44:15] <Zothar_Work> one would have to basically duplicate all of the Apache configuration language in Puppet to do the provider properly, otherwise it devolves into Puppet managing opaque snippets which are pretty much the same as managing the files instead | ||
| [2008/05/09 03:45:14] <holoway> you would have to do better than that | ||
| [2008/05/09 03:45:22] <holoway> if you want to move from apache1->apache2 with no changes | ||
| [2008/05/09 03:45:31] <holoway> you would have to model *every thing a webserver can do* | ||
| [2008/05/09 03:45:37] <holoway> so that puppet can generate the configuration for you | ||
| [2008/05/09 03:45:42] <ashp> i got dragged away for coffee, so i have to read up | ||
| [2008/05/09 03:46:01] <Zothar_Work> so a superset of all Apache configuration abilities | ||
| [2008/05/09 03:46:20] <ashp> I suppose the only benefit to writing a massive know-all apache type | ||
| [2008/05/09 03:46:23] <riddley2> yea, this is sorta "the puppet way" convo that Luke likes to have. I'm surprised you think you disagree, holoway. It sounds like you're saying what lak says. | ||
| [2008/05/09 03:46:26] <ashp> is that then everyone has access to it out of the box | ||
| [2008/05/09 03:46:32] <Zothar_Work> with automatic knowledge of the appropriate configuration for the particular Apache | ||
| [2008/05/09 03:46:47] <holoway> riddley2: we diverge at a very late stage | ||
| [2008/05/09 03:46:55] <ashp> But like holoway says, you couldn't really combine snippits of configuration from defines into a main apache conf | ||
| [2008/05/09 03:47:04] <ashp> You could try, but the code would be so complex | ||
| [2008/05/09 03:47:07] <holoway> I think that sometimes | ||
| [2008/05/09 03:47:07] <ashp> you'd be doing it all wrong | ||
| [2008/05/09 03:47:36] <holoway> you actually don't want to embedd some logic in the function | ||
| [2008/05/09 03:47:53] <holoway> at least, not in the function of the node so it can perform action-at-a-distance on another node | ||
| [2008/05/09 03:48:21] <sigmonsays_> can I tell cron to manage a different crontab? | ||
| [2008/05/09 03:48:23] <sigmonsays_> like /etc/crontab ? | ||
| [2008/05/09 03:49:50] <holoway> I think that most of the time, for things like Nagios, where you have an application that wants to have a deep understanding of the breadth of your network | ||
| [2008/05/09 03:50:03] <holoway> Puppet's abstraction is the wrong abstraction | ||
| [2008/05/09 03:50:30] <holoway> and that is where we disagree. :) | ||
| [2008/05/09 03:50:34] <sigmonsays_> sorry, i'm silly | ||
| [2008/05/09 03:51:05] <ashp> what is the right abstraction | ||
| [2008/05/09 03:51:08] <ashp> is the obvious followup | ||
| [2008/05/09 03:51:48] <riddley2> an abstraction that allows for cross-machine relationships would be a good start :) | ||
| [2008/05/09 03:51:49] <holoway> for me, I think it's being able to easily query a centralized information service about what my infrastructure should be | ||
| [2008/05/09 03:52:05] <holoway> I need that data outside of puppet | ||
| [2008/05/09 03:52:13] <holoway> if I want to automate everything | ||
| [2008/05/09 03:52:21] <ashp> I suppose that is part of it, some of the things I've come across I really need to be able to pull information from several sources at once | ||
| [2008/05/09 03:52:21] <holoway> an external node tool gives you that data | ||
| [2008/05/09 03:52:25] <ashp> to make my decisions | ||
| [2008/05/09 03:52:26] <riddley2> if "thing" on machine A has event X, do Y on machines B-Z | ||
| [2008/05/09 03:52:51] <holoway> but this argument about whether it's kosher for me to *use* that data is where we go awry | ||
| [2008/05/09 03:53:05] <holoway> I agree that it sucks to use that data in puppet right now | ||
| [2008/05/09 03:53:22] <holoway> and to make it better would require some dramatic changes to the language | ||
| [2008/05/09 03:53:25] <ashp> some services require information from a higher viewpoint than puppet maybe has | ||
| [2008/05/09 03:53:37] <ashp> without requiring you to hardcode it into the module | ||
| [2008/05/09 03:53:50] <holoway> and here is where lak and I diverge | ||
| [2008/05/09 03:53:54] <holoway> :) | ||
| [2008/05/09 03:53:56] <holoway> ta-da | ||
| [2008/05/09 03:54:10] <holoway> Puppet isn't the final arbiter of all my infrastructure | ||
| [2008/05/09 03:54:20] <holoway> Puppet is the high level framework that lets me express my will | ||
| [2008/05/09 03:54:48] <holoway> now to write all that in an email | ||
| [2008/05/09 03:54:54] <ashp> :) | ||
| [2008/05/09 03:55:01] <holoway> which won't resolve anything | ||
| [2008/05/09 03:55:09] <holoway> in the end, we're just going to agree to disagree | ||
| [2008/05/09 03:55:23] <ashp> No, but I suppose it never hurts to put it into writing, at least you can refer other people to it in the future if this is ever going to come back up | ||
| [2008/05/09 03:55:32] <ashp> I won't be the only person coming into puppet with questions of this nature | ||
| [2008/05/09 03:55:42] <holoway> and to make it clear | ||
| [2008/05/09 03:55:55] <holoway> I think the right answer is defined by it's functional utility for the implementor | ||
| [2008/05/09 03:56:07] <holoway> not in it's adherence to a particular platonic form | ||
| [2008/05/09 03:56:34] <ashp> lak's last reply is interesting, the ralsh stuff | ||
| [2008/05/09 03:56:39] <ashp> I might have to tinker with that | ||
| [2008/05/09 04:07:51] <ashp> What's the CRL? | ||
| [2008/05/09 04:15:09] <kambiz> for a single module, is it easy/trivial to use fileserver.conf to protect some of the files to only be accessible from some clients? e.g. $modulepath/files/hostA/file1 can only be seen by hostA, while the rest of the repo is shared. | ||
| [2008/05/09 04:17:14] <Volcane> kambiz: source => [ "puppet://puppet/modulename/$hostname/file1", "puppet://puppet/modulename/file1"] | ||
| [2008/05/09 04:17:33] <Volcane> kambiz: if blah.domain.com/file1 exist, it will get that one, else it will get file1 in the main dir | ||
| [2008/05/09 04:18:05] <sigmonsays_> so the biggest idea is reporting. What happens when errors occur? | ||
| [2008/05/09 04:18:54] <ashp> I set out to write a script to list the differences between my various branches, I planned to write it in ruby and make it fabulous | ||
| [2008/05/09 04:19:01] <ashp> I ended up with a .sh script with 4 seperate diff --brief statements. | ||
| [2008/05/09 04:20:01] <Volcane> ashp: hehe, while true; learn ruby; solve every problem with new toy; done :) | ||
| [2008/05/09 04:20:28] <ashp> volcane: I was going to.. but then I just realised that I would end up replicating diff in ruby, and what a waste. :) | ||
| [2008/05/09 04:22:11] <Volcane> nods, yeah, kudos for not falling for the new-hammer-so-everythings-a-nail approach to problem solving :P | ||
| [2008/05/09 04:25:38] <ashp> It's why I'm terrible at learning new things, I always know of something existing that can do it for me | ||
| [2008/05/09 04:30:37] @ dysinger joined channel #puppet | ||
| [2008/05/09 04:30:42] <mmestnik> Hello, I recently googled this site "http://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction" now I remember reading it, but at the time it still didn't answer any of my questions. For instance it talks about Exec, but doesn't give any examples. Here is one: exec { "echo \"GRANT USAGE ON *.* TO\" \'test\'\@\'localhost\'\; | mysql -u admin --password=\$(cat /etc/psa/.psa.shadow)": path => "/usr/kerberos/sbin:/usr/kerberos/bin://bin:/usr/local | ||
| [2008/05/09 04:30:44] <mmestnik> /bin:/bin:/usr/bin:/usr/X11R6/bin:/home/visi/bin:/sbin:/usr/sbin:/usr/local/sbin" } | ||
| [2008/05/09 04:30:55] @ pleemans joined channel #puppet | ||
| [2008/05/09 04:32:30] @ lak joined channel #puppet | ||
| [2008/05/09 04:33:44] <greenmoss> lak: I launched puppetd using `puppetd --debug --no-daemonize --verbose`; the last message was "info: Sleeping for 39 seconds (splay is enabled)"; this was several hours ago | ||
| [2008/05/09 04:34:40] <greenmoss> mmestnik: re-paste using pastie? | ||
| [2008/05/09 04:35:56] <sigmonsays_> How do I require() a file? or is that include? | ||
| [2008/05/09 04:36:02] <sigmonsays_> I want to basically "chunk" a big file up | ||
| [2008/05/09 04:37:21] <lak> greenmoss: umm, can you strace or something? that's just crazy | ||
| [2008/05/09 04:37:25] <lak> it's clearly not normal behaviour | ||
| [2008/05/09 04:39:22] <mmestnik> greenmoss: It's all on one line and the escaping is how it should be. Sorry for the really long line, I'll try and keep my posts under 4000columns. (JK) | ||
| [2008/05/09 04:39:48] <greenmoss> mmestnik: what's the problem with it? looks ok to me | ||
| [2008/05/09 04:41:08] <mmestnik> There is nothing wrong with the example, works great. It's the docs/wiki causing so many ppl to be in this channel, I'm thinking. | ||
| [2008/05/09 04:43:29] <mmestnik> Here is a metric: "The number of ppl on average in the project's FreeNode channel." I just checked the channels I'm in and the only surprise too me was qemu. | ||
| [2008/05/09 04:45:49] <mmestnik> The postfix documentation is often misleading and contradicts reality. The channel has nearly twice the number of members as this channel, for example. | ||
| [2008/05/09 04:50:41] @ Quit: Vivek: "Leaving" | ||
| [2008/05/09 04:51:14] <sigmonsays_> how do I specify a list of files? | ||
| [2008/05/09 04:51:30] <sigmonsays_> file { [ "fiel1", "file2", "file3" ] : ensure => absent } ? | ||
| [2008/05/09 04:52:58] <ashp> I did something like that: | ||
| [2008/05/09 04:52:59] <greenmoss> lak: ok, so I have it running using strace... anything particular I should be looking for? | ||
| [2008/05/09 04:53:02] <ashp> Service { enable => false, ensure => stopped } | ||
| [2008/05/09 04:53:02] <ashp> $services = [ "anacron", "autofs", "avahi-daemon", "avahi-dnsconfd", "cups", "gpm", "rpcgssd", "rpcsvcgssd", "rpcidmapd", "ypbind" ] | ||
| [2008/05/09 04:53:05] <ashp> service { $services: } | ||
| [2008/05/09 04:53:11] <ashp> sigmonsays_: You can probably adapt that for what you're after. :) | ||
| [2008/05/09 04:53:17] <lak> greenmoss: no, because i've never seen that before | ||
| [2008/05/09 04:53:43] <lak> you're basically fishing in the dark | ||
| [2008/05/09 04:54:22] <sigmonsays_> gotcha | ||
| [2008/05/09 04:54:37] <sigmonsays_> because i'm not a ruby guru yet, I don't understand how include works | ||
| [2008/05/09 04:54:44] <mmestnik> greenmoss: is cron also effected? | ||
| [2008/05/09 04:54:46] <greenmoss> lak: I'm guessing it has something to do with the whatever code is scheduling the updates, since running it with --test works just fine | ||
| [2008/05/09 04:55:05] <lak> try it with --no-splay | ||
| [2008/05/09 04:55:11] <sigmonsays_> I created a dir, lib/ where I put files in to split big configs into smaller chunks. then I need to include them in a central place for clarity. | ||
| [2008/05/09 04:55:18] <sigmonsays_> however, I can't get the file to include | ||
| [2008/05/09 04:55:58] <greenmoss> lak: right now it's sitting at "select(10, [9], [], [], NULL" | ||
| [2008/05/09 04:56:09] <greenmoss> let me retry with --no-splay | ||
| [2008/05/09 04:58:26] <greenmoss> mmestnik: oh, I see... you have an example you want to add to the docs? | ||
| [2008/05/09 05:03:31] <sigmonsays_> how does import work? I the paths relative to the script you're importing from? | ||
| [2008/05/09 05:04:17] @ Quit: Zothar_Work: Remote closed the connection | ||
| [2008/05/09 05:07:12] <greenmoss> lak: with --no-splay, it just stops after the last fact is loaded | ||
| [2008/05/09 05:07:46] @ Zothar_Work joined channel #puppet | ||
| [2008/05/09 05:07:52] <greenmoss> lak: could my most recent custom fact be messing with it? | ||
| [2008/05/09 05:11:42] <greenmoss> lak: hmm, it's definitely trying to do something, since there's a puppetdlock file | ||
| [2008/05/09 05:16:56] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 05:17:16] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 05:18:35] <lak> greenmoss: yes, it definitely could | ||
| [2008/05/09 05:18:42] <lak> puppet might be loading that and freezing, somehow | ||
| [2008/05/09 05:19:13] <greenmoss> I'm trying without the newest fact and module | ||
| [2008/05/09 05:19:41] @ Quit: jvanzyl: Client Quit | ||
| [2008/05/09 05:19:49] <greenmoss> whoa, looks like it was my custom function, not my custom fact | ||
| [2008/05/09 05:19:59] <greenmoss> it finished the transaction just fine | ||
| [2008/05/09 05:20:49] @ Quit: lak: | ||
| [2008/05/09 05:20:53] <greenmoss> hmm... I'll bet this is some kind of nfs/mounts-related issue | ||
| [2008/05/09 05:21:05] <greenmoss> god, I hate nfs | ||
| [2008/05/09 05:21:10] <sigmonsays_> for real | ||
| [2008/05/09 05:21:17] <sigmonsays_> nfs is shiet if you're not using a netapp | ||
| [2008/05/09 05:21:46] <sigmonsays_> Is ruby space tolerant? | ||
| [2008/05/09 05:21:54] <sigmonsays_> i'm getting a syntax error that I don't think should be | ||
| [2008/05/09 05:21:54] <greenmoss> I mean, wtf is the deal with allowing one machine to crash another, just by the accident of them being network-connected | ||
| [2008/05/09 05:22:02] <ashp> we use a netapp and it still sucks. :) | ||
| [2008/05/09 05:22:13] <sigmonsays_> lol | ||
| [2008/05/09 05:22:40] <greenmoss> the concept of network file systems is cool, but the implementation of nfs *blows* | ||
| [2008/05/09 05:22:46] @ Quit: descala: | ||
| [2008/05/09 05:24:18] <ashp> Hmm I now have modules/development/blah, modules/preprod/blah | ||
| [2008/05/09 05:24:39] <ashp> I can't help but feel I should have them as seperate svn trees or something | ||
| [2008/05/09 05:24:46] <ashp> so I can easily upgrade preprod/ to what's in development/ | ||
| [2008/05/09 05:24:57] <ashp> rather than just doing cp -R * over top and then doing a svn ci | ||
| [2008/05/09 05:25:17] <ashp> Manually copying files to 3 seperate trees is terrible | ||
| [2008/05/09 05:26:02] <sigmonsays_> shoot | ||
| [2008/05/09 05:26:11] <sigmonsays_> file { $files : ensure => absent } isn't deleting the files | ||
| [2008/05/09 05:26:21] <sigmonsays_> am I missing something? I get a "server not found" error | ||
| [2008/05/09 05:27:11] @ skoog joined channel #puppet | ||
| [2008/05/09 05:30:00] @ brscott joined channel #puppet | ||
| [2008/05/09 05:30:24] @ gh joined channel #puppet | ||
| [2008/05/09 05:31:19] @ brscott left channel #puppet () | ||
| [2008/05/09 05:37:14] @ Quit: rizwank: | ||
| [2008/05/09 05:38:37] @ thegcat_ joined channel #puppet | ||
| [2008/05/09 05:40:48] <greenmoss> lak: ok, so something in my custom fact is causing puppetd to stall indefinitely... but as I mentioned before it loads fine using puppetd --test, and running facter works fine as well | ||
| [2008/05/09 05:42:14] @ rizwank joined channel #puppet | ||
| [2008/05/09 05:44:14] <greenmoss> the fact is http://pastie.caboo.se/193855 | ||
| [2008/05/09 05:44:42] <greenmoss> and I'm really puzzled as to why it stalls out some puppetd clients, but not others | ||
| [2008/05/09 05:45:59] @ rizwank_ joined channel #puppet | ||
| [2008/05/09 05:46:17] @ Quit: rizwank: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 05:47:35] @ Quit: thegcat: Read error: 110 (Connection timed out) | ||
| [2008/05/09 05:49:25] @ paul-afk left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/09 05:49:50] @ Quit: thegcat_: | ||
| [2008/05/09 05:50:50] @ skoog left channel #puppet () | ||
| [2008/05/09 06:01:07] @ glaw_ joined channel #puppet | ||
| [2008/05/09 06:04:52] <greenmoss> lak: actually, my custom fact seems not to have been the problem... another client is encountering exactly the same problem, without the custom fact | ||
| [2008/05/09 06:06:20] <greenmoss> gee, he left | ||
| [2008/05/09 06:08:57] @ cmoates joined channel #puppet | ||
| [2008/05/09 06:10:33] @ a-priori_ joined channel #puppet | ||
| [2008/05/09 06:18:07] <stick> can I use a selector inside a define (where the attributes for the define are set)? | ||
| [2008/05/09 06:18:25] <stick> ie: define foo ( $bar = $bah ? { } ) { ... } | ||
| [2008/05/09 06:18:41] @ Quit: glaw_: Remote closed the connection | ||
| [2008/05/09 06:21:17] <stick> apparently yes | ||
| [2008/05/09 06:26:10] @ Quit: a-priori: Read error: 110 (Connection timed out) | ||
| [2008/05/09 06:26:52] @ Quit: greenmoss: Read error: 113 (No route to host) | ||
| [2008/05/09 06:32:08] @ Quit: Zothar_Work: "ChatZilla 0.9.82 [Firefox 2.0.0.14/2008040414]" | ||
| [2008/05/09 06:33:50] <sigmonsays_> how can I be verbose in puppetd? | ||
| [2008/05/09 06:33:59] <sigmonsays_> I am not sure if my config is gettinng applied because it does it so fast!! | ||
| [2008/05/09 06:34:58] <benp-> --verbose | ||
| [2008/05/09 06:35:24] @ fbe_ joined channel #puppet | ||
| [2008/05/09 06:35:27] <sigmonsays_> I see that output | ||
| [2008/05/09 06:35:30] <benp-> --test is useful too | ||
| [2008/05/09 06:35:42] <sigmonsays_> I want to see the checks say "present" or something | ||
| [2008/05/09 06:36:07] <benp-> heh http://puppetd.deviantart.com/ | ||
| [2008/05/09 06:36:31] <sigmonsays_> deviantart! | ||
| [2008/05/09 06:37:02] <sigmonsays_> do I have to use a fqdn to select nodes? | ||
| [2008/05/09 06:38:20] <ezralini> quick syntax question. If I declare a package type like this: package { [ "php" , "php-mysql", "php-gd" , "php-pear" ]:... what's the syntax to require it in another resource type? | ||
| [2008/05/09 06:38:43] <ashp> Hmm, anyone seen the problem that 'Jeff' has on puppet-users | ||
| [2008/05/09 06:38:46] <ashp> I've never seen anything like it | ||
| [2008/05/09 06:38:47] <ezralini> this looks wrong: require => Package[ "php" , "php-mysql", "php-gd" , "php-pear" ], | ||
| [2008/05/09 06:39:33] <ashp> ezralini: I think you'd have to do require => [ Package['php'], Package['php-mysql'],Package['php-gd'],Package['php-pear'] ] | ||
| [2008/05/09 06:40:01] <sigmonsays_> What does Package['php'] do versus just 'php' ? | ||
| [2008/05/09 06:40:16] <sigmonsays_> because I usually put stuf into a list like $pkgs = [ "php", "php-pear"].. its worked thusfar | ||
| [2008/05/09 06:40:21] <benp-> require => [ Package[foo], Package[bar] ] | ||
| [2008/05/09 06:40:40] <ezralini> ashp: I see.That makes sense when I think about how the array is expanded. | ||
| [2008/05/09 06:41:32] <sigmonsays_> so my config isn't applying, puppetd says it sees no changes. i'm testing a host { } entry that I manually removed to see if it puts it back. | ||
| [2008/05/09 06:41:43] <sigmonsays_> i can't tell if my classes are being applied | ||
| [2008/05/09 06:42:07] <ezralini> thanks all | ||
| [2008/05/09 06:42:21] <ashp> are you running puppetd -tvd on the client to see debug info? | ||
| [2008/05/09 06:42:26] <sigmonsays_> yeah | ||
| [2008/05/09 06:42:33] <ashp> And it says 0 changes etc? | ||
| [2008/05/09 06:42:37] <sigmonsays_> yup | ||
| [2008/05/09 06:42:44] <sigmonsays_> and I *KNOW* there is a change | ||
| [2008/05/09 06:42:50] <sigmonsays_> I think my node { } statement is wrong | ||
| [2008/05/09 06:42:52] <ashp> and it's in a class beign included on the node? | ||
| [2008/05/09 06:43:15] <sigmonsays_> !smack me | ||
| [2008/05/09 06:43:38] <sigmonsays_> !score puppet + 10 | ||
| [2008/05/09 06:44:49] @ porridge_ joined channel #puppet | ||
| [2008/05/09 06:44:58] <sigmonsays_> sorry that I have to explain it | ||
| [2008/05/09 06:44:59] <sigmonsays_> ;) | ||
| [2008/05/09 06:45:01] <ashp> :D | ||
| [2008/05/09 06:45:16] <Wakko666> fsweetser: ping | ||
| [2008/05/09 06:51:17] <porridge_> _o/ | ||
| [2008/05/09 06:51:39] <sigmonsays_> how long does a manifest take to run? | ||
| [2008/05/09 06:51:42] <sigmonsays_> average? | ||
| [2008/05/09 06:52:07] <porridge_> sigmonsays_: 2 seconds | ||
| [2008/05/09 06:52:14] <porridge_> sigmonsays_: or 15 minutes | ||
| [2008/05/09 06:52:18] <porridge_> sigmonsays_: everything depends | ||
| [2008/05/09 06:52:22] <sigmonsays_> true | ||
| [2008/05/09 06:52:27] <sigmonsays_> more of a poll | ||
| [2008/05/09 06:53:11] <sigmonsays_> so when I run test, it still makes changes right? | ||
| [2008/05/09 06:53:20] <sigmonsays_> puppetd -tvd ? | ||
| [2008/05/09 06:55:32] <porridge_> can puppet spit out something that could be turned into a nice diagram of resource dependancies? | ||
| [2008/05/09 06:56:25] <benp-> it can generate dot graphs that you can load into omnigraffle or graphviz | ||
| [2008/05/09 06:57:16] <mccune> Hi, having a weird issue on Ubuntu 8.04. sudo puppetmasterd --no-daemonize --verbose --debug still sends the process to the background. Any ideas? My /etc/puppet/puppetmasterd.conf file is 0 bytes if that may make a difference. | ||
| [2008/05/09 06:57:49] <porridge_> ah, lovely | ||
| [2008/05/09 06:58:29] <benp-> i think you just set graph and graphdir in puppet.conf, it happens on the client not the puppetmaster | ||
| [2008/05/09 06:59:31] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/05/09 07:01:54] <mccune> Argh. A zero byte /etc/puppet/puppetmasterd.conf silently disables all command line option parsing. Joy. | ||
| [2008/05/09 07:02:41] @ Quit: cmoates: Remote closed the connection | ||
| [2008/05/09 07:03:22] @ cmoates joined channel #puppet | ||
| [2008/05/09 07:03:57] <porridge_> hm, somehow --graph does not seem to do anything if I use puppet from command line | ||
| [2008/05/09 07:11:23] @ Quit: rizwank_: | ||
| [2008/05/09 07:15:03] <sigmonsays_> what package provies /usr/sbin/pw ? | ||
| [2008/05/09 07:15:17] @ Quit: porridge_: "leaving" | ||
| [2008/05/09 07:18:46] @ shake-n-bake joined channel #puppet | ||
| [2008/05/09 07:19:55] @ brscott joined channel #puppet | ||
| [2008/05/09 07:21:04] <sigmonsays_> I am getting an error about it not being around | ||
| [2008/05/09 07:21:14] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 07:21:15] <sigmonsays_> trying to have user/group {} functioning | ||
| [2008/05/09 07:21:51] @ shenson is now known as shenson_not_here | ||
| [2008/05/09 07:22:41] <Volcane> sigmonsays_: what OS/distribution? | ||
| [2008/05/09 07:22:55] <sigmonsays_> nvm. i'm a moron | ||
| [2008/05/09 07:23:03] <sigmonsays_> I read debug statements as errors | ||
| [2008/05/09 07:23:07] <Volcane> ah :) | ||
| [2008/05/09 07:23:10] <sigmonsays_> debug: group provider pw: Not suitable: missing /usr/sbin/pw | ||
| [2008/05/09 07:23:23] <sigmonsays_> but a lil research shows pw is bsd, which I am not | ||
| [2008/05/09 07:23:28] <Volcane> yeah, pw is bsd | ||
| [2008/05/09 07:24:50] @ greenmoss joined channel #puppet | ||
| [2008/05/09 07:25:02] @ Quit: flakrat: "Leaving" | ||
| [2008/05/09 07:29:53] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/09 07:32:00] <sigmonsays_> so | ||
| [2008/05/09 07:32:11] <sigmonsays_> When a config fails to apply for whatever reason | ||
| [2008/05/09 07:32:21] <sigmonsays_> is there a way to centralize that information somewhere? | ||
| [2008/05/09 07:32:32] <sigmonsays_> this case it's rpm dependancy nightmares | ||
| [2008/05/09 07:33:49] @ brscott left channel #puppet () | ||
| [2008/05/09 07:43:04] @ Quit: zobbo: "Enough, no more. 'tis not as sweet as it was before." | ||
| [2008/05/09 07:43:10] @ zobbo_ is now known as zobbo | ||
| [2008/05/09 07:49:49] @ anarcat joined channel #puppet | ||
| [2008/05/09 07:50:02] <anarcat> hello | ||
| [2008/05/09 07:50:11] @ Quit: greenmoss: | ||
| [2008/05/09 07:50:12] <anarcat> seen luke? :) | ||
| [2008/05/09 07:51:23] <andrewcshafer> He's out with his wife and her parents, might be on later | ||
| [2008/05/09 07:51:38] <anarcat> okay | ||
| [2008/05/09 07:51:51] <anarcat> i was wondering about ticket #174 | ||
| [2008/05/09 07:51:53] <gepetto> anarcat: #174 is http://reductivelabs.com/trac/puppet/ticket/174 "[PATCH] A native authorized_key type is available" | ||
| [2008/05/09 07:52:02] <anarcat> it seems it's pretty much ready for commit now | ||
| [2008/05/09 07:52:09] <anarcat> i mean: there's a native type | ||
| [2008/05/09 07:54:13] @ mccune left channel #puppet () | ||
| [2008/05/09 08:03:57] @ ezralini left channel #puppet () | ||
| [2008/05/09 08:05:02] @ Quit: shake-n-bake: | ||
| [2008/05/09 08:10:39] @ Quit: jvanzyl: | ||
| [2008/05/09 08:12:02] <andrewcshafer> anarcat: I'll nudge him when he is back around | ||
| [2008/05/09 08:18:12] <anarcat> okay | ||
| [2008/05/09 08:18:21] <anarcat> wow | ||
| [2008/05/09 08:18:26] <sigmonsays_> is it normal to see this in debug: "err: Could not find server puppet: getaddrinfo: Name or service not known" ? I am not using puppet as my server name .. this is coming from a file { } statement | ||
| [2008/05/09 08:18:29] <anarcat> i meant "i mean: there are unit tests now" | ||
| [2008/05/09 08:18:37] <anarcat> i'll test it now | ||
| [2008/05/09 08:19:22] @ shake-n-bake_ joined channel #puppet | ||
| [2008/05/09 08:28:34] @ plathrop joined channel #puppet | ||
| [2008/05/09 08:39:26] <gepetto> ::puppet:: Ticket #1217 (defect created): urpmi backend can't check if the latest release of a package is insta... @ http://reductivelabs.com/trac/puppet/ticket/1217 (by roudoud0u@free.fr) | ||
| [2008/05/09 08:42:31] <sigmonsays_> i'm trying to debug a issue here | ||
| [2008/05/09 08:42:50] <sigmonsays_> it seems $puppet_server = "myhost" in site.pp doesnt reall be global | ||
| [2008/05/09 08:43:55] <plathrop> sigmonsays_: What is it you are trying to accomplish? | ||
| [2008/05/09 08:44:24] <sigmonsays_> well it's just a simple file "blahblah" { ensure => exists , source => "puppet://$puppet_server/.../" } | ||
| [2008/05/09 08:45:01] @ glaw joined channel #puppet | ||
| [2008/05/09 08:45:03] <sigmonsays_> but when I test it, I see it's trying to connect to ":puppet" when that's not my puppetmaster server name | ||
| [2008/05/09 08:45:41] <sigmonsays_> so i'm guessing it's an empty variable | ||
| [2008/05/09 08:45:44] <sigmonsays_> but I really just dont know | ||
| [2008/05/09 08:46:07] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 08:46:15] <sigmonsays_> btw, fantastic software | ||
| [2008/05/09 08:46:25] <sigmonsays_> I was able to get a whole server manifest written today :) | ||
| [2008/05/09 08:51:15] <plathrop> sigmonsays_: There are a couple of tricks here... first of all, using source => "puppet:///my/file" says "contact whatever puppetmaster you got the manifest from and ask for the file. | ||
| [2008/05/09 08:51:23] <plathrop> I think that's most likely what you want it to do. | ||
| [2008/05/09 08:51:49] <plathrop> I also believe the variable $server is automagically defined with an appropriate value. | ||
| [2008/05/09 08:54:37] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 08:54:57] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 08:55:07] <sigmonsays_> I thought the first parameter was a file bucket name | ||
| [2008/05/09 08:55:26] <sigmonsays_> actually | ||
| [2008/05/09 08:55:44] <sigmonsays_> my url is puppet://$server/$bucket/my/file | ||
| [2008/05/09 08:55:55] <sigmonsays_> it hasn't really worked yet ;) | ||
| [2008/05/09 08:56:10] <sigmonsays_> gotcha | ||
| [2008/05/09 09:13:31] <fujin> heh | ||
| [2008/05/09 09:13:34] <fujin> bucket is incorrect | ||
| [2008/05/09 09:13:42] <fujin> It's the fileserver mount that you'd specify there | ||
| [2008/05/09 09:15:04] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 09:15:23] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 09:15:45] <holoway> fujin: better day today? | ||
| [2008/05/09 09:16:10] <fujin> hehe | ||
| [2008/05/09 09:16:11] <sigmonsays_> fujin, gotcha | ||
| [2008/05/09 09:16:15] <fujin> I took the day off | ||
| [2008/05/09 09:16:27] <fujin> bout to get high as a motherfucker and go shopping | ||
| [2008/05/09 09:16:28] <sigmonsays_> I was expecting to use "puppet://$server/$mount/my/file" | ||
| [2008/05/09 09:16:33] <plathrop> fujin: Good plan, you seemed pretty crunchy last night. | ||
| [2008/05/09 09:16:49] <fujin> heh yeah | ||
| [2008/05/09 09:16:49] <holoway> fujin: get yourself a copy of GTA iV | ||
| [2008/05/09 09:16:57] <fujin> holoway: would need to get myself a PS3 then! | ||
| [2008/05/09 09:17:00] <holoway> and pretend the pedestrians are those causing you pain | ||
| [2008/05/09 09:17:05] <sigmonsays_> which came first? heh | ||
| [2008/05/09 09:17:11] <fujin> will take donations for PS3 ;> | ||
| [2008/05/09 09:18:26] <fujin> brb, going to lounge, detaching | ||
| [2008/05/09 09:18:42] @ Quit: johnf: "Leaving." | ||
| [2008/05/09 09:18:49] @ johnf joined channel #puppet | ||
| [2008/05/09 09:22:09] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/09 09:22:11] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 09:35:02] @ Quit: plathrop: Read error: 110 (Connection timed out) | ||
| [2008/05/09 09:37:36] @ rizwank joined channel #puppet | ||
| [2008/05/09 09:40:14] @ anarcat left channel #puppet () | ||
| [2008/05/09 09:41:38] <sigmonsays_> anyone manage sysctl stuff? | ||
| [2008/05/09 09:41:53] @ Quit: glaw: ""There is only one difference between a madman and me. I am not mad." (Salvador Dali)" | ||
| [2008/05/09 09:41:55] <ashp> there is a module for doing that, i saw it just the other day mentioned here | ||
| [2008/05/09 09:43:14] <holoway> ashp: thanks for spuring the crazy email I sent | ||
| [2008/05/09 09:43:44] <ashp> I am actually just reading it right now | ||
| [2008/05/09 09:43:55] <ashp> my reaction was 'i should find a way to hire him to do our nagios configuration' | ||
| [2008/05/09 09:44:02] <holoway> ashp: we do this for a living | ||
| [2008/05/09 09:44:04] <holoway> it's very easy to hire me | ||
| [2008/05/09 09:44:05] <ashp> because that's still on my avoiding doing list :) | ||
| [2008/05/09 09:44:08] <holoway> httP://www.hjksolutions.com | ||
| [2008/05/09 09:44:09] <holoway> :) | ||
| [2008/05/09 09:44:13] <ashp> sadly my boss is more a fan of us doing it ourselves I think | ||
| [2008/05/09 09:44:22] <ashp> he didn't reply to my $5000 support contract for puppet email either | ||
| [2008/05/09 09:44:29] <ashp> universities are so cheap :( | ||
| [2008/05/09 09:45:04] <ashp> they baited me in by telling me that they are really rich and i can have all kinds of cool stuff, but then when they have to spend the money everyone starts avoiding you | ||
| [2008/05/09 09:47:51] <ashp> still, i guess if I paid someone to do the hard work for me, I wouldn't learn how to do the hard work myself! | ||
| [2008/05/09 09:48:05] <fujin> damnit, I can't work out what to buy my gf for her birthday | ||
| [2008/05/09 09:48:42] <holoway> fujin: what's she do for a living? | ||
| [2008/05/09 09:48:49] <fujin> nothing, she's a student | ||
| [2008/05/09 09:48:58] <fujin> second year through her degree | ||
| [2008/05/09 09:49:18] <ashp> in that case, a big bottle of booze! | ||
| [2008/05/09 09:50:19] <fujin> I should just go an impulse buy for her | ||
| [2008/05/09 09:50:40] <ashp> Just buy her an ipod | ||
| [2008/05/09 09:50:42] <ashp> everyone loves ipods | ||
| [2008/05/09 09:51:00] <ashp> I bought my wife a ps2 as a birthday present once, i'm bad at romantic | ||
| [2008/05/09 09:51:09] <holoway> fujin: buy her a Montblanc Pen | ||
| [2008/05/09 09:51:29] <fujin> o_0 | ||
| [2008/05/09 09:51:37] <fujin> ashp: she doesn't like music! how fucked up is that | ||
| [2008/05/09 09:51:41] <fujin> i thought about an iPod aswell | ||
| [2008/05/09 09:51:41] <ashp> What the hell | ||
| [2008/05/09 09:51:44] <fujin> holoway: a pen? | ||
| [2008/05/09 09:51:48] <ashp> Who doesn't like music?! | ||
| [2008/05/09 09:51:54] <ashp> Buy her a hearing test or something | ||
| [2008/05/09 09:51:56] <holoway> fujin: these are not just pens | ||
| [2008/05/09 09:52:17] <fujin> jesus christ | ||
| [2008/05/09 09:52:21] <holoway> these are to regular pens what a ferrari is to a toyota | ||
| [2008/05/09 09:52:23] <fujin> they're engraved gold and platinum and shit | ||
| [2008/05/09 09:52:36] <holoway> and they are a dream to write with | ||
| [2008/05/09 09:52:38] <holoway> so if you take notes | ||
| [2008/05/09 09:52:40] <holoway> or write a lot | ||
| [2008/05/09 09:52:44] <holoway> there is no nicer thing to have | ||
| [2008/05/09 09:52:44] <fujin> ok well, I'm not a millionaire | ||
| [2008/05/09 09:52:56] <holoway> you can get the basics for $100/us | ||
| [2008/05/09 09:53:28] <ashp> big bottle of vodka | ||
| [2008/05/09 09:53:32] <ashp> it's the gift that keeps giving | ||
| [2008/05/09 09:54:26] <fujin> heh | ||
| [2008/05/09 09:55:23] <ashp> my wife is 8 months pregnant so she can't drink | ||
| [2008/05/09 09:55:26] <ashp> which means I can't drink either :/ | ||
| [2008/05/09 09:55:39] <fujin> ;\ | ||
| [2008/05/09 09:55:42] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 09:55:43] <fujin> smoke ;> | ||
| [2008/05/09 09:55:50] <fujin> that's even worse! | ||
| [2008/05/09 09:55:52] <fujin> don't listen to me | ||
| [2008/05/09 09:56:00] <holoway> fujin: you have a one track mind, sir. :) | ||
| [2008/05/09 09:56:05] <ashp> ahaha | ||
| [2008/05/09 09:56:12] <ashp> I don't get to do anything fun now | ||
| [2008/05/09 09:56:18] <ashp> apart from listen to rants about swollen ankles | ||
| [2008/05/09 09:56:19] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 09:56:37] <fujin> LOL! | ||
| [2008/05/09 09:56:44] <fujin> well, at least you'll have a kid soon :) | ||
| [2008/05/09 09:57:59] <fujin> can't find anywhere to buy your pens in NZ adam | ||
| [2008/05/09 09:58:12] <fujin> was a good idea too, shet. | ||
| [2008/05/09 09:58:23] <fujin> guess I'll have to turn to my old friend: jewellery | ||
| [2008/05/09 09:58:29] <holoway> fujin: lame | ||
| [2008/05/09 09:58:41] <ashp> what is she studying | ||
| [2008/05/09 09:58:44] <holoway> I'm kind of shocked, actually | ||
| [2008/05/09 09:58:52] <fujin> Shes's doing a bArts in psychology / english | ||
| [2008/05/09 09:59:02] <ashp> buy her a oxford dictionary set | ||
| [2008/05/09 09:59:05] <fujin> lol~ | ||
| [2008/05/09 09:59:10] <fujin> I don't think she'd appreciate that | ||
| [2008/05/09 09:59:14] <fujin> (would anyone?) | ||
| [2008/05/09 09:59:25] <fujin> google > oxford dictionary | ||
| [2008/05/09 10:00:26] <holoway> yeah, buying reading/reference material for a student is like buying your wife a blender | ||
| [2008/05/09 10:00:35] <holoway> it better be a fucking nice blender, and she better have asked for it | ||
| [2008/05/09 10:00:51] <ashp> we bought a blender recently | ||
| [2008/05/09 10:00:57] <ashp> it's really awesome, but it was my idea, not hers :D | ||
| [2008/05/09 10:00:57] <Cuchulain> you can buy mont blanc pens at whitcoulls on queen st | ||
| [2008/05/09 10:01:05] <fujin> Really? | ||
| [2008/05/09 10:01:09] * fujin notes | ||
| [2008/05/09 10:01:11] <fujin> thanks Cuchulain ! | ||
| [2008/05/09 10:01:14] <Cuchulain> and there's a mont blanc shop on the corner of queen st and customs st | ||
| [2008/05/09 10:01:16] <holoway> Cuchulain: nice | ||
| [2008/05/09 10:01:17] <fujin> WTF? | ||
| [2008/05/09 10:01:20] <Cuchulain> or there was 6 months ago | ||
| [2008/05/09 10:01:24] <fujin> These people need to learn to advertise | ||
| [2008/05/09 10:01:42] <fujin> How can I buy their ridiculously overpriced pens when they don't advertise them? | ||
| [2008/05/09 10:01:43] <holoway> Cuchulain: nice nick, btw | ||
| [2008/05/09 10:01:50] <Cuchulain> holoway: :) | ||
| [2008/05/09 10:02:09] <Cuchulain> fujin: you are in auckland, right? ;) | ||
| [2008/05/09 10:03:05] <fujin> yea | ||
| [2008/05/09 10:03:13] <fujin> I live in mt eden | ||
| [2008/05/09 10:04:33] <fujin> I dunno... will have to go look at those pens | ||
| [2008/05/09 10:04:36] <fujin> they're a bit manly, no, holoway ? | ||
| [2008/05/09 10:04:58] <holoway> they run the gambit | ||
| [2008/05/09 10:05:22] <holoway> I bought one for my Wife a couple years back | ||
| [2008/05/09 10:05:47] <holoway> certainly they have the pen equivilant of winston churchill | ||
| [2008/05/09 10:05:54] <ashp> you could buy her a puppy | ||
| [2008/05/09 10:05:56] <ashp> everyone loves a puppy | ||
| [2008/05/09 10:05:57] <holoway> ha! | ||
| [2008/05/09 10:07:52] <fujin> heh | ||
| [2008/05/09 10:07:56] <fujin> I considred that the other day | ||
| [2008/05/09 10:07:59] <fujin> but apartment+puppy =sad | ||
| [2008/05/09 10:10:17] <rizwank> I've got an Exec in a module that doesn't seem tobe being executed. | ||
| [2008/05/09 10:10:31] <rizwank> I have a file that requires => Exec["smbpass"] | ||
| [2008/05/09 10:10:41] <rizwank> and then an exec{ smbpass: block | ||
| [2008/05/09 10:10:48] <ashp> i have a dog in an apartment, but we have a tiny yard attached so | ||
| [2008/05/09 10:10:56] <rizwank> is that all I need? does the exec have to be before the Exec? | ||
| [2008/05/09 10:11:07] <fujin> He returns to Emain Macha in his battle frenzy, and the Ulstermen are afraid he will slaughter them all. Conchobar's wife Mugain leads out the women of Emain, and they bare their breasts to him. | ||
| [2008/05/09 10:11:16] <fujin> ah Cuchulain, you're such a badass frenzy guy. | ||
| [2008/05/09 10:12:19] <rizwank> and when puppetd runs, it runs as user puppet? | ||
| [2008/05/09 10:15:09] <holoway> rizwank: it runs as whatever user you run it as | ||
| [2008/05/09 10:15:15] <holoway> typically, you run puppetd as root | ||
| [2008/05/09 10:15:35] <rizwank> Then I'm watching the debug output of puppet and it never tries to run the exec... | ||
| [2008/05/09 10:15:52] <holoway> fujin: he defended Ulster all by himself, even though some crazy demon kept attaking him during battle! | ||
| [2008/05/09 10:18:19] @ Quit: huangmingyo1: Remote closed the connection | ||
| [2008/05/09 10:19:18] @ huangmingyou joined channel #puppet | ||
| [2008/05/09 10:20:20] <rizwank> when would the require=>Exec happen? | ||
| [2008/05/09 10:20:26] <rizwank> every time the directory is created? | ||
| [2008/05/09 10:20:44] <holoway> rizwank: nopaste your config, please | ||
| [2008/05/09 10:20:58] <holoway> (say "pastie: url please") | ||
| [2008/05/09 10:22:31] <rizwank> http://rafb.net/p/lI4Zkw86.html | ||
| [2008/05/09 10:23:06] @ M- joined channel #puppet | ||
| [2008/05/09 10:23:51] <holoway> rizwank: the exec only runs if /etc/samba/smbpasswd is not there | ||
| [2008/05/09 10:23:56] <holoway> line 141 | ||
| [2008/05/09 10:24:50] <rizwank> I did poorly there, because it doesn't create smbpasswd | ||
| [2008/05/09 10:24:59] <rizwank> so I should nuke the creates ? Will that make it run every time? | ||
| [2008/05/09 10:25:05] <holoway> yes | ||
| [2008/05/09 10:25:15] <holoway> do you want it to only run if the file changes? | ||
| [2008/05/09 10:25:47] <rizwank> Lets say yes. | ||
| [2008/05/09 10:26:15] <rizwank> I'm still not sure how I want to manage that, I'm not really happy with this solution, but it's the only way of updating that stupid smbpasswd file (or by just including it on that server, but I was using this as a test of exec...) | ||
| [2008/05/09 10:36:40] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2008/05/09 10:38:44] @ Quit: Maliuta: Remote closed the connection | ||
| [2008/05/09 10:40:23] @ Maliuta joined channel #puppet | ||
| [2008/05/09 11:23:10] @ lak joined channel #puppet | ||
| [2008/05/09 11:24:59] @ plathrop joined channel #puppet | ||
| [2008/05/09 11:29:34] @ Quit: dysinger: | ||
| [2008/05/09 11:29:56] @ dysinger joined channel #puppet | ||
| [2008/05/09 11:31:42] @ Quit: dysinger: Client Quit | ||
| [2008/05/09 11:32:37] @ Quit: MrProper_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 11:32:54] @ plathrop left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/09 11:32:56] @ MrProper_ joined channel #puppet | ||
| [2008/05/09 11:39:04] @ Quit: porridge: Read error: 110 (Connection timed out) | ||
| [2008/05/09 11:42:46] @ bender183 joined channel #puppet | ||
| [2008/05/09 11:59:39] @ Quit: lak: | ||
| [2008/05/09 12:04:14] @ lak joined channel #puppet | ||
| [2008/05/09 12:24:27] @ greenmoss joined channel #puppet | ||
| [2008/05/09 12:28:50] @ Quit: greenmoss: Client Quit | ||
| [2008/05/09 12:31:37] @ greenmoss joined channel #puppet | ||
| [2008/05/09 12:36:34] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/09 12:36:35] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 12:43:54] @ dysinger joined channel #puppet | ||
| [2008/05/09 12:47:45] @ Quit: shake-n-bake_: | ||
| [2008/05/09 12:48:50] @ Quit: greenmoss: | ||
| [2008/05/09 13:02:51] <rizwank> How can I add items to a puppet array | ||
| [2008/05/09 13:03:08] <rizwank> i.e. if I have $alpha => ["blah"], and I wanted to add "blue" to that array, how could I? | ||
| [2008/05/09 13:07:56] <winrefund> [ "one", "two", "three" ] | ||
| [2008/05/09 13:08:04] <rizwank> what if I already have the array defined elsewhere | ||
| [2008/05/09 13:08:07] <rizwank> and want to add to it | ||
| [2008/05/09 13:08:15] <winrefund> not possible | ||
| [2008/05/09 13:08:43] <rizwank> hmm ok | ||
| [2008/05/09 13:09:00] <winrefund> the language does not include support for things like that | ||
| [2008/05/09 13:09:01] <rizwank> what if I define an empty array in a base class, and in an extension class, override that by redefining the variable | ||
| [2008/05/09 13:09:25] <winrefund> that requires knowledge of overriding | ||
| [2008/05/09 13:09:34] <winrefund> something which I do not possess | ||
| [2008/05/09 13:09:37] <rizwank> check. | ||
| [2008/05/09 13:09:47] <winrefund> overriding confuses me | ||
| [2008/05/09 13:09:50] @ shadoi joined channel #puppet | ||
| [2008/05/09 13:09:54] <winrefund> but apparently, others understand it | ||
| [2008/05/09 13:10:45] <fujin> rizwank: I'm not sure you can override an array value like that. | ||
| [2008/05/09 13:10:55] <fujin> If you're doing like, a normal parameter (require, for example) | ||
| [2008/05/09 13:11:25] <fujin> in the subclass, override your type and do require +> [ things to add to the array ], | ||
| [2008/05/09 13:12:02] <winrefund> ooh +> | ||
| [2008/05/09 13:12:06] <winrefund> looks promising | ||
| [2008/05/09 13:12:29] <fujin> yes. I don't think you can use that to add arbitrary strings to a string array, though. | ||
| [2008/05/09 13:12:34] <fujin> Try it and see! :> | ||
| [2008/05/09 13:16:14] <fujin> yeah, doesn't work | ||
| [2008/05/09 13:16:31] <fujin> we'd probably need a =+ or += operator for stuff like that. | ||
| [2008/05/09 13:17:39] @ Quit: a-priori_: | ||
| [2008/05/09 13:19:49] @ diegal joined channel #puppet | ||
| [2008/05/09 13:26:01] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 13:27:48] @ jsgotangco joined channel #puppet | ||
| [2008/05/09 13:28:48] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 13:31:27] <shadoi> just redefine the array | ||
| [2008/05/09 13:35:59] @ Quit: johnf: Read error: 113 (No route to host) | ||
| [2008/05/09 13:37:08] @ Quit: MrProper_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 13:37:21] @ MrProper_ joined channel #puppet | ||
| [2008/05/09 13:41:37] @ a-priori joined channel #puppet | ||
| [2008/05/09 13:44:29] @ Quit: lak: | ||
| [2008/05/09 13:46:18] @ Quit: diegal: "Ex-Chat" | ||
| [2008/05/09 13:47:40] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 13:47:42] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 13:48:43] @ shake-n-bake joined channel #puppet | ||
| [2008/05/09 13:54:25] <Cuchulain> i haven't really been keeping track | ||
| [2008/05/09 13:54:32] <Cuchulain> have the memory leak issues with puppet resolved themselves? | ||
| [2008/05/09 14:21:10] <shadoi> not by themselves and it's still a little mysterious, but yes. | ||
| [2008/05/09 14:27:33] @ a-priori_ joined channel #puppet | ||
| [2008/05/09 14:35:34] @ Quit: jsgotangco: Read error: 110 (Connection timed out) | ||
| [2008/05/09 14:44:07] @ Quit: a-priori: Read error: 110 (Connection timed out) | ||
| [2008/05/09 14:55:38] @ Quit: zobbo: Remote closed the connection | ||
| [2008/05/09 14:55:41] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 14:55:45] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/09 14:56:21] @ zobbo joined channel #puppet | ||
| [2008/05/09 14:59:09] @ Quit: a-priori_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 14:59:19] @ a-priori joined channel #puppet | ||
| [2008/05/09 15:04:34] @ Quit: shadoi: "leaving" | ||
| [2008/05/09 15:17:46] @ gh left channel #puppet () | ||
| [2008/05/09 15:18:16] @ Quit: huangmingyou: "Leaving." | ||
| [2008/05/09 15:19:27] @ Quit: a-priori: | ||
| [2008/05/09 15:19:45] @ huangmingyou joined channel #puppet | ||
| [2008/05/09 15:24:33] @ Quit: rizwank: | ||
| [2008/05/09 15:29:20] @ Quit: huangmingyou: Remote closed the connection | ||
| [2008/05/09 15:29:42] @ jsgotangco joined channel #puppet | ||
| [2008/05/09 15:30:08] @ huangmingyou joined channel #puppet | ||
| [2008/05/09 15:31:41] @ Quit: ricky: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 15:31:42] @ ricky joined channel #puppet | ||
| [2008/05/09 16:11:51] @ descala joined channel #puppet | ||
| [2008/05/09 16:16:31] @ Quit: descala: Client Quit | ||
| [2008/05/09 16:16:35] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 16:17:14] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 16:26:20] @ Quit: Gwayne: Remote closed the connection | ||
| [2008/05/09 16:32:58] @ _newbie_ joined channel #puppet | ||
| [2008/05/09 16:35:49] @ Innocenti joined channel #puppet | ||
| [2008/05/09 16:37:39] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 16:37:42] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 16:55:08] @ Quit: _newbie_: Read error: 110 (Connection timed out) | ||
| [2008/05/09 17:00:50] @ duritong joined channel #puppet | ||
| [2008/05/09 17:06:07] @ _newbie_ joined channel #puppet | ||
| [2008/05/09 17:06:30] @ Quit: shake-n-bake: | ||
| [2008/05/09 17:08:52] @ _newbie_ is now known as f--z | ||
| [2008/05/09 17:11:06] @ descala joined channel #puppet | ||
| [2008/05/09 17:16:04] @ DerekW joined channel #puppet | ||
| [2008/05/09 17:17:29] @ tim|macbook joined channel #puppet | ||
| [2008/05/09 17:18:49] <gepetto> ::puppet:: Ticket #1218 (defect created): Undefined variable lib/puppet/util/settings.rb @ http://reductivelabs.com/trac/puppet/ticket/1218 (by dtbartle@csclub.uwaterloo.ca) | ||
| [2008/05/09 17:25:14] @ Quit: huangmingyou: Remote closed the connection | ||
| [2008/05/09 17:25:47] @ huangmingyou joined channel #puppet | ||
| [2008/05/09 17:43:40] @ Quit: M-: "Leaving" | ||
| [2008/05/09 17:47:01] <_NiC> I get the following on my puppet-client after signing the certificate on the master: err: Could not retrieve configuration: Certificates were not trusted: hostname was not match with the server certificate | ||
| [2008/05/09 17:47:07] <_NiC> err: Could not run Puppet::Client::MasterClient: Cannot connect to server and there is no cached configuration | ||
| [2008/05/09 17:47:17] <_NiC> What should/can I do to fix this? | ||
| [2008/05/09 17:52:31] <duritong> _NiC: already looked at the topic? | ||
| [2008/05/09 18:09:14] @ porridge joined channel #puppet | ||
| [2008/05/09 18:22:54] <_NiC> Did now, thanks :) | ||
| [2008/05/09 18:41:27] <_NiC> ah, works. For some reason my hostname was set wrong... silly mistake. | ||
| [2008/05/09 18:41:36] <_NiC> (as in /etc/hostname) | ||
| [2008/05/09 18:44:48] <_NiC> hm, I spent half a day messing around with cfengine, and 30 minutes with puppet to make clients wor. | ||
| [2008/05/09 18:44:49] <_NiC> k | ||
| [2008/05/09 19:15:49] @ oxtail joined channel #puppet | ||
| [2008/05/09 19:15:56] @ _newbie_ joined channel #puppet | ||
| [2008/05/09 19:16:55] @ Quit: f--z: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 19:29:59] @ Quit: bender183: Read error: 113 (No route to host) | ||
| [2008/05/09 19:34:45] @ Quit: _newbie_: Read error: 110 (Connection timed out) | ||
| [2008/05/09 19:36:46] @ strerror_work joined channel #puppet | ||
| [2008/05/09 19:37:43] @ pleemans joined channel #puppet | ||
| [2008/05/09 19:40:31] @ Quit: shenson_not_here: Read error: 110 (Connection timed out) | ||
| [2008/05/09 19:40:36] @ Quit: brenton: Read error: 110 (Connection timed out) | ||
| [2008/05/09 19:48:19] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/05/09 20:02:53] @ sparanjape joined channel #puppet | ||
| [2008/05/09 20:03:15] @ Quit: sparanjape: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 20:04:03] @ sparanjape joined channel #puppet | ||
| [2008/05/09 20:06:12] @ Gwayne joined channel #puppet | ||
| [2008/05/09 20:06:42] @ Quit: sparanjape: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 20:09:59] @ sparanjape joined channel #puppet | ||
| [2008/05/09 20:10:35] @ thegcat joined channel #puppet | ||
| [2008/05/09 20:11:22] @ Quit: sparanjape: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 20:12:03] <thegcat> hello | ||
| [2008/05/09 20:12:21] <thegcat> I have troubles getting puppetmaster running | ||
| [2008/05/09 20:13:09] <thegcat> I am trying to set up a test environment, but it seems OpenSuSE 10.3 "console only" installation is a little too light for puppet | ||
| [2008/05/09 20:13:19] <thegcat> anyone who could help? | ||
| [2008/05/09 20:17:39] <_NiC> What exactly is the problem? | ||
| [2008/05/09 20:19:17] <thegcat> mmh, I thought it did nothing, because puppetd would yield no output when run with the --verbose switch | ||
| [2008/05/09 20:19:55] <thegcat> but it seems it had done its magic before I began testing it with --verobse, because the expected changes have happened | ||
| [2008/05/09 20:20:26] <thegcat> anyway, everything seems to work fine | ||
| [2008/05/09 20:21:04] @ sparanjape joined channel #puppet | ||
| [2008/05/09 20:21:20] <thegcat> except for "debug: Failed to load library 'shadow' for feature 'libshadow'" (from puppetd --debug) | ||
| [2008/05/09 20:21:23] <thegcat> any thoughts? | ||
| [2008/05/09 20:22:33] @ _newbie_ joined channel #puppet | ||
| [2008/05/09 20:24:15] <_NiC> missing some ruby-library maybe? I've only started testing puppet today myself. :) | ||
| [2008/05/09 20:25:18] <thegcat> well, I've installed puppet and puppetmaster from rpms, so I would suppose dependencies are handled correctly | ||
| [2008/05/09 20:26:17] <_NiC> yeah, they should be | ||
| [2008/05/09 20:26:20] @ greenmoss joined channel #puppet | ||
| [2008/05/09 20:28:43] @ Quit: greenmoss: Client Quit | ||
| [2008/05/09 20:31:26] <duritong> thegcat: about this shadow thing: i think you find stuff on the website or at least in the list-archives | ||
| [2008/05/09 20:33:51] @ glaw joined channel #puppet | ||
| [2008/05/09 20:44:37] <fujin> thegcat: install ruby-shadow | ||
| [2008/05/09 20:44:40] <fujin> it's optional. | ||
| [2008/05/09 20:44:47] <thegcat> ah, ok | ||
| [2008/05/09 20:45:29] <thegcat> anyway, OpenSuSE 10.3 seems to have changed quite a bunch of stuff, so I'll have to delve a little deeper in all this stuff anyway | ||
| [2008/05/09 20:47:23] <thegcat> no rug anymore for example, puppet falls back to rpm, but that doesn't do any good | ||
| [2008/05/09 20:47:32] <thegcat> yum isn't installed by default either | ||
| [2008/05/09 20:51:18] @ Quit: thegcat: | ||
| [2008/05/09 20:53:49] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/05/09 20:54:47] @ Quit: _newbie_: Remote closed the connection | ||
| [2008/05/09 20:55:10] @ _newbie_ joined channel #puppet | ||
| [2008/05/09 21:24:23] @ thegcat joined channel #puppet | ||
| [2008/05/09 21:49:39] @ Quit: oxtail: Remote closed the connection | ||
| [2008/05/09 21:50:36] @ Quit: descala: | ||
| [2008/05/09 21:52:10] @ jeckersb joined channel #puppet | ||
| [2008/05/09 21:57:52] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/09 22:01:32] @ greenmoss joined channel #puppet | ||
| [2008/05/09 22:05:22] @ Quit: chadh_: Remote closed the connection | ||
| [2008/05/09 22:05:25] @ Quit: dyresen: Remote closed the connection | ||
| [2008/05/09 22:07:09] @ dyresen joined channel #puppet | ||
| [2008/05/09 22:14:50] @ fsweetser_ is now known as fsweetser | ||
| [2008/05/09 22:28:17] @ brscott joined channel #puppet | ||
| [2008/05/09 22:28:28] @ brscott left channel #puppet () | ||
| [2008/05/09 22:34:59] @ kenvandine joined channel #puppet | ||
| [2008/05/09 22:40:24] @ oxtail joined channel #puppet | ||
| [2008/05/09 22:43:49] @ Quit: winrefund: "Leaving" | ||
| [2008/05/09 22:48:47] @ andrewcshafer_ joined channel #puppet | ||
| [2008/05/09 22:58:03] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/05/09 22:59:31] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/09 23:00:00] @ roald joined channel #puppet | ||
| [2008/05/09 23:08:01] @ lak joined channel #puppet | ||
| [2008/05/09 23:16:53] @ jvanzyl joined channel #puppet | ||
| [2008/05/09 23:17:37] @ shake-n-bake joined channel #puppet | ||
| [2008/05/09 23:18:02] @ Quit: lak: | ||
| [2008/05/09 23:18:16] @ Quit: shake-n-bake: Client Quit | ||
| [2008/05/09 23:26:36] <ashp> Whoa, just catching up on my favourite thread, it's moving fast! :) | ||
| [2008/05/09 23:26:43] <ashp> "We haven't tried to do anything as complex as Nagios yet but we have rarely | ||
| [2008/05/09 23:26:44] <ashp> hit upon limitations in the language." | ||
| [2008/05/09 23:27:01] <ashp> I think that's probably the problem , it's not until you get to the complex stuff that you hit limitations? | ||
| [2008/05/09 23:30:35] @ Quit: barnbarn: Read error: 104 (Connection reset by peer) | ||
| [2008/05/09 23:31:20] @ barnbarn joined channel #puppet | ||
| [2008/05/09 23:38:19] @ fbe_ joined channel #puppet | ||
| [2008/05/09 23:43:45] @ Quit: thegcat: | ||
| [2008/05/09 23:45:27] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/09 23:46:51] @ Quit: badacid_: Read error: 110 (Connection timed out) | ||
| [2008/05/09 23:47:57] @ roald joined channel #puppet | ||
| [2008/05/09 23:51:21] @ a-priori joined channel #puppet | ||
| [2008/05/09 23:52:42] @ Quit: cmoates: Remote closed the connection |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!