| [2008/05/29 00:00:27] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 00:00:37] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 00:00:45] @ Quit: lak: | ||
| [2008/05/29 00:01:13] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 00:01:59] <exodos> i need to create module.pp with conditional content: if specific file exist i want to include it, otherwise i want to create an empty class | ||
| [2008/05/29 00:02:13] <exodos> can anyone advice something? | ||
| [2008/05/29 00:06:05] <duritong> add a facter which tests for that file | ||
| [2008/05/29 00:06:21] <duritong> your code is compiled on the server | ||
| [2008/05/29 00:06:33] <duritong> so you can't check if a file exists on the client | ||
| [2008/05/29 00:06:39] @ shenson_not_here is now known as shenson | ||
| [2008/05/29 00:07:02] <duritong> however facts get evaluated on the client before server starts to compile | ||
| [2008/05/29 00:09:42] @ Quit: kolla: Remote closed the connection | ||
| [2008/05/29 00:10:46] <exodos> i want to check for file on the server, not on the client | ||
| [2008/05/29 00:11:07] <exodos> i've tried to use file function, but probably i've made something wrong | ||
| [2008/05/29 00:11:27] <jamesturnbull> exodos: or an exec resource that other resources could require - the onlyif and unless attributes | ||
| [2008/05/29 00:13:21] <duritong> exodus: so to understand you right you'd like to include a certain class on a client depending on a file on the server? | ||
| [2008/05/29 00:14:02] <exodos> actually i would like to include the file itself if it exists | ||
| [2008/05/29 00:15:13] <exodos> i've tried to use "file" function, but i got: Syntax error at 'false' at /var/lib/puppet/config/lib/dnsserver/module.pp:2 | ||
| [2008/05/29 00:17:00] <exodos> sorry, that was a typo, not i have: Unknown function file at /var/lib/puppet/config/lib/dnsserver/module.pp:1 | ||
| [2008/05/29 00:17:17] <exodos> can be that our version of puppet is too old? | ||
| [2008/05/29 00:17:21] <exodos> we're using 0.22 | ||
| [2008/05/29 00:17:22] <duritong> which version? | ||
| [2008/05/29 00:17:26] <duritong> hui yeah might be | ||
| [2008/05/29 00:17:39] <duritong> wiki:FunctionReference always references the latest | ||
| [2008/05/29 00:17:41] <gepetto> duritong: wiki: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference | ||
| [2008/05/29 00:58:51] @ ktheory joined channel #puppet | ||
| [2008/05/29 01:01:58] @ nDuff joined channel #puppet | ||
| [2008/05/29 01:04:55] @ Quit: shake-n-bake: | ||
| [2008/05/29 01:05:54] <nDuff> I'm having some trouble deleting a yum repository; "Parameter source failed: Got other URL type '' from absent", when I'm trying to delete a repository by setting all parameters to absent (as the docs imply). | ||
| [2008/05/29 01:06:00] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 01:07:24] <Volcane> nDuff: try: ensure => absent | ||
| [2008/05/29 01:07:50] <Volcane> not sure if the yum repo typehas that but others work like that | ||
| [2008/05/29 01:08:02] <nDuff> Volcane, that's what I did before looking at the docs -- yumrepo doesn't support ensure. | ||
| [2008/05/29 01:08:15] <nDuff> Volcane, http://reductivelabs.com/trac/puppet/wiki/TypeReference#id251 | ||
| [2008/05/29 01:09:16] <stevenjenkins> is anyone on that could answer some questions about the requirements for Trac #273 (defaults.rb should pull parameters from the env)? | ||
| [2008/05/29 01:09:18] <gepetto> stevenjenkins: #273 is http://reductivelabs.com/trac/puppet/ticket/273 "defaults.rb should pull parameters from the env" | ||
| [2008/05/29 01:11:11] <Volcane> nDuff: ah, well its a hack but i would take out the yumrepo, put in a file pointing to the file that yumrepo made and delete it if all else fails | ||
| [2008/05/29 01:11:19] * nDuff doing that. | ||
| [2008/05/29 01:13:06] * stevenjenkins peers in the direction of jamesturnbull | ||
| [2008/05/29 01:14:13] <evil_steve> he's aslepp | ||
| [2008/05/29 01:14:15] <evil_steve> soft | ||
| [2008/05/29 01:14:17] @ martha joined channel #puppet | ||
| [2008/05/29 01:17:34] @ Quit: Zothar_Work: Remote closed the connection | ||
| [2008/05/29 01:18:42] @ mccune joined channel #puppet | ||
| [2008/05/29 01:22:08] @ Quit: andrewcshafer: | ||
| [2008/05/29 01:24:08] @ Quit: Innocenti: Client Quit | ||
| [2008/05/29 01:29:08] <gileswork> anyone done a logrotation module? | ||
| [2008/05/29 01:31:26] <hacim> gileswork: like for logrotate? that would be nice | ||
| [2008/05/29 01:31:35] <gileswork> ya | ||
| [2008/05/29 01:31:45] <gileswork> for other modules to use | ||
| [2008/05/29 01:31:47] <hacim> have you checked the contributed modules page? | ||
| [2008/05/29 01:32:02] <gileswork> i'm digging around on the puppet website for it | ||
| [2008/05/29 01:32:07] <gileswork> I can never find anything heh | ||
| [2008/05/29 01:34:04] <pluesch0r> is there a way to define an additional source server for gems? | ||
| [2008/05/29 01:34:12] <gileswork> oh well I can't find that page so I'll write one | ||
| [2008/05/29 01:34:38] <exodos> i would like to include in my module.pp everything that is returned by "file" funcion, is there a way to do this? | ||
| [2008/05/29 01:35:09] <exodos> i tried to do include( file("/full/patch") ); but its not working | ||
| [2008/05/29 01:35:53] <hacim> gileswork: wiki:DeveloperRepositories | ||
| [2008/05/29 01:35:55] <gepetto> hacim: gileswork: wiki:DeveloperRepositories is http://reductivelabs.com/trac/puppet/wiki/DeveloperRepositories | ||
| [2008/05/29 01:36:24] <gileswork> ah ta | ||
| [2008/05/29 01:37:52] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 01:39:07] @ Quit: OOjoe: Read error: 110 (Connection timed out) | ||
| [2008/05/29 01:40:19] @ m1n3s6 joined channel #puppet | ||
| [2008/05/29 01:42:53] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/29 01:48:26] <martha> I have a logrotate module | ||
| [2008/05/29 01:48:30] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 01:49:02] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 01:49:19] <martha> sorry, I'm confused | ||
| [2008/05/29 01:49:24] <hacim> :) | ||
| [2008/05/29 01:51:35] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/29 01:51:37] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 01:55:31] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/29 01:57:20] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 01:57:53] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 01:58:13] @ lak joined channel #puppet | ||
| [2008/05/29 01:59:37] @ lutter joined channel #puppet | ||
| [2008/05/29 02:03:53] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 02:04:47] @ Quit: andrewcshafer: | ||
| [2008/05/29 02:08:14] @ _newbie3 joined channel #puppet | ||
| [2008/05/29 02:10:42] @ Quit: exodos: "leaving" | ||
| [2008/05/29 02:11:06] @ Quit: Wakko666: "Leaving." | ||
| [2008/05/29 02:11:28] @ Quit: tim|macbook: "This computer has gone to sleep" | ||
| [2008/05/29 02:12:52] @ Wakko666 joined channel #puppet | ||
| [2008/05/29 02:21:49] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 02:21:55] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 02:22:00] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 02:22:28] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 02:22:52] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 02:29:27] @ Quit: m1n3s6: "Leaving" | ||
| [2008/05/29 02:30:09] @ Quit: pluesch0r: | ||
| [2008/05/29 02:35:20] @ Quit: fbe__: Read error: 110 (Connection timed out) | ||
| [2008/05/29 02:37:05] @ Quit: _newbie3: Read error: 110 (Connection timed out) | ||
| [2008/05/29 02:38:33] @ AimanA joined channel #puppet | ||
| [2008/05/29 02:42:13] @ plathrop joined channel #puppet | ||
| [2008/05/29 02:44:07] @ Quit: DerekW: "Leaving" | ||
| [2008/05/29 02:44:09] @ Quit: pawalls: Remote closed the connection | ||
| [2008/05/29 02:52:02] @ emerose joined channel #puppet | ||
| [2008/05/29 02:56:49] @ Quit: lak: | ||
| [2008/05/29 03:17:06] @ flakrat joined channel #puppet | ||
| [2008/05/29 03:23:48] @ Quit: jvanzyl: | ||
| [2008/05/29 03:27:34] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 03:30:21] @ Quit: jvanzyl: Client Quit | ||
| [2008/05/29 03:40:40] @ _newbie3 joined channel #puppet | ||
| [2008/05/29 03:41:43] @ sknight joined channel #puppet | ||
| [2008/05/29 03:41:56] <sknight> so, here's an interesting problem | ||
| [2008/05/29 03:42:22] <sknight> I've got puppet on umpty-dozen boxes that do virtual private server hosting, and we use a software package called "Virtuozzo" | ||
| [2008/05/29 03:43:12] <holoway> ok | ||
| [2008/05/29 03:43:19] <sknight> unfortunately, the install process for virtuozzo doesn't rely on packages, it relies on running a binary that does this hokey install process, going out and fetching it's own special RPMs on it's own, etc | ||
| [2008/05/29 03:44:07] <sknight> how can I set the presence of Virtuozzo on a machine as a dependancy, with an action of "if it ain't here, run this command to install it"? | ||
| [2008/05/29 03:44:15] @ _newbie3 is now known as f--z | ||
| [2008/05/29 03:44:24] <holoway> sknight: exex and onlyif? | ||
| [2008/05/29 03:44:27] <holoway> er exec | ||
| [2008/05/29 03:44:43] <sknight> what do you mean? | ||
| [2008/05/29 03:44:57] @ shake-n-bake_ joined channel #puppet | ||
| [2008/05/29 03:45:00] <holoway> so have a virtuozzo class, and only run the installer if the virtuozzo files are installed | ||
| [2008/05/29 03:45:07] <holoway> so, if it installs something into /opt/virtuozzo | ||
| [2008/05/29 03:45:09] <holoway> for example | ||
| [2008/05/29 03:45:30] <holoway> have an exec that has an onlyif condition of test -d ! /opt/virtuozzo | ||
| [2008/05/29 03:45:38] <holoway> TypeReference? | ||
| [2008/05/29 03:45:41] <sknight> so, test for the existance of some VZ file/directory/whatever, and then run the install script of that fails? | ||
| [2008/05/29 03:45:47] <holoway> sknight: yep! | ||
| [2008/05/29 03:45:51] <sknight> also, the install process takes > 30 minutes | ||
| [2008/05/29 03:46:09] <holoway> sknight: that should be okay, though, since it won't be harming the puppet server | ||
| [2008/05/29 03:46:25] <sknight> right, but it might fux0r the box if the install process is run twice | ||
| [2008/05/29 03:46:52] <holoway> sknight: so be really careful about the existence check | ||
| [2008/05/29 03:46:58] <holoway> or, wrap the logic in a script | ||
| [2008/05/29 03:47:00] <holoway> distribute that with puppet | ||
| [2008/05/29 03:47:14] <holoway> and just run it every time and have it exit early if it's already installed | ||
| [2008/05/29 03:51:56] @ ktheory left channel #puppet () | ||
| [2008/05/29 03:55:57] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 03:58:42] <martha> use creates | ||
| [2008/05/29 03:58:52] <martha> ie, the exec creates a file/dir | ||
| [2008/05/29 03:59:04] <martha> iff it isn't there, then the exec runs | ||
| [2008/05/29 03:59:30] @ Quit: holoway: "leaving" | ||
| [2008/05/29 03:59:36] @ holoway joined channel #puppet | ||
| [2008/05/29 04:05:04] <gileswork> can i use a else if in the puppet language? | ||
| [2008/05/29 04:05:30] <holoway> gileswork: not really -- what are you trying to accomplish? | ||
| [2008/05/29 04:05:46] <gileswork> tbh I think I'm going round in circles heh | ||
| [2008/05/29 04:05:57] <holoway> you probably want a case statement | ||
| [2008/05/29 04:06:02] <martha> creates is an arguement to exec | ||
| [2008/05/29 04:06:07] <gileswork> ya mebe | ||
| [2008/05/29 04:06:24] @ lak joined channel #puppet | ||
| [2008/05/29 04:06:26] <gileswork> if ! var is possibly what I want | ||
| [2008/05/29 04:06:30] <martha> there is also onlyif and unless | ||
| [2008/05/29 04:10:06] @ Quit: lak: Client Quit | ||
| [2008/05/29 04:11:55] @ Quit: andrewcshafer: | ||
| [2008/05/29 04:12:33] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 04:12:44] @ Quit: andrewcshafer: Client Quit | ||
| [2008/05/29 04:24:52] @ Quit: mccune: "Leaving." | ||
| [2008/05/29 04:27:08] @ Quit: Rainhead: "leaving" | ||
| [2008/05/29 04:35:25] @ markl__ joined channel #puppet | ||
| [2008/05/29 04:40:52] @ Quit: jshare: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 04:49:26] @ jshare joined channel #puppet | ||
| [2008/05/29 04:53:54] @ Quit: plathrop: Remote closed the connection | ||
| [2008/05/29 05:04:11] @ trek1s joined channel #puppet | ||
| [2008/05/29 05:04:25] @ Quit: Demosthenes: "leaving" | ||
| [2008/05/29 05:05:39] <Pyretic> hi, when using templates, does it regenerate if one if the values has changed ? | ||
| [2008/05/29 05:06:01] <Pyretic> for example if a facter value change that you include in the template config... | ||
| [2008/05/29 05:07:03] <martha> yes | ||
| [2008/05/29 05:09:59] <Pyretic> hmm | ||
| [2008/05/29 05:15:42] <Shamgar> 3/part | ||
| [2008/05/29 05:15:45] @ Shamgar left channel #puppet () | ||
| [2008/05/29 05:19:37] @ emerose_ joined channel #puppet | ||
| [2008/05/29 05:19:39] @ Quit: emerose: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 05:22:54] @ emerose joined channel #puppet | ||
| [2008/05/29 05:26:21] @ roald joined channel #puppet | ||
| [2008/05/29 05:28:28] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 05:28:40] @ roald joined channel #puppet | ||
| [2008/05/29 05:29:50] @ Quit: emerose_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 05:29:57] @ ezralini joined channel #puppet | ||
| [2008/05/29 05:36:19] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/29 05:46:08] @ skorgu joined channel #puppet | ||
| [2008/05/29 05:52:28] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 05:53:28] @ Quit: trek1s: "leaving" | ||
| [2008/05/29 05:53:46] @ lak joined channel #puppet | ||
| [2008/05/29 05:54:32] @ shadoi joined channel #puppet | ||
| [2008/05/29 05:58:53] @ Innocenti joined channel #puppet | ||
| [2008/05/29 05:59:08] @ plathrop joined channel #puppet | ||
| [2008/05/29 06:11:44] @ pluesch0r joined channel #puppet | ||
| [2008/05/29 06:14:56] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/05/29 06:15:49] <Volcane> cobbler 1.0.0 released | ||
| [2008/05/29 06:17:18] * duritong installing :) | ||
| [2008/05/29 06:27:19] <martha> so, why can't classes begin with a digit? | ||
| [2008/05/29 06:28:55] @ \ask_ joined channel #puppet | ||
| [2008/05/29 06:35:09] @ shadoi joined channel #puppet | ||
| [2008/05/29 06:37:56] @ andrewcshafer_ joined channel #puppet | ||
| [2008/05/29 06:37:58] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 06:40:37] @ Quit: lak: | ||
| [2008/05/29 06:53:21] @ Quit: flakrat: "Leaving" | ||
| [2008/05/29 06:59:35] @ \ask__ joined channel #puppet | ||
| [2008/05/29 07:00:20] @ Quit: \ask_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 07:02:10] @ Quit: andrewcshafer_: Read error: 110 (Connection timed out) | ||
| [2008/05/29 07:02:42] @ Quit: kambiz: "Leaving" | ||
| [2008/05/29 07:12:00] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 07:12:26] @ roald joined channel #puppet | ||
| [2008/05/29 07:14:40] @ Quit: AimanA: Remote closed the connection | ||
| [2008/05/29 07:15:46] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 07:16:00] @ roald joined channel #puppet | ||
| [2008/05/29 07:16:47] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 07:16:59] @ roald joined channel #puppet | ||
| [2008/05/29 07:20:54] @ kombucha joined channel #puppet | ||
| [2008/05/29 07:22:35] <kombucha> I wonder why the default for the debian puppetmaster package is to listen in on port 18140 | ||
| [2008/05/29 07:23:20] <duritong> hmm this is mostly done if you want to front it with something like nginx, pound, etc. | ||
| [2008/05/29 07:23:42] <sknight> there's frontends to puppet | ||
| [2008/05/29 07:23:43] <sknight> ? | ||
| [2008/05/29 07:23:56] <duritong> wiki:UsingMongrel | ||
| [2008/05/29 07:23:58] <gepetto> duritong: wiki: wiki:UsingMongrel is http://reductivelabs.com/trac/puppet/wiki/UsingMongrel | ||
| [2008/05/29 07:24:10] <duritong> load abalancing | ||
| [2008/05/29 07:24:16] <benp-> front end being a web server/proxy | ||
| [2008/05/29 07:25:59] <sknight> ahh ok | ||
| [2008/05/29 07:26:09] <sknight> a frontend like Headrat's web services thinger would be AWESOME | ||
| [2008/05/29 07:26:31] <duritong> Headreat's? | ||
| [2008/05/29 07:27:05] <chadh> anybody familiar with downtown Portland? | ||
| [2008/05/29 07:27:36] @ Quit: \ask__: | ||
| [2008/05/29 07:27:51] <benp-> sknight: got a url for headrat? | ||
| [2008/05/29 07:27:52] <sknight> "HeadRat" == "RedHat" | ||
| [2008/05/29 07:28:04] <sknight> sorry | ||
| [2008/05/29 07:28:10] <sknight> dyslexics of the world untie | ||
| [2008/05/29 07:28:12] <plathrop> chadh: going to the training? | ||
| [2008/05/29 07:28:20] <chadh> plathrop: yes :) | ||
| [2008/05/29 07:28:27] <chadh> trying to figure out if I need a rental car | ||
| [2008/05/29 07:28:32] <plathrop> chadh: Don't worry, I'll be lost too :-P | ||
| [2008/05/29 07:28:49] @ shenson is now known as shenson_not_here | ||
| [2008/05/29 07:28:54] <benp-> sknight: web services thinger? | ||
| [2008/05/29 07:28:58] <plathrop> I've got a question for folks. Let's say I'm setting up LDAP authentaication | ||
| [2008/05/29 07:29:03] <plathrop> With Puppet of course! | ||
| [2008/05/29 07:29:19] <plathrop> Where do I put the resources which configure the LDAP authentication stuff? | ||
| [2008/05/29 07:29:22] <plathrop> In an LDAP module? | ||
| [2008/05/29 07:29:28] <plathrop> In a "pam" module? | ||
| [2008/05/29 07:29:32] <plathrop> Somewhere else? | ||
| [2008/05/29 07:29:45] <sknight> if you get a RHEL account, once you register your shiny new $2000 OS, you can log into Redhat's website and it'll show you your box (or boxen) | ||
| [2008/05/29 07:30:16] <sknight> it'll let you manage whatever package updates you needed, when the last time the client spoke to the server, etc | ||
| [2008/05/29 07:30:32] <benp-> ohh right | ||
| [2008/05/29 07:30:54] <sknight> being able to see, via http, "Hey, these nodes haven't checked in within X cycles" and issue a puppetrun or whatever, would be great | ||
| [2008/05/29 07:31:18] <sknight> maybe even get some Nagios integration going on (standardized Nagios template for puppet-enabled hosts?) via their GUI | ||
| [2008/05/29 07:31:24] <benp-> i havent used rhel in 4-5 years. i run a centos shop though | ||
| [2008/05/29 07:31:29] <sknight> werd | ||
| [2008/05/29 07:31:37] <sknight> CentOS makes me stabby. Nothing personal :-p | ||
| [2008/05/29 07:31:52] <plathrop> All RPM-based distros make *me* stabby :-) | ||
| [2008/05/29 07:31:53] <benp-> our budget around here for software is basically 0 | ||
| [2008/05/29 07:32:08] @ _newbie_ joined channel #puppet | ||
| [2008/05/29 07:32:09] * sknight hugs his 2000+ Debian boxen environment | ||
| [2008/05/29 07:32:22] <benp-> wows | ||
| [2008/05/29 07:32:30] <sknight> <--- large webhost | ||
| [2008/05/29 07:32:33] <benp-> ah | ||
| [2008/05/29 07:32:49] <sknight> gahhh, it's 5:30. I gotta jet! | ||
| [2008/05/29 07:32:53] <sknight> ttyl guys | ||
| [2008/05/29 07:33:38] <plathrop> No opinions? holoway must be away from IRC :-P | ||
| [2008/05/29 07:33:51] <plathrop> Just poking fun, holoway | ||
| [2008/05/29 07:33:53] <benp-> whats wrong with RPM? | ||
| [2008/05/29 07:34:00] <benp-> or rather, whats so great about deb? | ||
| [2008/05/29 07:34:35] @ _newbie_ is now known as f--z | ||
| [2008/05/29 07:35:11] <plathrop> benp-: I have no logical arguments. Back when I first tried to use an RPM distribution, it felt difficult to do easy tasks and that irritated me. I've sorta held on to that attitude. | ||
| [2008/05/29 07:35:33] <plathrop> It sounds like yum has solved many of the problems I had, so it's probably an irrational attitude at this point | ||
| [2008/05/29 07:37:23] <benp-> honestly, i don't know how people use debian. packages in stable are way too old. installing unstable really is unstable. and if you try to get _just a few_ packages from unstable, things start to get break. thats been my experience anyway, maybe i'm doing something wrong. | ||
| [2008/05/29 07:37:47] <benp-> when i first started using linux i *loved* being able to type apt-get install foobar | ||
| [2008/05/29 07:38:17] <plathrop> benp-: The packages are never really "way too old" for me; where they are I maintain my own repository of packages. | ||
| [2008/05/29 07:39:30] <fujin> monring | ||
| [2008/05/29 07:39:30] <fujin> chaps | ||
| [2008/05/29 07:40:18] <plathrop> Morning, fujin | ||
| [2008/05/29 07:40:43] <plathrop> Timezones make IRC surreal sometimes :-) | ||
| [2008/05/29 07:41:41] <plathrop> fujin: Did you see my question about LDAP authentication? | ||
| [2008/05/29 07:41:48] <plathrop> Maybe you'll have an opinion... | ||
| [2008/05/29 07:42:36] <jamesturnbull> plathrop: that rule - it's only about fixes unrelated to the purpose of the commit you are making | ||
| [2008/05/29 07:42:49] <plathrop> jamesturnbull: Thanks for the clarification | ||
| [2008/05/29 07:42:56] <jamesturnbull> plathrop: if the whitespace fix is part of the purpose of the commit then it' fine | ||
| [2008/05/29 07:43:07] <jamesturnbull> plathrop: we just want to make sure each commit has only one core purpose | ||
| [2008/05/29 07:43:21] <plathrop> jamesturnbull: That makes perfect sense. | ||
| [2008/05/29 07:43:36] <plathrop> jamesturnbull: It didn't make sense to me before that, though :-) | ||
| [2008/05/29 07:43:50] <jamesturnbull> plathrop: yeah I have just been telling people you are slow. :P | ||
| [2008/05/29 07:44:53] <plathrop> jamesturnbull: On some things, I sure am | ||
| [2008/05/29 07:45:10] <jamesturnbull> plathrop: me too :) | ||
| [2008/05/29 07:46:31] <jamesturnbull> plathrop: I've been working wih the process for a week or so now and it is working well for me | ||
| [2008/05/29 07:46:33] <kombucha> after i installed puppetmaster from testing onto debian stable, it seems ok | ||
| [2008/05/29 07:47:17] @ dysinger joined channel #puppet | ||
| [2008/05/29 07:47:18] <fujin> plathrop: sorry - did not | ||
| [2008/05/29 07:47:25] * fujin scrollbacks | ||
| [2008/05/29 07:47:53] <kombucha> i wish that many of the links to Recipes on the wiki were not broken | ||
| [2008/05/29 07:48:08] <fujin> feel free to fix them | ||
| [2008/05/29 07:48:12] <jamesturnbull> kombucha: they aren't broken - everything is in the Recipes/ namespace | ||
| [2008/05/29 07:48:18] <plathrop> kombucha: Feel free to fix them, the info is still there | ||
| [2008/05/29 07:48:21] <plathrop> Wow... | ||
| [2008/05/29 07:48:23] <jamesturnbull> kombucha: the tags db is broken | ||
| [2008/05/29 07:48:36] <fujin> plathrop: I used a class + files + templates for LDAP here; moved it to a module and then got rid of it altogether | ||
| [2008/05/29 07:48:51] <jamesturnbull> kombucha: I will fix it at some point but currently don't have time | ||
| [2008/05/29 07:48:55] <fujin> plathrop: when Puppetwas corrupting files{} pushing out files{} to manage LDAP was just too dangerous | ||
| [2008/05/29 07:49:02] <fujin> we'd quite commonly nuke /etc/pam.d/common-auth | ||
| [2008/05/29 07:49:03] <fujin> etc etc. | ||
| [2008/05/29 07:49:04] <fujin> = bad. | ||
| [2008/05/29 07:49:06] <plathrop> fujin: I can see that | ||
| [2008/05/29 07:49:27] <fujin> How is LikeWise community standing up? | ||
| [2008/05/29 07:49:41] <fujin> if I were to run ldap based auth on boxes, I'd probably use likewise now | ||
| [2008/05/29 07:49:58] <fujin> uses samba stuff instead of libnss-ldap/libpam-ldap iirc | ||
| [2008/05/29 07:51:21] <jamesturnbull> gepetto: seen lak | ||
| [2008/05/29 07:51:22] <gepetto> jamesturnbull: lak was last seen 1 hour, 10 minutes and 44 seconds ago, quitting IRC () | ||
| [2008/05/29 07:51:49] <kombucha> so for instance should this work?: http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keysRecipe | ||
| [2008/05/29 07:52:51] <fujin> Isn't there a native authorized_keys type, now? | ||
| [2008/05/29 07:53:14] <fujin> heh | ||
| [2008/05/29 07:53:19] <kombucha> i do not know! is there? | ||
| [2008/05/29 07:53:22] <fujin> looks like that authorized_keysrecipe page has been vaped | ||
| [2008/05/29 07:53:22] <fujin> ;} | ||
| [2008/05/29 07:53:32] <fujin> usually worth checking the docs, kombucha | ||
| [2008/05/29 07:53:38] <fujin> wiki:TypeReference | ||
| [2008/05/29 07:53:57] <gepetto> fujin: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2008/05/29 07:53:59] <jamesturnbull> kombucha: kombucha http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys | ||
| [2008/05/29 07:54:23] <fujin> there ya go | ||
| [2008/05/29 07:54:36] <jamesturnbull> kombucha: is there a back link to that somewhere? | ||
| [2008/05/29 07:55:16] <fujin> on the http://reductivelabs.com/trac/puppet/wiki/RecipeRequests page | ||
| [2008/05/29 07:55:26] <fujin> will edit | ||
| [2008/05/29 07:55:45] <kombucha> on http://reductivelabs.com/trac/puppet/wiki/Recipes there is a link to http://reductivelabs.com/trac/puppet/wiki/Authorized_keysRecipe | ||
| [2008/05/29 07:56:13] <fujin> ah | ||
| [2008/05/29 07:56:17] <fujin> that one I don't think we can edit | ||
| [2008/05/29 07:56:21] <fujin> it uses a tag thing to magicalluy do it | ||
| [2008/05/29 07:56:29] @ johnf joined channel #puppet | ||
| [2008/05/29 07:56:55] <kombucha> i stumlbed on all of that via google | ||
| [2008/05/29 07:56:56] <gepetto> ::puppet:: Recipe Requests edited by Fujin @ http://reductivelabs.com/trac/puppet/wiki/RecipeRequests (by aj@junglist.gen.nz) | ||
| [2008/05/29 07:57:02] <fujin> ah | ||
| [2008/05/29 07:57:10] <fujin> it's cause the http://reductivelabs.com/trac/puppet/wiki/Authorized_keysRecipe has a recipe tag on it | ||
| [2008/05/29 07:57:28] * fujin fixes | ||
| [2008/05/29 07:57:41] <fujin> jamesturnbull: piss, have you got delete privs to the wiki? | ||
| [2008/05/29 07:57:42] <kombucha> but i did not know about the type reference page , so i'll read that | ||
| [2008/05/29 07:58:03] <fujin> kombucha: I took that one off the /Recipes page | ||
| [2008/05/29 07:58:11] @ Quit: sknight: Read error: 110 (Connection timed out) | ||
| [2008/05/29 07:58:44] <jamesturnbull> fujin: deleted | ||
| [2008/05/29 07:58:52] <jamesturnbull> fujin: actually trying to fix the db now | ||
| [2008/05/29 07:59:23] <kombucha> fujin: sshkey :Installs and manages ssh host keys. At this point, this type only knows how to install keys into /etc/ssh/ssh_known_hosts, and it cannot manage user authorized keys yet. | ||
| [2008/05/29 08:00:32] <plathrop> kombucha: fujin: I think the authorized_keys type isn't in a release yet. | ||
| [2008/05/29 08:00:40] <fujin> ah, makes sense | ||
| [2008/05/29 08:00:45] <fujin> must be out of 0.24.x HEAD that I saw it | ||
| [2008/05/29 08:00:51] <gepetto> ::puppet:: Authorized_keys Recipe edited by Fujin @ http://reductivelabs.com/trac/puppet/wiki/Authorized_keysRecipe (by aj@junglist.gen.nz) | ||
| [2008/05/29 08:02:06] <fujin> jamesturnbull: sorry I've been a little preoccupied lately to get any triage/groundwork done | ||
| [2008/05/29 08:02:40] <fujin> kombucha: ssh_authorized_key type was added in commit db8a46c6 | ||
| [2008/05/29 08:03:36] <fujin> jamesturnbull: commited to a date for 0.24.5 yet? | ||
| [2008/05/29 08:04:01] <jamesturnbull> fujin: it's in head | ||
| [2008/05/29 08:04:12] <jamesturnbull> fujin: maybe end of next week | ||
| [2008/05/29 08:04:17] @ Quit: shake-n-bake_: | ||
| [2008/05/29 08:04:19] <jamesturnbull> fujin: have to discuss with Luke | ||
| [2008/05/29 08:04:26] <kombucha> fujin: i'm just using whatever puppetmaster comes out of debian testing | ||
| [2008/05/29 08:05:27] <fujin> kombucha: unfortunate - looks like you'll have to wait a while unles you feel like rolling your own packages | ||
| [2008/05/29 08:22:32] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 08:23:38] @ Quit: dysinger: | ||
| [2008/05/29 08:24:35] <jamesturnbull> fujin: well testing seems to get updated quite quickly - thom is very responsive | ||
| [2008/05/29 08:25:33] <jamesturnbull> fujin: but I don't know how the Debian lifecycle works in general - the # of people judging Puppet on the 0.20 located in stable worries me | ||
| [2008/05/29 08:28:13] <fujin> jamesturnbull: yeah | ||
| [2008/05/29 08:28:25] <fujin> micah and thom have been keeping up with the releases quite well | ||
| [2008/05/29 08:28:34] <fujin> like 0.24.4-1..4 | ||
| [2008/05/29 08:37:58] @ robin__ joined channel #puppet | ||
| [2008/05/29 08:38:19] <robin__> hey everyone... I just got this error on gentoo: | ||
| [2008/05/29 08:38:24] <robin__> Could not start WEBrick: getnameinfo: ai_family not supported | ||
| [2008/05/29 08:38:36] <robin__> I was trying to start puppetmasterd ... what's that all about? | ||
| [2008/05/29 08:41:02] @ Quit: Wakko666: "Leaving." | ||
| [2008/05/29 08:44:21] @ Wakko666 joined channel #puppet | ||
| [2008/05/29 08:47:27] <fujin> sounds interesting | ||
| [2008/05/29 08:47:28] <benp-> i think that means your kernel needs to support ipv6 or you need a ruby binary built without ipv6 | ||
| [2008/05/29 08:47:31] <fujin> robin__: pastebin your puppet.conf | ||
| [2008/05/29 08:47:54] <robin__> fujin: actually, I found that it was an error with the way ruby was compiled | ||
| [2008/05/29 08:47:57] <robin__> dumb gentoo :) | ||
| [2008/05/29 08:48:30] <fujin> ah | ||
| [2008/05/29 08:48:43] <benp-> was it ipv6 robin? | ||
| [2008/05/29 08:48:45] <fujin> been so long since I've used that unmanageable POS | ||
| [2008/05/29 08:48:53] <fujin> looks like a v6-related issue | ||
| [2008/05/29 08:48:55] <robin__> yeah, ipv6 | ||
| [2008/05/29 08:49:01] <robin__> unmanageable? | ||
| [2008/05/29 08:49:06] <robin__> but it's .006% faster! | ||
| [2008/05/29 08:49:09] <benp-> ive never gone down the gentoo road.. | ||
| [2008/05/29 08:49:13] <robin__> how could you not love it | ||
| [2008/05/29 08:49:14] <fujin> unmanageable | ||
| [2008/05/29 08:49:19] <fujin> on any more than 1 system | ||
| [2008/05/29 08:49:21] <benp-> i found freebsd to be unmanageable | ||
| [2008/05/29 08:49:25] <fujin> even with ICECREAM or distcc | ||
| [2008/05/29 08:49:27] <fujin> benp-: same concept | ||
| [2008/05/29 08:49:35] <robin__> same concept... but it's put together right | ||
| [2008/05/29 08:49:45] <fujin> yea | ||
| [2008/05/29 08:49:49] <robin__> and in terms of managing a network of them, I'd rather slit my wrists | ||
| [2008/05/29 08:49:51] <fujin> I much prefer gentoo to *bsd | ||
| [2008/05/29 08:49:58] <robin__> however I'll always choose if for my personal box | ||
| [2008/05/29 08:50:02] <benp-> i like openbsd a lot | ||
| [2008/05/29 08:50:49] <benp-> and freebsd itself isn't *that* bad, my problem with it is that it has no real packaging system | ||
| [2008/05/29 08:51:12] <fujin> heh, yeah. | ||
| [2008/05/29 08:51:19] <fujin> unmanageable ;> | ||
| [2008/05/29 08:51:34] <robin__> it's not "bad." it's so hard to learn for linux junkies | ||
| [2008/05/29 08:51:45] <benp-> its GREAT if you only have one machine to manage :) | ||
| [2008/05/29 08:51:47] <robin__> no /proc filesystem... no "free" command, "top" looks different | ||
| [2008/05/29 08:51:53] <robin__> everything about it is just a little different | ||
| [2008/05/29 08:52:22] <fujin> benp-: for one maching, managing just becomes 'using' | ||
| [2008/05/29 08:52:24] <fujin> ;( | ||
| [2008/05/29 08:52:38] <fujin> I think the biggest gentoo-based network i setup was 3 nodes | ||
| [2008/05/29 08:52:43] <fujin> boy was that a bad idea | ||
| [2008/05/29 08:52:46] <sigmonsays> how do you support multiple distros who have different package requirements? | ||
| [2008/05/29 08:52:54] <fujin> even with ICECREAM for distributed compilation | ||
| [2008/05/29 08:52:58] <sigmonsays> I don't know how to query the distribution | ||
| [2008/05/29 08:53:01] <benp-> bsd/linux differences don't really bother me. i'm used to both. the lack of consistency between linux distros used to annoy me, i thought it was stupid- why couldn't they just make one os and make it good? | ||
| [2008/05/29 08:53:09] <fujin> sigmonsays: use a facter variable | ||
| [2008/05/29 08:53:19] <sigmonsays> fujin, document explainin? :) | ||
| [2008/05/29 08:53:19] <fujin> sigmonsays: either a case block, or a selector | ||
| [2008/05/29 08:53:23] <sigmonsays> ok | ||
| [2008/05/29 08:53:32] <fujin> yes, the wiki:LanguageTutorial should be able to shed some light | ||
| [2008/05/29 08:53:35] <gepetto> fujin: yes: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2008/05/29 08:53:37] <fujin> look at the if/else, cas, selector sections | ||
| [2008/05/29 08:53:38] <sigmonsays> i'll scope it. just basically do a li' regex on a /etc/redhat-release file ? | ||
| [2008/05/29 08:53:43] <fujin> case | ||
| [2008/05/29 08:53:46] <fujin> sigmonsays: no | ||
| [2008/05/29 08:53:52] <fujin> facter will already be able to tell you | ||
| [2008/05/29 08:53:59] <sigmonsays> ahh ok. Thanks! | ||
| [2008/05/29 08:54:00] <fujin> just type 'facter', see all the variables | ||
| [2008/05/29 08:54:11] <fujin> you probably want lsbdistcodename | ||
| [2008/05/29 08:54:20] <benp-> but, going beyond the whats installed as the base system on freebsd, in other words using ports to install software.. is totally unmanageable, freebsd machines are always one-off's. you can *try* to ensure consistency between them but its, well its futile | ||
| [2008/05/29 08:54:40] <fujin> ./agree | ||
| [2008/05/29 08:54:43] <robin__> yep | ||
| [2008/05/29 08:55:02] <sigmonsays> fujin, what's lsbdistcodename ? | ||
| [2008/05/29 08:55:05] <benp-> you need lsb to get the facter lsb vars | ||
| [2008/05/29 08:55:16] <plathrop> benp-: I disagree wholeheartedly. It just takes a different set of tools & practices. | ||
| [2008/05/29 08:55:27] <plathrop> benp-: I've done it on several occasions. | ||
| [2008/05/29 08:55:32] <sigmonsays> aye. I didn't realize this info wasn't already packaged. Thanks benp | ||
| [2008/05/29 08:55:58] <plathrop> With Puppet, I'd be even happier using FreeBSD because most of those tools could be abstracted away with good manifests. | ||
| [2008/05/29 08:56:19] <plathrop> Sadly, in Silicon Valley it seems thinking anything is better than Linux is sacrilege. | ||
| [2008/05/29 08:57:04] <ashp> I really really miss FreeBSD. | ||
| [2008/05/29 08:57:14] <plathrop> ashp: Me too | ||
| [2008/05/29 08:57:17] <ashp> I used to work as the european sysadmin for Yahoo!, and everything they had was FreeBSD. | ||
| [2008/05/29 08:57:19] <benp-> plathrop: i would have stuck with freebsd if i could use RPM/yum or even dpkg/apt to manage software on it | ||
| [2008/05/29 08:57:23] <plathrop> The networking stack alone is the best. | ||
| [2008/05/29 08:57:25] <ashp> I had about 450-500 freebsd boxes to babysit | ||
| [2008/05/29 08:57:30] <ashp> I could have KILLED for something like puppet. | ||
| [2008/05/29 08:57:31] <jamesturnbull> sigmonsays: if you find other BSD facts that you'd lik feel free to add them | ||
| [2008/05/29 08:57:31] <fujin> ugh | ||
| [2008/05/29 08:57:37] <jamesturnbull> sigmonsays: or log a ticket | ||
| [2008/05/29 08:57:39] <plathrop> benp-: I get the packaging is not great, but it *is* manageable. | ||
| [2008/05/29 08:57:44] <ashp> It was literally unmanagable alone, I was MELTING under the workload of desperately trying to keep clusters in sync. | ||
| [2008/05/29 08:57:45] <fujin> I know a guy who manages about 400 bsd boxes by hand | ||
| [2008/05/29 08:57:48] <fujin> fuck that | ||
| [2008/05/29 08:57:50] <fujin> I'd cry | ||
| [2008/05/29 08:57:52] <ashp> fujin: That was my job, it was fucking horrible | ||
| [2008/05/29 08:58:00] <ashp> I had this ticket queue and it just never stopped going up | ||
| [2008/05/29 08:58:04] <fujin> o_0 | ||
| [2008/05/29 08:58:07] <ashp> they hired me to help the 2 existing admins, then fired them | ||
| [2008/05/29 08:58:08] <fujin> I really feel for ya man | ||
| [2008/05/29 08:58:17] <ashp> I was 19, I had 450+ servers (I didn't even have a server list) | ||
| [2008/05/29 08:58:18] <fujin> I'd hate to inherit that kind of system | ||
| [2008/05/29 08:58:22] <fujin> LOL | ||
| [2008/05/29 08:58:28] <benp-> plathrop: its manageable, but it's an uphill battle, way too much work, fragile, etc | ||
| [2008/05/29 08:58:34] <ashp> I just did the best I could do, but it was a mix of freebsd 2/3/4 all managed by engineers/sysadmins combined | ||
| [2008/05/29 08:58:38] <benp-> plathrop: i tried to get it right for months | ||
| [2008/05/29 08:58:44] <ashp> I think by the time I left the ticket queue had about 4000 requests outstanding | ||
| [2008/05/29 08:58:57] <plathrop> benp-: Yeah, it's a pain | ||
| [2008/05/29 09:00:09] @ dysinger joined channel #puppet | ||
| [2008/05/29 09:01:42] <fujin> ashp: I have this great habit of habitually destroying any legacy antiquated shit like that | ||
| [2008/05/29 09:01:45] <fujin> whenever I get to a new job | ||
| [2008/05/29 09:01:50] <fujin> first step: write migration docs | ||
| [2008/05/29 09:01:51] <martha> so, how can I figure out why puppet immediately grows to 250 MB on one client | ||
| [2008/05/29 09:02:09] <fujin> ashp: the place I'm at now was full of slackware boxen | ||
| [2008/05/29 09:02:12] <fujin> same concepts | ||
| [2008/05/29 09:02:25] <fujin> except a more familiar environment, and really *NO* package management | ||
| [2008/05/29 09:02:28] <benp-> oh yeah, also, while we're still on the topic of freebsd.. its gotten worse over the years | ||
| [2008/05/29 09:02:32] <fujin> really? | ||
| [2008/05/29 09:02:45] <fujin> martha: right after you start it? or after it does a run | ||
| [2008/05/29 09:03:02] <martha> fujin: looks like after it does a run | ||
| [2008/05/29 09:03:29] <benp-> 4.x was good | ||
| [2008/05/29 09:03:44] <ashp> fujin: I wish I could have, but I was snowed under just keeping them running! | ||
| [2008/05/29 09:04:01] <ashp> These days yes, I would have jumped right in with puppet and tackled a 'cluster' at a time, fixing it up and deploying it via puppet | ||
| [2008/05/29 09:04:19] <ashp> Ahahah, offical yahoo! backup policy: just copy files between all the hosts in a cluster over and over as they can't all fail at once | ||
| [2008/05/29 09:04:25] <fujin> ROFL | ||
| [2008/05/29 09:04:38] <fujin> martha: odd - are you using storeconfigs, or lots of tagging? | ||
| [2008/05/29 09:04:38] <ashp> it was an insane place to work, all the 'engineers' had root on 'their' servers | ||
| [2008/05/29 09:04:43] <ashp> they would deploy stuff at 5pm on friday then just go home | ||
| [2008/05/29 09:04:54] <fujin> ;| | ||
| [2008/05/29 09:05:00] <benp-> nice | ||
| [2008/05/29 09:05:04] <martha> fujin: no tags. storeconfig yes, but this is a client | ||
| [2008/05/29 09:05:13] <martha> so it shouldn't matter | ||
| [2008/05/29 09:05:30] <fujin> martha: only happens on that node? | ||
| [2008/05/29 09:05:41] <fujin> how familiar are you with GDB/debugging Ruby with GDB? | ||
| [2008/05/29 09:05:44] <martha> fujin: as far as I can tell | ||
| [2008/05/29 09:05:58] <fujin> there were some good tickets a while ago where holoway wrote some detailed instructions on stepping through your processes | ||
| [2008/05/29 09:06:05] <martha> I haven't used gdb in years | ||
| [2008/05/29 09:06:08] <fujin> should be able to get a printout of what structures are using all the RAM | ||
| [2008/05/29 09:06:13] <fujin> martha: dtrace available? | ||
| [2008/05/29 09:06:24] <fujin> if not, GDB is really your only choice for tracking it down | ||
| [2008/05/29 09:06:34] <martha> this is a debian etch virtual machine | ||
| [2008/05/29 09:07:25] <fujin> bother | ||
| [2008/05/29 09:07:28] <martha> and it is running both mysql and postgresql, so it really can't afford for puppet to use this much ram | ||
| [2008/05/29 09:07:39] <martha> and apache2 | ||
| [2008/05/29 09:07:41] <fujin> don't run it as a daemon? :) | ||
| [2008/05/29 09:07:59] <fujin> you could probably afford to inveset some time in trying to work out what is causing it.. | ||
| [2008/05/29 09:08:05] <fujin> invest, even | ||
| [2008/05/29 09:08:54] @ Quit: johnf: Network is unreachable | ||
| [2008/05/29 09:08:57] @ OOjoe joined channel #puppet | ||
| [2008/05/29 09:15:17] @ johnf joined channel #puppet | ||
| [2008/05/29 09:17:56] @ emerose_ joined channel #puppet | ||
| [2008/05/29 09:19:45] @ Quit: skorgu: "Leaving." | ||
| [2008/05/29 09:20:25] <martha> ok, I've load gdb, but I get: Cannot find user-level thread for LWP 4028: generic error | ||
| [2008/05/29 09:20:34] <martha> 4028 is the puppetd process | ||
| [2008/05/29 09:21:54] <martha> this might be because there isn't really a kernel on this vm | ||
| [2008/05/29 09:22:15] <holoway> martha: how idd you start gdb? | ||
| [2008/05/29 09:22:36] <fujin> ew | ||
| [2008/05/29 09:22:53] <martha> holoway according to the instructions in ticket #1131 | ||
| [2008/05/29 09:22:56] <gepetto> martha: #1131 is http://reductivelabs.com/trac/puppet/ticket/1131 "puppetmaster memory leak" | ||
| [2008/05/29 09:23:32] <fujin> vmware or Xen? | ||
| [2008/05/29 09:23:38] <martha> openvz | ||
| [2008/05/29 09:24:52] <fujin> not familiar with that one | ||
| [2008/05/29 09:25:06] <martha> this is from a hosting company | ||
| [2008/05/29 09:25:12] <holoway> hrm | ||
| [2008/05/29 09:25:14] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/05/29 09:25:28] <fujin> and you did 'gdb /usr/bin/ruby 4028' ? | ||
| [2008/05/29 09:25:33] <martha> yes | ||
| [2008/05/29 09:31:03] <holoway> martha: is your glibc up to date? | ||
| [2008/05/29 09:31:11] <holoway> that looks like an old bug | ||
| [2008/05/29 09:33:13] <martha> holoway: not the absolute latest, but not old either. 2.3.6.ds1-13etch2 | ||
| [2008/05/29 09:33:41] <holoway> hrm | ||
| [2008/05/29 09:36:46] @ Quit: freiheit: | ||
| [2008/05/29 09:36:56] <fujin> soudns awfully painful! | ||
| [2008/05/29 09:37:01] <fujin> morning, holoway - how's it going? | ||
| [2008/05/29 09:37:07] <holoway> fujin: good | ||
| [2008/05/29 09:37:09] <holoway> fucking slammed | ||
| [2008/05/29 09:37:17] <holoway> you would think we have clients or some shit | ||
| [2008/05/29 09:37:23] <holoway> :) | ||
| [2008/05/29 09:39:20] <plathrop> I have an odd problem | ||
| [2008/05/29 09:39:30] <plathrop> I removed an (unused) module that contained a plugin. | ||
| [2008/05/29 09:39:42] <plathrop> Now, I get: err: /File[/var/lib/puppet/lib/puppet]/source: Could not describe /plugins: can't convert nil into String | ||
| [2008/05/29 09:39:42] <plathrop> warning: /File[/var/lib/puppet/lib/puppet]/ensure: No specified sources exist | ||
| [2008/05/29 09:39:42] <plathrop> | ||
| [2008/05/29 09:39:53] <plathrop> When I run puppetd on my puppetmaster | ||
| [2008/05/29 09:39:58] <plathrop> Any idea what's up? | ||
| [2008/05/29 09:40:07] <fujin> holoway: get my mail bossman? | ||
| [2008/05/29 09:40:22] <fujin> plathrop: whoa - that's weird | ||
| [2008/05/29 09:40:54] <plathrop> I tried clearing out /var/lib/puppet/ and that didn't help anything | ||
| [2008/05/29 09:41:38] <holoway> fujin: yar | ||
| [2008/05/29 09:41:38] <martha> plathrop: try restarting the master? | ||
| [2008/05/29 09:41:41] <holoway> I'll reply in a bit | ||
| [2008/05/29 09:42:14] <plathrop> martha: Tried that too. | ||
| [2008/05/29 09:42:25] <fujin> plathrop: do you have *any* modules? | ||
| [2008/05/29 09:42:38] <martha> do you have any plugins now? | ||
| [2008/05/29 09:42:47] <martha> if not, try turning off pluginsync | ||
| [2008/05/29 09:42:48] <plathrop> I have modules, but no longer any plugins | ||
| [2008/05/29 09:42:50] <fujin> plathrop: --trace | ||
| [2008/05/29 09:42:56] <fujin> on the mastre | ||
| [2008/05/29 09:43:13] <plathrop> martha: Good idea, but definitely a bug if it's the case | ||
| [2008/05/29 09:43:25] <plathrop> fujin: puppetd --trace or puppetmasterd --trace ? | ||
| [2008/05/29 09:43:28] <fujin> master | ||
| [2008/05/29 09:43:38] <fujin> won't see an exception on your client afaik | ||
| [2008/05/29 09:45:18] <plathrop> pastie: give me some love | ||
| [2008/05/29 09:45:42] <pastie> http://pastie.org/205113 by plathrop. | ||
| [2008/05/29 09:45:53] <plathrop> fujin: There's the trace | ||
| [2008/05/29 09:46:14] <plathrop> Trying w/o pluginsync | ||
| [2008/05/29 09:46:26] <fujin> I'm going to assume your fileserver.conf hasnt' changed? | ||
| [2008/05/29 09:48:52] <plathrop> fujin: That's correct. | ||
| [2008/05/29 09:49:08] <fujin> plathrop: do you have any <module>/plugins folders that are empty? | ||
| [2008/05/29 09:49:22] <plathrop> I figured it out, but it's kinda funny/weird. | ||
| [2008/05/29 09:49:25] <fujin> do tell | ||
| [2008/05/29 09:50:04] <plathrop> See, I apparently had a typo in another spot, so it was using a cached config that apparently had the plugin described even though it was unused. | ||
| [2008/05/29 09:50:11] <fujin> ah - makes sense | ||
| [2008/05/29 09:50:13] <fujin> damn that cacher | ||
| [2008/05/29 09:50:31] <plathrop> Or... maybe not | ||
| [2008/05/29 09:51:26] <plathrop> nope still having that problem after the typo is fixed | ||
| [2008/05/29 09:51:28] <fujin> persists through restarts? | ||
| [2008/05/29 09:51:30] <fujin> hrmm | ||
| [2008/05/29 09:51:51] <plathrop> But I am interested by how it says: debug: Using cached node admin.digg.internal two lines above the trace | ||
| [2008/05/29 09:52:56] <hacim> jamesturnbull: not to toot my own horn, but its mostly been myself recently (http://changelogs.debian.net/puppet) | ||
| [2008/05/29 09:54:00] <plathrop> fujin: No empty <module>/plugins directories | ||
| [2008/05/29 09:54:08] <plathrop> martha: problem goes away when I turn off pluginsync | ||
| [2008/05/29 09:54:20] <plathrop> I'd say that's a bug. Can I get a +1 from someone? | ||
| [2008/05/29 09:55:52] * plathrop goes to see if there's a ticket already | ||
| [2008/05/29 09:56:39] <hacim> jamesturnbull: if people are interested in helping with the debian packaging, its maintained by a team structure, and I'd welcome the help | ||
| [2008/05/29 09:58:01] <fujin> plathrop: seems like it - although I'm not sure what is causing it | ||
| [2008/05/29 09:58:12] <plathrop> jamesturnbull: reopen 947 for me? It seems the fix doesn't catch an edge case I found. | ||
| [2008/05/29 09:58:21] <plathrop> #947 | ||
| [2008/05/29 09:58:23] <gepetto> plathrop: #947 is http://reductivelabs.com/trac/puppet/ticket/947 "pluginsync failure: can't convert nil into String in lib/puppet/network/handler/fileserver.rb:797" | ||
| [2008/05/29 10:06:11] @ Quit: robin__: | ||
| [2008/05/29 10:07:49] @ Quit: dysinger: | ||
| [2008/05/29 10:08:39] @ Quit: emerose_: "..." | ||
| [2008/05/29 10:11:19] @ Demosthenes joined channel #puppet | ||
| [2008/05/29 10:14:44] <fujin> la-la, la la, laaa | ||
| [2008/05/29 10:14:45] <fujin> warm it up | ||
| [2008/05/29 10:14:47] * fujin shakes | ||
| [2008/05/29 10:14:55] <fujin> thursday! i get to go on holiday until wednesday | ||
| [2008/05/29 10:28:47] @ Quit: mellen: Read error: 110 (Connection timed out) | ||
| [2008/05/29 10:32:07] @ Quit: Innocenti: Client Quit | ||
| [2008/05/29 10:32:55] @ Quit: shadoi: "leaving" | ||
| [2008/05/29 10:33:36] @ Innocenti joined channel #puppet | ||
| [2008/05/29 10:34:22] @ Quit: Innocenti: Client Quit | ||
| [2008/05/29 10:37:17] @ Quit: cote: | ||
| [2008/05/29 10:38:15] @ Quit: f--z: Excess Flood | ||
| [2008/05/29 10:38:53] @ f--z joined channel #puppet | ||
| [2008/05/29 10:39:00] @ cote joined channel #puppet | ||
| [2008/05/29 10:47:26] @ Quit: \ask: | ||
| [2008/05/29 10:52:36] <kombucha> hi what am i doing wrong? http://pastie.org/205149 | ||
| [2008/05/29 10:52:54] @ Quit: jvanzyl: | ||
| [2008/05/29 10:53:37] <martha> kombucha: you are missing requires, for one | ||
| [2008/05/29 10:54:47] <kombucha> can you give me an example ? | ||
| [2008/05/29 10:55:13] <fujin> kombucha: also probably better to use the managehome=> param to user{} | ||
| [2008/05/29 10:55:25] <fujin> have your user require => the file for /home/$name/.ssh | ||
| [2008/05/29 10:55:25] <martha> require => User["$name"], for the homedir | ||
| [2008/05/29 10:55:34] <fujin> mm | ||
| [2008/05/29 10:56:02] <martha> require => File["/home/$name"], for the .ssh dir | ||
| [2008/05/29 11:04:50] @ martha left channel #puppet () | ||
| [2008/05/29 11:05:06] @ jsgotangco joined channel #puppet | ||
| [2008/05/29 11:05:31] @ \ask joined channel #puppet | ||
| [2008/05/29 11:16:21] @ Quit: andrewcshafer: | ||
| [2008/05/29 11:17:42] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/05/29 11:18:26] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/29 11:22:12] <jamesturnbull> pastie: #947? | ||
| [2008/05/29 11:22:16] <gepetto> jamesturnbull: pastie: #947 is http://reductivelabs.com/trac/puppet/ticket/947 "pluginsync failure: can't convert nil into String in lib/puppet/network/handler/fileserver.rb:797" | ||
| [2008/05/29 11:25:16] <gepetto> ::puppet:: Ticket #947 (defect reopened): pluginsync failure: can't convert nil into String in lib/puppet/netwo... @ http://reductivelabs.com/trac/puppet/ticket/947#comment:4 (by james@lovedthanlost.net) | ||
| [2008/05/29 11:49:42] @ Quit: jsgotangco: "Ciao" | ||
| [2008/05/29 12:05:44] <msf> /win 5 | ||
| [2008/05/29 12:21:01] @ Quit: trombik: Read error: 110 (Connection timed out) | ||
| [2008/05/29 12:33:06] @ andrewcshafer joined channel #puppet | ||
| [2008/05/29 12:35:10] <fujin> msf: term doesn't understand ALT? :P | ||
| [2008/05/29 12:36:47] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 12:37:25] <mcbride> he just does that every once in a while to remind people that he's cool and has more than one friend online :-) | ||
| [2008/05/29 12:37:42] <mcbride> usually it's a bigger number, though. | ||
| [2008/05/29 12:46:53] <fujin> lol | ||
| [2008/05/29 12:48:22] @ dysinger joined channel #puppet | ||
| [2008/05/29 12:48:23] @ andrewcshafer_ joined channel #puppet | ||
| [2008/05/29 12:48:55] @ Quit: kajtzu: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:48:56] @ Quit: StyleWarz: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:48:58] @ Quit: phips: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:48:59] @ Quit: Volcane: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:00] @ Quit: barnbarn: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:02] @ Quit: OOjoe: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:03] @ Quit: Pyretic: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:05] @ Quit: spike: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:07] @ Quit: fdz: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:09] @ Quit: wrobel: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:11] @ Quit: londo: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 12:49:12] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 12:49:18] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 12:50:59] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 12:52:39] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 12:57:27] @ OOjoe joined channel #puppet | ||
| [2008/05/29 12:57:28] @ Pyretic joined channel #puppet | ||
| [2008/05/29 12:57:29] @ kajtzu joined channel #puppet | ||
| [2008/05/29 12:57:30] @ spike joined channel #puppet | ||
| [2008/05/29 12:57:31] @ londo joined channel #puppet | ||
| [2008/05/29 12:57:32] @ barnbarn joined channel #puppet | ||
| [2008/05/29 12:57:33] @ fdz joined channel #puppet | ||
| [2008/05/29 12:57:34] @ wrobel joined channel #puppet | ||
| [2008/05/29 12:57:35] @ Volcane joined channel #puppet | ||
| [2008/05/29 12:57:43] @ StyleWarz joined channel #puppet | ||
| [2008/05/29 12:57:44] @ phips joined channel #puppet | ||
| [2008/05/29 13:00:14] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/05/29 13:02:00] * fujin dances | ||
| [2008/05/29 13:05:16] @ trombik joined channel #puppet | ||
| [2008/05/29 13:09:22] @ john1 joined channel #puppet | ||
| [2008/05/29 13:10:40] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/29 13:11:58] @ Quit: dysinger: Connection timed out | ||
| [2008/05/29 13:19:19] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/29 13:19:20] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 13:21:15] <mcbride> msf: the facter-1.5.0rc1 port you sent seems to be working fine here... I'll roll it out on more machines and let you know if there are any more problems. | ||
| [2008/05/29 13:22:35] <kombucha> i want to install mysql on centos and debian clients. where do i read about providers ? | ||
| [2008/05/29 13:23:14] @ Quit: Volcane: Read error: 60 (Operation timed out) | ||
| [2008/05/29 13:24:04] @ Volcane joined channel #puppet | ||
| [2008/05/29 13:24:47] <mcbride> (checked on OpenBSD 4.2, 4.3, -current) | ||
| [2008/05/29 13:32:27] <mcbride> one small problem: it does not deal correctly with interface aliases. | ||
| [2008/05/29 13:34:25] <mcbride> when reporting the ip address for an interface with more than one address, it reports only the last one | ||
| [2008/05/29 13:34:51] <mcbride> and the netmask reported is the netmask for this address as well. | ||
| [2008/05/29 13:37:52] @ shake-n-bake joined channel #puppet | ||
| [2008/05/29 13:41:24] <fujin> mcbride: weird, does it ship with a funny version of ifconfig? | ||
| [2008/05/29 13:41:44] <fujin> what does the output of ifconfig on an aliased box look like so I can compare to mine | ||
| [2008/05/29 13:44:01] <mcbride> $ ifconfig udav0 | ||
| [2008/05/29 13:44:01] <mcbride> udav0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0a:79:64:b4:09 media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::20a:79ff:fe64:b409%udav0 prefixlen 64 scopeid 0x5 inet 192.168.0.11 netmask 0xffffffff broadcast 192.168.0.11 inet 192.168.0.12 netmask 0xffffffff broadcast 192.168.0.12 | ||
| [2008/05/29 13:44:24] <fujin> what the crap | ||
| [2008/05/29 13:44:27] <fujin> no wonder it doesn't work | ||
| [2008/05/29 13:44:29] <mcbride> whoops, somehow newlines got stripped. hope you can make sense of that. | ||
| [2008/05/29 13:44:35] <fujin> can you pop it into pastie please mate | ||
| [2008/05/29 13:45:29] <fujin> also what version of net-tools | ||
| [2008/05/29 13:45:38] <fujin> we may have to pop some confines in there for older version | ||
| [2008/05/29 13:45:54] <mcbride> net-tools? | ||
| [2008/05/29 13:46:08] <fujin> yes - that's the package that provides ifconfig | ||
| [2008/05/29 13:46:15] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 13:46:16] <mcbride> not on OpenBSD | ||
| [2008/05/29 13:46:31] <fujin> oh, you call it something else to add to the confusion? | ||
| [2008/05/29 13:46:32] <mcbride> not linux, part of the base OS. | ||
| [2008/05/29 13:46:38] <fujin> hrm | ||
| [2008/05/29 13:46:41] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 13:46:53] <mcbride> problem may be similar on freebsd, and probably netbsd. | ||
| [2008/05/29 13:47:28] <fujin> so no package provides ifconfig? it just ships with it? | ||
| [2008/05/29 13:47:38] <mcbride> correct. | ||
| [2008/05/29 13:47:50] <mcbride> the whole userland for the base OS is like that. | ||
| [2008/05/29 13:48:13] <fujin> urhm | ||
| [2008/05/29 13:48:50] <fujin> yeah, it's definitely quite differrent to the output of ifconfig from net-tools 1.60 | ||
| [2008/05/29 13:49:02] <mcbride> http://www.pastie.org/205196 | ||
| [2008/05/29 13:49:56] <fujin> very different to ifconfig / ip addr list | ||
| [2008/05/29 13:50:09] <fujin> probably worth disabling the *bsd support in the ipmess facts now | ||
| [2008/05/29 13:50:27] <mcbride> this is -current OpenBSD, what you might call HEAD | ||
| [2008/05/29 13:50:46] <fujin> i see | ||
| [2008/05/29 13:51:01] <mcbride> but older versions are basically the same. | ||
| [2008/05/29 13:51:05] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 13:51:19] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 13:52:49] <mcbride> honestly, I'd prefer fixing it to disabling it. | ||
| [2008/05/29 13:52:59] <mcbride> if anyone could test on netbsd/freebsd that would be nice. | ||
| [2008/05/29 13:53:49] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/29 13:53:58] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 13:54:30] <fujin> mcbride: should just be a matter of adjusting the regexes in lib/facter/util/ip.rb | ||
| [2008/05/29 13:55:02] <fujin> heh, james did a nice job of refactoring ipmess | ||
| [2008/05/29 13:56:48] <fujin> mcbride: those also aren't aliases in the Linux sense (dev:0, dev:1), that's a single iface with multiple addresse on it | ||
| [2008/05/29 13:56:57] <fujin> like what you can do with ip addr add eth0 x.x.x.x/24 | ||
| [2008/05/29 13:57:09] <fujin> may be a little more complex than just modifying the regex | ||
| [2008/05/29 13:57:27] <mcbride> yes, they're different on the linux side. | ||
| [2008/05/29 13:59:32] <fujin> mcbride: the way that ipmess works currently (as far as I can see) will not work with single interface w/ multiple addresses | ||
| [2008/05/29 13:59:57] <fujin> it grabs all of the interfaces with 'ifconfig -a', joins em and then hands those into the regexer | ||
| [2008/05/29 14:00:44] <fujin> treating each 'interface' seperately | ||
| [2008/05/29 14:00:53] @ Quit: jvanzyl_: Remote closed the connection | ||
| [2008/05/29 14:00:55] <fujin> which is probably why you're only seeing the one address come out of it | ||
| [2008/05/29 14:03:26] <mcbride> how about just returning a list of addresses? | ||
| [2008/05/29 14:04:08] <fujin> can't really do it without some heavy refactoring | ||
| [2008/05/29 14:04:12] <fujin> a) you'd break backwards compat | ||
| [2008/05/29 14:04:17] <fujin> some other points | ||
| [2008/05/29 14:04:59] <fujin> I suppose you can case Facter.value(:lsbdistversion) or whatever for that particular new version of obsd | ||
| [2008/05/29 14:05:00] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 14:05:18] <fujin> but the rest of the code doesn't support the same ideas.. loop through all the interfaces getting the address/mac/subnet individually | ||
| [2008/05/29 14:06:05] <mcbride> Oh, it has nothing to do with THIS version of openbsd. | ||
| [2008/05/29 14:06:06] @ plathrop joined channel #puppet | ||
| [2008/05/29 14:06:12] <fujin> happens on all? | ||
| [2008/05/29 14:06:16] <mcbride> this is pretty standard *bsd ifconfig behaviour | ||
| [2008/05/29 14:06:40] <fujin> BSD: Doing it wrong for no apparent reason | ||
| [2008/05/29 14:06:45] * fujin smirks | ||
| [2008/05/29 14:07:30] <mcbride> normally I would disagree, because BSD was kinda there first | ||
| [2008/05/29 14:07:40] <mcbride> but this code in particular sucks horribly and is broken. | ||
| [2008/05/29 14:07:58] <mcbride> fixing it is under discussion within OpenBSD | ||
| [2008/05/29 14:08:02] @ Quit: shake-n-bake: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 14:08:08] <mcbride> but the external behaviour is unlikely to change. | ||
| [2008/05/29 14:08:19] <mcbride> you'll still see multiple addresses on one interface. | ||
| [2008/05/29 14:09:11] @ shake-n-bake joined channel #puppet | ||
| [2008/05/29 14:10:32] <fujin> that's the new behaviour for the iproute2 package on Linux | ||
| [2008/05/29 14:10:45] <fujin> instead of doing alias interfaces you just simply add additional addresses to the interface | ||
| [2008/05/29 14:11:33] <fujin> mcbride: I mentioned a while ago a possibility for the ipmess.rb to prefer iproute2's methods for parsing and then fall back to ifconfig or similar | ||
| [2008/05/29 14:11:40] <fujin> really dunno how to address this | ||
| [2008/05/29 14:11:45] <fujin> for a start, log a ticket ;) | ||
| [2008/05/29 14:12:39] @ mellen joined channel #puppet | ||
| [2008/05/29 14:19:11] <jamesturnbull> mcbride: *BSD - argh. :) | ||
| [2008/05/29 14:19:15] <mcbride> speaking of which, any chance of making facter support ipv6 addresses? | ||
| [2008/05/29 14:19:36] <jamesturnbull> mcbride: I did some testing on netbsd for this but not with aliases interfaces | ||
| [2008/05/29 14:19:49] <jamesturnbull> mcbride: easy enough to supportt | ||
| [2008/05/29 14:20:05] <mcbride> same problem. multiple addresses on a single interface. | ||
| [2008/05/29 14:20:18] <jamesturnbull> okay so thinking about it from a facter perspective | ||
| [2008/05/29 14:20:20] <mcbride> aliases get worse with v6, too. | ||
| [2008/05/29 14:20:32] <jamesturnbull> you have ipaddress_int1 as a fasct | ||
| [2008/05/29 14:20:37] <jamesturnbull> that has 192.168.0.1 as an Ip | ||
| [2008/05/29 14:20:54] <jamesturnbull> how do we represent ipaddress_int1's SECOND IP address? | ||
| [2008/05/29 14:21:18] <jamesturnbull> ipaddress_int1.1 and ipaddress_int1.2? | ||
| [2008/05/29 14:21:31] <jamesturnbull> that'd conflict with linux interfaces | ||
| [2008/05/29 14:21:49] <jamesturnbull> I need a clean way to find, output and express in a clear way each fact | ||
| [2008/05/29 14:22:37] <jamesturnbull> mcbride: so what notation does bsd use for these aliases? | ||
| [2008/05/29 14:23:06] <mcbride> they just show up as additional addresses. | ||
| [2008/05/29 14:24:10] <mcbride> sample in the ticket I just opened. | ||
| [2008/05/29 14:26:28] <jamesturnbull> mcbride: yeah and hence the problem | ||
| [2008/05/29 14:26:48] <mcbride> jamesturnbull: yeah, that's going to conflict. especially if you get linux boxes doing both alias interfaces and multiple addresses per alias interfaces. | ||
| [2008/05/29 14:26:56] * fujin nods | ||
| [2008/05/29 14:26:59] <jamesturnbull> mcbride: I need a notation that makes it clear that this is the same interface with a sub-address that doesn't break the logic used by facter for linux boxes | ||
| [2008/05/29 14:27:10] <fujin> __ vs. _ ? | ||
| [2008/05/29 14:27:14] <fujin> (this becomes messsy) | ||
| [2008/05/29 14:27:17] <jamesturnbull> fujin: ugly | ||
| [2008/05/29 14:27:26] <jamesturnbull> fujin: and probably easy to slip up | ||
| [2008/05/29 14:27:29] <fujin> indeed | ||
| [2008/05/29 14:29:13] <fujin> jamesturnbull: either that or strip the *bsd stuff from ipmess altogether | ||
| [2008/05/29 14:29:17] <fujin> make it completely seperate | ||
| [2008/05/29 14:29:33] <fujin> that doesn't really solve it either | ||
| [2008/05/29 14:29:35] * fujin scratches head | ||
| [2008/05/29 14:29:43] <jamesturnbull> fujin: I just refactored the g_ddamn thing already too | ||
| [2008/05/29 14:30:30] <fujin> aye, I saw | ||
| [2008/05/29 14:30:36] <fujin> and the refactoring made it a lot nicer to read | ||
| [2008/05/29 14:31:08] <jamesturnbull> hmmm okay this is going to be tricky too because one of the refactors was to fix interfaces with :'s in them and now I'll need to find some other way of doing that too | ||
| [2008/05/29 14:31:32] <mcbride> short term it would be great if facter at least returned the first address found rather than the last one. | ||
| [2008/05/29 14:32:01] <jamesturnbull> mcbride: hmm okay Ill consider that a fallback | ||
| [2008/05/29 14:32:56] <jamesturnbull> mcbride: that's an easy fix | ||
| [2008/05/29 14:33:32] <mcbride> I'd still like to see aliases eventually, though :-) | ||
| [2008/05/29 14:33:45] <jamesturnbull> mcbride: well that'd be my preference too | ||
| [2008/05/29 14:33:54] <jamesturnbull> mcbride: how's your Ruby? | ||
| [2008/05/29 14:34:01] <jamesturnbull> mcbride: :P | ||
| [2008/05/29 14:34:22] @ nwp joined channel #puppet | ||
| [2008/05/29 14:34:34] <mcbride> that's a very typically openbsd response... "don't like it? here's the source" :-) | ||
| [2008/05/29 14:34:43] <mcbride> my ruby is beginner-level. | ||
| [2008/05/29 14:35:25] <jamesturnbull> mcbr I'm looking now | ||
| [2008/05/29 14:35:32] <jamesturnbull> mcbride: I am looking at it now | ||
| [2008/05/29 14:36:40] * fujin prods nwp | ||
| [2008/05/29 14:36:45] <fujin> hullo! | ||
| [2008/05/29 14:36:50] <nwp> hi | ||
| [2008/05/29 14:36:55] <fujin> NZ too, eh | ||
| [2008/05/29 14:37:12] <nwp> is anybody else awake at this time? | ||
| [2008/05/29 14:37:27] <fujin> heh | ||
| [2008/05/29 14:37:33] <fujin> mostly | ||
| [2008/05/29 14:39:38] <mcbride> silly question, but has there been any discussion of allowing more complex data structures in puppet/facter | ||
| [2008/05/29 14:39:55] <mcbride> I can see this kind of problem happening more and more as facter gets more sophisticated. | ||
| [2008/05/29 14:40:07] <nwp> is there a recipe or full example of managing users using virtual anywhere? | ||
| [2008/05/29 14:40:44] <nwp> it's mostly there in a couple of places in the docs but I'd be happier seeing how someone else has done it before I dive in | ||
| [2008/05/29 14:41:15] <fujin> wiki:VirtualResources | ||
| [2008/05/29 14:41:18] <gepetto> fujin: wiki: wiki:VirtualResources is http://reductivelabs.com/trac/puppet/wiki/VirtualResources | ||
| [2008/05/29 14:41:23] <fujin> covers that specific example | ||
| [2008/05/29 14:42:02] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 14:42:05] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/29 14:42:08] <fujin> I prefer managing users with a baseclass then override classes for enabled/disabled | ||
| [2008/05/29 14:42:20] <fujin> grouped by "department" | ||
| [2008/05/29 14:42:22] <nwp> fujin: yeah, saw that and the bits in BestPractice and a little somewhere else, but would be good to see a Real Example... | ||
| [2008/05/29 14:42:50] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 14:42:58] <nwp> I'm kind of in three or four minds about how to do it | ||
| [2008/05/29 14:43:07] <fujin> what are you having issues with specifically? | ||
| [2008/05/29 14:43:10] <fujin> it's a simple concept.. | ||
| [2008/05/29 14:43:15] <fujin> @type { name: parameters } | ||
| [2008/05/29 14:43:20] <fujin> realize Type[name] | ||
| [2008/05/29 14:43:49] <nwp> whether to bother with the virtual bits, how best to lay it out, impaired by lack of sleep etc. | ||
| [2008/05/29 14:43:59] <fujin> I personally don't bother with the virtual bits | ||
| [2008/05/29 14:44:11] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 14:44:14] <fujin> but it does let you do cool stuff like that pages says.. | ||
| [2008/05/29 14:44:15] <fujin> User <| (group == dba or group == sysadmin) or title == luke |> | ||
| [2008/05/29 14:45:00] <nwp> yes, looks neat, but I'm not sure I need it | ||
| [2008/05/29 14:45:18] @ john1 is now known as johnf | ||
| [2008/05/29 14:45:52] <fujin> I went with a simpler approach | ||
| [2008/05/29 14:46:24] @ lak joined channel #puppet | ||
| [2008/05/29 14:46:26] <fujin> pastie: | ||
| [2008/05/29 14:47:04] <fujin> actually piss it | ||
| [2008/05/29 14:47:15] <fujin> nwp: how many users are you looking at managing? | ||
| [2008/05/29 14:47:20] <nwp> not many | ||
| [2008/05/29 14:47:23] <fujin> if any | ||
| [2008/05/29 14:47:31] <nwp> under 20 | ||
| [2008/05/29 14:48:36] <nwp> debating whether to bother with "system" users at the moment too | ||
| [2008/05/29 14:48:47] <nwp> will probably not for now, although that might make it harder later | ||
| [2008/05/29 14:49:12] <nwp> I guess I should on new installs | ||
| [2008/05/29 14:49:41] <fujin> I try not to manage system users | ||
| [2008/05/29 14:49:52] <fujin> only thing I do is ensure consistency between uid/gid of them | ||
| [2008/05/29 14:50:05] <fujin> like mysql classes modify the mysql user/group and replace permissions on all the directories | ||
| [2008/05/29 14:50:20] <nwp> ah, I see. | ||
| [2008/05/29 14:50:36] <fujin> the cool thing about @resources | ||
| [2008/05/29 14:50:41] <fujin> is they aren't always sent to the client | ||
| [2008/05/29 14:50:47] <fujin> the resource does not exist until you realise it | ||
| [2008/05/29 14:51:22] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/29 14:52:26] <nwp> I think I might do it the virtual way just to make sure I understand it... | ||
| [2008/05/29 14:52:33] <fujin> good technique to learn | ||
| [2008/05/29 14:54:00] <nwp> fujin: where are you anyway? | ||
| [2008/05/29 15:06:16] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/05/29 15:11:35] <fujin> nwp: Maxnet, in Albany. | ||
| [2008/05/29 15:14:32] @ shadoi joined channel #puppet | ||
| [2008/05/29 15:14:46] @ jsgotangco joined channel #puppet | ||
| [2008/05/29 15:31:51] @ Quit: plathrop: Remote closed the connection | ||
| [2008/05/29 15:37:47] @ Ol_ joined channel #puppet | ||
| [2008/05/29 15:49:45] @ ricky_ joined channel #puppet | ||
| [2008/05/29 15:50:18] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 15:50:27] @ jvanzyl joined channel #puppet | ||
| [2008/05/29 15:50:59] @ Quit: ricky: Nick collision from services. | ||
| [2008/05/29 16:16:16] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/29 16:17:53] <ricky_> Hi, our puppet installation suddenly started having problems: "err: Could not call fileserver.describe: #<Errno::ECONNRESET: Connection reset by peer>" | ||
| [2008/05/29 16:18:15] <ricky_> Any suggetsions as to how to debug this? | ||
| [2008/05/29 16:18:23] <ricky_> **suggestions | ||
| [2008/05/29 16:21:49] @ Quit: trombik: Read error: 110 (Connection timed out) | ||
| [2008/05/29 16:24:31] @ trombik joined channel #puppet | ||
| [2008/05/29 16:27:59] <fujin> ricky_: restart the master? | ||
| [2008/05/29 16:28:25] <ricky_> I tried that, and it kept happening. | ||
| [2008/05/29 16:28:27] * ricky_ tries again. | ||
| [2008/05/29 16:29:05] <ricky_> This was the traceback from puppetd -t -d: http://dpaste.com/53504/ | ||
| [2008/05/29 16:32:19] @ DavidS joined channel #puppet | ||
| [2008/05/29 16:32:35] <ricky_> fujin: Woah, this time, it looks like it's making a difference :-) | ||
| [2008/05/29 16:32:48] <DavidS> g'morning everyone! | ||
| [2008/05/29 16:34:02] <ricky_> fujin: Thanks! | ||
| [2008/05/29 16:37:58] <fujin> o_0 | ||
| [2008/05/29 16:38:00] <fujin> so weird | ||
| [2008/05/29 16:38:04] <fujin> howdy DavidS | ||
| [2008/05/29 16:38:42] @ Quit: jsgotangco: "Ciao" | ||
| [2008/05/29 16:43:43] @ Quit: shake-n-bake: | ||
| [2008/05/29 16:44:15] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 16:44:27] @ mistik1 joined channel #puppet | ||
| [2008/05/29 16:45:10] <mistik1> whoa!, I must have been in the dark about this project :) | ||
| [2008/05/29 16:45:15] <mistik1> How is everyone? | ||
| [2008/05/29 16:46:25] <mistik1> I have a project I'm working on and would like to know if puppet would be the right tool to help me manage a set of machines | ||
| [2008/05/29 16:47:37] <fujin> Yes. It's the right tool. | ||
| [2008/05/29 16:47:40] <fujin> There are no tools that compare. | ||
| [2008/05/29 16:47:55] <mistik1> I am required to install machines in multiple locations and keep them updated with my software and system software, The problem is that I will not always have external access to these machines but the machines will allways be able to talk to a public IP address | ||
| [2008/05/29 16:48:03] <mistik1> hear me out | ||
| [2008/05/29 16:48:07] <mistik1> please | ||
| [2008/05/29 16:48:25] @ ricky_ is now known as ricky | ||
| [2008/05/29 16:48:27] <mistik1> I dont know how the puppet protocol works | ||
| [2008/05/29 16:48:34] <fujin> it's client <> server | ||
| [2008/05/29 16:48:56] <fujin> HTTPS | ||
| [2008/05/29 16:48:58] <DavidS> mistik1: it's client -> server | ||
| [2008/05/29 16:49:04] <mistik1> I will NOT be able to access the machines directly from outside thier networks | ||
| [2008/05/29 16:49:12] <mistik1> DavidS: ahh | ||
| [2008/05/29 16:49:20] @ roald joined channel #puppet | ||
| [2008/05/29 16:49:21] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 16:49:44] <mistik1> So as long I my update server is available to the clients it will work just fine? | ||
| [2008/05/29 16:49:55] @ roald joined channel #puppet | ||
| [2008/05/29 16:50:22] <fujin> yep | ||
| [2008/05/29 16:50:39] <mistik1> very cool | ||
| [2008/05/29 16:50:42] <fujin> I'd probably suggest running your puppetd's out of cron, so that they don't throw exceptions and die when they can't talk to the master | ||
| [2008/05/29 16:51:29] <fujin> but otherwise your setup sounds quite similar to everyone elses ;) | ||
| [2008/05/29 16:51:40] <mistik1> good to know :) | ||
| [2008/05/29 16:52:23] <mistik1> I was a bit worried about this, since I wont even know where some of these machines will be installed | ||
| [2008/05/29 16:52:42] <mistik1> I do know they will always be able to get to the public internet though | ||
| [2008/05/29 16:52:53] @ Quit: lak: | ||
| [2008/05/29 16:53:11] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 16:53:21] @ roald joined channel #puppet | ||
| [2008/05/29 16:54:27] @ Quit: Ol_: | ||
| [2008/05/29 16:54:45] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 16:58:37] <mistik1> Thanks for the clarification guys | ||
| [2008/05/29 16:58:46] <fujin> ;] | ||
| [2008/05/29 16:58:58] <mistik1> I'll be installing a copy and start playing in my vmware instances | ||
| [2008/05/29 16:59:05] <fujin> have fun | ||
| [2008/05/29 16:59:17] <mistik1> I'll try ;) | ||
| [2008/05/29 17:03:14] @ gh joined channel #puppet | ||
| [2008/05/29 17:03:35] @ roald joined channel #puppet | ||
| [2008/05/29 17:03:45] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 17:16:14] @ jsgotangco joined channel #puppet | ||
| [2008/05/29 17:17:39] @ fbe__ joined channel #puppet | ||
| [2008/05/29 17:19:15] @ Quit: fbe__: Client Quit | ||
| [2008/05/29 17:19:18] @ fbe__ joined channel #puppet | ||
| [2008/05/29 17:21:57] @ Quit: OOjoe: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 17:23:35] @ DerekW joined channel #puppet | ||
| [2008/05/29 17:35:33] @ tim|macbook joined channel #puppet | ||
| [2008/05/29 17:38:26] <DavidS> moin tim! | ||
| [2008/05/29 17:42:11] @ tim|mb joined channel #puppet | ||
| [2008/05/29 17:42:14] @ Quit: tim|macbook: Read error: 104 (Connection reset by peer) | ||
| [2008/05/29 17:47:20] @ Quit: pluesch0r: | ||
| [2008/05/29 17:48:02] @ Quit: mellen: Read error: 110 (Connection timed out) | ||
| [2008/05/29 17:51:35] @ mellen joined channel #puppet | ||
| [2008/05/29 17:53:38] @ Quit: jsgotangco: Read error: 110 (Connection timed out) | ||
| [2008/05/29 18:13:38] @ jsgotangco joined channel #puppet | ||
| [2008/05/29 18:17:23] @ exodos_ joined channel #puppet | ||
| [2008/05/29 18:30:21] @ pluesch0r joined channel #puppet | ||
| [2008/05/29 18:41:17] @ Quit: holoway: Read error: 110 (Connection timed out) | ||
| [2008/05/29 18:45:57] @ Quit: jsgotangco: "Ciao" | ||
| [2008/05/29 18:55:03] @ Quit: Wakko666: Read error: 110 (Connection timed out) | ||
| [2008/05/29 19:01:28] @ gh left channel #puppet () | ||
| [2008/05/29 19:01:45] <gileswork> oh well my apache module works a treat! | ||
| [2008/05/29 19:02:54] <gileswork> I hope the powers that be let me publish it | ||
| [2008/05/29 19:07:51] @ f--z joined channel #puppet | ||
| [2008/05/29 19:08:52] @ Wakko666 joined channel #puppet | ||
| [2008/05/29 19:27:19] @ Quit: shadoi: "leaving" | ||
| [2008/05/29 19:34:32] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/29 19:48:43] @ jsgotangco joined channel #puppet | ||
| [2008/05/29 20:03:03] @ roald joined channel #puppet | ||
| [2008/05/29 20:16:02] @ Quit: jsgotangco: "brb" | ||
| [2008/05/29 20:16:44] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 20:17:13] @ roald joined channel #puppet | ||
| [2008/05/29 20:17:14] @ Quit: roald: Remote closed the connection | ||
| [2008/05/29 20:26:09] @ Quit: tim|imac: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:26:11] @ Quit: kombucha: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:26:13] @ Quit: duritong: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:26:14] @ Quit: thom: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:26:15] @ Quit: lefant: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:26:17] @ Quit: Hunnur: kubrick.freenode.net irc.freenode.net | ||
| [2008/05/29 20:27:04] @ kombucha joined channel #puppet | ||
| [2008/05/29 20:27:05] @ tim|imac joined channel #puppet | ||
| [2008/05/29 20:27:06] @ duritong joined channel #puppet | ||
| [2008/05/29 20:27:07] @ thom joined channel #puppet | ||
| [2008/05/29 20:27:08] @ Hunnur joined channel #puppet | ||
| [2008/05/29 20:27:09] @ lefant joined channel #puppet | ||
| [2008/05/29 20:29:45] @ Quit: duritong: Remote closed the connection | ||
| [2008/05/29 20:29:48] @ duritong joined channel #puppet | ||
| [2008/05/29 20:35:30] @ Innocenti joined channel #puppet | ||
| [2008/05/29 20:36:26] @ f--z joined channel #puppet | ||
| [2008/05/29 20:44:26] @ Quit: shenson_not_here: Read error: 110 (Connection timed out) | ||
| [2008/05/29 20:45:59] @ Quit: andrewcshafer_: | ||
| [2008/05/29 21:06:10] @ Quit: pluesch0r: | ||
| [2008/05/29 21:14:19] @ kolla joined channel #puppet | ||
| [2008/05/29 21:14:30] @ roald joined channel #puppet | ||
| [2008/05/29 21:16:24] <DavidS> anyone news on the state of the github<->puppet-commits bridge? | ||
| [2008/05/29 21:22:27] <duritong> imho waiting for google | ||
| [2008/05/29 21:29:29] <jamesturnbull> DavidS: what exactly is the question? | ||
| [2008/05/29 21:29:41] @ andyhold left channel #puppet () | ||
| [2008/05/29 21:29:45] <jamesturnbull> DavidS: is the bot broken? | ||
| [2008/05/29 21:33:18] <DavidS> jamesturnbull: adam jacob wrote on -dev, that his commit bot "Has been his by Google's spam filters, just as Luke's was." | ||
| [2008/05/29 21:35:30] <jamesturnbull> DavidS: oh | ||
| [2008/05/29 21:35:35] <jamesturnbull> DavidS: missed that | ||
| [2008/05/29 21:35:43] <jamesturnbull> DavidS: maybe Luke should run the bot | ||
| [2008/05/29 21:47:37] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/29 22:15:59] @ Zothar_Work joined channel #puppet | ||
| [2008/05/29 22:25:37] @ kenvandine joined channel #puppet | ||
| [2008/05/29 23:14:23] @ shake-n-bake joined channel #puppet | ||
| [2008/05/29 23:16:02] @ Quit: shake-n-bake: Client Quit | ||
| [2008/05/29 23:19:03] @ ohadlevy joined channel #puppet | ||
| [2008/05/29 23:20:28] <ohadlevy> Does anyone if a module name is also a variable? for example if I would like to use a define to include always the module name? | ||
| [2008/05/29 23:20:48] @ kambiz joined channel #puppet | ||
| [2008/05/29 23:28:47] <duritong> zyx-: /win 13 | ||
| [2008/05/29 23:28:51] <duritong> bleh | ||
| [2008/05/29 23:38:34] @ Quit: kambiz: "Leaving" | ||
| [2008/05/29 23:39:49] @ shake-n-bake joined channel #puppet | ||
| [2008/05/29 23:45:56] <jamesturnbull> ohadlevy: no - not a variable unless you make it so | ||
| [2008/05/29 23:46:23] <ohadlevy> jamesturnbull: does it make sense? | ||
| [2008/05/29 23:46:32] <ohadlevy> or am i missing something? | ||
| [2008/05/29 23:46:33] <jamesturnbull> duritong: as to a tag - hmm can't remember if modules become tags | ||
| [2008/05/29 23:46:57] <jamesturnbull> ohadlevy: what do you want to achieve? | ||
| [2008/05/29 23:47:03] @ shenson_not_here joined channel #puppet | ||
| [2008/05/29 23:47:08] @ shenson_not_here is now known as shenson | ||
| [2008/05/29 23:47:32] <ohadlevy> jamesturnbull: I want to make a define, which follows a certian file source path, and i want this structure to exist in every module | ||
| [2008/05/29 23:47:46] <jamesturnbull> ohadlevy: ah | ||
| [2008/05/29 23:48:14] <ohadlevy> jamesturnbull: and as you need to use file {.. source => modulename/filename.....} | ||
| [2008/05/29 23:49:05] <jamesturnbull> ohadlevy: hmmm I am a bit slow this evening but put the define in a class and include that class in every module? | ||
| [2008/05/29 23:49:33] <ohadlevy> sure, but you need the modulename in the source | ||
| [2008/05/29 23:49:41] <jamesturnbull> ohadlevy: or possible for some modules use a default File with source? | ||
| [2008/05/29 23:49:49] <jamesturnbull> ohadlevy: Oh I see | ||
| [2008/05/29 23:50:39] <ohadlevy> jamesturnbull: do you know where should i look to add a module variable? | ||
| [2008/05/29 23:50:47] <ohadlevy> jamesturnbull: it should be damn easy | ||
| [2008/05/29 23:51:11] <jamesturnbull> ohadlevy: ah don't think that's possible - think you have to specify the source | ||
| [2008/05/29 23:51:31] <jamesturnbull> ohadlevy: but ask lak - I might be miscontrusing what you want | ||
| [2008/05/29 23:52:47] <ohadlevy> what I would like to do is something like : define myfile ($source) { file { $name: source => $module/$source} | ||
| [2008/05/29 23:53:14] <ohadlevy> jamesturnbull: thanks | ||
| [2008/05/29 23:53:46] <jamesturnbull> ohadlevy: don't think you can do that but ask away | ||
| [2008/05/29 23:54:06] <ohadlevy> jamesturnbull: why not? |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!