| [2008/05/24 00:02:11] @ Pyretic left channel #puppet () | ||
| [2008/05/24 00:06:25] <ashp> I wonder if redhat 5.2 modified their usermod tools as suddenly user{} statements are breaking. | ||
| [2008/05/24 00:07:36] <ashp> Hmm, running as --debug it doesn't check if the user exists or not | ||
| [2008/05/24 00:07:42] <ashp> It just assumes it does and starts trying to change the password. | ||
| [2008/05/24 00:12:05] @ Londo_ joined channel #puppet | ||
| [2008/05/24 00:13:20] <windowsrefund> my puppetmaster init script is not removing puppetmasterd.pid when a stop is requested | ||
| [2008/05/24 00:14:09] <ouba> I have an another question, does a child class have access to parent class variable ? | ||
| [2008/05/24 00:18:25] @ shenson_not_here is now known as shenson | ||
| [2008/05/24 00:18:52] <ashp> I can't work out from useradd.rb how it knows if a user is newly managed or existing. | ||
| [2008/05/24 00:19:01] <windowsrefund> I'd like to point a client at a different puppetmaster in order to troubleshoot a problem but I get an error about an untrusted certificate when I try | ||
| [2008/05/24 00:19:21] <windowsrefund> does anyone know how to overcome that? | ||
| [2008/05/24 00:19:41] <fujin> is the hostname you're connected to the same hostname the puppetmaster has generated a cert for? | ||
| [2008/05/24 00:20:55] <ouba> i'm not sure to understand the following phrase in the documentation : "Classes also support a simple form of inheritance that allows subclasses to override resources defined in parent classes. Only one class can be inherited by a class" | ||
| [2008/05/24 00:21:06] <ouba> does it means I cannot have several child ? | ||
| [2008/05/24 00:21:27] <DavidS> ouba: no | ||
| [2008/05/24 00:21:45] <fujin> ashp: the insync? method I think you'll find | ||
| [2008/05/24 00:21:57] <windowsrefund> fujin, I don't understand the question | ||
| [2008/05/24 00:22:03] <fujin> think about it | ||
| [2008/05/24 00:22:05] <fujin> jamesturnbull: beat you! | ||
| [2008/05/24 00:22:10] * fujin scoffs | ||
| [2008/05/24 00:22:22] <ashp> oh, in the type | ||
| [2008/05/24 00:22:24] <ashp> I was looking in the provider | ||
| [2008/05/24 00:22:26] <windowsrefund> fujin, do you mean "trying to connect to"? | ||
| [2008/05/24 00:22:37] <ashp> for some reason puppet thinks one user exists that doesn't, so I'm trying to work out what's going on | ||
| [2008/05/24 00:22:38] <fujin> er | ||
| [2008/05/24 00:22:41] <fujin> yeah, windowsrefund | ||
| [2008/05/24 00:22:56] <fujin> your puppetd --server <this> needs to match certname= on the puppetmaster | ||
| [2008/05/24 00:23:12] <fujin> fqdn or short | ||
| [2008/05/24 00:23:22] <fujin> I prefer 'puppet' keep it simple | ||
| [2008/05/24 00:23:31] <fujin> and use a host{} type to manage an /etc/hosts record for the IP address | ||
| [2008/05/24 00:23:44] <windowsrefund> I'm sure the puppetmaster has a cert for it's fqdn since other clients can connect to him just fine | ||
| [2008/05/24 00:24:04] <fujin> so what is different about this client? | ||
| [2008/05/24 00:24:14] <windowsrefund> normally, this client uses puppet.east3.mydomain.com. Now I want to have it use puppet.east5.mydomain.com | ||
| [2008/05/24 00:24:24] <fujin> ah | ||
| [2008/05/24 00:24:25] <windowsrefund> so I'm just trying to do that with --server as a test | ||
| [2008/05/24 00:25:01] <fujin> sounds odd | ||
| [2008/05/24 00:25:05] <ouba> http://pastie.caboo.se/202208 <= here I have a class ntpclientnancy which extends ntpclient, it seems to get the $ntptype from the parent class, but not the $ntpserver from the child class | ||
| [2008/05/24 00:25:07] <fujin> that should work fine | ||
| [2008/05/24 00:25:08] <windowsrefund> he must have the cert for puppet.east3. cached or something | ||
| [2008/05/24 00:25:15] <ouba> what did I make wrong .... | ||
| [2008/05/24 00:25:20] <fujin> windowsrefund: nuke it and see | ||
| [2008/05/24 00:25:29] <windowsrefund> fujin, I'll try | ||
| [2008/05/24 00:25:43] <ashp> I knew looking into this would make my eyes gloss over, when I see lots of unless defined? is and is | ||
| [2008/05/24 00:25:55] @ Quit: johnf: "Leaving." | ||
| [2008/05/24 00:26:06] <fujin> ouba: you can't [ "single string" ] | ||
| [2008/05/24 00:26:08] <fujin> that doesn't make sense | ||
| [2008/05/24 00:26:19] <windowsrefund> fujin, can't find it :) | ||
| [2008/05/24 00:26:22] <DavidS> ouba: wariables have to go to outer scopes, inheritance creates an inner scope ... | ||
| [2008/05/24 00:26:36] <fujin> that too | ||
| [2008/05/24 00:26:42] <ashp> Actually, self.insync? is commented out | ||
| [2008/05/24 00:26:56] <ashp> so it doesn't look like it does any testing to see if the user is already on the physical box | ||
| [2008/05/24 00:27:03] <ouba> DavidS: but, why I get the variable from parents, and not from child, despite of the fact I include the child class | ||
| [2008/05/24 00:27:07] <windowsrefund> maybe I can just wipe /var/lib/puppet/ssl on the client | ||
| [2008/05/24 00:27:10] <DavidS> ouba: http://pastie.caboo.se/202210 | ||
| [2008/05/24 00:27:14] <DavidS> inherit != include | ||
| [2008/05/24 00:27:16] <fujin> windowsrefund: sorry thats' waht I meant | ||
| [2008/05/24 00:27:18] * fujin tired | ||
| [2008/05/24 00:27:52] <windowsrefund> fujin, that's the move? rm -fr /var/lib/puppet/ssl | ||
| [2008/05/24 00:27:58] <DavidS> ouba: I would make this even flatter: node nancy { $ntp_server = ... \n include ntpclient } | ||
| [2008/05/24 00:28:25] <fujin> ashp: lib/puppet/property.rb is where the magic is | ||
| [2008/05/24 00:28:28] <DavidS> ouba: no, actually, I would use my own ntp module, which you can find here: http://git.black.co.at/?p=module-ntp;a=summary | ||
| [2008/05/24 00:28:41] <fujin> ouba: his NTP module is very nice | ||
| [2008/05/24 00:28:42] <ouba> DavidS: yes, but I have redhat and debian on my site | ||
| [2008/05/24 00:28:55] <fujin> throw some selectors around | ||
| [2008/05/24 00:29:02] <ouba> and I need to make difference between ntpserver and ntpclient with access list | ||
| [2008/05/24 00:29:20] <fujin> windowsrefund: yeh, should be fine | ||
| [2008/05/24 00:29:21] <DavidS> ouba: I'm very interested in folding redhat support into my module | ||
| [2008/05/24 00:29:26] <ouba> I already have a look to your ntp modules, it is fine but he is not fine for my site ... | ||
| [2008/05/24 00:29:28] <fujin> windowsrefund: you'll have to clean on your master | ||
| [2008/05/24 00:29:38] <ouba> it is not very difficult for redhat | ||
| [2008/05/24 00:29:42] <DavidS> ouba and I do differentiate between clients and servers by whether I set external NTP Server or not. | ||
| [2008/05/24 00:29:42] <ashp> fujin: The problem is that the only test is if puppet thinks it's managed, not if the machine does | ||
| [2008/05/24 00:29:47] <ouba> jsute the name of the init script which change | ||
| [2008/05/24 00:29:56] <ashp> fujin: So puppet has gotten into a state where it maintains the user is managed and exists, so it calls usermod and not useradd | ||
| [2008/05/24 00:30:01] <ouba> do you manage restrict configruation ? | ||
| [2008/05/24 00:30:02] <DavidS> ouba: it uses storedconfigs to publish the local NTP Servers to the clients | ||
| [2008/05/24 00:30:07] <DavidS> ouba: n | ||
| [2008/05/24 00:30:08] <DavidS> no | ||
| [2008/05/24 00:30:16] <ashp> The provider, I guess, should be modified to test for the user's existence before allowing a usermod. | ||
| [2008/05/24 00:30:22] <ouba> so I need my module :) | ||
| [2008/05/24 00:30:23] <ashp> I'm not competent to fix it, but I know the issue. | ||
| [2008/05/24 00:30:28] <ouba> but it is inspired from yours :) | ||
| [2008/05/24 00:30:37] <ouba> so thanks so much for publishing your complete configuration | ||
| [2008/05/24 00:30:56] <DavidS> ouba: I think it's a waste that everybody forks the damned modules | ||
| [2008/05/24 00:31:03] * fujin nods | ||
| [2008/05/24 00:31:24] <fujin> clone, patch, pull request | ||
| [2008/05/24 00:31:28] <fujin> not really that hard to manage? | ||
| [2008/05/24 00:31:34] <ouba> DavidS, yes, but as every configuratino is different ... it is hard and pointless to make a very generic moduel | ||
| [2008/05/24 00:31:43] <fujin> why not just add RH support to DavidS' module? | ||
| [2008/05/24 00:31:44] <ouba> the maintenance is far more difficult | ||
| [2008/05/24 00:31:50] <DavidS> ouba: ?!? | ||
| [2008/05/24 00:31:55] <ouba> I need redhat + restrict management | ||
| [2008/05/24 00:31:59] <fujin> generic module = don't repeat yourself | ||
| [2008/05/24 00:32:03] * fujin shakes head | ||
| [2008/05/24 00:32:19] <ouba> I understand your point of view | ||
| [2008/05/24 00:32:27] <DavidS> redhat is "just the name of the initscript" and you would have to implement restrict management _anyways_ | ||
| [2008/05/24 00:32:40] <ouba> yes | ||
| [2008/05/24 00:32:45] <fujin> ashp: I think that when you use password => it tries to use usermod | ||
| [2008/05/24 00:32:58] <fujin> cause you can't useradd with password right off the bat | ||
| [2008/05/24 00:33:09] <DavidS> ouba: so why don't you want to contribute back? | ||
| [2008/05/24 00:33:23] <ashp> fujin: On a fresh install, with three user{}'s with passwords | ||
| [2008/05/24 00:33:28] <ashp> two of them correctly do useradd first | ||
| [2008/05/24 00:33:30] <ouba> I can if you are interesseted | ||
| [2008/05/24 00:33:38] <DavidS> very | ||
| [2008/05/24 00:33:39] <gepetto> ::puppet:: Ticket #1262 (defect created): Non-existent user modification. @ http://reductivelabs.com/trac/puppet/ticket/1262 | ||
| [2008/05/24 00:33:39] <ashp> then one fails (but a different one, each time) | ||
| [2008/05/24 00:33:46] <ashp> And then after it thinks all three successfully useradd'ed | ||
| [2008/05/24 00:33:50] <fujin> ashp: I've seen the same thing here occasionally.. takes two runs to sync up | ||
| [2008/05/24 00:33:52] <ashp> There's support in the provider for useradd, and it works for two | ||
| [2008/05/24 00:33:56] <ashp> Well here's the flaw | ||
| [2008/05/24 00:34:02] <ashp> no matter how many times I run it now | ||
| [2008/05/24 00:34:09] <ashp> it skips useradd and only tries to usermod which always fails | ||
| [2008/05/24 00:34:13] <fujin> heh | ||
| [2008/05/24 00:34:15] <ashp> as it doesn't TEST that the useradd was successful | ||
| [2008/05/24 00:34:16] <fujin> let me try and replicate | ||
| [2008/05/24 00:34:17] <ashp> and that's the issue | ||
| [2008/05/24 00:34:26] <fujin> ashp: what version? | ||
| [2008/05/24 00:34:33] <ashp> the only started since I modified my defaultusers.pp to call the passwords in variables | ||
| [2008/05/24 00:34:36] <ashp> 0.24.4 | ||
| [2008/05/24 00:34:40] <ouba> DavidS, what i need in my ntp module : manage three differents network, so three differents set of ntp server and three differents configurations for the lcients | ||
| [2008/05/24 00:34:58] <ashp> http://pastebin.com/d647be84a | ||
| [2008/05/24 00:35:02] <ashp> fujin: There's my complete statement | ||
| [2008/05/24 00:35:16] <ouba> it is why I prefer to use template than config files pushed to client | ||
| [2008/05/24 00:35:17] <ashp> I upgraded to redhat 5.2 so I'm not sure if they modified useradd in some way | ||
| [2008/05/24 00:35:49] <fujin> that's a cool idea to obfuscate the password from your manifest | ||
| [2008/05/24 00:35:55] <fujin> moment | ||
| [2008/05/24 00:36:05] <ashp> the only flaw is remembering to add them with echo -n "string" > file | ||
| [2008/05/24 00:36:08] <ashp> otherwise the newline breaks stuff | ||
| [2008/05/24 00:36:12] <fujin> ha ;) | ||
| [2008/05/24 00:36:14] <DavidS> fujin: thanks :) | ||
| [2008/05/24 00:36:18] <ouba> DavidS : if you are interesseted, I can send you the module dir | ||
| [2008/05/24 00:36:26] <DavidS> ouba: now _there_ is an engineering challenge, since my module uses export/collect to publish local ntp servers ... from your paste i see you're setting the servers manually | ||
| [2008/05/24 00:36:43] <ouba> what is export/colled ? | ||
| [2008/05/24 00:36:55] <fujin> big boys toys | ||
| [2008/05/24 00:37:00] <DavidS> ouba: do you have a global fact/var where your "subnet" is stored? | ||
| [2008/05/24 00:37:06] <ouba> erf, I am a beginner ... | ||
| [2008/05/24 00:37:10] <DavidS> fujin: thanks :) | ||
| [2008/05/24 00:37:27] <DavidS> ouba: it's not that hard, for starters, you need only sqlite installed | ||
| [2008/05/24 00:37:30] <ouba> DavidS : no, I didn't play with fact for the moment | ||
| [2008/05/24 00:37:55] <DavidS> all hosts will store their resources there and you can "collect" specially marked resources (@@) by tags | ||
| [2008/05/24 00:38:07] <ouba> hum, fine ! | ||
| [2008/05/24 00:38:13] <ouba> I love the idea | ||
| [2008/05/24 00:38:26] <ashp> see, here's where it fails | ||
| [2008/05/24 00:38:28] <ashp> May 23 09:44:50 hlsbuild01 puppetd[2326]: (//Node[default]/baseclass/users/users::defaultusers/User[tluker]/ensure) change from absent to present failed: Could not create user tluker: Execution of '/usr/sbin/useradd -c Tivon Luker -G wheel -u 35417 -s /bin/bash -g 100 -d /home/tluker -m tluker' returned 2304: useradd: user tluker exists | ||
| [2008/05/24 00:38:32] <DavidS> it takes puppet to a new level | ||
| [2008/05/24 00:38:34] <ouba> so I "include ntp" on my node | ||
| [2008/05/24 00:38:34] <ashp> and from then on nothing will work | ||
| [2008/05/24 00:38:53] <ouba> on the ntp module will try to get information for my "variable" in the sqllite databse ? | ||
| [2008/05/24 00:38:56] <ashp> he doesn't exist, mind | ||
| [2008/05/24 00:39:09] <DavidS> wow, i just improved configuration storage from 35 to 28 seconds by removing logging from postgres | ||
| [2008/05/24 00:39:30] <ouba> does it works also with mysql ? | ||
| [2008/05/24 00:39:46] <ouba> does it handles array type ? | ||
| [2008/05/24 00:40:16] <DavidS> ouba: yes, only puppet resources | ||
| [2008/05/24 00:40:18] <ashp> This is clearly a weirdo redhat bug :/ | ||
| [2008/05/24 00:40:29] @ Quit: glaw: "Immerse your soul in love -- Radiohead" | ||
| [2008/05/24 00:40:30] @ slj39 joined channel #puppet | ||
| [2008/05/24 00:41:39] <fujin> pastie: please | ||
| [2008/05/24 00:43:18] <pastie> http://pastie.org/202222 by fujin. | ||
| [2008/05/24 00:43:22] <DavidS> ashp: it'd be great if you add the relevant --debug output to #1262 too, so everything is in one place | ||
| [2008/05/24 00:43:24] <gepetto> DavidS: ashp: #1262 is http://reductivelabs.com/trac/puppet/ticket/1262 "Non-existent user modification." | ||
| [2008/05/24 00:43:24] <fujin> ashp: ^ | ||
| [2008/05/24 00:43:38] <ouba> DavidS: I don't understrand everything in your module-ntp, it is not the same as the one published on the reductivelabs.com site ;) | ||
| [2008/05/24 00:44:00] <ashp> This is a rhel 5.2 bug clearly | ||
| [2008/05/24 00:44:01] <fujin> ashp: is that refusing to modify users that *exist already*?? | ||
| [2008/05/24 00:44:13] <fujin> or is it just guessing that they exist incorrectly | ||
| [2008/05/24 00:44:13] <ashp> fujin: useradd run manually | ||
| [2008/05/24 00:44:16] <ashp> says the user exists | ||
| [2008/05/24 00:44:19] <ashp> and then dies, when the user isn't added | ||
| [2008/05/24 00:46:26] <fujin> sorry. What state does 'tluker' have to be in before this error occurs. Nonexistent? | ||
| [2008/05/24 00:46:36] <fujin> existing? | ||
| [2008/05/24 00:46:47] <ashp> nonexistent | ||
| [2008/05/24 00:46:53] <ashp> but it thinks he exists and tries to modify his password | ||
| [2008/05/24 00:47:00] <fujin> I'm unable to replicate with a nonexistent user and an existent user | ||
| [2008/05/24 00:47:04] * fujin scratches head | ||
| [2008/05/24 00:47:07] <ashp> the issue is that with the user nonexistent | ||
| [2008/05/24 00:47:14] <ashp> I think useradd checks nss and finds the user via ldap | ||
| [2008/05/24 00:47:24] <ashp> which seems odd as the other two users I added are in ldap too | ||
| [2008/05/24 00:47:27] <ashp> and those added locally just fine | ||
| [2008/05/24 00:47:33] <stick> so does anyone have an ideas about setting grub configs with puppet | ||
| [2008/05/24 00:48:31] <stick> ran into a nice bug yesterday where my physical virt hosts were allocating too much memory to dom0 and not enough for the guests, it's easily fixable with a grub configuration, but now I'm stuck with how to sanely set that in pupppet | ||
| [2008/05/24 00:48:51] <ashp> I see it connect to nscd when you run useradd, so that's what is causing it | ||
| [2008/05/24 00:48:58] <fujin> stick: Augeas | ||
| [2008/05/24 00:49:04] <fujin> has a grub lense | ||
| [2008/05/24 00:49:18] <fujin> mm.. /me waits for peepcode screencast to dl | ||
| [2008/05/24 00:49:24] <fujin> got the rspec one | ||
| [2008/05/24 00:49:35] <stick> hmm I didn't think augeas was baked yet | ||
| [2008/05/24 00:49:53] <stick> lutter's crazy brainchild and all ;) | ||
| [2008/05/24 00:50:05] <fujin> stick: unless you feel like managing grub.conf/menu.lst with a template | ||
| [2008/05/24 00:50:11] <fujin> or a preconfigured file{} | ||
| [2008/05/24 00:50:22] <stick> I don't, that's my dilema | ||
| [2008/05/24 00:50:34] <stick> dilemma even | ||
| [2008/05/24 00:50:34] <DavidS> stick: http://git.black.co.at/?p=module-common;a=blob;f=manifests/defines/replace.pp;h=c13325e6540041f4a4c8a9719fb4eea1128e6b4c;hb=HEAD | ||
| [2008/05/24 00:50:46] <ashp> If i shut down nscd it sneaks off and connects to ldap, I guess they changed useradd | ||
| [2008/05/24 00:51:10] <stick> DavidS: hmm that's an option | ||
| [2008/05/24 00:52:14] <ouba> DavidS, if i use your module, could i simply disable munin ? | ||
| [2008/05/24 00:52:37] <fujin> aj@junglist /tmp$ sudo userdel -r test | ||
| [2008/05/24 00:52:37] <fujin> userdel: user test does not exist | ||
| [2008/05/24 00:52:37] <fujin> aj@junglist /tmp$ cat test.pp | ||
| [2008/05/24 00:52:37] <fujin> #!/usr/bin/env puppet | ||
| [2008/05/24 00:52:37] <fujin> user { | ||
| [2008/05/24 00:52:38] <DavidS> ouba: sure | ||
| [2008/05/24 00:52:39] <fujin> "test": | ||
| [2008/05/24 00:52:42] <fujin> ensure => present, | ||
| [2008/05/24 00:52:45] <fujin> password => "\$1\$tk/LUgfO\$CpOAYcbby0uiaSzPqREk4/", | ||
| [2008/05/24 00:52:46] <DavidS> that should be a savely-mergeable change | ||
| [2008/05/24 00:52:47] <fujin> uid => 999, | ||
| [2008/05/24 00:52:49] <fujin> gid => 110; | ||
| [2008/05/24 00:52:52] <fujin> } | ||
| [2008/05/24 00:52:54] <fujin> aj@junglist /tmp$ sudo ./test.pp --debug | ||
| [2008/05/24 00:52:57] @ brscott joined channel #puppet | ||
| [2008/05/24 00:52:58] <fujin> info: Loading fact configured_ntp_servers | ||
| [2008/05/24 00:53:00] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/24 00:53:00] <fujin> feck | ||
| [2008/05/24 00:53:02] <fujin> did that paste?? | ||
| [2008/05/24 00:53:10] <DavidS> fujin: yes ... | ||
| [2008/05/24 00:53:14] <fujin> fuck | ||
| [2008/05/24 00:53:16] <fujin> sorry | ||
| [2008/05/24 00:53:28] <ashp> haha | ||
| [2008/05/24 00:53:30] <fujin> gotta tweek me setting | ||
| [2008/05/24 00:53:39] <fujin> rightclicked by accident | ||
| [2008/05/24 00:53:41] <ashp> fujin: Turns out the problem is if you have ldap in nsswitch.conf, it'll follow the chain down whereas it never used to | ||
| [2008/05/24 00:53:41] <fujin> 3am | ||
| [2008/05/24 00:53:50] <fujin> ashp: not so cool | ||
| [2008/05/24 00:53:56] <ashp> I guess I'll have to add require on my ldap changes to the three users, which is ugly as hell | ||
| [2008/05/24 00:54:28] <DavidS> ashp: isn't that what ldap is for? | ||
| [2008/05/24 00:54:39] <ashp> Well, the idea is to have 3 local users | ||
| [2008/05/24 00:54:42] <ashp> as a backup for if ldap dies | ||
| [2008/05/24 00:54:53] <fujin> with the same name? | ||
| [2008/05/24 00:54:54] <fujin> o_0 | ||
| [2008/05/24 00:54:55] <ashp> so really if I'm using useradd, I don't care if the user exists in ldap | ||
| [2008/05/24 00:54:59] <ashp> fujin: what's wrong with that? | ||
| [2008/05/24 00:55:15] <fujin> uh | ||
| [2008/05/24 00:55:22] <DavidS> ashp: then don't put them in ldap? | ||
| [2008/05/24 00:55:23] <ashp> if checks ldap as well as local normally to pull extra groups | ||
| [2008/05/24 00:55:26] <ashp> I tested that works OK | ||
| [2008/05/24 00:55:32] <ashp> davids: but they have to be in LDAP for other services | ||
| [2008/05/24 00:55:45] <ashp> This always worked before I upgraded to 5.2 | ||
| [2008/05/24 00:55:54] <ashp> it would add them locally, they were there as backups and everything was great | ||
| [2008/05/24 00:58:37] @ brscott left channel #puppet () | ||
| [2008/05/24 00:58:54] @ nDuff joined channel #puppet | ||
| [2008/05/24 00:59:45] @ Quit: lak: | ||
| [2008/05/24 01:00:29] @ Quit: nigelk: | ||
| [2008/05/24 01:01:28] @ nigelk joined channel #puppet | ||
| [2008/05/24 01:03:46] <fujin> going to sleep | ||
| [2008/05/24 01:07:04] @ foudfou joined channel #puppet | ||
| [2008/05/24 01:07:19] <lutter> stick: what's not baked about Augeas is any form of puppet integration .. if you are ok with using an exec, you can just call out to augtool | ||
| [2008/05/24 01:07:27] @ foudfou left channel #puppet () | ||
| [2008/05/24 01:07:46] <stick> lutter: ah, cool, I haven't been following it much tbh | ||
| [2008/05/24 01:08:00] <stick> we'll take a look though | ||
| [2008/05/24 01:08:05] @ lak joined channel #puppet | ||
| [2008/05/24 01:08:11] <lutter> stick: it's in Fedora and there are RHEL packages in my yum repo ;) | ||
| [2008/05/24 01:08:15] @ dakol joined channel #puppet | ||
| [2008/05/24 01:08:17] <dakol> hui | ||
| [2008/05/24 01:09:22] <DavidS> dakol: hoi | ||
| [2008/05/24 01:14:35] @ Quit: kolla: Remote closed the connection | ||
| [2008/05/24 01:16:02] @ Quit: lak: | ||
| [2008/05/24 01:17:50] @ Quit: Londo_: | ||
| [2008/05/24 01:21:05] <ashp> I think.. | ||
| [2008/05/24 01:21:11] <ashp> I think I broke /etc/shadow on all my puppeted servers | ||
| [2008/05/24 01:21:32] @ Quit: nigelk: Read error: 113 (No route to host) | ||
| [2008/05/24 01:21:43] @ Quit: Innocenti: Client Quit | ||
| [2008/05/24 01:21:55] <dakol> ashp: nice shot | ||
| [2008/05/24 01:23:01] <Volcane> hehe, thats what u get for not using environments :P | ||
| [2008/05/24 01:24:17] <ashp> well, all the boxes are still listed as development :) | ||
| [2008/05/24 01:24:27] <ashp> I had newlines in the files that the passwords are stored in | ||
| [2008/05/24 01:24:37] <ashp> so it truncated shadow after the password string | ||
| [2008/05/24 01:25:18] <Volcane> yeah i havnt fully embraced environments either, want to make svn branches for each environment and merge from dev upwards | ||
| [2008/05/24 01:25:34] <Volcane> but still a work in progress | ||
| [2008/05/24 01:25:54] <ashp> Ah it literally just put in the linebreak into /etc/shadow | ||
| [2008/05/24 01:25:56] <ashp> so that was easy to fix | ||
| [2008/05/24 01:27:13] @ pkhamre joined channel #puppet | ||
| [2008/05/24 01:28:21] @ Londo_ joined channel #puppet | ||
| [2008/05/24 01:29:09] <dakol> ashp: you do not backup the old shadow ? | ||
| [2008/05/24 01:29:28] <ashp> dakol: I probably have a filebucket copy, not that I know where those go | ||
| [2008/05/24 01:29:37] <ashp> i just had to unbreak the lines and rerun puppet as i fixed that bug | ||
| [2008/05/24 01:35:10] @ Quit: DavidS: "Leaving." | ||
| [2008/05/24 01:39:38] <windowsrefund> ok, puppetd acts very odd when /var fills up on the puppetmaster :) | ||
| [2008/05/24 01:39:57] <n5red-0> install Nagios.... | ||
| [2008/05/24 01:40:10] @ slj39 is now known as stevenjenkins | ||
| [2008/05/24 01:42:46] <ashp> notice: Finished catalog run in 906.90 seconds | ||
| [2008/05/24 01:42:49] <ashp> ouch! | ||
| [2008/05/24 01:45:16] @ rebirth joined channel #puppet | ||
| [2008/05/24 01:53:32] @ nigelk joined channel #puppet | ||
| [2008/05/24 01:53:46] @ Quit: nigelk: Client Quit | ||
| [2008/05/24 01:55:43] <benp-> ashp: are you doing export/collect? | ||
| [2008/05/24 01:56:32] <benp-> or just a slow node | ||
| [2008/05/24 01:57:02] <ashp> It was timing out on a mount | ||
| [2008/05/24 01:57:18] <ashp> I have to make another environment and set of modules later | ||
| [2008/05/24 01:57:31] <ashp> and strip out some stuff that's non-accessible from there | ||
| [2008/05/24 01:57:36] <ashp> I hate having so many copies of the modules | ||
| [2008/05/24 01:58:11] <ashp> I wonder if I can point them at the same copy, then in baseclass just have an if $environment to de-select a module | ||
| [2008/05/24 01:58:14] <ashp> that would be a lot easier I guess | ||
| [2008/05/24 01:58:30] <benp-> know what you mean, i'd share my stuff but way too much of it is site specific | ||
| [2008/05/24 01:59:25] <ashp> I'm pretty sure I can just do a selector and only include the module in default | ||
| [2008/05/24 01:59:33] <ashp> and then if it's the development network skip it | ||
| [2008/05/24 02:04:21] @ shake-n-bake joined channel #puppet | ||
| [2008/05/24 02:09:38] @ Quit: rebirth: Read error: 110 (Connection timed out) | ||
| [2008/05/24 02:13:30] @ Quit: folken: Remote closed the connection | ||
| [2008/05/24 02:13:50] @ Quit: stevenjenkins: "Leaving." | ||
| [2008/05/24 02:15:27] @ folken joined channel #puppet | ||
| [2008/05/24 02:17:41] @ Quit: shake-n-bake: | ||
| [2008/05/24 02:18:51] @ BarnacleBob joined channel #puppet | ||
| [2008/05/24 02:22:18] @ Quit: windowsrefund: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 02:22:47] @ Quit: folken: Remote closed the connection | ||
| [2008/05/24 02:23:09] @ folken joined channel #puppet | ||
| [2008/05/24 02:25:13] <silent> Hi. Can i use source => "puppet://..." with package like this: | ||
| [2008/05/24 02:25:15] <silent> package { "sudo": | ||
| [2008/05/24 02:25:17] <silent> ensure => present, | ||
| [2008/05/24 02:25:18] <silent> provider => freebsd, | ||
| [2008/05/24 02:25:20] <silent> source => 'puppet:///sudo/my-sudo-1.10.tbz', | ||
| [2008/05/24 02:25:21] <silent> } | ||
| [2008/05/24 02:25:23] <silent> ??? | ||
| [2008/05/24 02:26:01] <silent> log file from client: | ||
| [2008/05/24 02:26:02] @ Quit: mikepea: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 02:26:04] <silent> pkg_add: can't stat package file 'puppet:///sudo/my-sudo-1.10.tbz' | ||
| [2008/05/24 02:27:25] @ Quit: DerekW: "Leaving" | ||
| [2008/05/24 02:28:14] <Volcane> doubt it | ||
| [2008/05/24 02:28:40] @ dysinger joined channel #puppet | ||
| [2008/05/24 02:29:42] <duritong> silent: the package manager has no idea of the puppet protocol | ||
| [2008/05/24 02:31:00] <benp-> i think you can use ftp or http with pkg_add | ||
| [2008/05/24 02:33:34] <silent> yes you are right. thanks. | ||
| [2008/05/24 02:35:04] <benp-> good luck silent, package management on freebsd is no fun | ||
| [2008/05/24 02:35:28] <silent> :-) | ||
| [2008/05/24 02:37:35] @ rebirth joined channel #puppet | ||
| [2008/05/24 02:37:55] <benp-> i wasted so much time trying to get it to do what i wanted (in terms of package managment) eventually gave up and switched everything to centos so that i'd actually have a package manager | ||
| [2008/05/24 02:38:37] <Volcane> hmm, how does the fileserver handle environments? | ||
| [2008/05/24 02:38:52] <Volcane> can you specify a different fileserver root for each environment? | ||
| [2008/05/24 02:39:56] @ Quit: folken: Remote closed the connection | ||
| [2008/05/24 02:40:37] <Volcane> hmm, maybe i can have 2 fileserverconfig settings in the puppetd.conf depending on environment, doubt it will work though | ||
| [2008/05/24 02:43:48] @ folken joined channel #puppet | ||
| [2008/05/24 02:47:42] <Demosthenes> any fast opinions on how to manage cpan modules outside a package manager? | ||
| [2008/05/24 02:48:06] <Volcane> nada, i made deps/rpms | ||
| [2008/05/24 02:48:22] <Demosthenes> yep, thought so | ||
| [2008/05/24 02:48:30] <Demosthenes> no time, i'll do exec onlyif | ||
| [2008/05/24 02:48:56] <Volcane> nods | ||
| [2008/05/24 02:50:35] @ Quit: ouba: "Quitte" | ||
| [2008/05/24 02:52:07] @ Quit: auxesis_: Read error: 110 (Connection timed out) | ||
| [2008/05/24 02:52:31] @ Quit: evil_steve: Read error: 110 (Connection timed out) | ||
| [2008/05/24 02:54:18] @ Quit: chillitom: Remote closed the connection | ||
| [2008/05/24 02:57:10] <Volcane> no, doesnt look like you can set a per environment fileserverconfig path | ||
| [2008/05/24 02:57:19] <Volcane> that would be useful for ppl not totally using modules yet | ||
| [2008/05/24 03:00:56] <Demosthenes> http://rafb.net/p/HFWn0660.html | ||
| [2008/05/24 03:01:00] <Demosthenes> renmarkably simple | ||
| [2008/05/24 03:04:23] @ dakol left channel #puppet () | ||
| [2008/05/24 03:05:42] @ Quit: sparanjape: "When the chips are down, well, the buffalo is empty" | ||
| [2008/05/24 03:09:19] @ asa joined channel #puppet | ||
| [2008/05/24 03:09:32] @ Quit: asa: Remote closed the connection | ||
| [2008/05/24 03:12:15] @ Quit: Demosthenes: "Changing server" | ||
| [2008/05/24 03:12:43] @ Demosthenes joined channel #puppet | ||
| [2008/05/24 03:17:46] @ Quit: barnum: "bork" | ||
| [2008/05/24 03:19:10] @ barnum joined channel #puppet | ||
| [2008/05/24 03:36:32] @ randybias joined channel #puppet | ||
| [2008/05/24 03:37:26] <randybias> luke? | ||
| [2008/05/24 03:41:06] <ashp> I guess I should go back into looking at why site.pp seems to be ignored now. | ||
| [2008/05/24 03:41:21] <ashp> Can someone else try adding a notice "test" to the end of site.pp, running a client and seeing if it appears in the logs? | ||
| [2008/05/24 03:41:28] <ashp> just so i can be sure that SHOULD work :) | ||
| [2008/05/24 03:44:07] @ BB|AtWork joined channel #puppet | ||
| [2008/05/24 03:45:04] @ Quit: randybias: | ||
| [2008/05/24 03:48:10] <ashp> (pretty please?) | ||
| [2008/05/24 03:49:24] <Volcane> works | ||
| [2008/05/24 03:49:32] <Volcane> 18:49:14 svcs2 > puppetmasterd[15064]: (Scope(Class[main])) Running in production environment | ||
| [2008/05/24 03:49:35] <ashp> OK, that's interesting | ||
| [2008/05/24 03:49:43] <ashp> because for me it doesn't, and I use external nodes | ||
| [2008/05/24 03:49:53] <Volcane> i dont | ||
| [2008/05/24 03:49:58] <ashp> I have: notice "I AM USING AN EXTERNAL NODE DATABASE" | ||
| [2008/05/24 03:50:17] <ashp> -sh-3.2# grep -i EXTERNAL /var/log/messages | ||
| [2008/05/24 03:50:17] <ashp> -sh-3.2# | ||
| [2008/05/24 03:50:24] <Volcane> heh | ||
| [2008/05/24 03:50:33] * Volcane is battling with environments | ||
| [2008/05/24 03:50:36] <ashp> I'll try another server just to ensure, but this is really worrying. | ||
| [2008/05/24 03:50:43] <Volcane> wish++ i could have per environment fileserver configs | ||
| [2008/05/24 03:50:59] <ashp> I have all my files inside modules | ||
| [2008/05/24 03:51:05] <ashp> so I don't need anything but a modules fileserver config | ||
| [2008/05/24 03:51:08] <Volcane> yeah, I'll get there one day :P | ||
| [2008/05/24 03:51:18] <Volcane> till then, a bit stuffed for using environments fully | ||
| [2008/05/24 03:51:24] <ashp> yeah, site.pp is simply not being evaluated | ||
| [2008/05/24 03:51:41] <gepetto> ::puppet:: Ticket #1262 (defect closed): Non-existent user modification. @ http://reductivelabs.com/trac/puppet/ticket/1262#comment:1 | ||
| [2008/05/24 03:51:45] <ashp> That makes no sense because I have import "templates" at the top | ||
| [2008/05/24 03:51:50] <ashp> and if that wasn't processed nothing would work. | ||
| [2008/05/24 03:51:53] @ Quit: Superfly1: "Reconnecting" | ||
| [2008/05/24 03:51:56] @ Superfly_ joined channel #puppet | ||
| [2008/05/24 03:52:00] <Volcane> ashp: try setting manifest=/path/to/site.pp ? | ||
| [2008/05/24 03:52:19] <ashp> # Location of the main manifest | ||
| [2008/05/24 03:52:19] <ashp> PUPPETMASTER_MANIFEST=/etc/puppet/manifests/site.pp | ||
| [2008/05/24 03:52:24] <Volcane> :) | ||
| [2008/05/24 03:52:36] <ashp> It _has_ to process, otherwise baseclass couldn't be found | ||
| [2008/05/24 03:52:44] <ashp> as that's defined in templates.pp, and that's called by site.pp | ||
| [2008/05/24 03:52:45] <Volcane> nods | ||
| [2008/05/24 03:52:49] <ashp> but at the same time it won't process my notice | ||
| [2008/05/24 03:52:58] @ Quit: BarnacleBob: Read error: 110 (Connection timed out) | ||
| [2008/05/24 03:53:29] @ evil_steve joined channel #puppet | ||
| [2008/05/24 03:54:02] <ashp> I tried moving the notice "" to the top, near the templates import, and it still doesn't process. | ||
| [2008/05/24 03:56:00] <ashp> I'm at a loss of how to handle this. | ||
| [2008/05/24 03:58:51] @ auxesis joined channel #puppet | ||
| [2008/05/24 04:06:16] @ diggyk joined channel #puppet | ||
| [2008/05/24 04:06:39] <diggyk> Is Luke around or will he be around? | ||
| [2008/05/24 04:07:49] @ Quit: LittleIdea: | ||
| [2008/05/24 04:07:51] @ Quit: andrewcshafer: | ||
| [2008/05/24 04:10:30] @ g1 joined channel #puppet | ||
| [2008/05/24 04:11:20] @ Quit: dysinger: | ||
| [2008/05/24 04:11:31] @ AimanA joined channel #puppet | ||
| [2008/05/24 04:15:14] @ LittleIdea joined channel #puppet | ||
| [2008/05/24 04:15:16] @ andrewcshafer joined channel #puppet | ||
| [2008/05/24 04:20:32] <diggyk> I take it no one here is Luke's secretary and therefore knows if he will be around today. :) | ||
| [2008/05/24 04:25:15] <ashp> He has been around | ||
| [2008/05/24 04:25:19] <ashp> but no idea if he's coming back | ||
| [2008/05/24 04:25:33] <diggyk> I just upgraded my puppetmaster to 0.24.4 and one of my puppet clients (also 0.24.4) is freaking out. | ||
| [2008/05/24 04:25:40] <diggyk> He's probably out to lunch. | ||
| [2008/05/24 04:25:43] <ashp> hmm, what's it doing? | ||
| [2008/05/24 04:25:46] <diggyk> Anyone seen this before: http://pastie.caboo.se/202368 | ||
| [2008/05/24 04:26:04] <ashp> not me | ||
| [2008/05/24 04:26:17] <ashp> I started on 0.24.4 so I never had to do any upgrading | ||
| [2008/05/24 04:26:21] <diggyk> The rest of my servers (0.23.3) did that the first time b/c the puppetmaster didn't have the yaml file stuff created but never after that. | ||
| [2008/05/24 04:26:34] <ashp> sounds like some path has changed somewhere | ||
| [2008/05/24 04:26:35] <diggyk> Lucky you. :) | ||
| [2008/05/24 04:28:00] <ashp> does /var/lib/puppet/yaml/facts exist | ||
| [2008/05/24 04:29:19] <diggyk> Yup | ||
| [2008/05/24 04:29:52] <ashp> anything in it? | ||
| [2008/05/24 04:30:01] <ashp> I have a directory per client in mine | ||
| [2008/05/24 04:30:26] <diggyk> On the master, yes. On the client, no | ||
| [2008/05/24 04:31:10] <ashp> hmm it seems to be a master thing | ||
| [2008/05/24 04:31:15] <diggyk> I have a yaml file per client in /var/lib/puppet/yaml/facts but it seems like the client isn't even talking to the puppetmaster b/c the puppet master hasn't create one for this client and isn't logging anything about it | ||
| [2008/05/24 04:31:16] <ashp> the clients don't have that for me | ||
| [2008/05/24 04:31:48] <ashp> Weird, I wonder what the hell it's trying to connect to | ||
| [2008/05/24 04:32:47] <diggyk> Yeah, I have no idea | ||
| [2008/05/24 04:41:41] <diggyk> Well, when all else fails, purge and reinstall. | ||
| [2008/05/24 04:58:55] @ Quit: Demosthenes: "leaving" | ||
| [2008/05/24 05:00:40] @ Quit: mikearr: Read error: 110 (Connection timed out) | ||
| [2008/05/24 05:01:10] @ mikearr joined channel #puppet | ||
| [2008/05/24 05:06:45] @ diggyk left channel #puppet () | ||
| [2008/05/24 05:11:26] * Volcane wonders why his one node says this now on every run: notice: /File[/var/lib/puppet/facter]/checksum: checksum changed '{mtime}Thu Apr 17 13:18:35 +0100 2008' to '{mtime}Fri May 23 19:01:10 +0100 2008' | ||
| [2008/05/24 05:11:43] <Volcane> no amount of recreating dirs or re-fetching facts etc fixes it | ||
| [2008/05/24 05:15:26] <ashp> It's like bug friday | ||
| [2008/05/24 05:15:30] <ashp> we're all suffering | ||
| [2008/05/24 05:21:15] @ Innocenti joined channel #puppet | ||
| [2008/05/24 05:37:45] @ Quit: mikearr: "I am Joe's quit message." | ||
| [2008/05/24 05:40:36] @ do joined channel #puppet | ||
| [2008/05/24 05:48:24] @ Quit: rebirth: Read error: 60 (Operation timed out) | ||
| [2008/05/24 05:55:50] @ mikearr joined channel #puppet | ||
| [2008/05/24 05:58:33] @ Quit: jvanzyl: | ||
| [2008/05/24 05:58:40] @ Quit: kambiz: "Leaving" | ||
| [2008/05/24 05:59:23] @ plathrop joined channel #puppet | ||
| [2008/05/24 05:59:30] @ plathrop left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/24 06:00:08] @ plathrop joined channel #puppet | ||
| [2008/05/24 06:01:50] @ Quit: mikearr: Remote closed the connection | ||
| [2008/05/24 06:02:43] @ mikearr joined channel #puppet | ||
| [2008/05/24 06:04:51] @ diggyk joined channel #puppet | ||
| [2008/05/24 06:06:41] @ shadoi joined channel #puppet | ||
| [2008/05/24 06:08:31] @ andrewcshafer_ joined channel #puppet | ||
| [2008/05/24 06:08:33] @ Quit: LittleIdea: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 06:08:35] @ Quit: andrewcshafer: Success | ||
| [2008/05/24 06:08:37] @ LittleIdea_ joined channel #puppet | ||
| [2008/05/24 06:09:58] @ andrewcshafer joined channel #puppet | ||
| [2008/05/24 06:10:00] @ LittleIdea joined channel #puppet | ||
| [2008/05/24 06:10:04] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 06:10:08] @ Quit: LittleIdea_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 06:11:17] @ brscott joined channel #puppet | ||
| [2008/05/24 06:11:50] @ brscott left channel #puppet () | ||
| [2008/05/24 06:17:05] @ e^ipi joined channel #puppet | ||
| [2008/05/24 06:17:13] @ \ask joined channel #puppet | ||
| [2008/05/24 06:17:18] <e^ipi> any way to make puppet build a config file based on a template? | ||
| [2008/05/24 06:18:16] <e^ipi> id est, we've got some config files where only one or two options need to be changed based on the node | ||
| [2008/05/24 06:22:50] <diggyk> Yeah, you can use a template in the normal way | ||
| [2008/05/24 06:23:25] <diggyk> (looking for link) | ||
| [2008/05/24 06:23:46] <e^ipi> thx | ||
| [2008/05/24 06:23:49] @ Quit: Zothar_Work: "ChatZilla 0.9.82.1 [Firefox 2.0.0.14/2008040414]" | ||
| [2008/05/24 06:23:51] <diggyk> http://www.reductivelabs.com/trac/puppet/wiki/PuppetTemplating | ||
| [2008/05/24 06:23:52] <plathrop> e^ipi: Yeah, Puppet supports ERB templates. You can find more details at wiki:PuppetTemplating | ||
| [2008/05/24 06:23:54] <gepetto> plathrop: e^ipi: wiki:PuppetTemplating is http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating | ||
| [2008/05/24 06:27:47] @ Quit: AimanA: Remote closed the connection | ||
| [2008/05/24 06:29:32] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/05/24 06:33:35] @ rebirth joined channel #puppet | ||
| [2008/05/24 06:33:40] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/24 06:36:49] @ Quit: zobbo: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 06:37:02] @ zobbo joined channel #puppet | ||
| [2008/05/24 06:45:12] @ udo joined channel #puppet | ||
| [2008/05/24 06:46:19] @ jvanzyl joined channel #puppet | ||
| [2008/05/24 06:47:36] @ shenson is now known as shenson_not_here | ||
| [2008/05/24 06:48:41] @ Quit: do: Read error: 110 (Connection timed out) | ||
| [2008/05/24 06:56:20] @ lassizci_ joined channel #puppet | ||
| [2008/05/24 06:58:33] @ Quit: lassizci: Read error: 110 (Connection timed out) | ||
| [2008/05/24 07:01:32] @ Quit: jvanzyl: | ||
| [2008/05/24 07:03:22] @ Quit: rebirth: Read error: 110 (Connection timed out) | ||
| [2008/05/24 07:07:15] @ Quit: docta_v: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 07:16:18] @ rebirth joined channel #puppet | ||
| [2008/05/24 07:17:36] @ Quit: udo: Read error: 60 (Operation timed out) | ||
| [2008/05/24 07:17:40] <diggyk> Looks like I've gotten bitten by closed bug #1120. | ||
| [2008/05/24 07:17:42] <gepetto> diggyk: #1120 is http://reductivelabs.com/trac/puppet/ticket/1120 "undefined method scope for nil::NilClass ??" | ||
| [2008/05/24 07:19:36] <shadoi> diggyk: do you have a top level class with the same name as the one you're inheriting from? | ||
| [2008/05/24 07:19:39] <shadoi> :) | ||
| [2008/05/24 07:19:47] <shadoi> that's that same old issue isn't it? | ||
| [2008/05/24 07:20:24] @ do joined channel #puppet | ||
| [2008/05/24 07:20:42] <diggyk> (a) is that ever going to get fixed? (b) I don't think so. This was working, I think, before I upgraded the puppetmaster. Unless these systems have been not updating for weeks or something | ||
| [2008/05/24 07:21:00] @ Quit: BB|AtWork: "Leaving" | ||
| [2008/05/24 07:21:07] <shadoi> diggyk: what's the scenario? | ||
| [2008/05/24 07:22:29] <diggyk> Well, so far all I know is I upgrade puppetmaster to 0.24.4 with the namespace fixes patched as well. And now my mx servers aren't upgrading and they are saying the error is in a line which is actually the start of my includes. So one of those includes is unhappy. I think i have a suspect. | ||
| [2008/05/24 07:23:57] @ udo joined channel #puppet | ||
| [2008/05/24 07:25:54] <fujin> any rails devs around | ||
| [2008/05/24 07:25:57] <fujin> oh shadoi you here? | ||
| [2008/05/24 07:26:02] <shadoi> yup | ||
| [2008/05/24 07:26:05] <fujin> shadoi: I'm writing a rails webhook receiver for Github | ||
| [2008/05/24 07:26:12] <fujin> (mostly done, have all my models/controllers/views) | ||
| [2008/05/24 07:26:20] <shadoi> webhook receiver? | ||
| [2008/05/24 07:26:24] <shadoi> whazat? | ||
| [2008/05/24 07:26:39] <fujin> Github can optionally POST JSON to a url when pushed to | ||
| [2008/05/24 07:26:39] <holaway> fujin: http://github.com/adamhjk/github-commit-email/tree/master | ||
| [2008/05/24 07:26:42] @ Ol_ joined channel #puppet | ||
| [2008/05/24 07:26:47] <fujin> blagh | ||
| [2008/05/24 07:26:51] <fujin> holaway: I hate you | ||
| [2008/05/24 07:26:55] <holaway> I just wrote it | ||
| [2008/05/24 07:27:05] <holaway> (it probably just put a bullshit commit to puppet-commit,too) | ||
| [2008/05/24 07:27:25] <fujin> yours is nicer than mine, AND merb! | ||
| [2008/05/24 07:27:27] <fujin> fuck | ||
| [2008/05/24 07:27:45] <fujin> holaway: great mind, they say | ||
| [2008/05/24 07:27:55] <fujin> my initial reaction was 'perhaps I should try merb' | ||
| [2008/05/24 07:28:04] <holaway> ok | ||
| [2008/05/24 07:28:05] <fujin> then i rolled out rails instead and started hacking | ||
| [2008/05/24 07:28:05] <holaway> so | ||
| [2008/05/24 07:28:06] <holaway> point | ||
| [2008/05/24 07:28:10] <holaway> your stuff to | ||
| [2008/05/24 07:28:27] <holaway> http://git.hjksolutions.com:4011/commit | ||
| [2008/05/24 07:28:36] <holaway> and it will relay your github commits to puppet-commits | ||
| [2008/05/24 07:28:41] <holaway> viola | ||
| [2008/05/24 07:28:43] <fujin> <3 | ||
| [2008/05/24 07:28:49] <e^ipi> another question, the package providers, is there one to install an arbitrary package that we've built ourselves? ( a .deb that we can use the fileserver feature to place somewhere or something? ) | ||
| [2008/05/24 07:29:00] <fujin> holaway: I love how google groups obfuscates email addresses sent through it | ||
| [2008/05/24 07:29:02] <e^ipi> or will we need an apt server ? | ||
| [2008/05/24 07:29:18] @ Quit: tim|imac: Read error: 113 (No route to host) | ||
| [2008/05/24 07:29:19] <fujin> e^ipi: apt repo si the easiest way | ||
| [2008/05/24 07:29:31] <e^ipi> *nod* | ||
| [2008/05/24 07:29:33] <benp-> e^ipi: you could pull the file down with the file server and install it, but its probably pretty easy to make a http or ftp repo | ||
| [2008/05/24 07:31:29] <fujin> holaway: man rails seems bloated compared to merb | ||
| [2008/05/24 07:31:35] <holaway> yes | ||
| [2008/05/24 07:31:40] <holaway> the very flat stuff | ||
| [2008/05/24 07:31:42] <holaway> kicks ass | ||
| [2008/05/24 07:31:45] <fujin> just comparing our code to do the same shit | ||
| [2008/05/24 07:32:49] <holaway> once you get the hang of it | ||
| [2008/05/24 07:32:55] <holaway> you can be really quick with merb for simple things | ||
| [2008/05/24 07:33:09] <fujin> I can see that, shit | ||
| [2008/05/24 07:33:24] <holaway> I wrote that while troubleshooting a clients site, for example | ||
| [2008/05/24 07:33:38] <fujin> there's not even a need to piss around with generators or anything.. <90 LOC | ||
| [2008/05/24 07:33:39] <holaway> not better than rails, but different | ||
| [2008/05/24 07:33:57] <holaway> 18 of 'em are preamble! | ||
| [2008/05/24 07:34:01] <fujin> I hear it's better for concurrency, threads safely | ||
| [2008/05/24 07:34:02] <fujin> indeed | ||
| [2008/05/24 07:35:04] @ holaway is now known as holoway | ||
| [2008/05/24 07:36:04] @ Quit: rebirth: Read error: 110 (Connection timed out) | ||
| [2008/05/24 07:37:29] <holoway> okay, time to go be sane | ||
| [2008/05/24 07:37:32] <holoway> bbiab | ||
| [2008/05/24 07:37:39] <fujin> ;) | ||
| [2008/05/24 07:37:42] <holoway> (commit something, damn it!) | ||
| [2008/05/24 07:38:27] <fujin> http://github.com/fujin/hooknsling/tree/master/app/controllers/push_controller.rb | ||
| [2008/05/24 07:38:37] @ dysinger_ joined channel #puppet | ||
| [2008/05/24 07:38:39] <fujin> http://github.com/fujin/hooknsling/tree/master/app/models/commit_mailer.rb | ||
| [2008/05/24 07:38:40] <fujin> ;( | ||
| [2008/05/24 07:39:22] @ Quit: udo: | ||
| [2008/05/24 07:40:26] @ Quit: do: Read error: 110 (Connection timed out) | ||
| [2008/05/24 07:40:31] @ shake-n-bake joined channel #puppet | ||
| [2008/05/24 07:41:36] <holoway> also, 13mb of ram for that server | ||
| [2008/05/24 07:41:40] <holoway> lots smaller than rails | ||
| [2008/05/24 07:42:00] <fujin> o_0 | ||
| [2008/05/24 07:42:06] <fujin> sending a following up to mailing list | ||
| [2008/05/24 07:43:40] <holoway> ok, bye! | ||
| [2008/05/24 07:43:43] @ holoway is now known as holaway | ||
| [2008/05/24 07:44:37] @ tim|imac joined channel #puppet | ||
| [2008/05/24 07:53:26] @ Quit: cote: | ||
| [2008/05/24 07:53:32] @ Quit: andrewcshafer: | ||
| [2008/05/24 07:53:34] @ Quit: LittleIdea: | ||
| [2008/05/24 07:55:03] <hacim> if I set a variable in site.pp, what is the scope of that variable? | ||
| [2008/05/24 07:55:15] <hacim> will a module that has a manifest with a define that references that variable pick it up? | ||
| [2008/05/24 07:57:22] <fujin> yeah | ||
| [2008/05/24 07:57:42] <shadoi> site.pp outside of a class is "global" | ||
| [2008/05/24 07:58:01] <fujin> inside a node is toplevel for that node, your module should be able to read it fine | ||
| [2008/05/24 07:58:16] <fujin> I do nodelevel quantification all the time | ||
| [2008/05/24 07:58:26] <fujin> $munin_group = "netflow" | ||
| [2008/05/24 07:58:35] <shadoi> if you use external node tools it makes a lot of sense to only use node level vars. | ||
| [2008/05/24 07:58:45] <fujin> yup | ||
| [2008/05/24 07:59:11] <fujin> still haven't looked at external nodes | ||
| [2008/05/24 07:59:28] <hacim> ok, so if I have $mirror = "http://my/mirror/here" set in my site.pp, then in module/manifests/init.pp if I make a define foo ($mirror) { } then will that site.pp $mirror variable be filled in? | ||
| [2008/05/24 07:59:43] <fujin> do you still write modules and manifests, yet all the node's class inclusin, inheritance etc stored in LDAP? or returned by a script | ||
| [2008/05/24 07:59:52] <fujin> hacim: absolutely | ||
| [2008/05/24 08:00:00] <hacim> fujin: alright, drinks are on me this weekend! | ||
| [2008/05/24 08:00:08] <fujin> ;> | ||
| [2008/05/24 08:08:16] <hacim> what is that site "down for everyone but me" or whatever? | ||
| [2008/05/24 08:08:22] <hacim> someone pointed out here, it was hilarious | ||
| [2008/05/24 08:08:25] <hacim> and now I want to use it | ||
| [2008/05/24 08:09:10] <hacim> http://downforeveryoneorjustme.com/ | ||
| [2008/05/24 08:22:24] <benp-> yeah thats it | ||
| [2008/05/24 08:22:34] <benp-> well, obviously :) | ||
| [2008/05/24 08:23:12] <benp-> i tried to use it today actually, and it spat out an error. | ||
| [2008/05/24 08:23:16] <benp-> http://downforeveryoneorjustme.com/capify.org | ||
| [2008/05/24 08:31:03] @ holaway is now known as holoway | ||
| [2008/05/24 08:31:13] <holoway> fujin: do you have a sample commit json from github I can use? | ||
| [2008/05/24 08:31:18] <holoway> grabbing the diffs will be easy | ||
| [2008/05/24 08:31:31] <holoway> you want them inline or attachd? | ||
| [2008/05/24 08:32:05] @ Demosthenes joined channel #puppet | ||
| [2008/05/24 08:34:29] @ Quit: shadoi: "Lost terminal" | ||
| [2008/05/24 08:35:24] @ shadoi joined channel #puppet | ||
| [2008/05/24 08:48:14] @ sigmonsays joined channel #puppet | ||
| [2008/05/24 08:53:40] <sigmonsays> it's probably a long shot to have version support in Package isn't it? | ||
| [2008/05/24 08:54:57] <benp-> some providers already do it iirc | ||
| [2008/05/24 08:55:30] <benp-> ensure => "0.24.4" | ||
| [2008/05/24 08:56:26] <sigmonsays> ahhh! | ||
| [2008/05/24 08:56:48] <sigmonsays> w00t | ||
| [2008/05/24 08:57:17] <sigmonsays> so.. when I refer to it as Package["httpd"] later, is that gonna cause a problem? | ||
| [2008/05/24 09:00:37] <benp-> shouldn't | ||
| [2008/05/24 09:00:44] <sigmonsays> I think i'm reading about alias right now | ||
| [2008/05/24 09:01:13] @ johnf joined channel #puppet | ||
| [2008/05/24 09:04:51] <sigmonsays> I want to delete file from a package after it's installed. | ||
| [2008/05/24 09:05:10] <sigmonsays> but when I say file { ... : ensure => absent, after => Package["httpd"] } -- it doesnt do it | ||
| [2008/05/24 09:05:27] <benp-> after is not a metaparameter | ||
| [2008/05/24 09:05:31] <benp-> you want require | ||
| [2008/05/24 09:05:42] * sigmonsays eyes cross | ||
| [2008/05/24 09:06:01] <sigmonsays> it's been a real long day | ||
| [2008/05/24 09:06:10] <ashp> urgh did nobody with external node database see my email? :/ | ||
| [2008/05/24 09:06:37] <benp-> or.. use "before" in the other resource | ||
| [2008/05/24 09:07:11] <holoway> ashp: whats the issue? | ||
| [2008/05/24 09:07:45] <ashp> It seems that statements in site.pp don't get evaluated | ||
| [2008/05/24 09:07:53] <ashp> it sounds insane, but I added a notice "test" right at the top | ||
| [2008/05/24 09:07:54] <holoway> mine do | ||
| [2008/05/24 09:07:57] <ashp> and it just gets ignored on my clients | ||
| [2008/05/24 09:08:07] <ashp> BUT, it has an import "templates", so that must work | ||
| [2008/05/24 09:08:24] <ashp> otherwise baseclass wouldn't work | ||
| [2008/05/24 09:08:25] <holoway> so maybe the functions don't get called? | ||
| [2008/05/24 09:08:29] <ashp> I'm not sure | ||
| [2008/05/24 09:08:37] <ashp> I added some Package {} require's, and they don't work | ||
| [2008/05/24 09:08:41] <ashp> I don't know how else to debug it | ||
| [2008/05/24 09:09:10] <sigmonsays> they really need a good doc on this before/after/require | ||
| [2008/05/24 09:09:19] <benp-> is there anything like capistrano that isn't so rails specific? i want to deploy and restart code from a VCS on multiple servers, but I don't like all the directory structure and stuff cap creates | ||
| [2008/05/24 09:09:30] <ashp> http://reductivelabs.com/trac/puppet/ticket/1261 | ||
| [2008/05/24 09:09:38] <benp-> i could use puppet but i want to push my updates, not pull | ||
| [2008/05/24 09:09:41] <ashp> If you look in there holoway, you can see the statements in site.pp | ||
| [2008/05/24 09:09:50] <ashp> It tries to install packages before even trying to make the repos, so it's clearly broken | ||
| [2008/05/24 09:10:00] <holoway> benp-: you don't have to use the default deploy recipe | ||
| [2008/05/24 09:10:34] <benp-> holoway: so i'd want to write my own deploy recipe? | ||
| [2008/05/24 09:10:54] <holoway> benp-: if you hate the default layouts? yes | ||
| [2008/05/24 09:10:57] <holoway> but most of the time | ||
| [2008/05/24 09:11:06] <holoway> it's easier to just go with the flow, since it's not a bad idea | ||
| [2008/05/24 09:11:15] <holoway> to have release/number current -> release/number | ||
| [2008/05/24 09:11:44] <holoway> that's my $0.02 | ||
| [2008/05/24 09:11:51] <holoway> you can overrride or disable all the parts o the task you don't like | ||
| [2008/05/24 09:11:58] <benp-> it's not.. but i thought i'd be able to rip out some of the railsy stuff. but now that i'm actually looking at cap it seems like i'd have to hack up cap itself to get what i want.. | ||
| [2008/05/24 09:12:01] <holoway> to remove things like spinner's and things | ||
| [2008/05/24 09:12:13] <holoway> benp-: that seems pretty unlikely | ||
| [2008/05/24 09:12:32] <sigmonsays> so I have a habit of typing "requires" vs "require" | ||
| [2008/05/24 09:12:39] <sigmonsays> can I instruct puppet to freak out when I do this? :) | ||
| [2008/05/24 09:12:52] <benp-> also the docs mentioning that they try to force their way of doing things onto you kinda turned me off it | ||
| [2008/05/24 09:13:32] <benp-> hmm | ||
| [2008/05/24 09:13:39] <holoway> benp-: it's really just parallel ssh | ||
| [2008/05/24 09:13:48] <holoway> feel free to happily igonore everything else | ||
| [2008/05/24 09:13:52] <holoway> :) | ||
| [2008/05/24 09:16:56] @ diggyk left channel #puppet () | ||
| [2008/05/24 09:18:33] @ jvanzyl joined channel #puppet | ||
| [2008/05/24 09:21:22] <sigmonsays> eww.. rpm isn't versionable | ||
| [2008/05/24 09:21:29] <benp-> yum? | ||
| [2008/05/24 09:21:42] <sigmonsays> ahh I see ;) | ||
| [2008/05/24 09:22:17] <sigmonsays> is there a good rule of thumb of when quotes are required in resources? | ||
| [2008/05/24 09:22:17] <ashp> Anyone else use Package { require's } in site.pp? :/ | ||
| [2008/05/24 09:22:49] <sigmonsays> meaning ALL packages require this? | ||
| [2008/05/24 09:23:13] <ashp> yes | ||
| [2008/05/24 09:23:18] <ashp> like, to set up repos and stuff | ||
| [2008/05/24 09:23:38] <sigmonsays> I accomplished that with a common class who sets up the repops | ||
| [2008/05/24 09:24:00] <ashp> The repos never create first for me | ||
| [2008/05/24 09:24:04] <ashp> it's driving me insane | ||
| [2008/05/24 09:24:12] <ashp> my network/repos won't setup first before it tries to install packages | ||
| [2008/05/24 09:24:21] <ashp> I hoped being in site.pp would beat being part of a included class, but no | ||
| [2008/05/24 09:25:58] <benp-> case $operatingsystem { CentOS: { Package{ require=> [Yumrepo[foo],Yumrepo[bar]] } } that doesn't work? | ||
| [2008/05/24 09:26:33] <sigmonsays> Where does Yumrepo come from? | ||
| [2008/05/24 09:26:54] <benp-> sigmonsays: http://reductivelabs.com/trac/puppet/wiki/StyleGuide#attributes-and-values (re quoting) | ||
| [2008/05/24 09:27:20] <ashp> benp: nope | ||
| [2008/05/24 09:27:25] <ashp> benp: for me it doesn't work at all | ||
| [2008/05/24 09:27:57] <ashp> I'm totally baffled by it, I think it's related to my ldap external node database somehow | ||
| [2008/05/24 09:28:00] <benp-> it wont work if you override it elsewhere | ||
| [2008/05/24 09:28:02] <ashp> because it seems to process classes from ldap before site.pp | ||
| [2008/05/24 09:28:11] <benp-> ahh | ||
| [2008/05/24 09:28:20] <ashp> Oh, so any other package{} that has any other kind of require will break it? | ||
| [2008/05/24 09:28:26] <benp-> i think so, yeah | ||
| [2008/05/24 09:28:27] <ashp> I assumed they would just add to the existing ones | ||
| [2008/05/24 09:28:39] <benp-> no, i think it does the lame thing | ||
| [2008/05/24 09:28:44] <ashp> urgh that makes no sense | ||
| [2008/05/24 09:28:50] <ashp> If I set up a Package{} bunch of requires | ||
| [2008/05/24 09:29:00] <benp-> i don't know for sure, you should test it | ||
| [2008/05/24 09:29:02] <ashp> then add another one in a package{} statement I obviously want it to extend what I had | ||
| [2008/05/24 09:29:06] <ashp> I can't test it! | ||
| [2008/05/24 09:29:14] <ashp> Because it doesn't seem to notice the Package in the first place | ||
| [2008/05/24 09:29:24] <ashp> So it starts trying to install packages before setting up the network | ||
| [2008/05/24 09:29:27] <sigmonsays> benp- sweetness (quoting) | ||
| [2008/05/24 09:29:31] @ Quit: markl__: "Lost terminal" | ||
| [2008/05/24 09:29:54] <benp-> i mean test if defaults get overwritten or added to | ||
| [2008/05/24 09:30:14] @ andrewcshafer joined channel #puppet | ||
| [2008/05/24 09:30:15] @ LittleIdea joined channel #puppet | ||
| [2008/05/24 09:31:37] <gepetto> ::puppet:: Developer Repositories edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DeveloperRepositories (by james@lovedthanlost.net) | ||
| [2008/05/24 09:33:04] <sigmonsays> I need to start a service after a file is removed. However my two definitions do not work | ||
| [2008/05/24 09:33:17] <sigmonsays> I think my file resourceis wrong | ||
| [2008/05/24 09:35:07] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/24 09:36:37] @ Quit: LittleIdea: | ||
| [2008/05/24 09:36:39] @ Quit: andrewcshafer: | ||
| [2008/05/24 09:41:11] @ johnf joined channel #puppet | ||
| [2008/05/24 09:52:17] * sigmonsays continues to freak out | ||
| [2008/05/24 09:52:21] <sigmonsays> I can't get puppet to delete a file | ||
| [2008/05/24 09:54:39] <holoway> jamesturnbull: so you want inline diffs and attachments? | ||
| [2008/05/24 09:54:50] <holoway> for the commit mailer? | ||
| [2008/05/24 10:10:27] @ AimanA joined channel #puppet | ||
| [2008/05/24 10:11:49] <sigmonsays> FYI: If you make changes and run puppetd -- syntax errors are not reported all the time! | ||
| [2008/05/24 10:12:07] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/24 10:12:40] <sigmonsays> that's enough to make a grown man go insaine | ||
| [2008/05/24 10:17:37] @ Quit: shake-n-bake: | ||
| [2008/05/24 10:17:39] @ Quit: g1: "Leaving." | ||
| [2008/05/24 10:23:26] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/05/24 10:31:12] <jamesturnbull> holoway: not sure yet | ||
| [2008/05/24 10:31:24] <holoway> ok - they are both easy to do | ||
| [2008/05/24 10:31:32] <holoway> basically we'll fetch the .diff for each commit url | ||
| [2008/05/24 10:31:36] <holoway> and we could do either with it | ||
| [2008/05/24 10:32:08] <holoway> jamesturnbull: feel free to clone that repo and hack on it | ||
| [2008/05/24 10:32:25] <holoway> and just ping me to update the running copy | ||
| [2008/05/24 10:36:53] @ shake-n-bake joined channel #puppet | ||
| [2008/05/24 10:57:09] @ Quit: AimanA: "airport, errands, going out. Weekend h0000000!" | ||
| [2008/05/24 11:00:00] @ mcbride_ joined channel #puppet | ||
| [2008/05/24 11:00:08] @ Quit: mcbride_: Client Quit | ||
| [2008/05/24 11:06:29] @ kenvandine joined channel #puppet | ||
| [2008/05/24 11:14:33] <jamesturnbull> holoway: thanks | ||
| [2008/05/24 11:30:31] @ shadoi joined channel #puppet | ||
| [2008/05/24 11:34:55] @ Quit: dysinger_: Read error: 110 (Connection timed out) | ||
| [2008/05/24 11:45:02] @ Quit: mcbride: "leaving" | ||
| [2008/05/24 11:45:14] @ mcbride joined channel #puppet | ||
| [2008/05/24 11:46:29] @ Quit: duritong: Read error: 110 (Connection timed out) | ||
| [2008/05/24 11:46:32] @ duritong joined channel #puppet | ||
| [2008/05/24 11:59:23] @ johnf joined channel #puppet | ||
| [2008/05/24 12:44:31] @ LittleIdea joined channel #puppet | ||
| [2008/05/24 12:44:33] @ andrewcshafer joined channel #puppet | ||
| [2008/05/24 13:00:08] @ jsgotangco joined channel #puppet | ||
| [2008/05/24 13:00:40] @ Quit: zobbo: Read error: 110 (Connection timed out) | ||
| [2008/05/24 13:07:52] @ Quit: johnf: Read error: 101 (Network is unreachable) | ||
| [2008/05/24 13:09:18] @ johnf joined channel #puppet | ||
| [2008/05/24 13:13:10] @ zobbo joined channel #puppet | ||
| [2008/05/24 13:50:27] @ Quit: zobbo: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 13:50:33] @ zobbo_ joined channel #puppet | ||
| [2008/05/24 13:53:35] @ zobbo joined channel #puppet | ||
| [2008/05/24 13:55:08] @ Quit: zobbo_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 14:07:21] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 14:10:59] @ Kindred joined channel #puppet | ||
| [2008/05/24 14:14:11] @ lak joined channel #puppet | ||
| [2008/05/24 14:14:28] @ Quit: shake-n-bake: | ||
| [2008/05/24 14:16:54] @ Quit: lak: Client Quit | ||
| [2008/05/24 14:24:28] @ lak joined channel #puppet | ||
| [2008/05/24 14:26:43] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/05/24 14:27:07] @ Kindred joined channel #puppet | ||
| [2008/05/24 14:39:34] @ Quit: lak: | ||
| [2008/05/24 14:47:07] @ lak joined channel #puppet | ||
| [2008/05/24 15:06:02] @ dysinger joined channel #puppet | ||
| [2008/05/24 15:35:07] <jamesturnbull> holoway: hmmm looking at your commit hook now | ||
| [2008/05/24 15:35:17] <jamesturnbull> holoway: does the json give you the diff? | ||
| [2008/05/24 15:41:45] <jamesturnbull> holoway: or were intending call git and outputting the diff or something? | ||
| [2008/05/24 15:50:12] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/05/24 16:06:32] @ Quit: LittleIdea: | ||
| [2008/05/24 16:06:34] @ Quit: andrewcshafer: | ||
| [2008/05/24 16:06:41] <holoway> jamesturnbull: you can hit that URL | ||
| [2008/05/24 16:06:49] <holoway> with .diff on the end | ||
| [2008/05/24 16:06:52] <holoway> and get the output | ||
| [2008/05/24 16:06:55] <holoway> in raw plain ext | ||
| [2008/05/24 16:06:57] <holoway> er text | ||
| [2008/05/24 16:23:22] <jamesturnbull> holoway: ah okay | ||
| [2008/05/24 16:23:50] <jamesturnbull> holoway: sorry which url? the 4011 one? | ||
| [2008/05/24 16:37:01] <fujin> http://github.com/fujin/github-commit-email/commit/921da08110d06dece1f8042555cbfc589284ace0.diff | ||
| [2008/05/24 16:37:05] <fujin> oh right, you can to | ||
| [2008/05/24 16:37:07] <fujin> that is pretty cool | ||
| [2008/05/24 16:53:41] @ Quit: lak: | ||
| [2008/05/24 17:26:22] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/05/24 17:34:54] @ LittleIdea joined channel #puppet | ||
| [2008/05/24 17:34:55] @ andrewcshafer joined channel #puppet | ||
| [2008/05/24 18:09:25] @ Quit: LittleIdea: | ||
| [2008/05/24 18:09:26] @ Quit: andrewcshafer: | ||
| [2008/05/24 19:07:23] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/24 19:10:29] @ johnf joined channel #puppet | ||
| [2008/05/24 19:47:00] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/24 19:49:54] @ johnf joined channel #puppet | ||
| [2008/05/24 20:05:50] <fujin> holoway: around? | ||
| [2008/05/24 20:06:12] <fujin> actually forget it | ||
| [2008/05/24 20:06:14] <fujin> sorry | ||
| [2008/05/24 20:49:09] @ Quit: jsgotangco: "Ciao" | ||
| [2008/05/24 20:59:03] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/24 21:02:31] @ mikeab joined channel #puppet | ||
| [2008/05/24 21:02:42] <mikeab> hi | ||
| [2008/05/24 21:03:03] * mikeab is using puppet on Debian "etch" using Debian's packages | ||
| [2008/05/24 21:03:48] <mikeab> I've an both IPv4 and IPv6 running in my LAN. | ||
| [2008/05/24 21:05:15] <mikeab> on my Ubuntu Hardy client when I tried to execute puppet, I get '(/Main[top]/Node[default]/Node[apt]/File[/etc/apt/sources.list]/source) Could not describe /files/apt.sources.list: Cannot currently copy links' | ||
| [2008/05/24 21:06:03] <mikeab> I think fileserver.conf is configured properly in server, but I' | ||
| [2008/05/24 21:06:25] <mikeab> m not sure. as my allow list in fileserver.conf contains only IPv4 network | ||
| [2008/05/24 21:06:45] <mikeab> any ideas how to mention IPv6 network in fileserver.conf | ||
| [2008/05/24 21:08:53] <mikeab> hey z00dax | ||
| [2008/05/24 21:15:01] <tim|imac> mikeab: are you using the default debian packages for puppet? aka 0.20? | ||
| [2008/05/24 21:17:25] <mikeab> tim|imac: 0.20.1-1 | ||
| [2008/05/24 21:17:36] <mikeab> tim|imac: yes, I'm using default debian packages | ||
| [2008/05/24 21:19:05] <mikeab> tim|imac: any issues with them ? | ||
| [2008/05/24 21:19:08] <tim|imac> lots :) | ||
| [2008/05/24 21:19:25] <tim|imac> mikeab: try this wiki:DebianTestingPackages | ||
| [2008/05/24 21:19:27] <gepetto> tim|imac: mikeab: wiki:DebianTestingPackages is http://reductivelabs.com/trac/puppet/wiki/DebianTestingPackages | ||
| [2008/05/24 21:19:31] <tim|imac> see if that solves the issues | ||
| [2008/05/24 21:19:48] <mikeab> tim|imac: okay | ||
| [2008/05/24 21:20:02] <tim|imac> 0.20 is over a year old, development has come along lots and lots :) | ||
| [2008/05/24 21:25:30] <tim|imac> also, my guess is, if you're connecting to an ipv4 address for the server, the connection will stay on ipv4 and not switch to ipv6, since ipv4 and ipv6 can coexist, but not intermingle without special stuff | ||
| [2008/05/24 21:25:52] <tim|imac> so check how you reference your puppet server | ||
| [2008/05/24 21:26:27] @ ska-fan joined channel #puppet | ||
| [2008/05/24 21:27:49] <mikeab> tim|imac: yes, I just noticed that puppetmaster is running with an IPv4 socket. anyways, I'm downloading and upgrading puppet to testing. | ||
| [2008/05/24 21:28:37] <tim|imac> worth it, since the docs fit that version better :) | ||
| [2008/05/24 21:31:16] <ska-fan> Hi. I need something for managing our servers, but it says on the website that puppet is meant to manage a machine throughout it's whole lifecycle. I on the other hand need to install copies of the server farm many times for debugging, development and so on, so my focus isn't really on keeping the system working for as long as possible without reinstalling, but on making sure that the production systems match the development and test systems | ||
| [2008/05/24 21:31:55] <ska-fan> Uff, that was long. My question is in how far puppet allows such a mode of operation. Or maybe my whole idea is flawed? | ||
| [2008/05/24 21:36:20] <mikeab> ska-fan: puppet lets you write configuration for all boxen at one place, and then its agents running on those boxen will fetch the configuration from server, thats it. | ||
| [2008/05/24 21:41:03] <mikeab> tim|imac: getting, http://rafb.net/p/tKICmW99.html | ||
| [2008/05/24 21:41:29] <mikeab> is that somekind of bug in apt-get ? | ||
| [2008/05/24 21:41:51] <tim|imac> not a bug | ||
| [2008/05/24 21:41:56] <tim|imac> E: Dynamic MMap ran out of room <-- out of memory | ||
| [2008/05/24 21:42:00] <tim|imac> just a sec, got a fix for that | ||
| [2008/05/24 21:42:43] <mikeab> oom, I've 1.8 GiB of memory free | ||
| [2008/05/24 21:42:49] <tim|imac> $ cat /etc/apt/apt.conf.d/50cachesize | ||
| [2008/05/24 21:42:49] <tim|imac> APT::Cache-Limit "16777216"; | ||
| [2008/05/24 21:43:03] <mikeab> tim|imac: okay, thanks | ||
| [2008/05/24 21:43:23] <tim|imac> it's got some weird built-in cache maximum | ||
| [2008/05/24 21:43:31] <tim|imac> probably still tailored for low-mem systems... | ||
| [2008/05/24 21:43:39] <tim|imac> we are talking about debian, after all.... | ||
| [2008/05/24 21:45:34] <mikeab> tim|imac: okay, any ideas about how to get puppet to use IPv6 network ? | ||
| [2008/05/24 21:46:05] <tim|imac> none whatsoever, although I figure it something simple like setting a bindaddress | ||
| [2008/05/24 21:47:46] <mikeab> okay | ||
| [2008/05/24 21:49:36] <tim|imac> http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#i-m-getting-ipv6-errors-what-s-wrong <-- looks like as long as your ruby has ipv6 support, it should just work | ||
| [2008/05/24 21:51:57] <mikeab> tim|imac: okay, any way to verify ruby's ipv6 support without writing a socket program in ruby which binds to ipv6 socket, hmm..? | ||
| [2008/05/24 21:52:43] <mikeab> tim|imac: now, I'm getting "Could not retrieve catalog: Certificates were not trusted: certificate verify failed" at client, after upgrading puppet at server. | ||
| [2008/05/24 21:52:52] <tim|imac> no idea, I'm more a python guy than a ruby guy, I'm afraid | ||
| [2008/05/24 21:53:05] <tim|imac> what does puppetca -l say? | ||
| [2008/05/24 21:53:24] <mikeab> tim|imac: no certificates to sign | ||
| [2008/05/24 21:53:41] <mikeab> tim|imac: it was working fine earlier except for that fileserver issue | ||
| [2008/05/24 21:54:09] <tim|imac> try removing the certs and recreating them | ||
| [2008/05/24 21:54:15] <mikeab> tim|imac: I've added a server=servername.tld in /etc/puppet.conf in 'main' section | ||
| [2008/05/24 21:54:21] <mikeab> okay | ||
| [2008/05/24 21:55:10] <mikeab> tim|imac: you mean certificates of both sides | ||
| [2008/05/24 21:55:41] <tim|imac> probably best, yeah, start with a clean slate | ||
| [2008/05/24 21:58:13] <mikeab> puppet 4569 0.0 1.8 80576 38792 ? Ssl 17:23 0:00 ruby /usr/sbin/puppetmasterd --masterport=18140 <--- after upgrade | ||
| [2008/05/24 21:58:16] @ thegcat joined channel #puppet | ||
| [2008/05/24 21:58:36] <mikeab> notice the masterport tim|imac | ||
| [2008/05/24 22:00:45] <mikeab> previously it used to run on 8140, now I can't even stop it using invoke-rc.d | ||
| [2008/05/24 22:01:20] <tim|imac> just do /etc/init.d/puppetmaster stop and change the port in /etc/puppet/puppet.conf | ||
| [2008/05/24 22:01:46] <mikeab> tim|imac: I've to kill to stop puppetmaster | ||
| [2008/05/24 22:02:20] <mikeab> tim|imac: BtW, I've to edit /etc/default/puppetmaster | ||
| [2008/05/24 22:16:31] <mikeab> tim|imac: that worked :), thanks :) | ||
| [2008/05/24 22:18:04] <tim|imac> yw :) | ||
| [2008/05/24 22:23:53] @ thegcat_ joined channel #puppet | ||
| [2008/05/24 22:34:55] @ Quit: thegcat_: | ||
| [2008/05/24 22:35:40] @ thegcat_ joined channel #puppet | ||
| [2008/05/24 22:40:07] @ Quit: thegcat: Read error: 113 (No route to host) | ||
| [2008/05/24 23:16:58] <ska-fan> mikeab: that's a very good to-the-point description of puppet, thanks :) 10 Minutes of reading its website didn't get me that | ||
| [2008/05/24 23:17:36] <mikeab> ska-fan: :) | ||
| [2008/05/24 23:19:52] <ska-fan> Ok, now what's left to understand for me is what puppet can help me with, considering that I'm doing a full install for nearly every configuration change - so I could as well just write a script that does everything that's needed on a bare debian base install. | ||
| [2008/05/24 23:20:11] @ Quit: mikeab: "brb in few minutes, or few hours or few days" | ||
| [2008/05/24 23:26:11] @ fantix left channel #puppet () | ||
| [2008/05/24 23:47:35] @ johnf joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!