| [2009/05/15 00:02:40] @ Log started by gepetto | ||
| [2009/05/15 00:02:40] @ Quit: MaliutaBSD: Read error: 113 (No route to host) | ||
| [2009/05/15 00:02:55] @ nigelk joined channel #puppet | ||
| [2009/05/15 00:03:21] @ nigelk_ joined channel #puppet | ||
| [2009/05/15 00:08:26] @ Quit: pheezy: Remote closed the connection | ||
| [2009/05/15 00:20:53] @ Quit: nigelk: Read error: 110 (Connection timed out) | ||
| [2009/05/15 00:22:49] @ pheezy joined channel #puppet | ||
| [2009/05/15 00:26:06] @ Quit: d3vilb0x: | ||
| [2009/05/15 00:31:12] @ Quit: pheezy: Remote closed the connection | ||
| [2009/05/15 00:32:06] @ pheezy joined channel #puppet | ||
| [2009/05/15 00:32:31] @ Quit: pheezy: Remote closed the connection | ||
| [2009/05/15 00:39:10] @ Quit: cwebber: | ||
| [2009/05/15 00:45:55] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/15 00:49:03] @ Quit: andrewcshafer: | ||
| [2009/05/15 00:51:02] @ andrewcshafer joined channel #puppet | ||
| [2009/05/15 00:53:24] @ lak joined channel #puppet | ||
| [2009/05/15 01:02:41] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/15 01:05:44] @ alfism joined channel #puppet | ||
| [2009/05/15 01:14:40] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2009/05/15 01:17:07] @ groove joined channel #puppet | ||
| [2009/05/15 01:17:29] <groove> what is the status of versioncmp in 0.24.8, broken? | ||
| [2009/05/15 01:18:44] @ Quit: Superfly_: Read error: 110 (Connection timed out) | ||
| [2009/05/15 01:20:05] @ Superfly_ joined channel #puppet | ||
| [2009/05/15 01:24:40] @ Quit: johan-s_: "Leaving..." | ||
| [2009/05/15 01:33:57] @ monzie joined channel #puppet | ||
| [2009/05/15 01:34:49] @ Quit: lak: Read error: 110 (Connection timed out) | ||
| [2009/05/15 01:37:24] @ ricky joined channel #puppet | ||
| [2009/05/15 01:40:28] @ lak joined channel #puppet | ||
| [2009/05/15 01:41:30] @ groove left channel #puppet () | ||
| [2009/05/15 01:54:17] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/15 02:20:49] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/05/15 02:21:28] @ Quit: lak: | ||
| [2009/05/15 02:26:40] @ mattock joined channel #puppet | ||
| [2009/05/15 02:27:51] @ monzie_ joined channel #puppet | ||
| [2009/05/15 02:27:57] @ Quit: monzie: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 02:29:15] @ comprehensive joined channel #puppet | ||
| [2009/05/15 02:30:05] @ mfournier joined channel #puppet | ||
| [2009/05/15 02:30:48] @ kolla joined channel #puppet | ||
| [2009/05/15 02:35:04] @ FiXion joined channel #puppet | ||
| [2009/05/15 02:44:37] <macbar> Hi all | ||
| [2009/05/15 02:44:52] <macbar> is it possible to have virtual exported resources ? | ||
| [2009/05/15 02:46:26] <macbar> or how would be the best way to define an exported resource in multiple nodes ? | ||
| [2009/05/15 02:47:07] <macbar> (think defining a nagios_hostgroup object to be exported by a class of multiple nodes) | ||
| [2009/05/15 02:53:27] @ madrescher joined channel #puppet | ||
| [2009/05/15 02:54:48] @ Quit: FiXion: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 02:56:06] @ FiXion joined channel #puppet | ||
| [2009/05/15 02:56:09] <FiXion> goodmorning :) | ||
| [2009/05/15 02:56:42] @ FiXion_ joined channel #puppet | ||
| [2009/05/15 02:57:02] @ Djelibeybi joined channel #puppet | ||
| [2009/05/15 02:57:36] @ MarlondB joined channel #puppet | ||
| [2009/05/15 02:58:43] @ Cope_ joined channel #puppet | ||
| [2009/05/15 03:02:09] @ aymerick joined channel #puppet | ||
| [2009/05/15 03:09:20] @ Quit: Cope: Read error: 110 (Connection timed out) | ||
| [2009/05/15 03:09:33] @ Quit: pugnacity: "Leaving." | ||
| [2009/05/15 03:12:13] @ Quit: monzie_: | ||
| [2009/05/15 03:13:00] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/15 03:14:57] @ pugnacity joined channel #puppet | ||
| [2009/05/15 03:20:38] @ MattyM joined channel #puppet | ||
| [2009/05/15 03:20:51] @ Quit: comprehensive: "CHOCOA" | ||
| [2009/05/15 03:26:38] @ Innocenti joined channel #puppet | ||
| [2009/05/15 03:34:31] @ nasrat joined channel #puppet | ||
| [2009/05/15 03:49:01] @ Quit: Cope_: Read error: 60 (Operation timed out) | ||
| [2009/05/15 03:51:02] @ HarryCalahan joined channel #puppet | ||
| [2009/05/15 03:53:29] @ Cope joined channel #puppet | ||
| [2009/05/15 03:58:37] @ Quit: maxagaz: "Leaving" | ||
| [2009/05/15 03:59:25] <nasrat> jamesturnbull: might be able to do some sanity checks on #2067 | ||
| [2009/05/15 03:59:26] <gepetto> nasrat: jamesturnbull: #2067 is http://projects.reductivelabs.com/issues/show/2067 "Facter - Bug #2067: Virtual fact does not work for Xen, HyperV, kvm - ReductiveLabs.com" | ||
| [2009/05/15 04:01:09] <nasrat> see how my time goes today | ||
| [2009/05/15 04:01:52] <nasrat> #2120 I've tested locally after rediffing to master | ||
| [2009/05/15 04:01:54] <gepetto> nasrat: #2120 is http://projects.reductivelabs.com/issues/show/2120 "Facter - Bug #2120: support for Facter[virtual] == vmware on Solaris systems - ReductiveLabs.com" | ||
| [2009/05/15 04:02:08] <nasrat> probably going to be busy ish afk this w/e though | ||
| [2009/05/15 04:02:11] @ maxagaz joined channel #puppet | ||
| [2009/05/15 04:02:23] @ Quit: maxagaz: Dead socket | ||
| [2009/05/15 04:02:31] @ Quit: nasrat: | ||
| [2009/05/15 04:06:46] @ Quit: andrewcshafer_: | ||
| [2009/05/15 04:10:15] @ maxagaz joined channel #puppet | ||
| [2009/05/15 04:12:19] @ zeroXten joined channel #puppet | ||
| [2009/05/15 04:13:31] @ FiXion_ left channel #puppet () | ||
| [2009/05/15 04:14:51] @ francois joined channel #puppet | ||
| [2009/05/15 04:17:34] @ Quit: nigelk_: Read error: 110 (Connection timed out) | ||
| [2009/05/15 04:27:13] @ rasputnik joined channel #puppet | ||
| [2009/05/15 04:28:13] @ johan-s joined channel #puppet | ||
| [2009/05/15 04:29:13] @ verwilst joined channel #puppet | ||
| [2009/05/15 04:31:53] @ briandquinn joined channel #puppet | ||
| [2009/05/15 04:34:50] @ pleemans joined channel #puppet | ||
| [2009/05/15 04:48:52] @ monzie joined channel #puppet | ||
| [2009/05/15 04:54:53] @ alban2 joined channel #puppet | ||
| [2009/05/15 04:55:19] @ nasrat joined channel #puppet | ||
| [2009/05/15 04:59:27] @ ohadlevy left channel #puppet () | ||
| [2009/05/15 05:02:03] @ ghenry joined channel #puppet | ||
| [2009/05/15 05:08:41] <monzie> Hello all | ||
| [2009/05/15 05:08:51] <monzie> Need help with the "service" resource type | ||
| [2009/05/15 05:10:52] @ MarlondB_ joined channel #puppet | ||
| [2009/05/15 05:11:23] <monzie> http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/05/15 05:11:26] <monzie> is down! | ||
| [2009/05/15 05:11:52] <HarryCalahan> use puppetdoc on your commandline | ||
| [2009/05/15 05:12:00] @ Quit: alban2: Read error: 60 (Operation timed out) | ||
| [2009/05/15 05:15:00] @ Quit: MarlondB: Read error: 113 (No route to host) | ||
| [2009/05/15 05:16:13] @ Quit: monzie: | ||
| [2009/05/15 05:25:17] <MaGicKanGaRoo> hello | ||
| [2009/05/15 05:25:23] <MaGicKanGaRoo> im reciving Certificates were not trusted: hostname was not match with the server certificate | ||
| [2009/05/15 05:25:41] <MaGicKanGaRoo> how can i read the server certificate to see what the hostname is set to ? | ||
| [2009/05/15 05:30:16] @ Quit: MattyM: Remote closed the connection | ||
| [2009/05/15 05:31:17] <HarryCalahan> puppetca --print servername.com | ||
| [2009/05/15 05:31:50] @ alban2 joined channel #puppet | ||
| [2009/05/15 05:34:17] <MaGicKanGaRoo> thanks harry | ||
| [2009/05/15 05:36:22] @ Quit: MaGicKanGaRoo: Remote closed the connection | ||
| [2009/05/15 05:38:01] <HarryCalahan> or do an openssl s_client -connect servername:com:8140 | ||
| [2009/05/15 05:47:12] @ tazz joined channel #puppet | ||
| [2009/05/15 05:49:44] @ Quit: alban2: Read error: 54 (Connection reset by peer) | ||
| [2009/05/15 05:50:26] @ alban2 joined channel #puppet | ||
| [2009/05/15 05:51:08] @ Quit: zeroXten: Remote closed the connection | ||
| [2009/05/15 05:51:42] <tazz> is it possible to set the root password of mysql using puppet? And to create new mysql users? Or do i have to use exec for this? | ||
| [2009/05/15 05:52:18] <HarryCalahan> tazz: use exec. there is a mysql module floating around wrapping this, but various people have problems with it | ||
| [2009/05/15 05:52:33] <tazz> ah i see | ||
| [2009/05/15 05:52:57] <HarryCalahan> tazz: specificly, that it needs the mysql client binary on startup of puppetd or it will fail, which results in a hen-egg problem when you want to do the initial mysql installation | ||
| [2009/05/15 05:53:28] @ Quit: MarlondB_: | ||
| [2009/05/15 05:55:43] @ MarlondB joined channel #puppet | ||
| [2009/05/15 05:57:02] @ Babar joined channel #puppet | ||
| [2009/05/15 05:57:56] <tazz> thanks HarryCalahan | ||
| [2009/05/15 05:58:08] @ d3vilb0x joined channel #puppet | ||
| [2009/05/15 05:59:03] @ Babar left channel #puppet () | ||
| [2009/05/15 05:59:29] @ Quit: thijso: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 06:04:29] @ monzie joined channel #puppet | ||
| [2009/05/15 06:06:59] @ thijso joined channel #puppet | ||
| [2009/05/15 06:07:05] @ mgk joined channel #puppet | ||
| [2009/05/15 06:08:18] @ alban3 joined channel #puppet | ||
| [2009/05/15 06:08:35] @ zeroXten joined channel #puppet | ||
| [2009/05/15 06:09:38] <zeroXten> hmm, is it me or is the wiki annoying at times? | ||
| [2009/05/15 06:10:11] <HarryCalahan> zeroXten: slow and a lot of outages | ||
| [2009/05/15 06:10:33] @ Quit: alban3: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 06:10:37] <zeroXten> na, more of a content thing. It always takes me ages to find any particular information | ||
| [2009/05/15 06:10:59] @ Quit: monzie: | ||
| [2009/05/15 06:11:19] <zeroXten> i've got a custom user module which does some ssh key stuff, and I'm trying to work out where to put classes, virtual users etc. | ||
| [2009/05/15 06:11:44] @ alban3 joined channel #puppet | ||
| [2009/05/15 06:11:56] <zeroXten> so i thought i would check the authorized_key recipe, as an example. Its got all the lovely code etc, but doesn't actually suggest where to put it | ||
| [2009/05/15 06:12:11] <zeroXten> i think i'm just going to give up on "best practices" and just do what i think makes sense | ||
| [2009/05/15 06:12:24] <HarryCalahan> zeroXten: modules/my_cool_ssh_module | ||
| [2009/05/15 06:12:53] <zeroXten> '/usr/share/puppet/modules/sshkeyuser' is where the module lives | ||
| [2009/05/15 06:12:56] <Volcane> you can always do what makes sense and pastie it and ask us if its sensible, best practises are usually very environment specific no matter how much you try to make them generic | ||
| [2009/05/15 06:13:16] <Volcane> but the answer is to make a module | ||
| [2009/05/15 06:13:27] <Volcane> then its much simpler and more obvious where to put them | ||
| [2009/05/15 06:13:38] @ keithlar joined channel #puppet | ||
| [2009/05/15 06:14:17] <zeroXten> so, i now have a class which is generated by a modified conv_passwd... it contains virtual sshkeyusers.. where do i put that class? | ||
| [2009/05/15 06:14:45] <Volcane> users::virtual | ||
| [2009/05/15 06:14:58] <Volcane> which is the users module, ie. modules/users/manifests/virtual.pp | ||
| [2009/05/15 06:15:07] <HarryCalahan> zeroXten: /usr/share/puppet/modules/sshkeyuser/manifest/virtual.pp | ||
| [2009/05/15 06:15:13] <HarryCalahan> ;) | ||
| [2009/05/15 06:15:29] <Volcane> more about modules here: http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation | ||
| [2009/05/15 06:15:31] <HarryCalahan> *damn* i missed an s. Volcane wins. | ||
| [2009/05/15 06:16:40] @ Quit: keithlar: Client Quit | ||
| [2009/05/15 06:17:04] <zeroXten> i don't like the idea of putting generated content inside the module directory. surely that should be static | ||
| [2009/05/15 06:17:05] @ keithlar joined channel #puppet | ||
| [2009/05/15 06:17:22] <Volcane> generated content? | ||
| [2009/05/15 06:17:40] <zeroXten> yeah, conv_passwd will generate virtual.pp | ||
| [2009/05/15 06:18:21] @ keithlard_ joined channel #puppet | ||
| [2009/05/15 06:18:26] <Volcane> ah, well i dont see a problem with it really, whats conv_passwd? reads /etc/passwd and makes puppet foo? | ||
| [2009/05/15 06:18:35] <zeroXten> yeah | ||
| [2009/05/15 06:18:41] <zeroXten> its on the wiki somewhere | ||
| [2009/05/15 06:18:42] <Volcane> i think thats pretty terrible, but whatever, end result would be the same anyway | ||
| [2009/05/15 06:18:58] <zeroXten> why terrible? | ||
| [2009/05/15 06:19:01] @ Quit: keithlard_: Client Quit | ||
| [2009/05/15 06:19:26] <Volcane> just seems backward, puppet should manage /etc/passwd, /etc/passwd shouldnt manage puppet | ||
| [2009/05/15 06:19:31] @ nakano is now known as nakano_ | ||
| [2009/05/15 06:20:20] @ Quit: _nono_: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:20] @ Quit: rasputnik: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:20] @ Quit: FiXion: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:21] @ Quit: Superfly_: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:21] @ Quit: gaveen__: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:22] @ Quit: chadh: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:22] @ Quit: duritong: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:23] @ Quit: avleen_: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:23] @ Quit: zoeloelip: kornbluth.freenode.net irc.freenode.net | ||
| [2009/05/15 06:20:46] @ rasputnik joined channel #puppet | ||
| [2009/05/15 06:20:46] @ FiXion joined channel #puppet | ||
| [2009/05/15 06:20:46] @ Superfly_ joined channel #puppet | ||
| [2009/05/15 06:20:46] @ gaveen__ joined channel #puppet | ||
| [2009/05/15 06:20:46] @ _nono_ joined channel #puppet | ||
| [2009/05/15 06:20:46] @ chadh joined channel #puppet | ||
| [2009/05/15 06:20:46] @ zoeloelip joined channel #puppet | ||
| [2009/05/15 06:20:46] @ avleen_ joined channel #puppet | ||
| [2009/05/15 06:20:46] @ duritong joined channel #puppet | ||
| [2009/05/15 06:21:03] <zeroXten> i'm gonna write some scripts that user useradd usermod etc. basically, create a user on puppet machine with shell /bin/false, and expire password etc. user gets a generated password emailed to them. then they can change their password whenever and it gets sync via puppet to the hosts. Its only for sudo tho, access is through ssh keys | ||
| [2009/05/15 06:21:48] @ Quit: keithlar: Remote closed the connection | ||
| [2009/05/15 06:23:36] <Volcane> how is that different from writing a script to just make puppet manifest? | ||
| [2009/05/15 06:23:38] <HarryCalahan> zeroXten: i wouldn't manage user accounts with puppet. Use a directory service. | ||
| [2009/05/15 06:24:20] <HarryCalahan> zeroXten: and there is a patch for openssh that stores the ssh-keys inside of an ldap tree. | ||
| [2009/05/15 06:24:33] <Volcane> you must be a debian user | ||
| [2009/05/15 06:24:36] <zeroXten> i'd rather avoid ldap tbh | ||
| [2009/05/15 06:24:40] <Volcane> happy to run an already patched and f'd with ssh | ||
| [2009/05/15 06:24:59] <Volcane> it sounds like a worst case scenario for me to patch openssh with anything :P | ||
| [2009/05/15 06:25:04] <zeroXten> and i'd definitely like to avoid patching ssh | ||
| [2009/05/15 06:25:12] <HarryCalahan> Volcane: what? which distribution provides ssh-keys with ldap? | ||
| [2009/05/15 06:25:14] * zeroXten agrees with Volcane | ||
| [2009/05/15 06:25:40] <Volcane> i didnt say they provide it, i said patching ssh isnt a good idea | ||
| [2009/05/15 06:25:51] <HarryCalahan> Volcane: ah. | ||
| [2009/05/15 06:26:50] <zeroXten> also, i'd have to run two ldap servers etc. etc. i think i'd just rather push config which will happily stay on the nodes | ||
| [2009/05/15 06:27:20] <Volcane> zeroXten: but i still dont understand why its easier for you to make /etc/passwd entries using a script than create puppet manifests using a script | ||
| [2009/05/15 06:28:00] <zeroXten> because useradd, usermod etc already takes care of group management, password creation etc. | ||
| [2009/05/15 06:28:09] <Volcane> puppet too :P | ||
| [2009/05/15 06:28:15] <zeroXten> HAH! | ||
| [2009/05/15 06:28:19] <zeroXten> -group management | ||
| [2009/05/15 06:28:21] <Volcane> except for the password hash, thats what openssh is for | ||
| [2009/05/15 06:29:06] <zeroXten> also | ||
| [2009/05/15 06:29:10] <Volcane> i agree though puppets user/group foo isnt that awesome, but if you can make a user/group in /etc and then convert it to puppet manifests using conv_passwd then it suggests puppet can recreate it? | ||
| [2009/05/15 06:29:18] @ Quit: alban2: Read error: 110 (Connection timed out) | ||
| [2009/05/15 06:29:39] <zeroXten> because the system auto-expires the users password, the user can ssh to the server to reset the password | ||
| [2009/05/15 06:29:44] <zeroXten> (shell is set to /bin/false) | ||
| [2009/05/15 06:30:58] <Volcane> nods | ||
| [2009/05/15 06:31:53] <Volcane> well if it works for you go for it, but you're already so far from what everyone else does that putting the generated .pp file in the module would be the least of the oddness :P | ||
| [2009/05/15 06:32:20] <zeroXten> rofl | ||
| [2009/05/15 06:33:39] @ gaveen__ is now known as gaveen | ||
| [2009/05/15 06:35:38] @ Quit: d3vilb0x: | ||
| [2009/05/15 06:36:23] <zeroXten> i'll just make sure i document it :) | ||
| [2009/05/15 06:37:23] @ monzie joined channel #puppet | ||
| [2009/05/15 06:40:05] <fluxdude> I set a File { backup => main } filebucket in site.pp but I am finding puppet-bak being left behind on servers, any ideas why? | ||
| [2009/05/15 06:40:43] <fluxdude> perhaps by creating a define called configfile{} as a wrapper to file{} it is not picking up the filebucket... | ||
| [2009/05/15 06:41:04] <fluxdude> but shouldn't the file{} in the configfile{} pick up the File{} defaults I set in site.pp? | ||
| [2009/05/15 06:44:04] @ d3vilb0x joined channel #puppet | ||
| [2009/05/15 06:45:19] @ Quit: briandquinn: | ||
| [2009/05/15 06:48:40] @ keithlard joined channel #puppet | ||
| [2009/05/15 06:52:58] @ Quit: garin: Read error: 110 (Connection timed out) | ||
| [2009/05/15 06:58:29] @ Quit: monzie: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 06:58:47] @ monzie joined channel #puppet | ||
| [2009/05/15 07:02:58] @ MattyM joined channel #puppet | ||
| [2009/05/15 07:23:08] @ alban3 is now known as alban2 | ||
| [2009/05/15 07:23:27] @ thegcat joined channel #puppet | ||
| [2009/05/15 07:23:28] @ Quit: thegcat: Remote closed the connection | ||
| [2009/05/15 07:24:49] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 07:25:11] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:26:38] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 07:27:39] @ teyo joined channel #puppet | ||
| [2009/05/15 07:32:18] @ mikepea joined channel #puppet | ||
| [2009/05/15 07:32:29] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:33:25] <verwilst> if i want to create a new Define | ||
| [2009/05/15 07:33:29] <verwilst> where is the best place to put it? | ||
| [2009/05/15 07:33:44] <verwilst> I don't want to put it along my normal manifests | ||
| [2009/05/15 07:34:02] @ Quit: Kindred: Read error: 54 (Connection reset by peer) | ||
| [2009/05/15 07:36:11] <HarryCalahan> verwilst: most likely you want to create a module | ||
| [2009/05/15 07:37:28] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:39:02] @ Quit: Kindred: Read error: 54 (Connection reset by peer) | ||
| [2009/05/15 07:42:31] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:44:06] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 07:47:31] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:48:36] <verwilst> HarryCalahan: module hm | ||
| [2009/05/15 07:48:52] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 07:49:06] @ steven43126 joined channel #puppet | ||
| [2009/05/15 07:49:10] <steven43126> Hi | ||
| [2009/05/15 07:49:29] <steven43126> How can i recursivley copy files across to a puppet client ? | ||
| [2009/05/15 07:49:46] <HarryCalahan> steven43126: a file resource with recursive option | ||
| [2009/05/15 07:50:10] <steven43126> HarryCalahan: thanks, for some reason i was looking at the file function, but that makes more sense | ||
| [2009/05/15 07:50:24] <HarryCalahan> http://reductivelabs.com/trac/puppet/wiki/TypeReference#file | ||
| [2009/05/15 07:53:07] @ Quit: keithlard: Read error: 110 (Connection timed out) | ||
| [2009/05/15 07:54:47] @ Kindred joined channel #puppet | ||
| [2009/05/15 07:56:10] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 07:59:49] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:01:11] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:03:30] @ nakano_ is now known as nakano | ||
| [2009/05/15 08:03:57] <verwilst> is there a way to get notified if errors happen with the puppet client ? | ||
| [2009/05/15 08:04:06] <verwilst> like when a package can't be installed | ||
| [2009/05/15 08:04:06] @ Quit: Hollow: Client Quit | ||
| [2009/05/15 08:04:11] @ Hollow joined channel #puppet | ||
| [2009/05/15 08:06:05] <HarryCalahan> verwilst: tagmail | ||
| [2009/05/15 08:07:05] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:08:18] <verwilst> HarryCalahan: let me look that up | ||
| [2009/05/15 08:08:27] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:08:30] <HarryCalahan> http://reductivelabs.com/trac/puppet/wiki/ReportReference#tagmail | ||
| [2009/05/15 08:11:04] <verwilst> HarryCalahan: interesting | ||
| [2009/05/15 08:12:56] <verwilst> grr reductivelabs.com is slow :( | ||
| [2009/05/15 08:14:21] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:16:02] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:16:21] @ rsquared joined channel #puppet | ||
| [2009/05/15 08:19:21] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:20:44] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:21:56] @ Quit: mikepea: | ||
| [2009/05/15 08:25:10] @ Deesl joined channel #puppet | ||
| [2009/05/15 08:26:37] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:28:06] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:31:09] @ kambiz_away is now known as kambiz | ||
| [2009/05/15 08:31:38] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:33:00] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:34:09] @ rasputnik_ joined channel #puppet | ||
| [2009/05/15 08:35:56] @ nigelk joined channel #puppet | ||
| [2009/05/15 08:38:20] @ joe-mac joined channel #puppet | ||
| [2009/05/15 08:38:54] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:40:22] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:40:35] @ Quit: Deesl: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:40:51] @ Deesl joined channel #puppet | ||
| [2009/05/15 08:41:18] @ Quit: rasputnik: Read error: 110 (Connection timed out) | ||
| [2009/05/15 08:42:19] @ Quit: gaveen: Connection timed out | ||
| [2009/05/15 08:42:51] @ nigelk_ joined channel #puppet | ||
| [2009/05/15 08:43:22] @ elijahwright joined channel #puppet | ||
| [2009/05/15 08:43:34] @ Quit: teyo: | ||
| [2009/05/15 08:43:55] @ gaveen joined channel #puppet | ||
| [2009/05/15 08:46:10] @ Kindred joined channel #puppet | ||
| [2009/05/15 08:47:53] @ ramteid joined channel #puppet | ||
| [2009/05/15 08:48:22] <joe-mac> i think i may have finally figured out hiow to preseed ubuntu to do raid installs | ||
| [2009/05/15 08:48:33] <joe-mac> kinda OT, but since everyone here likes automation... | ||
| [2009/05/15 08:48:42] @ Quit: ramteid: Client Quit | ||
| [2009/05/15 08:48:44] @ ramteid joined channel #puppet | ||
| [2009/05/15 08:48:55] @ ramteid left channel #puppet () | ||
| [2009/05/15 08:49:10] <HarryCalahan> joe-mac: the audience is listening | ||
| [2009/05/15 08:51:15] @ Quit: mccune: Remote closed the connection | ||
| [2009/05/15 08:51:32] @ mccune joined channel #puppet | ||
| [2009/05/15 08:59:12] @ Quit: tazz: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 08:59:29] @ Quit: nigelk: Read error: 110 (Connection timed out) | ||
| [2009/05/15 08:59:33] @ tazz joined channel #puppet | ||
| [2009/05/15 09:02:16] @ teyo joined channel #puppet | ||
| [2009/05/15 09:03:52] @ kngus joined channel #puppet | ||
| [2009/05/15 09:03:55] @ kngus left channel #puppet ("Leaving.") | ||
| [2009/05/15 09:08:06] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/05/15 09:08:56] @ cwebber joined channel #puppet | ||
| [2009/05/15 09:09:50] <joe-mac> HarryCalahan: this ubuntu dev gave me a line to add for an early command in the preseed. which i've tried before with anna-install. thios one uses udpkg -i | ||
| [2009/05/15 09:09:55] <joe-mac> you have to install partman-auto-raid | ||
| [2009/05/15 09:10:12] <joe-mac> even though the docs show the partman-auto-raid functionality as being included, it's actually not rofl | ||
| [2009/05/15 09:10:31] <HarryCalahan> joe-mac: nice. | ||
| [2009/05/15 09:10:40] <joe-mac> i basically figured that part out a while ago but for the life of me couldn't figure out how to actually get it installed | ||
| [2009/05/15 09:10:51] <joe-mac> taking a whitebox out right now to try it | ||
| [2009/05/15 09:11:45] @ Quit: Cope: Read error: 110 (Connection timed out) | ||
| [2009/05/15 09:12:12] @ Bass10 joined channel #puppet | ||
| [2009/05/15 09:13:14] @ Quit: cwebber: Client Quit | ||
| [2009/05/15 09:14:42] * HarryCalahan just wondered why tab expansion is so slow. then noticed that zsh was doing remote path expansion using scp | ||
| [2009/05/15 09:17:24] <joe-mac> lol, yea bash does it too | ||
| [2009/05/15 09:17:39] <verwilst> HarryCalahan: tagmail can't differentiate between failed runs and successful runs eh? it just sends based on the tag | ||
| [2009/05/15 09:17:41] @ lutter joined channel #puppet | ||
| [2009/05/15 09:17:48] <verwilst> so i should create my own report handler i guess? | ||
| [2009/05/15 09:17:55] <joe-mac> verwilst: yea that's my beef with it | ||
| [2009/05/15 09:18:04] <HarryCalahan> verwilst: isn't a failed run tagged with something like error? | ||
| [2009/05/15 09:18:11] * joe-mac needs to write a report handler badly | ||
| [2009/05/15 09:18:23] <joe-mac> nah you tag a resource afaik and that's that | ||
| [2009/05/15 09:18:32] <joe-mac> no automatic error tagging | ||
| [2009/05/15 09:18:49] <verwilst> i don't want a mail for every run :) 1500 servers.. :P | ||
| [2009/05/15 09:18:55] <joe-mac> could be wrong though, since i haven't dealt wi th reporting yet, i;ve been procrastinating | ||
| [2009/05/15 09:18:58] <verwilst> only the failed ones | ||
| [2009/05/15 09:19:10] <verwilst> actually i want to couple it to zabbix as well so | ||
| [2009/05/15 09:19:16] <joe-mac> verwilst: i am thinking of tagging stuff in my security class and then making an error report handler | ||
| [2009/05/15 09:19:36] <joe-mac> that way i always get notified of changes that affect security | ||
| [2009/05/15 09:22:38] <flashn> I want to use some kind of peer reviewing, any smart way of handling that? | ||
| [2009/05/15 09:23:06] <joe-mac> of your manifests? | ||
| [2009/05/15 09:23:11] <joe-mac> svn post-commits | ||
| [2009/05/15 09:23:32] <joe-mac> mails out to someone higher up than you for review, who approves a push | ||
| [2009/05/15 09:23:38] <joe-mac> (if that's what you mean) | ||
| [2009/05/15 09:23:42] <flashn> yeah kindof | ||
| [2009/05/15 09:24:23] <flashn> thinking of the report chain, whos getting what | ||
| [2009/05/15 09:24:37] <flashn> and it would be sweet if the people getting the reports also could review stuf | ||
| [2009/05/15 09:26:11] @ Quit: nigelk_: | ||
| [2009/05/15 09:27:44] <joe-mac> i know you can do this with svn; but i am not dev so i couldn't really give specifics, i just have a vague idea of how the guys at my last job did it | ||
| [2009/05/15 09:28:31] @ Quit: maxagaz: "Leaving" | ||
| [2009/05/15 09:29:50] @ Quit: johan-s: | ||
| [2009/05/15 09:30:43] @ mikepea joined channel #puppet | ||
| [2009/05/15 09:31:38] @ flakrat joined channel #puppet | ||
| [2009/05/15 09:42:22] @ johan-s joined channel #puppet | ||
| [2009/05/15 09:42:52] @ Quit: mattock: "Leaving." | ||
| [2009/05/15 09:44:19] @ nigelk joined channel #puppet | ||
| [2009/05/15 09:48:03] @ fbe_ joined channel #puppet | ||
| [2009/05/15 09:48:36] @ Quit: fbe: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 09:49:20] @ madrescher joined channel #puppet | ||
| [2009/05/15 09:49:40] @ Quit: axisys: Connection timed out | ||
| [2009/05/15 09:53:30] <Dyresen> Guys here tend to like buildbot + svn. All commits trigger a build and are reported by email. If any tests (or worse, the whole build stops compiling) notification mail is sent to all parties including the name of the responsible dev. | ||
| [2009/05/15 09:55:48] @ mvn071 joined channel #puppet | ||
| [2009/05/15 09:56:05] @ Quit: nigelk: | ||
| [2009/05/15 09:59:53] @ erm_ joined channel #puppet | ||
| [2009/05/15 10:01:13] @ Quit: alhoang_: Remote closed the connection | ||
| [2009/05/15 10:01:21] @ alhoang joined channel #puppet | ||
| [2009/05/15 10:09:05] @ axisys joined channel #puppet | ||
| [2009/05/15 10:12:48] @ lak joined channel #puppet | ||
| [2009/05/15 10:19:11] @ cwebber joined channel #puppet | ||
| [2009/05/15 10:19:42] <joe-mac> ah shit yea that was so gratifying... applying security updates through ssh with ruby, all automatic | ||
| [2009/05/15 10:31:24] @ nigelk joined channel #puppet | ||
| [2009/05/15 10:31:33] @ Quit: goozbach: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 10:32:19] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/05/15 10:36:29] <nigelk> lak: did andrew chat to you about the profiling I've been doing on puppetmasters ? | ||
| [2009/05/15 10:36:47] <nigelk> http://pastie.org/478801 | ||
| [2009/05/15 10:37:15] <lak> nigelk: yeah | ||
| [2009/05/15 10:37:18] <lak> pretty crazy | ||
| [2009/05/15 10:37:24] <nigelk> I think I've found the bit in autoload.rb | ||
| [2009/05/15 10:37:39] <nigelk> just looking at how to optimize it today | ||
| [2009/05/15 10:38:04] <nigelk> I didn't actually realize puppet supported a 'lib' subdir in modules? | ||
| [2009/05/15 10:38:18] <lak> it also looks like i'm going to have to get json support into 0.25 | ||
| [2009/05/15 10:38:33] <lak> a customer's catalogs were taking 10s to dump to yaml | ||
| [2009/05/15 10:38:37] <lak> but take 0.2s with json | ||
| [2009/05/15 10:38:41] <nigelk> wow | ||
| [2009/05/15 10:38:46] <lak> and marshal doesn't work because it's not tunable | ||
| [2009/05/15 10:38:49] <nigelk> ah | ||
| [2009/05/15 10:39:00] <lak> yeah, apparently the real catalog is worse to dump than even the tree crap we're passing now? | ||
| [2009/05/15 10:39:02] <lak> who knew | ||
| [2009/05/15 10:39:06] <nigelk> heh | ||
| [2009/05/15 10:39:10] <lak> so queueing will likely require json | ||
| [2009/05/15 10:41:36] <lak> nigelk: you're sure the lstats are in autoload.rb? | ||
| [2009/05/15 10:41:47] <lak> and yeah, a while back i wanted to s/plugins/lib/ in modules | ||
| [2009/05/15 10:41:49] <nigelk> not positive yet, but this looks exactly like it | ||
| [2009/05/15 10:41:51] <lak> and i just haven't gotten around to it | ||
| [2009/05/15 10:42:27] <nigelk> http://github.com/reductivelabs/puppet/blob/9a264218419fdb0164246366de79ac65acee63cc/lib/puppet/util/autoload.rb#L140 | ||
| [2009/05/15 10:42:55] <nigelk> Dir.glob isn't that efficient from what I can see, and it's doing this a number of times, poking at whether a class instance variable improves things | ||
| [2009/05/15 10:45:26] <lak> you could try, in your testing, just a single global permanent cache of that data and see how much difference it makes | ||
| [2009/05/15 10:45:35] <lak> then we'll know whether it's worth building a better caching system into it | ||
| [2009/05/15 10:48:53] @ fbe_ is now known as fbe | ||
| [2009/05/15 10:50:47] <nigelk> hmm. | ||
| [2009/05/15 10:50:56] <nigelk> i guess I could use the existing caching indirector? | ||
| [2009/05/15 10:51:54] @ Quit: mvn071: "Leaving" | ||
| [2009/05/15 10:53:04] @ Quit: Disconnect: Read error: 110 (Connection timed out) | ||
| [2009/05/15 10:54:30] @ edwardam is now known as edwardam|gym | ||
| [2009/05/15 10:55:20] @ Disconnect joined channel #puppet | ||
| [2009/05/15 11:01:00] <nigelk> holy crap. | ||
| [2009/05/15 11:01:15] <nigelk> simply changing the default modulepath to a directory without any modules in it when you have environments.... | ||
| [2009/05/15 11:01:22] <nigelk> increases performance significantly | ||
| [2009/05/15 11:02:32] @ Quit: Ju`: No route to host | ||
| [2009/05/15 11:14:03] @ Quit: ribo: "TEE ZEE" | ||
| [2009/05/15 11:14:37] @ francois left channel #puppet () | ||
| [2009/05/15 11:16:20] <Volcane> and breaks your pluginsync :( | ||
| [2009/05/15 11:17:49] @ claymation joined channel #puppet | ||
| [2009/05/15 11:19:45] @ Quit: HarryCalahan: "." | ||
| [2009/05/15 11:22:41] @ Quit: johan-s: "Leaving..." | ||
| [2009/05/15 11:23:35] <nigelk> Volcane: why? | ||
| [2009/05/15 11:23:52] <Volcane> pluginsync doesnt support environments (i am sure you mailed to the list about this the other day?) | ||
| [2009/05/15 11:24:02] <nigelk> oh, so I have a workaround | ||
| [2009/05/15 11:24:02] <Volcane> and if you nuke the default moduledir, you have no plugins | ||
| [2009/05/15 11:24:06] <Volcane> you do? | ||
| [2009/05/15 11:24:08] <Volcane> do tell | ||
| [2009/05/15 11:24:10] <nigelk> I have a module called "plugins" in the environment modules | ||
| [2009/05/15 11:24:18] <nigelk> and the plugins live in the files subdir | ||
| [2009/05/15 11:24:27] <nigelk> as the client simply requests puppet:///plugins/ | ||
| [2009/05/15 11:24:31] <Volcane> heh | ||
| [2009/05/15 11:24:33] <nigelk> :) | ||
| [2009/05/15 11:24:36] <Volcane> hacky :P | ||
| [2009/05/15 11:24:39] <nigelk> I think I put that on the wiki | ||
| [2009/05/15 11:24:42] <nigelk> we do it for facts too | ||
| [2009/05/15 11:24:46] <Volcane> yeah thats kewl | ||
| [2009/05/15 11:28:25] @ goozbach joined channel #puppet | ||
| [2009/05/15 11:30:07] @ Quit: alban2: Read error: 110 (Connection timed out) | ||
| [2009/05/15 11:31:30] @ alfism joined channel #puppet | ||
| [2009/05/15 11:31:52] @ Quit: zeroXten: Remote closed the connection | ||
| [2009/05/15 11:31:52] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/05/15 11:32:11] @ Quit: MarlondB: | ||
| [2009/05/15 11:32:49] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/05/15 11:33:12] <lak> nigelk: can you provide more detail on the change and what kind of performance benefit you had? | ||
| [2009/05/15 11:33:42] <lak> nigelk: doesn't pointing the modulepath to an empty location mean you can't get to your modules any more? | ||
| [2009/05/15 11:33:47] <nigelk> not yet :) | ||
| [2009/05/15 11:33:53] <nigelk> well we use environments remember | ||
| [2009/05/15 11:34:01] <nigelk> so they're getting modules from that modulepath, not the default | ||
| [2009/05/15 11:34:19] <nigelk> and it's the default that is continually statted | ||
| [2009/05/15 11:34:20] <lak> but the default is still used somewhere, you mean? | ||
| [2009/05/15 11:34:25] <nigelk> yes | ||
| [2009/05/15 11:34:40] <nigelk> self.class.puppet_modulelibdirs = Puppet[:modulepath].split(":").collect do |d| | ||
| [2009/05/15 11:34:59] <nigelk> unless Puppet[:modulepath] is supposed to be replaced with the environment one at that point | ||
| [2009/05/15 11:35:13] <nigelk> I'm trying a few things with noatime and relatime at the moment | ||
| [2009/05/15 11:35:17] @ madrescher joined channel #puppet | ||
| [2009/05/15 11:35:21] <nigelk> as it seems like stats should be faster if there's no atime | ||
| [2009/05/15 11:36:05] <lak> nigelk: have you tried just using a simple class-level cache for the search path? | ||
| [2009/05/15 11:36:20] <nigelk> like a class instance variable to hold it/ | ||
| [2009/05/15 11:36:21] <nigelk> ? | ||
| [2009/05/15 11:36:27] <lak> yeah | ||
| [2009/05/15 11:36:32] <nigelk> that's next | ||
| [2009/05/15 11:37:10] <nigelk> I think I'm hitting a point with puppet-test where it's not enough of a real world test | ||
| [2009/05/15 11:37:15] <nigelk> due to the same node being reused essentially | ||
| [2009/05/15 11:37:24] <lak> pastie: url me | ||
| [2009/05/15 11:37:28] <nigelk> so gathering a cluster of clients atm | ||
| [2009/05/15 11:37:34] <pastie> http://pastie.org/479197 by lak. | ||
| [2009/05/15 11:38:07] @ Ju joined channel #puppet | ||
| [2009/05/15 11:38:09] <lak> nigelk: if you can pull the client facts, you can use puppet-test to compile any client's config | ||
| [2009/05/15 11:38:13] <nigelk> ta | ||
| [2009/05/15 11:38:20] <lak> it currently requires a bit of monkey-patching on the server, tho | ||
| [2009/05/15 11:38:27] <nigelk> ah yeah, I can see how that would owrk | ||
| [2009/05/15 11:38:46] <lak> puppet-test in the 0.24.x branch supports a --node option | ||
| [2009/05/15 11:38:55] <lak> which finds that node's facts and passes them up | ||
| [2009/05/15 11:39:06] <lak> but the master needs to be slightly modified for this to work correctly | ||
| [2009/05/15 11:41:51] @ Quit: goozbach: "WeeChat 0.2.7-dev" | ||
| [2009/05/15 11:42:09] <nigelk> looks like switching to noatime gives me about a 21% performance boost | ||
| [2009/05/15 11:42:17] @ goozbach joined channel #puppet | ||
| [2009/05/15 11:42:25] <nigelk> about to try the patch | ||
| [2009/05/15 11:42:51] <lak> nigelk: hmm, looks like the autoloader should actually cache when files are missing | ||
| [2009/05/15 11:43:11] <lak> e.g., load() should store when a file is missing and thus quickly return false, rather than searching through each time a type is asked for | ||
| [2009/05/15 11:43:26] <nigelk> hmm | ||
| [2009/05/15 11:49:06] <nigelk> I noticed that it was also statting for "foo.rb" where "foo" is a puppet-syntax definition | ||
| [2009/05/15 11:49:20] <nigelk> which I guess is reasonable enough | ||
| [2009/05/15 11:51:38] @ Quit: rasputnik_: "Leaving" | ||
| [2009/05/15 11:52:39] <lak> pastie: url me | ||
| [2009/05/15 11:53:07] <pastie> http://pastie.org/479218 by lak. | ||
| [2009/05/15 11:53:14] <lak> nigelk: try that | ||
| [2009/05/15 11:53:22] <lak> i just saw a 30% speedup in simple testing | ||
| [2009/05/15 11:53:27] <lak> on second compiles for a given host | ||
| [2009/05/15 11:53:39] <lak> (this is for a catalog that takes 7s on first run and 1.5s on second) | ||
| [2009/05/15 11:54:27] <nigelk> woot! | ||
| [2009/05/15 11:54:54] <nigelk> so this *and* the other patch were in effect? | ||
| [2009/05/15 11:55:04] <lak> no | ||
| [2009/05/15 11:55:05] <lak> just this | ||
| [2009/05/15 11:55:27] @ Quit: Innocenti: Client Quit | ||
| [2009/05/15 11:55:29] <nigelk> k | ||
| [2009/05/15 11:55:36] <lak> should do something like the first patch does, but caches information earlier in the process | ||
| [2009/05/15 11:56:43] <nigelk> ok | ||
| [2009/05/15 11:57:03] <lak> and if that makes a big difference, there are other areas we can look at caching some of this data | ||
| [2009/05/15 11:57:15] <lak> i think this is all driven by the Puppet::Parser::Resource::Reference class | ||
| [2009/05/15 11:57:23] <lak> trying to figure out if a given resource type is builtin or defined | ||
| [2009/05/15 11:57:39] <lak> if it's builtin, success is fast | ||
| [2009/05/15 11:57:53] <lak> but if it's not builtin, then failure is slow -- search the whole module path on every request | ||
| [2009/05/15 11:58:15] @ andrewcshafer joined channel #puppet | ||
| [2009/05/15 11:58:26] <lak> which basically means -- and this sounds pretty bad -- for every resource of a defined type in your catalogs, puppet searches at least once through your entire module path for that type | ||
| [2009/05/15 11:58:31] <lak> again, for every resource, not for each type | ||
| [2009/05/15 11:58:43] <lak> 'course, didn't realize that before now... | ||
| [2009/05/15 11:59:23] <lak> ok, got a phone call, we can pick it up after my lunchtime if you want | ||
| [2009/05/15 12:01:03] <nigelk> cheers | ||
| [2009/05/15 12:01:08] <nigelk> thanks for preparing the patches | ||
| [2009/05/15 12:05:38] @ kambiz is now known as kambiz_away | ||
| [2009/05/15 12:05:42] @ edwardam joined channel #puppet | ||
| [2009/05/15 12:07:55] @ jmarki joined channel #puppet | ||
| [2009/05/15 12:17:57] @ Quit: edwardam|gym: Read error: 110 (Connection timed out) | ||
| [2009/05/15 12:22:34] @ Quit: andrewcshafer: Read error: 113 (No route to host) | ||
| [2009/05/15 12:29:40] @ xyz joined channel #puppet | ||
| [2009/05/15 12:30:30] @ Quit: claymation: | ||
| [2009/05/15 12:32:33] @ gebi_ is now known as gebi | ||
| [2009/05/15 12:33:00] @ Quit: teyo: | ||
| [2009/05/15 12:34:07] @ andrewcshafer joined channel #puppet | ||
| [2009/05/15 12:34:33] @ plathrop-away is now known as plathrop | ||
| [2009/05/15 12:35:26] @ claymation joined channel #puppet | ||
| [2009/05/15 12:38:17] @ nakano is now known as nakano_ | ||
| [2009/05/15 12:39:26] @ ezmob joined channel #puppet | ||
| [2009/05/15 12:39:46] @ teyo joined channel #puppet | ||
| [2009/05/15 12:40:15] @ nakano_ is now known as nakano | ||
| [2009/05/15 12:48:21] @ nakano is now known as nakano_ | ||
| [2009/05/15 12:54:29] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/15 12:59:59] @ Quit: MattyM: "ta ta" | ||
| [2009/05/15 13:02:02] @ justindossey joined channel #puppet | ||
| [2009/05/15 13:11:25] @ mikepea_ joined channel #puppet | ||
| [2009/05/15 13:14:03] @ kambiz_away is now known as kambiz | ||
| [2009/05/15 13:15:52] @ ezmob is now known as ezmob|away | ||
| [2009/05/15 13:18:06] @ Quit: mikepea_: Read error: 60 (Operation timed out) | ||
| [2009/05/15 13:24:58] @ mfoster joined channel #puppet | ||
| [2009/05/15 13:25:44] @ nasrat_ joined channel #puppet | ||
| [2009/05/15 13:27:31] @ nasrat__ joined channel #puppet | ||
| [2009/05/15 13:27:32] @ Quit: nasrat_: Remote closed the connection | ||
| [2009/05/15 13:27:33] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/05/15 13:29:06] <nasrat__> jamesturnbull: You think we can get 1.5.5rc2 out this we | ||
| [2009/05/15 13:31:30] @ Quit: xyz: "ChatZilla 0.9.84 [Firefox 3.0.10/2009042810]" | ||
| [2009/05/15 13:32:23] @ Quit: nasrat__: Client Quit | ||
| [2009/05/15 13:37:41] <nigelk> lak: not seeing that performance boost with that patch btw | ||
| [2009/05/15 13:37:50] <lak> crap :/ | ||
| [2009/05/15 13:37:58] <lak> any improvement? | ||
| [2009/05/15 13:38:22] <nigelk> slight? but not as much as noatime | ||
| [2009/05/15 13:38:30] <lak> what about the caching of the actual search path | ||
| [2009/05/15 13:38:31] <lak> ? | ||
| [2009/05/15 13:38:53] <nigelk> firing off a test cluster of that now | ||
| [2009/05/15 13:42:09] <nigelk> this should really only improve the actual catalog retrieval right? | ||
| [2009/05/15 13:42:23] <lak> the catalog compile, if that's what you mean | ||
| [2009/05/15 13:42:26] <nigelk> y | ||
| [2009/05/15 13:42:32] <lak> what are you looking to improve? | ||
| [2009/05/15 13:42:37] @ johan-s joined channel #puppet | ||
| [2009/05/15 13:42:43] <nigelk> stopping my puppet servers being cpu bound :) | ||
| [2009/05/15 13:42:47] <lak> hah | ||
| [2009/05/15 13:42:56] <lak> but according to that graph, aren't they bound on lstat? | ||
| [2009/05/15 13:43:12] <nigelk> well lstat is what's sucking most of the cpu time | ||
| [2009/05/15 13:43:16] <lak> 'course, we don't know where that lstat is coming from exactly, unless you're tracking it with dtrace | ||
| [2009/05/15 13:43:20] <nigelk> we do know | ||
| [2009/05/15 13:43:26] <nigelk> pastie: url me | ||
| [2009/05/15 13:43:28] <lak> it's autoload.rb? | ||
| [2009/05/15 13:43:31] <lak> that plugins line? | ||
| [2009/05/15 13:44:02] <pastie> http://pastie.org/479343 by nigelk. | ||
| [2009/05/15 13:44:37] <nigelk> so that's the common form of all the lstatss, plugins and lib subdirs of the puppet libpath and the default modulepath | ||
| [2009/05/15 13:45:13] <lak> right | ||
| [2009/05/15 13:45:21] <lak> and that searchpath method is called by eachdir | ||
| [2009/05/15 13:45:31] <nigelk> yep | ||
| [2009/05/15 13:45:37] <lak> and the second patch i sent theoretically elimitated the need to call eachdir | ||
| [2009/05/15 13:45:40] <lak> but i guess not | ||
| [2009/05/15 13:45:44] <lak> (at least, call it very often) | ||
| [2009/05/15 13:46:18] <lak> any way to get a stack trace from one of those lstats? | ||
| [2009/05/15 13:46:58] <nigelk> gimme a bit, I'll sort one out | ||
| [2009/05/15 13:47:02] <lak> or just eachdir (since that's what's calling eachdir) | ||
| [2009/05/15 13:47:04] <nigelk> y | ||
| [2009/05/15 13:50:07] <lak> errr | ||
| [2009/05/15 13:50:12] <lak> eachdir is calling searchpath | ||
| [2009/05/15 13:52:55] @ Quit: Deesl: | ||
| [2009/05/15 14:02:32] @ grey- joined channel #puppet | ||
| [2009/05/15 14:08:32] @ Quit: teyo: | ||
| [2009/05/15 14:08:53] <lak> http://assets.en.oreilly.com/1/event/29/velocity2009_email_u051309.htm | ||
| [2009/05/15 14:08:58] <lak> 30% off of velocity | ||
| [2009/05/15 14:09:22] @ Quit: lak: | ||
| [2009/05/15 14:16:26] @ ezmob|away is now known as ezmob | ||
| [2009/05/15 14:23:34] @ Quit: johan-s: "Leaving..." | ||
| [2009/05/15 14:35:32] @ bla-bl joined channel #puppet | ||
| [2009/05/15 14:36:30] <bla-bl> Is there some info about puppet vs hyperic? | ||
| [2009/05/15 14:41:02] @ teyo joined channel #puppet | ||
| [2009/05/15 14:47:36] @ hexasoft joined channel #puppet | ||
| [2009/05/15 14:47:41] <hexasoft> hello | ||
| [2009/05/15 14:51:26] @ ezmob is now known as ezmob|away | ||
| [2009/05/15 14:56:11] <hexasoft> I think I saw it in the past but can't find it again: is there some tools to check the syntax of a manifest? (appart running it of course) | ||
| [2009/05/15 14:57:37] <hexasoft> it is to make some automated basic checks after SVN updates | ||
| [2009/05/15 14:59:19] @ Deesl joined channel #puppet | ||
| [2009/05/15 14:59:32] @ Quit: Deesl: Remote closed the connection | ||
| [2009/05/15 14:59:57] <bla-bl> i think you can try puppetd --test on client to see any syntax error on client | ||
| [2009/05/15 14:59:58] <justindossey> hexasoft: you can run puppetd --disable, then puppetd --test, then puppetd --enable | ||
| [2009/05/15 15:00:33] <bla-bl> On server you can try puppetmasterd --verbose. | ||
| [2009/05/15 15:01:02] <joe-mac> hexasoft: puppetd --parseonly | ||
| [2009/05/15 15:01:07] <joe-mac> i mean | ||
| [2009/05/15 15:01:14] <joe-mac> puppet --parseonly whatever.pp | ||
| [2009/05/15 15:01:18] <joe-mac> i use it in my pre-commit | ||
| [2009/05/15 15:03:28] <justindossey> that reminds me-- the advanced recipe tutorial with sudoers should validate the syntax of the sudoers file prior to installing it on the system | ||
| [2009/05/15 15:04:21] <justindossey> e.g. visudo -c -f /etc/sudoers.tmp && mv /etc/sudoers.tmp /etc/sudoers | ||
| [2009/05/15 15:04:31] <joe-mac> yea | ||
| [2009/05/15 15:04:42] <joe-mac> syntax checking is a good thing, i should add that one to my pre-commit | ||
| [2009/05/15 15:04:51] <hexasoft> joe-mac: seems great, I will try this. | ||
| [2009/05/15 15:05:12] <hexasoft> thks. | ||
| [2009/05/15 15:06:11] @ Quit: mfoster: "Leaving." | ||
| [2009/05/15 15:06:12] <joe-mac> hexasoft: here's my precommit if you'er uinterested, checks erb rb and sh syntax too cause i have scripts and templates in the puppet tree | ||
| [2009/05/15 15:06:18] <hexasoft> my server auto-updates its SVN, so I want to be able to prevent propagating bad things :) | ||
| [2009/05/15 15:06:23] <joe-mac> it would be pretty BA if I could work the nagios config checking into it | ||
| [2009/05/15 15:06:26] <joe-mac> http://www.pastie.org/479416 | ||
| [2009/05/15 15:06:27] @ alban2 joined channel #puppet | ||
| [2009/05/15 15:06:47] <justindossey> joe-mac: are you using the naginator fu? | ||
| [2009/05/15 15:06:57] <hexasoft> joe-mac: nice | ||
| [2009/05/15 15:07:08] <joe-mac> YMMV, i haven't commited an erb template in a while so i think idk if that functionality is 100% ok, looks like it should work though | ||
| [2009/05/15 15:07:18] <joe-mac> justindossey: no, i serve out /usr/local/nagios/etc from puppet | ||
| [2009/05/15 15:07:36] <hexasoft> joe-mac: but in our case SVN can be modified by sysadmins, on their own machines. without local puppet | ||
| [2009/05/15 15:08:14] <hexasoft> so I will move the check onto the server, before it use the commited stuff. | ||
| [2009/05/15 15:08:18] <joe-mac> i don't follow? | ||
| [2009/05/15 15:08:31] <joe-mac> a pre-commit hook is on the server... | ||
| [2009/05/15 15:08:39] <joe-mac> will deny the commit if it exits witha non-zero | ||
| [2009/05/15 15:09:15] @ Quit: teyo: | ||
| [2009/05/15 15:09:17] <hexasoft> oh! you mean on the svn server? | ||
| [2009/05/15 15:10:34] <joe-mac> yea, take a look in your repo in the hooks directory | ||
| [2009/05/15 15:10:40] <hexasoft> the svn server is not "in our hands" :) | ||
| [2009/05/15 15:11:07] <joe-mac> OH | ||
| [2009/05/15 15:11:27] <joe-mac> might want to ask thje group managing it to add a hook to your repo... | ||
| [2009/05/15 15:11:31] @ Quit: bla-bl: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/05/15 15:12:08] <hexasoft> joe-mac: that might be a good idea, yes. I will discuss that next week. | ||
| [2009/05/15 15:12:29] <hexasoft> joe-mac: I keep your script by my side if it is not a problem | ||
| [2009/05/15 15:12:40] @ Quit: jmarki: Remote closed the connection | ||
| [2009/05/15 15:12:55] <joe-mac> i don't care man i just paste things in hope it helps someone else too lol | ||
| [2009/05/15 15:13:34] <hexasoft> better to ask before ;) | ||
| [2009/05/15 15:15:22] <joe-mac> yea true | ||
| [2009/05/15 15:16:15] <hexasoft> next step for me: prepare server for scale-up | ||
| [2009/05/15 15:16:39] <hexasoft> new nodes will come soon as configurations are mostly stable... | ||
| [2009/05/15 15:16:54] <joe-mac> lots of docs ont he wiki for that | ||
| [2009/05/15 15:17:25] <hexasoft> yeah. I will have to look for it (at this time I just check it "from far") | ||
| [2009/05/15 15:17:41] <joe-mac> yea | ||
| [2009/05/15 15:17:58] <hexasoft> first step will be to support about 50 machines | ||
| [2009/05/15 15:18:29] <hexasoft> the target at the end of the year is > 1000. | ||
| [2009/05/15 15:19:26] @ edwardam is now known as edwardam|phn | ||
| [2009/05/15 15:21:40] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/05/15 15:23:32] <joe-mac> that's a helluva goal | ||
| [2009/05/15 15:25:39] @ lak joined channel #puppet | ||
| [2009/05/15 15:27:03] <nigelk> lak: hilarity ensues | ||
| [2009/05/15 15:27:05] @ briandquinn joined channel #puppet | ||
| [2009/05/15 15:27:10] <lak> oh? | ||
| [2009/05/15 15:27:22] <nigelk> so it turns out ruby sucks as a daemon if compiled with pthreads | ||
| [2009/05/15 15:27:41] <nigelk> you end up seeing a crapload of rt_sigprocmask | ||
| [2009/05/15 15:27:46] <nigelk> ruby EE doesn't use pthreads | ||
| [2009/05/15 15:27:55] <nigelk> and the only reason most distros do.... is so that RubyTK bindings work | ||
| [2009/05/15 15:27:59] * nigelk facepalms | ||
| [2009/05/15 15:28:15] <nigelk> the patches you did resolve most spurious stats | ||
| [2009/05/15 15:28:32] <nigelk> but then the sigprocmask effect came in on dapper | ||
| [2009/05/15 15:28:47] <lak> nice | ||
| [2009/05/15 15:28:48] <nigelk> switching to ruby ee sees about 30% improvement with the patch | ||
| [2009/05/15 15:28:53] <lak> ah | ||
| [2009/05/15 15:28:55] <lak> weird | ||
| [2009/05/15 15:28:58] <nigelk> yeah | ||
| [2009/05/15 15:29:10] <lak> so getting rid of the stats on their own didn't help, you also had to remove pthreads? | ||
| [2009/05/15 15:29:14] <nigelk> yes | ||
| [2009/05/15 15:29:23] <lak> did you confirm that the stats are actually gone? | ||
| [2009/05/15 15:29:26] <nigelk> slight boost with 1.8.4 ruby on dapper with the patch | ||
| [2009/05/15 15:29:27] <nigelk> yes | ||
| [2009/05/15 15:29:33] <lak> weird | ||
| [2009/05/15 15:29:39] <nigelk> not gone completely as you'd expect, but reduced immensely | ||
| [2009/05/15 15:29:45] <nigelk> so I was going to ask about the external/event-loop stuff | ||
| [2009/05/15 15:29:58] <nigelk> I notice the guy who did it has released some newer versions since | ||
| [2009/05/15 15:30:12] <nigelk> i believe he referenced you in the changelog, so it sounds like you know each other | ||
| [2009/05/15 15:30:28] * nigelk looks... Daniel Brockman | ||
| [2009/05/15 15:30:50] <nigelk> was just going to poke you to see if you'd looked at the newer versions | ||
| [2009/05/15 15:32:25] @ teyo joined channel #puppet | ||
| [2009/05/15 15:33:42] <nigelk> pastie: url me | ||
| [2009/05/15 15:33:50] <pastie> http://pastie.org/479446 by nigelk. | ||
| [2009/05/15 15:33:58] <nigelk> http://pastie.org/479446 | ||
| [2009/05/15 15:34:01] <nigelk> woops | ||
| [2009/05/15 15:34:04] <nigelk> that's much better looking.... | ||
| [2009/05/15 15:35:46] <lak> i haven't looked at them | ||
| [2009/05/15 15:35:52] <lak> but we probably should | ||
| [2009/05/15 15:36:14] @ ezmob|away is now known as ezmob | ||
| [2009/05/15 15:36:15] <lak> that looks a lot better | ||
| [2009/05/15 15:36:15] <nigelk> so that profile looks much more sane to me. read/writing with some statting seems like what I expect Puppet as a daemon to be mainly doing | ||
| [2009/05/15 15:36:21] <lak> yep | ||
| [2009/05/15 15:36:28] @ briandquinn left channel #puppet () | ||
| [2009/05/15 15:36:30] <lak> and does that make it less cpu bound? | ||
| [2009/05/15 15:36:33] <nigelk> thanks for the help lak | ||
| [2009/05/15 15:36:37] <lak> this is all against 0.24, right? | ||
| [2009/05/15 15:36:40] <nigelk> well I can still max it out :) | ||
| [2009/05/15 15:36:54] <nigelk> but things are much faster | ||
| [2009/05/15 15:36:57] <lak> cool | ||
| [2009/05/15 15:37:07] <nigelk> now to work out how the hell to package ruby ee for dapper.... | ||
| [2009/05/15 15:37:25] <lak> and that could explain how fileserving and catalog compiling kill each other - if they both hit the filesystem hard... | ||
| [2009/05/15 15:37:36] <nigelk> yes indeed | ||
| [2009/05/15 15:38:32] <agaffney> does anyone handle package updates on centos with puppet? | ||
| [2009/05/15 15:41:30] <justindossey> agaffney: I do, but it's so simple that I may not be very helpful | ||
| [2009/05/15 15:43:55] <agaffney> justindossey: anything helps | ||
| [2009/05/15 15:44:08] <agaffney> of course, I just found out that doing a blind 'yum -y update' on centos is virtually harmless | ||
| [2009/05/15 15:44:11] <agaffney> so I may just cron it | ||
| [2009/05/15 15:44:35] <justindossey> agaffney: ah, I do it per package rather than global | ||
| [2009/05/15 15:44:46] <agaffney> yeah, but how many boxes? | ||
| [2009/05/15 15:44:46] <nigelk> so lak it's looking like this has a large effect on memory usage too | ||
| [2009/05/15 15:45:41] <justindossey> agaffney: I only have two centos boxes managed by puppet, but they're both so critical that I would babysit a global update | ||
| [2009/05/15 15:47:03] @ mfoster joined channel #puppet | ||
| [2009/05/15 15:48:10] <lak> nigelk: positive affect? | ||
| [2009/05/15 15:48:42] <lak> and are you sure that's not just rubyee? | ||
| [2009/05/15 15:49:50] <justindossey> agaffney: same reason I don't run emerge -U world on my production boxes | ||
| [2009/05/15 15:50:17] <agaffney> justindossey: that's far different...centos only does updates for bugs/security issues and doesn't break API | ||
| [2009/05/15 15:50:36] <justindossey> heh, yes yum is a lot safer to update | ||
| [2009/05/15 15:50:39] <agaffney> which is the only reason I'm even considering it | ||
| [2009/05/15 15:50:44] <agaffney> it has nothing to do with yum | ||
| [2009/05/15 15:50:47] <agaffney> it's the centos/rhel repos | ||
| [2009/05/15 15:50:57] <justindossey> agaffney: centos I mean | ||
| [2009/05/15 15:50:59] <agaffney> completely different game from gentoo | ||
| [2009/05/15 15:53:08] @ mfoster left channel #puppet () | ||
| [2009/05/15 15:53:54] <justindossey> agaffney: do you maintain any gentoo servers with puppet? I've been thinking about make.conf | ||
| [2009/05/15 15:54:12] <agaffney> justindossey: no | ||
| [2009/05/15 15:54:17] <agaffney> I don't use gentoo at work | ||
| [2009/05/15 15:54:24] <agaffney> I did at my last job, but that was only 2 or 3 servers | ||
| [2009/05/15 15:54:32] <agaffney> I've got 30-40 here | ||
| [2009/05/15 15:57:37] <nigelk> lak: running backwards through other pemutations now | ||
| [2009/05/15 15:57:39] <nigelk> testing sucks | ||
| [2009/05/15 16:03:06] @ edwardam|phn is now known as edwardam | ||
| [2009/05/15 16:10:26] @ Quit: lutter: Read error: 110 (Connection timed out) | ||
| [2009/05/15 16:19:58] @ Quit: erm_: "leaving" | ||
| [2009/05/15 16:21:25] @ Quit: ezmob: "Bye!" | ||
| [2009/05/15 16:23:16] <nigelk> lak: the stat related patches make significantly more difference to a virtualized server than a bare metal one | ||
| [2009/05/15 16:24:02] <lak> that makes sense | ||
| [2009/05/15 16:26:01] <nigelk> yep | ||
| [2009/05/15 16:30:12] @ philip_ joined channel #puppet | ||
| [2009/05/15 16:35:41] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/15 16:37:43] @ Quit: philip_: "Changing server" | ||
| [2009/05/15 16:38:08] @ philip_ joined channel #puppet | ||
| [2009/05/15 16:48:45] @ Quit: gaveen: Operation timed out | ||
| [2009/05/15 17:05:07] <fsweetser> okay, I've got a strange one | ||
| [2009/05/15 17:05:14] @ edwardam joined channel #puppet | ||
| [2009/05/15 17:05:20] @ ezmob joined channel #puppet | ||
| [2009/05/15 17:05:22] <fsweetser> any one have any idea why puppet would be flip-flopping a file? | ||
| [2009/05/15 17:05:35] <fsweetser> ie, pushing out one set of contents, then another, within a single run, on a single file | ||
| [2009/05/15 17:05:58] <fsweetser> http://pastebin.ca/1424085 | ||
| [2009/05/15 17:08:35] <lak> fsweetser: that's probably not actually changing the content, just logging strangely | ||
| [2009/05/15 17:08:41] @ Quit: MrHeavy: "Ex-Chat" | ||
| [2009/05/15 17:09:36] <grim_radical> nigelk: if you recompile the stock ruby without pthreads, you get a 30% boost | ||
| [2009/05/15 17:09:38] <fsweetser> I keep getting it periodically, when (as far as I can tell) nothing else is changin the file | ||
| [2009/05/15 17:09:48] <fsweetser> and it also keeps triggering a service refresh, too | ||
| [2009/05/15 17:09:51] <grim_radical> I actually didn't see much perf improvement from going to ruby ee from a non-pthreads ruby | ||
| [2009/05/15 17:09:58] <grim_radical> I think the pthreads thing is the big win | ||
| [2009/05/15 17:09:59] <nigelk> yeah that makes sense | ||
| [2009/05/15 17:10:13] <grim_radical> that said, I don't doubt that ruby-ee would also help | ||
| [2009/05/15 17:10:15] <nigelk> It's just as easy for me to package ruby ee as it is to fork ruby | ||
| [2009/05/15 17:10:18] <grim_radical> (prob with memory usage) | ||
| [2009/05/15 17:10:18] <grim_radical> yup | ||
| [2009/05/15 17:10:26] @ plathrop is now known as plathrop-away | ||
| [2009/05/15 17:10:32] <nigelk> the copy on write stuff does seem to help with gazillions of modules/environments | ||
| [2009/05/15 17:10:43] <grim_radical> ah, nice | ||
| [2009/05/15 17:17:49] <justindossey> grim_radical: that pthreads thing is huge | ||
| [2009/05/15 17:20:30] @ Quit: philip_: "Lost terminal" | ||
| [2009/05/15 17:21:41] * justindossey verifies he has pthreads disabled on all his rubys | ||
| [2009/05/15 17:23:17] @ johan-s joined channel #puppet | ||
| [2009/05/15 17:25:35] @ Quit: teyo: | ||
| [2009/05/15 17:26:46] @ teyo joined channel #puppet | ||
| [2009/05/15 17:29:26] <fsweetser> strange... | ||
| [2009/05/15 17:29:58] <fsweetser> looking more, the log messages say checksum changes from A to B, but the contents changed from B to A | ||
| [2009/05/15 17:33:56] @ plathrop-away is now known as plathrop | ||
| [2009/05/15 17:35:47] <fsweetser> shouldn't the checksum value equal the contents checksum? | ||
| [2009/05/15 17:35:54] <lak> yes | ||
| [2009/05/15 17:36:01] <lak> so you've got some weird stuff going on internally there | ||
| [2009/05/15 17:36:16] <fsweetser> that's what I was afraid of | ||
| [2009/05/15 17:36:24] <fsweetser> I'm currently seeing it on two systems, both centos | ||
| [2009/05/15 17:37:41] <fsweetser> puppet 0.24.8 | ||
| [2009/05/15 17:37:57] @ Quit: avleen_: "brb" | ||
| [2009/05/15 17:38:48] <fsweetser> got to run, I'll email the lists if I find anything more before monday | ||
| [2009/05/15 17:42:17] @ mccune left channel #puppet () | ||
| [2009/05/15 17:50:22] @ ke4qqq joined channel #puppet | ||
| [2009/05/15 17:51:04] <ke4qqq> can someone tell me if this if/elsif/else syntax is correct? http://fpaste.org/paste/12056 | ||
| [2009/05/15 17:55:29] <hexasoft> time to go to sleep | ||
| [2009/05/15 17:55:30] @ hexasoft left channel #puppet () | ||
| [2009/05/15 17:56:05] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/15 17:57:25] <justindossey> he4qqq: I've never seen anyone use template syntax (the <%= %> stuff) in a manifest | ||
| [2009/05/15 17:57:41] @ edwardam joined channel #puppet | ||
| [2009/05/15 17:57:59] <Volcane> yeah thats totally wrong | ||
| [2009/05/15 17:58:06] <Volcane> you cant just put template stuff in a manifest | ||
| [2009/05/15 17:58:26] <Volcane> look in wiki:LanguageTutorial for how if/else works | ||
| [2009/05/15 17:58:29] <gepetto> Volcane: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2009/05/15 17:58:29] <ke4qqq> justindossey: so how does one do if/else stuff - or do you just not do it? | ||
| [2009/05/15 17:58:45] <ke4qqq> Volcane: ok | ||
| [2009/05/15 17:59:03] @ philip_ joined channel #puppet | ||
| [2009/05/15 18:06:51] @ keithlard joined channel #puppet | ||
| [2009/05/15 18:10:06] @ Quit: axisys: "leaving" | ||
| [2009/05/15 18:16:12] @ Quit: keithlard: "Leaving..." | ||
| [2009/05/15 18:20:07] @ keithlar joined channel #puppet | ||
| [2009/05/15 18:22:47] @ plathrop is now known as plathrop-away | ||
| [2009/05/15 18:23:20] @ nasrat_ joined channel #puppet | ||
| [2009/05/15 18:25:47] <gepetto> ::trac:: Puppet Presentations edited by gh @ http://reductivelabs.com/trac/puppet/wiki/PuppetPresentations (by puppet@garretthoneycutt.com) | ||
| [2009/05/15 18:27:19] @ Quit: mfournier: Read error: 113 (No route to host) | ||
| [2009/05/15 18:35:27] @ Quit: grim_radical: "Leaving" | ||
| [2009/05/15 18:41:56] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/05/15 18:45:08] @ Quit: nasrat_: Read error: 110 (Connection timed out) | ||
| [2009/05/15 18:45:36] @ madrescher joined channel #puppet | ||
| [2009/05/15 18:46:30] @ Quit: lak: | ||
| [2009/05/15 18:51:31] @ axisys joined channel #puppet | ||
| [2009/05/15 18:55:12] @ Quit: cwebber: | ||
| [2009/05/15 18:55:55] @ cwebber joined channel #puppet | ||
| [2009/05/15 19:03:36] @ Quit: cwebber: Remote closed the connection | ||
| [2009/05/15 19:03:41] @ cwebber joined channel #puppet | ||
| [2009/05/15 19:07:23] @ Quit: ezmob: "Bye!" | ||
| [2009/05/15 19:08:15] @ philip__ joined channel #puppet | ||
| [2009/05/15 19:08:30] @ artista_frustrad joined channel #puppet | ||
| [2009/05/15 19:12:09] @ Quit: philip_: Read error: 113 (No route to host) | ||
| [2009/05/15 19:12:53] @ Quit: teyo: | ||
| [2009/05/15 19:16:29] @ lak joined channel #puppet | ||
| [2009/05/15 19:19:46] @ Quit: ghenry: Remote closed the connection | ||
| [2009/05/15 19:19:53] * joe-mac stabs ubuntu and throws it in a ditch on top of lotus notes' rotting corpse. | ||
| [2009/05/15 19:20:45] @ Quit: keithlar: "Leaving..." | ||
| [2009/05/15 19:30:25] <Volcane> dont insult lotus notes like that | ||
| [2009/05/15 19:35:07] @ Quit: madrescher: "Leaving." | ||
| [2009/05/15 19:36:17] @ nickjqw left channel #puppet ("tired") | ||
| [2009/05/15 19:38:54] <sc0ttB_> anyone heard of pacman? | ||
| [2009/05/15 19:39:06] <sc0ttB_> http://atlas.bu.edu/~youssef/pacman/ | ||
| [2009/05/15 19:39:16] <sc0ttB_> yet another package manager :( | ||
| [2009/05/15 19:40:00] * sc0ttB_ managed use install apt, rpm, pacman, puppet, and modules on the same machine | ||
| [2009/05/15 19:40:15] <sc0ttB_> yes it is a bad idea and I don't recommend it | ||
| [2009/05/15 19:44:20] @ Quit: cwebber: | ||
| [2009/05/15 19:46:48] @ kelsey_hightower joined channel #puppet | ||
| [2009/05/15 19:48:17] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/15 19:50:22] @ Quit: kelsey_hightower: Client Quit | ||
| [2009/05/15 19:50:57] @ edwardam joined channel #puppet | ||
| [2009/05/15 19:52:43] @ kelsey_hightower joined channel #puppet | ||
| [2009/05/15 19:53:32] @ Quit: flakrat: "Leaving" | ||
| [2009/05/15 19:54:06] @ Quit: lak: | ||
| [2009/05/15 19:54:48] @ Berge joined channel #puppet | ||
| [2009/05/15 19:55:46] @ Quit: kelsey_hightower: Client Quit | ||
| [2009/05/15 20:01:23] @ mikepea joined channel #puppet | ||
| [2009/05/15 20:09:03] @ Quit: elijahwright: Remote closed the connection | ||
| [2009/05/15 20:14:08] @ plathrop-away is now known as plathrop | ||
| [2009/05/15 20:17:03] @ Quit: gebi: Read error: 60 (Operation timed out) | ||
| [2009/05/15 20:18:14] @ Quit: aymerick: | ||
| [2009/05/15 20:18:52] @ gebi joined channel #puppet | ||
| [2009/05/15 20:27:42] @ Quit: mikepea: | ||
| [2009/05/15 20:32:25] <joe-mac> WTF doesn't the ubuntu rescue mode include vim | ||
| [2009/05/15 20:32:31] <joe-mac> vi i mean | ||
| [2009/05/15 20:32:53] <joe-mac> today has been a failboat | ||
| [2009/05/15 20:34:07] <joe-mac> i'm ouit puppeteers | ||
| [2009/05/15 20:34:13] @ joe-mac left channel #puppet () | ||
| [2009/05/15 20:38:22] @ Quit: justindossey: Read error: 110 (Connection timed out) | ||
| [2009/05/15 21:33:36] @ nakano_ is now known as nakano | ||
| [2009/05/15 21:49:57] @ comprehensive joined channel #puppet | ||
| [2009/05/15 21:50:21] @ comprehensive left channel #puppet () | ||
| [2009/05/15 21:51:18] @ comprehensive joined channel #puppet | ||
| [2009/05/15 21:51:39] @ comprehensive left channel #puppet () | ||
| [2009/05/15 22:15:44] @ Quit: the-dude: Read error: 60 (Operation timed out) | ||
| [2009/05/15 22:15:47] @ the-dude joined channel #puppet | ||
| [2009/05/15 22:25:22] @ chip__ joined channel #puppet | ||
| [2009/05/15 22:31:12] @ teyo joined channel #puppet | ||
| [2009/05/15 22:31:16] @ Quit: nigelk: | ||
| [2009/05/15 22:40:50] @ Quit: atlan_: Read error: 110 (Connection timed out) | ||
| [2009/05/15 22:44:35] @ LenR joined channel #puppet | ||
| [2009/05/15 22:45:26] @ Quit: grey-: Read error: 110 (Connection timed out) | ||
| [2009/05/15 22:47:06] <LenR> ? | ||
| [2009/05/15 22:50:30] @ plathrop is now known as plathrop-away | ||
| [2009/05/15 22:51:49] @ nigelk joined channel #puppet | ||
| [2009/05/15 22:55:44] @ Quit: LenR: "Leaving" | ||
| [2009/05/15 23:03:30] @ nigelk_ joined channel #puppet | ||
| [2009/05/15 23:05:21] <bgupta> So anyone useing REE with Puppet? | ||
| [2009/05/15 23:06:00] <bgupta> (Ruby Enterprise Edition) | ||
| [2009/05/15 23:08:25] @ Quit: artista_frustrad: Read error: 110 (Connection timed out) | ||
| [2009/05/15 23:09:04] @ artista_frustrad joined channel #puppet | ||
| [2009/05/15 23:13:06] @ mfoster joined channel #puppet | ||
| [2009/05/15 23:16:06] <nigelk_> bgupta: you on the puppet-users list? | ||
| [2009/05/15 23:16:23] <nigelk_> i started a thread about this, and we've had a bit of back and forth over it in irc I was going to summarize | ||
| [2009/05/15 23:16:39] <nigelk_> essentially any ruby that isn't compiled with pthreads support will perform better as a server than a ruby with pthreads | ||
| [2009/05/15 23:16:56] <nigelk_> Ruby EE also has the copy on write stuff that helps if you have a large memory hit on your servers | ||
| [2009/05/15 23:21:02] @ Quit: zahna: Remote closed the connection | ||
| [2009/05/15 23:21:30] @ Quit: nigelk: Read error: 110 (Connection timed out) | ||
| [2009/05/15 23:21:45] <bgupta> nigelk_: I'll dig into the email archives then... | ||
| [2009/05/15 23:22:01] <nigelk_> what's leading you to think about Ruby EE? | ||
| [2009/05/15 23:22:07] <nigelk_> having perf issues? | ||
| [2009/05/15 23:22:13] <bgupta> nigelk_: But what I am gathering is that REE should be a fine choice for runing puppet. | ||
| [2009/05/15 23:22:31] <nigelk_> yes. The major downside is that you're stepping outside your distro packaging | ||
| [2009/05/15 23:22:46] <nigelk_> and it doesn't come packaged except for Ubuntu Hardy, and that package replaces the system ruby | ||
| [2009/05/15 23:22:55] <bgupta> Well.. WE migrated our Rails app to REE and wanted to reduce the number of ruby stacks in our environment. | ||
| [2009/05/15 23:22:59] <nigelk_> ah | ||
| [2009/05/15 23:23:23] <nigelk_> I'm seeing close to double the performance between Ruby 1.8.4 with pthreads and Ruby EE 1.8.6 with puppet | ||
| [2009/05/15 23:23:27] <bgupta> WE've already had some issues with the gem provider getting confused by the multiple ruby stacks | ||
| [2009/05/15 23:23:36] <nigelk_> others are seeing different results | ||
| [2009/05/15 23:23:43] <nigelk_> ew. I hate gems | ||
| [2009/05/15 23:23:46] <bgupta> ANd yes there are performance issue with anything ruby | ||
| [2009/05/15 23:24:12] <bgupta> The NEDD a GenGC | ||
| [2009/05/15 23:24:20] <bgupta> s/NEDD/NEED/ | ||
| [2009/05/15 23:24:42] <bgupta> Thankfully some researchers in Japan are playing with getting one working | ||
| [2009/05/15 23:25:05] <bgupta> Ruby performance should then improve by an order of magnitude. | ||
| [2009/05/15 23:25:35] <nigelk_> Yeah. I like writing Ruby, but it's a pain to manage a service with it | ||
| [2009/05/15 23:25:36] <bgupta> Being as there is a ray of light at the end of the tunnel.. we stick it out with ruby | ||
| [2009/05/15 23:26:00] <bgupta> The lake of multiple inheritance at times is very annoying | ||
| [2009/05/15 23:26:04] <bgupta> lack | ||
| [2009/05/15 23:26:19] <bgupta> Especially when hacking puppet | ||
| [2009/05/15 23:26:27] <nigelk_> well you've got mixins | ||
| [2009/05/15 23:26:36] <bgupta> but like anything you can work around it.. | ||
| [2009/05/15 23:26:56] <bgupta> mixins aren't quite as useful as one would like | ||
| [2009/05/15 23:27:16] <bgupta> I can't inherit from two preexisting objects... | ||
| [2009/05/15 23:27:37] <nigelk_> yeah. I'm not entirely convinced multiple inheritance is great | ||
| [2009/05/15 23:27:41] <bgupta> If I am writing everything from scratch I suppose I could code one of them as a module | ||
| [2009/05/15 23:27:48] <nigelk_> I spent a lot of last week tracing problematic inheritance in Python | ||
| [2009/05/15 23:28:16] <bgupta> Grass is greener, eh? | ||
| [2009/05/15 23:28:24] <nigelk_> :D | ||
| [2009/05/15 23:29:16] <bgupta> Mostly we work around it by creating a wrapper class, who's instance variables are the object types we want | ||
| [2009/05/15 23:29:29] <bgupta> IF that makes any sense | ||
| [2009/05/15 23:30:09] <bgupta> Not sure what that pattern is called | ||
| [2009/05/15 23:30:44] <bgupta> nigelk_: SO are you running REE with Puppet? | ||
| [2009/05/15 23:30:54] <bgupta> I heard there are some issues with libshadow? | ||
| [2009/05/15 23:31:16] <nigelk_> I've been benchmarking it as we've had performance issues | ||
| [2009/05/15 23:31:30] <nigelk_> and planning to roll it out if the testing finishes ok | ||
| [2009/05/15 23:31:38] <nigelk_> I've seen no libshadow issues so far | ||
| [2009/05/15 23:31:45] <bgupta> Really? | ||
| [2009/05/15 23:31:48] <bgupta> ok... | ||
| [2009/05/15 23:32:05] <nigelk_> Now I'll concentrate on testing it though :) | ||
| [2009/05/15 23:32:10] <bgupta> You compiling libshadow or using packages? | ||
| [2009/05/15 23:32:19] <nigelk_> oh. so I'm not planning on running Ruby EE on the clients btw | ||
| [2009/05/15 23:32:23] <nigelk_> just the puppetmasters | ||
| [2009/05/15 23:32:50] <bgupta> Mmmm.. well the clients are where I want to get rid of the extra ruby stack | ||
| [2009/05/15 23:33:13] <nigelk_> what distro are you running? | ||
| [2009/05/15 23:33:20] <bgupta> I'm wondering how long before REE changes are merged back into head. Hardy Heron | ||
| [2009/05/15 23:33:32] <bgupta> (LTS) | ||
| [2009/05/15 23:33:35] <nigelk_> oh, so you know there are debs already on brightbox? | ||
| [2009/05/15 23:33:47] <bgupta> for? | ||
| [2009/05/15 23:33:50] <nigelk_> yeah, we're strictly LTS too | ||
| [2009/05/15 23:33:53] <nigelk_> for Ruby EE | ||
| [2009/05/15 23:33:59] <nigelk_> http://wiki.brightbox.co.uk/docs:ruby-enterprise | ||
| [2009/05/15 23:34:06] <nigelk_> that replaces the system ruby | ||
| [2009/05/15 23:34:08] <bgupta> I know phusion had debs | ||
| [2009/05/15 23:34:12] <nigelk_> which might be exactly what you want | ||
| [2009/05/15 23:34:21] <nigelk_> the devs have a github repo somewhere that they do all the debian packaging in | ||
| [2009/05/15 23:34:25] <bgupta> sweet! | ||
| [2009/05/15 23:34:33] <bgupta> Thank you, thank you, thank you | ||
| [2009/05/15 23:34:53] <nigelk_> http://github.com/johnl/deb-passenger/tree/master | ||
| [2009/05/15 23:35:02] <nigelk_> http://github.com/johnl/deb-ruby1.8-ee/tree/master | ||
| [2009/05/15 23:35:07] <bgupta> Doh 32-bit only | ||
| [2009/05/15 23:35:09] <nigelk_> so you can always cherry pick their work | ||
| [2009/05/15 23:35:12] <nigelk_> yeah, my problem too :) | ||
| [2009/05/15 23:36:17] <nigelk_> although I still have to have working packages for dapper.... | ||
| [2009/05/15 23:36:29] <nigelk_> and I'm getting heartily sick of dapper/hardy dependency differences | ||
| [2009/05/15 23:36:54] @ Djelibeybi joined channel #puppet | ||
| [2009/05/15 23:36:57] <nigelk_> even though they're 32-bit you should be able to dget the dsc and rebuild? | ||
| [2009/05/15 23:37:41] <bgupta> yeah, big word there : "Should" | ||
| [2009/05/15 23:38:01] <nigelk_> I think I've actually already done that for amd64 | ||
| [2009/05/15 23:38:09] <nigelk_> I just didn't want to replace the system ruby stack | ||
| [2009/05/15 23:38:29] <bgupta> why not? | ||
| [2009/05/15 23:38:32] <nigelk_> so have been faffing around building a package that installs to /opt and dealing with the hilarity of a dependent passenger | ||
| [2009/05/15 23:38:33] <bgupta> Curious | ||
| [2009/05/15 23:38:43] <nigelk_> well I only need Ruby EE for the puppetmaster | ||
| [2009/05/15 23:38:56] <nigelk_> and we have other stuff that uses Ruby, so I'm somewhat reluctant to diverge the stack | ||
| [2009/05/15 23:38:57] <bgupta> we have an opt install for passenger an REE in place.. | ||
| [2009/05/15 23:39:00] <nigelk_> from all our other servers | ||
| [2009/05/15 23:39:02] <bgupta> jsut a pain to maintain | ||
| [2009/05/15 23:39:23] <bgupta> WOuld rather go back to repo stuff | ||
| [2009/05/15 23:39:31] <nigelk_> yes | ||
| [2009/05/15 23:39:50] <nigelk_> We don't really deploy anything that isn't in a repo or can't be rebuilt | ||
| [2009/05/15 23:39:51] <bgupta> WEll all our non puppet stuff for the most part is running REE now. | ||
| [2009/05/15 23:40:28] <bgupta> WEll the probelm is sometimes repos lag... and in this day and age software develepoment is really really fast | ||
| [2009/05/15 23:40:43] <bgupta> SO we have a number of components we have to hand maintain | ||
| [2009/05/15 23:40:57] <nigelk_> The conservatism of Debian based distributions and the hell for leather pace of the Ruby community stand in stark contrast to one another | ||
| [2009/05/15 23:40:58] <nigelk_> :) | ||
| [2009/05/15 23:41:02] <bgupta> (Especially since we are Running LTS | ||
| [2009/05/15 23:41:16] <bgupta> Yes.. | ||
| [2009/05/15 23:41:18] <nigelk_> hey, at least you only have to worry about hardy not dapper :) | ||
| [2009/05/15 23:41:22] <bgupta> THe certainly do.. | ||
| [2009/05/15 23:41:29] <bgupta> TRue | ||
| [2009/05/15 23:41:41] <bgupta> I plan on ditching Hardy when the next LTS comes out | ||
| [2009/05/15 23:41:51] <nigelk_> ok. wife home. | ||
| [2009/05/15 23:41:55] <bgupta> Gonna force migrate everyone | ||
| [2009/05/15 23:41:58] <bgupta> later | ||
| [2009/05/15 23:42:00] <nigelk_> nice to chat to you bgupta , sounds like you have some input for that thread :) | ||
| [2009/05/15 23:43:52] <bgupta> BTW we are already running passenger on our puppetmaster | ||
| [2009/05/15 23:49:54] @ claymation_ joined channel #puppet | ||
| [2009/05/15 23:49:54] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/05/15 23:55:58] @ lak joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!