| [2010/02/12 00:00:04] @ Log started by gepetto | ||
| [2010/02/12 00:00:04] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 00:01:19] @ Quit: simplechat: Remote host closed the connection | ||
| [2010/02/12 00:02:24] @ giskard joined channel #puppet | ||
| [2010/02/12 00:04:21] @ jbeez_ joined channel #puppet | ||
| [2010/02/12 00:05:55] @ Quit: jbeez_: Client Quit | ||
| [2010/02/12 00:06:05] @ Quit: jbeez: Ping timeout: 246 seconds | ||
| [2010/02/12 00:13:58] @ Demosthenes joined channel #puppet | ||
| [2010/02/12 00:14:55] @ Quit: glut: Remote host closed the connection | ||
| [2010/02/12 00:15:49] @ nb joined channel #puppet | ||
| [2010/02/12 00:28:30] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 00:30:57] @ Quit: jcape: Ping timeout: 252 seconds | ||
| [2010/02/12 00:31:13] @ giskard joined channel #puppet | ||
| [2010/02/12 00:34:11] @ Quit: PaulWay[w]: Remote host closed the connection | ||
| [2010/02/12 00:37:23] @ Quit: pting: Quit: Ex-Chat | ||
| [2010/02/12 00:38:08] @ jcape joined channel #puppet | ||
| [2010/02/12 00:40:26] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/02/12 00:45:43] @ nigelk joined channel #puppet | ||
| [2010/02/12 00:48:55] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 00:51:31] @ bug joined channel #puppet | ||
| [2010/02/12 00:51:51] @ Quit: jcape: Ping timeout: 252 seconds | ||
| [2010/02/12 00:53:36] @ jcape joined channel #puppet | ||
| [2010/02/12 00:53:51] @ PaulWay[w] joined channel #puppet | ||
| [2010/02/12 01:00:09] @ \ask joined channel #puppet | ||
| [2010/02/12 01:00:21] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 01:02:22] @ giskard joined channel #puppet | ||
| [2010/02/12 01:12:53] <KarlHungus> anyone up? | ||
| [2010/02/12 01:13:11] <KarlHungus> i have a define specifying a apache virtual host configuration file resource | ||
| [2010/02/12 01:14:07] <KarlHungus> i want to give it a parameter called upload_dirs that takes an array of paths relative to the virtual host's documentroot and ensures they are writable by apache | ||
| [2010/02/12 01:14:50] <KarlHungus> in my definition i have file { $upload_dirs: owner => "apache", mode => "0644", } | ||
| [2010/02/12 01:15:23] <KarlHungus> how do i handle the problem of $upload_dirs containing relative and not absolute paths? | ||
| [2010/02/12 01:31:00] @ PaulWay[w] left channel #puppet ("Oh great Torvalds, please let this day end!") | ||
| [2010/02/12 01:37:06] @ Quit: nmi: Ping timeout: 240 seconds | ||
| [2010/02/12 01:41:58] @ nmi joined channel #puppet | ||
| [2010/02/12 01:44:35] @ Quit: RageLink: Read error: Operation timed out | ||
| [2010/02/12 01:45:00] @ RageLink joined channel #puppet | ||
| [2010/02/12 01:47:04] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 01:47:32] @ Quit: jfreeman: Read error: Connection reset by peer | ||
| [2010/02/12 01:48:56] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 01:49:29] @ giskard joined channel #puppet | ||
| [2010/02/12 01:52:04] <joe-mac> do you set the virtual host's docroot as a variable? | ||
| [2010/02/12 01:52:08] <joe-mac> just concatenate them then | ||
| [2010/02/12 01:52:24] <joe-mac> like ${document_root}${upload_dirs} | ||
| [2010/02/12 01:55:06] <KarlHungus> yes | ||
| [2010/02/12 01:55:42] <KarlHungus> hmm. | ||
| [2010/02/12 01:58:01] <KarlHungus> well, if i have two virtual hosts and each has a dir named "/tmp" under the docroot, i get stuck with conflicting file resources named "/tmp" | ||
| [2010/02/12 02:02:27] @ Quit: nmi: Quit: Leaving | ||
| [2010/02/12 02:02:37] @ nmi joined channel #puppet | ||
| [2010/02/12 02:02:47] @ Quit: nmi: Client Quit | ||
| [2010/02/12 02:10:38] @ hy is now known as _hy | ||
| [2010/02/12 02:13:23] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 02:13:55] <joe-mac> so concatenate KarlHungus | ||
| [2010/02/12 02:14:19] <joe-mac> like i said- if you end up with conflicts that way, qualify the name further by specifying the virtual host's root | ||
| [2010/02/12 02:14:39] <joe-mac> like i assume you hjave www.somesite.com/cfg and www.somesite.com/docroot | ||
| [2010/02/12 02:14:45] <joe-mac> something like that | ||
| [2010/02/12 02:14:50] <joe-mac> depending on your distro i guess | ||
| [2010/02/12 02:16:50] @ Quit: grim_radical: Ping timeout: 248 seconds | ||
| [2010/02/12 02:17:45] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 02:18:43] @ giskard joined channel #puppet | ||
| [2010/02/12 02:19:53] @ Robbie_ joined channel #puppet | ||
| [2010/02/12 02:23:53] @ TREllis joined channel #puppet | ||
| [2010/02/12 02:24:28] @ mfournier joined channel #puppet | ||
| [2010/02/12 02:29:02] @ Quit: TREllis: Ping timeout: 265 seconds | ||
| [2010/02/12 02:32:29] @ Quit: giskard: Read error: Operation timed out | ||
| [2010/02/12 02:32:44] @ grim_radical joined channel #puppet | ||
| [2010/02/12 02:34:32] @ giskard joined channel #puppet | ||
| [2010/02/12 02:35:54] @ Chiku|dc joined channel #puppet | ||
| [2010/02/12 02:37:30] @ Quit: Chiku: Ping timeout: 276 seconds | ||
| [2010/02/12 02:39:14] @ dim0 joined channel #puppet | ||
| [2010/02/12 02:39:23] <KarlHungus> joe-mac: heh, i'm not sure i follow. but its late and i may be misreading. i'll see if i can work it out in the morning. thanks | ||
| [2010/02/12 02:39:39] @ Quit: Bass10: Ping timeout: 252 seconds | ||
| [2010/02/12 02:40:01] <joe-mac> KarlHungus: yea man try to do some logjammin and get some rest | ||
| [2010/02/12 02:40:03] <joe-mac> lmao | ||
| [2010/02/12 02:40:04] <joe-mac> see ya | ||
| [2010/02/12 02:40:09] <KarlHungus> unless you mean to build the upload_dirs array like [ "$docroot/tmp", "$docroot/foo" ] | ||
| [2010/02/12 02:40:28] <KarlHungus> hah =) will do. take it easy | ||
| [2010/02/12 02:41:23] @ pacalm joined channel #puppet | ||
| [2010/02/12 02:42:50] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/02/12 02:43:55] @ Quit: Robbie_: Remote host closed the connection | ||
| [2010/02/12 02:45:08] @ Quit: omry: Remote host closed the connection | ||
| [2010/02/12 02:48:56] @ Quit: lutter: Quit: Leaving. | ||
| [2010/02/12 02:54:58] @ suchu joined channel #puppet | ||
| [2010/02/12 02:59:03] @ Quit: tjoe: Quit: leaving | ||
| [2010/02/12 03:01:17] @ blahdeblah joined channel #puppet | ||
| [2010/02/12 03:04:50] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 03:05:48] @ giskard joined channel #puppet | ||
| [2010/02/12 03:05:54] @ tim|imac joined channel #puppet | ||
| [2010/02/12 03:06:57] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/12 03:08:49] @ Quit: dim0: Quit: Leaving... | ||
| [2010/02/12 03:12:17] @ \ask joined channel #puppet | ||
| [2010/02/12 03:15:09] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 03:29:40] @ Quit: bug: Quit: bug | ||
| [2010/02/12 03:36:48] <Volcane> joe-mac: thanks for pimping my stuff :P | ||
| [2010/02/12 03:37:01] <joe-mac> lol np | ||
| [2010/02/12 03:37:04] <joe-mac> you have good hoes | ||
| [2010/02/12 03:37:08] <joe-mac> therefore i must pimp them | ||
| [2010/02/12 03:37:35] <Volcane> heh | ||
| [2010/02/12 03:37:57] @ Ramonster joined channel #puppet | ||
| [2010/02/12 03:38:53] @ Quit: ppickfor: Quit: Leaving. | ||
| [2010/02/12 03:41:47] @ ppickfor1 joined channel #puppet | ||
| [2010/02/12 03:41:49] @ ppickfor1 is now known as ppickfor | ||
| [2010/02/12 03:44:58] @ giskard joined channel #puppet | ||
| [2010/02/12 03:46:04] @ rcrowley joined channel #puppet | ||
| [2010/02/12 03:51:15] @ joe-mac left channel #puppet () | ||
| [2010/02/12 03:51:49] @ tyll joined channel #puppet | ||
| [2010/02/12 03:51:59] <henk> i place files in /etc/sysctl.d/ and need to run /etc/init.d/procps restart afterwards. one file is put there from the 'xen' class, another from the 'ipv6' class. where should i put the 'exec' containing the /etc/init.d/procps restart now? | ||
| [2010/02/12 03:56:20] <Volcane> why dont you use the service{"procps": ensure => running, enable => true} ? | ||
| [2010/02/12 03:56:26] <Volcane> no need to exec services | ||
| [2010/02/12 03:57:57] <Volcane> and then from wherever u need to restart a service you just notify => Service["procps"] on those resources | ||
| [2010/02/12 03:59:24] <henk> Volcane: because procps is not really a service. it's just an init script setting variables in /proc/ after reading files in /etc/... so there is no process at all. | ||
| [2010/02/12 03:59:52] <Volcane> does it have a status command? | ||
| [2010/02/12 04:00:02] <Volcane> /etc/init.d/procps status i mean | ||
| [2010/02/12 04:00:14] <henk> no | ||
| [2010/02/12 04:00:45] <Volcane> lame, ok | ||
| [2010/02/12 04:01:11] <Volcane> make the exec refreshonly => true | ||
| [2010/02/12 04:01:17] <Volcane> then u can also just notify the exxec | ||
| [2010/02/12 04:02:09] <henk> Volcane: yeah, but i need it from two different modules... | ||
| [2010/02/12 04:02:33] <henk> atm i'm getting an dependency cycle error, i just don't see the cycle... | ||
| [2010/02/12 04:02:37] <Volcane> you need to include the class with the exec in one - put it somewhere common | ||
| [2010/02/12 04:02:47] <Volcane> then you can notify it from many places and u can also include it many times | ||
| [2010/02/12 04:02:52] <Volcane> ah | ||
| [2010/02/12 04:02:56] <Volcane> cycle is something different | ||
| [2010/02/12 04:03:06] <Volcane> show the code and error on pastie | ||
| [2010/02/12 04:04:08] <tim|imac> Volcane: we have a very good reason to exec services: reload instead of restart :) | ||
| [2010/02/12 04:04:36] <Volcane> why dont you tell service to use reload and not restart? | ||
| [2010/02/12 04:04:46] @ TREllis joined channel #puppet | ||
| [2010/02/12 04:05:18] <tim|imac> because sometimes you want to be able to use both | ||
| [2010/02/12 04:05:28] <Volcane> nods | ||
| [2010/02/12 04:05:37] <tim|imac> or use force-reload for some actions, reload for other actions and restart for even more actions | ||
| [2010/02/12 04:06:02] <tim|imac> so we generally setup service resources, but almost always include an exec "reload-$servicename" | ||
| [2010/02/12 04:06:30] <Volcane> yeah | ||
| [2010/02/12 04:07:02] <henk> Volcane: http://paste.debian.net/59630/ | ||
| [2010/02/12 04:07:26] <Volcane> meh pastie is so much nicer :P | ||
| [2010/02/12 04:07:52] <henk> ok, next time | ||
| [2010/02/12 04:08:11] <Volcane> henk: show the procps class too | ||
| [2010/02/12 04:09:19] @ TREllis_ joined channel #puppet | ||
| [2010/02/12 04:09:20] <henk> oh, damn, forgot that one | ||
| [2010/02/12 04:10:14] <henk> Volcane: http://pastie.org/821474 | ||
| [2010/02/12 04:11:19] <Volcane> k, well i think you should just remove the require => Class["procps"] lines | ||
| [2010/02/12 04:11:22] <Volcane> doesnt make much sense | ||
| [2010/02/12 04:11:52] <Volcane> you're telling it to start the service before you put the files down but notify tells it to restart it after a file changes | ||
| [2010/02/12 04:12:58] <henk> well, i wanted to add a package statement to the procps class later... | ||
| [2010/02/12 04:13:33] <Volcane> this is why i split thigs up like procps::install and procps::service | ||
| [2010/02/12 04:13:39] <henk> so with notify on the procps CLASS i'm going the right way? | ||
| [2010/02/12 04:13:48] <Volcane> then i can slip stuff into the middle of the process | ||
| [2010/02/12 04:13:50] <henk> hm, makes sense. | ||
| [2010/02/12 04:14:14] <henk> so i'd require procps::install and notify procps::service, right? | ||
| [2010/02/12 04:14:18] <Volcane> ye | ||
| [2010/02/12 04:14:25] <henk> cool thanks a lot! | ||
| [2010/02/12 04:14:52] @ Quit: ambroff: Quit: Ex-Chat | ||
| [2010/02/12 04:14:56] <Volcane> np | ||
| [2010/02/12 04:15:14] <tim|imac> you can notify a class? | ||
| [2010/02/12 04:15:38] @ Quit: TREllis_: Quit: leaving | ||
| [2010/02/12 04:17:21] @ verwilst joined channel #puppet | ||
| [2010/02/12 04:17:52] <Volcane> yes | ||
| [2010/02/12 04:18:23] <Volcane> result is all resources inside the class get notified | ||
| [2010/02/12 04:18:34] <tim|imac> that's good to know! | ||
| [2010/02/12 04:20:29] @ Robbie_ joined channel #puppet | ||
| [2010/02/12 04:28:56] @ MattyM joined channel #puppet | ||
| [2010/02/12 04:31:45] @ blahdeblah1 joined channel #puppet | ||
| [2010/02/12 04:31:51] @ Quit: blahdeblah1: Client Quit | ||
| [2010/02/12 04:31:58] @ _hy is now known as hy | ||
| [2010/02/12 04:32:30] @ Quit: blahdeblah: Ping timeout: 256 seconds | ||
| [2010/02/12 04:34:30] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/12 04:38:45] <henk> i splitted the procps module in two classes procps::package and procps::service now. the ::package is included in my i7defaults class and the 'require's work fine. even if i also include the ::service class in my i7defaults i get this error: Could not retrieve dependency 'Class[procps::service]' of File[/etc/sysctl.d/ipv6autoconf.conf] at /etc/puppet/modules/ipv6/manifests/init.pp:15 | ||
| [2010/02/12 04:39:36] <Volcane> I usually make class procps just include both those | ||
| [2010/02/12 04:39:41] <Volcane> and then include procps everywhere | ||
| [2010/02/12 04:39:50] <Volcane> using require/notifies to tie into the parts of it | ||
| [2010/02/12 04:40:02] <Volcane> see http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php | ||
| [2010/02/12 04:40:42] <henk> Volcane: ok, seems to work. thanks! | ||
| [2010/02/12 04:41:01] <Volcane> :) | ||
| [2010/02/12 05:05:12] @ Quit: Chiku|dc: Read error: Connection reset by peer | ||
| [2010/02/12 05:05:29] @ Chiku joined channel #puppet | ||
| [2010/02/12 05:13:57] <dyresen> If I have a config file present on a server, and in this config file I want the hostname of all machines that have a certain module included. What is the easiest way to go about this in puppet? | ||
| [2010/02/12 05:14:20] <dyresen> I don't want to edit the file manually. | ||
| [2010/02/12 05:20:14] @ benlovell joined channel #puppet | ||
| [2010/02/12 05:21:02] <dyresen> If someone can point me to the appropriate docs I'd be way happy :) | ||
| [2010/02/12 05:43:49] <shine> how puppet could deny my request when I set allow * on fileserver.conf ? :) | ||
| [2010/02/12 05:48:37] @ elementai joined channel #puppet | ||
| [2010/02/12 05:59:52] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 06:02:00] @ ahasenack joined channel #puppet | ||
| [2010/02/12 06:14:23] @ danielbln joined channel #puppet | ||
| [2010/02/12 06:24:06] @ docelic_ is now known as docelic | ||
| [2010/02/12 06:28:23] @ docelic_ joined channel #puppet | ||
| [2010/02/12 06:29:45] @ glut joined channel #puppet | ||
| [2010/02/12 06:31:01] @ Quit: docelic: Ping timeout: 264 seconds | ||
| [2010/02/12 06:48:14] @ PsychoSid joined channel #puppet | ||
| [2010/02/12 06:52:22] @ cynicismic joined channel #puppet | ||
| [2010/02/12 06:56:57] @ slune joined channel #puppet | ||
| [2010/02/12 06:57:07] @ Pirate_Hunter joined channel #puppet | ||
| [2010/02/12 07:03:15] <slune> Hi, is there any way you this cron { "queue_check": monthday => 'now + 10', ..... ? | ||
| [2010/02/12 07:03:42] <Cope> that doesn't make sense | ||
| [2010/02/12 07:03:55] <slune> why not? | ||
| [2010/02/12 07:04:20] <slune> i need something starts just once | ||
| [2010/02/12 07:04:27] <Cope> tehn use at | ||
| [2010/02/12 07:05:41] <slune> :) thx that's the kick in the right direction | ||
| [2010/02/12 07:07:26] <Cope> welcome | ||
| [2010/02/12 07:08:38] <gebi> is there any module in puppet to evenly distribute a timeinterval in cronjobs among many machines? | ||
| [2010/02/12 07:09:03] <Cope> so to create a staggered job? | ||
| [2010/02/12 07:09:05] <gebi> something like 'cronjob has to run every hour but choose a random minute' | ||
| [2010/02/12 07:09:32] <Cope> simplest way to do that is have the cron run at a set time, but with a random sleep in front of the command | ||
| [2010/02/12 07:09:48] <Dominic> indeed, I've seen people use the output of `hostid` as a constant seed | ||
| [2010/02/12 07:09:55] <Cope> that's how i run puppet on clients | ||
| [2010/02/12 07:09:57] <slune> i've found this Recipes http://reductivelabs.com/trac/puppet/wiki/Recipes/cron | ||
| [2010/02/12 07:10:23] <Cope> slune: amazing! a regular gold-mine! Quick - tweet it! | ||
| [2010/02/12 07:11:57] <gebi> oh cool, thx :) | ||
| [2010/02/12 07:21:46] @ m1nish joined channel #puppet | ||
| [2010/02/12 07:30:58] @ xcrracer joined channel #puppet | ||
| [2010/02/12 07:31:01] @ xcrracer left channel #puppet () | ||
| [2010/02/12 07:35:52] @ LinuxCode joined channel #puppet | ||
| [2010/02/12 07:48:07] @ Quit: cynicismic: Quit: leaving | ||
| [2010/02/12 07:55:02] @ Quit: alban2: Read error: Connection reset by peer | ||
| [2010/02/12 07:55:07] @ alban2 joined channel #puppet | ||
| [2010/02/12 07:56:23] @ Quit: m1nish: Quit: Leaving | ||
| [2010/02/12 08:18:00] @ Quit: benlovell: Quit: benlovell | ||
| [2010/02/12 08:19:09] @ PsychoSid1 joined channel #puppet | ||
| [2010/02/12 08:22:18] @ Quit: PsychoSid: Ping timeout: 252 seconds | ||
| [2010/02/12 08:25:03] @ Quit: verwilst: Ping timeout: 252 seconds | ||
| [2010/02/12 08:26:22] @ Robbie__ joined channel #puppet | ||
| [2010/02/12 08:26:32] @ Quit: Robbie_: Read error: Operation timed out | ||
| [2010/02/12 08:29:41] @ jab_doa joined channel #puppet | ||
| [2010/02/12 08:32:25] @ illsci left channel #puppet () | ||
| [2010/02/12 08:35:03] @ Quit: slune: Ping timeout: 256 seconds | ||
| [2010/02/12 08:35:03] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2010/02/12 08:35:28] @ cliff-hm joined channel #puppet | ||
| [2010/02/12 08:35:36] @ Quit: RSpacePope: Ping timeout: 256 seconds | ||
| [2010/02/12 08:36:09] @ RSpacePope joined channel #puppet | ||
| [2010/02/12 08:36:50] @ xerxas joined channel #puppet | ||
| [2010/02/12 08:36:53] <xerxas> Hi all | ||
| [2010/02/12 08:37:10] @ slune joined channel #puppet | ||
| [2010/02/12 08:37:14] <xerxas> on my puppetmaster I run puppetrun —host ahost | ||
| [2010/02/12 08:37:26] <xerxas> on ahost I tcpdump port 8139 and I don't get nothing | ||
| [2010/02/12 08:37:51] <xerxas> an idea about what's wrong ? | ||
| [2010/02/12 08:38:38] <LinuxCode> made sure iptables allows it in ? | ||
| [2010/02/12 08:38:55] <LinuxCode> is it listening ? | ||
| [2010/02/12 08:39:43] <xerxas> LinuxCode: it's listening , no firewall | ||
| [2010/02/12 08:39:54] <xerxas> echo "HELLO" | nc ahost 8139 | ||
| [2010/02/12 08:40:01] <xerxas> prints some stuff in tcpdump | ||
| [2010/02/12 08:40:23] @ verwilst joined channel #puppet | ||
| [2010/02/12 08:40:23] <xerxas> simply , puppetrun doesn't seem to send anything on my puppetmaster | ||
| [2010/02/12 08:40:29] <xerxas> wrong configuration ? | ||
| [2010/02/12 08:40:29] <LinuxCode> I must admit, I havent set puppetrun up | ||
| [2010/02/12 08:40:33] <xerxas> ok | ||
| [2010/02/12 08:40:45] <LinuxCode> just my intial thoughts were iptables on both sides | ||
| [2010/02/12 08:40:52] <LinuxCode> and make sure its listening | ||
| [2010/02/12 08:40:56] @ vagn joined channel #puppet | ||
| [2010/02/12 08:41:20] <xerxas> netstat show a ruby process listening on 8139 | ||
| [2010/02/12 08:41:34] <xerxas> nc sends data and tcpdump sees it | ||
| [2010/02/12 08:44:32] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/12 08:51:54] @ Quit: himynameisthor: Ping timeout: 276 seconds | ||
| [2010/02/12 08:52:00] @ himynameisthor joined channel #puppet | ||
| [2010/02/12 08:53:12] <jmccune> Good morning | ||
| [2010/02/12 08:58:24] @ Quit: cmdln: Quit: Leaving. | ||
| [2010/02/12 08:58:36] @ Quit: swygue: Quit: Ex-Chat | ||
| [2010/02/12 08:59:57] @ joe-mac joined channel #puppet | ||
| [2010/02/12 09:00:19] @ rmiller4pi81 joined channel #puppet | ||
| [2010/02/12 09:01:34] @ malraid joined channel #puppet | ||
| [2010/02/12 09:02:42] @ Quit: rmiller4pi8: Ping timeout: 240 seconds | ||
| [2010/02/12 09:14:29] @ Quit: cliff-hm: Quit: Leaving | ||
| [2010/02/12 09:14:43] @ cliff-hm joined channel #puppet | ||
| [2010/02/12 09:16:39] @ bug joined channel #puppet | ||
| [2010/02/12 09:16:59] <joe-mac> wtf is this from ralsh | ||
| [2010/02/12 09:17:00] <joe-mac> Could not run: Global resource access is deprecated | ||
| [2010/02/12 09:17:08] <joe-mac> trying to run ralsh file /etc/dhcp3/dhclient.conf | ||
| [2010/02/12 09:18:42] @ Quit: PsychoSid1: Ping timeout: 248 seconds | ||
| [2010/02/12 09:20:05] <Volcane> same here | ||
| [2010/02/12 09:20:08] <Volcane> broken ralsh | ||
| [2010/02/12 09:24:29] <joe-mac> is this known or should i file a bug? | ||
| [2010/02/12 09:24:50] <Volcane> there's a few ralsh bugs already check if one of them covers it | ||
| [2010/02/12 09:25:24] <joe-mac> k | ||
| [2010/02/12 09:25:49] <joe-mac> was up til like four last night setting up real live infrastructure with puppet on the west coast! | ||
| [2010/02/12 09:25:55] <joe-mac> feeling real chipper this morning | ||
| [2010/02/12 09:26:12] <joe-mac> wish we had a cot in the server room | ||
| [2010/02/12 09:28:55] <tim|imac> is the scope available in a variable? so I can do something like line { "added by $scope": file => /somewhere } | ||
| [2010/02/12 09:30:28] <joe-mac> no clue, test with puppet test.pp | ||
| [2010/02/12 09:31:18] <tim|imac> well, there's no $scope at least, but maybe it's in another variable :) | ||
| [2010/02/12 09:31:50] @ Quit: bug: Quit: bug | ||
| [2010/02/12 09:32:19] <joe-mac> o i c | ||
| [2010/02/12 09:34:11] @ kaptk2 joined channel #puppet | ||
| [2010/02/12 09:42:43] @ Robbie_ joined channel #puppet | ||
| [2010/02/12 09:44:42] @ bobbyz joined channel #puppet | ||
| [2010/02/12 09:45:18] @ Quit: brothers: Ping timeout: 256 seconds | ||
| [2010/02/12 09:45:20] @ Quit: Robbie__: Ping timeout: 240 seconds | ||
| [2010/02/12 09:47:36] @ pheezy joined channel #puppet | ||
| [2010/02/12 09:48:18] <Pupeno> what does this mean: err: Could not create enable-firewall: 'yes | /usr/sbin/ufw enable' is both unqualifed and specified no search path at /etc/puppet/manifests/classes/ufw.pp:11 | ||
| [2010/02/12 09:48:57] <Volcane> it doesnt know where on the filesystem to find 'yes' | ||
| [2010/02/12 09:49:18] <Pupeno> oh, ok. | ||
| [2010/02/12 09:50:58] <monachus> we have our puppetmasters behind a load balancer - it periodically chokes without actually dying - is there an HTTP check i can make to /RPC2 that will return something useful so i know that traffic is reaching our puppetmasters? | ||
| [2010/02/12 09:52:43] <Pupeno> Is it possible to make a service that tries to get started only if the init.d file exists, otherwise not do anything (silently) | ||
| [2010/02/12 09:53:09] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2010/02/12 09:53:39] <monachus> Pupeno: file { "/etc/init.d/blah": ensure => present } service { "blah": require => File["/etc/init.d/blah"] } | ||
| [2010/02/12 09:53:49] @ Quit: Robbie_: Read error: Connection reset by peer | ||
| [2010/02/12 09:54:07] <Pupeno> monachus: won't then the file fail with an error? | ||
| [2010/02/12 09:54:42] * monachus thinks | ||
| [2010/02/12 09:54:45] @ Robbie_ joined channel #puppet | ||
| [2010/02/12 09:55:24] <monachus> you might be right. i don't think it would matter because only one thing depends on it, but it would probably show up as a failure in the log/report | ||
| [2010/02/12 09:55:50] <monachus> not sure | ||
| [2010/02/12 09:58:56] @ Quit: jcape: Ping timeout: 258 seconds | ||
| [2010/02/12 10:00:05] @ bug joined channel #puppet | ||
| [2010/02/12 10:01:49] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/12 10:01:51] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558] | ||
| [2010/02/12 10:09:21] @ Quit: rmiller4pi81: Quit: Leaving. | ||
| [2010/02/12 10:09:59] @ jcape joined channel #puppet | ||
| [2010/02/12 10:11:06] @ Quit: nigelk: Quit: nigelk | ||
| [2010/02/12 10:11:38] @ ccaum joined channel #puppet | ||
| [2010/02/12 10:12:25] <Pupeno> I have a class firewall and then the class openssh has a type exec which opens up the firewall for openssh. I want that exec to depend on the firewall being enabled but only if the firewall class was included in the node, is that possible? | ||
| [2010/02/12 10:15:41] <Pupeno> I currently have execs for adding openssh firewall rules that only run when the firewall is enabled... but without a dependency the firewall enabling type may be run after the openssh exec and nothing gets enabled. | ||
| [2010/02/12 10:16:00] <|Mike|> what OS / distro are you using ? | ||
| [2010/02/12 10:16:08] <Pupeno> I'm on ubuntu. | ||
| [2010/02/12 10:16:15] <Pupeno> I can paste what I have. | ||
| [2010/02/12 10:17:16] <xerxas> any puppet devs here ? | ||
| [2010/02/12 10:17:28] <xerxas> I had to change /usr/sbin/puppetrun to make it work ! | ||
| [2010/02/12 10:18:22] <Pupeno> These are my rules: http://gist.github.com/302634 | ||
| [2010/02/12 10:21:40] @ Quit: jcape: Ping timeout: 240 seconds | ||
| [2010/02/12 10:22:52] @ jcape joined channel #puppet | ||
| [2010/02/12 10:24:17] @ labrown joined channel #puppet | ||
| [2010/02/12 10:24:59] <Pupeno> Ok, my full question with code and everything is on http://serverfault.com/questions/112289/depend-on-a-resource-only-if-it-exists-in-puppet | ||
| [2010/02/12 10:26:09] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 10:26:46] <pastamancer> Pupeno: I'd suggest a custom fact that will let you write a case statement | ||
| [2010/02/12 10:27:09] <elasticdog> if you specify a file to be in /usr/local/bin/example, do you have to make sure /usr/local/bin exists as a directory beforehand? | ||
| [2010/02/12 10:27:24] <Pupeno> pastamancer: I think that's beyond my current knowledge of puppet, but I'll look into it. Thanks :) | ||
| [2010/02/12 10:28:52] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/12 10:29:04] <pastamancer> custom facts are pretty easy | ||
| [2010/02/12 10:31:23] <pastamancer> Pupeno: here's an example http://dpaste.com/157927/ | ||
| [2010/02/12 10:31:40] <Pupeno> pastamancer: thanks :) | ||
| [2010/02/12 10:32:22] @ shenson joined channel #puppet | ||
| [2010/02/12 10:33:50] <elasticdog> ...or do I need to make a separate class called local_dirs and ensure /usr/local and /usr/local/bin exist there? | ||
| [2010/02/12 10:35:04] <pastamancer> it depends on if you can rely on /usr/local/ always existing | ||
| [2010/02/12 10:37:09] @ alfism joined channel #puppet | ||
| [2010/02/12 10:38:07] <elasticdog> that makes sense...I wish there were a way to specify for files to create their directories if they don't exit without explicitly having an ensure => directory specification | ||
| [2010/02/12 10:40:45] <pastamancer> ah, but they you wouldn't catch a typo, imagine if you had file { "/usr/locla/bin/foo": and didn't notice | ||
| [2010/02/12 10:42:14] <elasticdog> I guess it does reduce repetition if it forces you to define them in one place rather than always checking to make sure /usr/local exists on each script or whatever you want to manage | ||
| [2010/02/12 10:42:50] <joe-mac> guys i can have multuiple ssh_authorized_key resources point at the same target correct? | ||
| [2010/02/12 10:43:03] <pastamancer> yeah, that works | ||
| [2010/02/12 10:43:06] <jY> yes | ||
| [2010/02/12 10:45:24] @ brothers joined channel #puppet | ||
| [2010/02/12 10:46:32] @ lwhalen joined channel #puppet | ||
| [2010/02/12 10:47:16] <barn> ah, ssh and a for loop | ||
| [2010/02/12 10:47:25] <barn> for fixing things I've just fucked up with puppet... (: | ||
| [2010/02/12 10:49:22] <tripoux> barn: you should use dish : http://nic-nac-project.org/~drimiks/gnu/dish.shtml | ||
| [2010/02/12 10:50:17] <barn> for i in $(awk '/dc1/ {print $1}' fuckup); do ssh -t $i find /usr/share/vim -type f \| sudo xargs chmod -x ; done | ||
| [2010/02/12 10:50:38] <barn> then merely type a password a bunch of times... *sigh* | ||
| [2010/02/12 10:51:11] <barn> tripoux: ah, that would have saved me a lot of typing.. thanks | ||
| [2010/02/12 10:52:19] <tripoux> barn: dish is one of the best thing created by man since wheel :) | ||
| [2010/02/12 10:56:27] @ ckdake joined channel #puppet | ||
| [2010/02/12 10:56:44] <LinuxCode> barn, there is also func | ||
| [2010/02/12 10:57:50] @ \ask joined channel #puppet | ||
| [2010/02/12 10:58:03] <ckdake> hi all, im trying to figure out the best way to manage a snmpd.conf file that needs to have multiple exec lines depending on puppet classes defined for the device. does anyone have any pointers on this? I was thinking of doing a snmpd-scripts.d directory and having snmpd just exec everything in it, but doesn't look like that will work. | ||
| [2010/02/12 10:58:24] <KarlHungus> ckdake: i do that | ||
| [2010/02/12 10:58:47] <KarlHungus> one sec while i pull up how i do it =) | ||
| [2010/02/12 10:58:51] <LinuxCode> ckdake, if it supports a app.d/ dir its simple | ||
| [2010/02/12 10:59:02] <KarlHungus> LinuxCode: net-snmpd does not | ||
| [2010/02/12 10:59:06] <LinuxCode> if you need multiple changes ona file it is not | ||
| [2010/02/12 10:59:07] <ckdake> yeah, snmpd doesn't support a .d/ dir | ||
| [2010/02/12 10:59:13] <KarlHungus> although the developers told me they plan on supporting that in the next release | ||
| [2010/02/12 10:59:13] <LinuxCode> k | ||
| [2010/02/12 10:59:24] <ckdake> KarlHungus: /me anxious to see your secret kungfu | ||
| [2010/02/12 10:59:42] <LinuxCode> you can write a script that is executed my puppet an concats multiple files | ||
| [2010/02/12 10:59:50] <LinuxCode> and* | ||
| [2010/02/12 10:59:52] <LinuxCode> -an | ||
| [2010/02/12 11:00:09] * LinuxCode puppetized iptables that way | ||
| [2010/02/12 11:00:24] <KarlHungus> ckdake: in the modules that have to expose themselves via snmp i make sure they include snmpd and then they write a file to /etc/snmpd/cond.d | ||
| [2010/02/12 11:00:57] <KarlHungus> then when the snmpd module is compiled it concatenates them together and applies a common header file | ||
| [2010/02/12 11:01:51] <ckdake> KarlHungus: how do you ensure they all make it in? i.e. that snmpd is last | ||
| [2010/02/12 11:02:32] <KarlHungus> worst case scenario puppet has to run twice before they are all seen... | ||
| [2010/02/12 11:02:47] <KarlHungus> but.. | ||
| [2010/02/12 11:02:55] @ \ask left channel #puppet ("Leaving...") | ||
| [2010/02/12 11:04:11] <KarlHungus> http://pastebin.com/dad99f48 should give you a better idea | ||
| [2010/02/12 11:05:33] @ rcrowley joined channel #puppet | ||
| [2010/02/12 11:05:46] <ckdake> hmm. this concatenated_file is new to me. it doesnt seem to be in the current type reference? | ||
| [2010/02/12 11:06:17] <KarlHungus> you'll want to google around for that. there are a few people out there who have created concatenated file types | ||
| [2010/02/12 11:06:37] <ckdake> ah gotcha | ||
| [2010/02/12 11:07:00] @ benkevan joined channel #puppet | ||
| [2010/02/12 11:07:41] @ Quit: Phibs: Quit: leaving | ||
| [2010/02/12 11:09:02] @ Quit: pacalm: Quit: pacalm | ||
| [2010/02/12 11:10:22] @ Phibs joined channel #puppet | ||
| [2010/02/12 11:11:38] @ Bass10 joined channel #puppet | ||
| [2010/02/12 11:11:55] <ckdake> thanks for the pointers! /me gives David Schmitt's "common" module a try | ||
| [2010/02/12 11:14:01] <KarlHungus> it works well for me ;) i don't like nagios nrpe | ||
| [2010/02/12 11:14:12] <KarlHungus> so i put those files behond snmp | ||
| [2010/02/12 11:15:14] <ckdake> i'm using zenoss and do all the collection without a ssh or other kind of host connection, and it's nice to keep it that way :) | ||
| [2010/02/12 11:15:25] <ckdake> s/host connection/authenticated host connection | ||
| [2010/02/12 11:15:35] <KarlHungus> i agree =) | ||
| [2010/02/12 11:15:49] <KarlHungus> much fewer things to break | ||
| [2010/02/12 11:16:09] @ jeckersb joined channel #puppet | ||
| [2010/02/12 11:18:51] @ lilmatt joined channel #puppet | ||
| [2010/02/12 11:19:24] @ RedPepper joined channel #puppet | ||
| [2010/02/12 11:27:26] @ Quit: ckauhaus: Ping timeout: 256 seconds | ||
| [2010/02/12 11:32:23] <elasticdog> how do you guys handle the removal of packages or files if you accidentally have it pulled down by a bunch of clients? | ||
| [2010/02/12 11:32:45] <elasticdog> use something like dish, fabric, pssh, etc.? | ||
| [2010/02/12 11:33:54] <rmiller4pi8> just ensure => absent | ||
| [2010/02/12 11:34:28] <elasticdog> ahh...thanks (I'm a little slow) | ||
| [2010/02/12 11:36:52] @ Quit: danielbln: Quit: Leaving. | ||
| [2010/02/12 11:42:25] @ p3rror joined channel #puppet | ||
| [2010/02/12 11:42:28] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/12 11:42:38] @ rcrowley joined channel #puppet | ||
| [2010/02/12 11:43:06] @ Quit: brothers: Quit: brothers | ||
| [2010/02/12 11:46:56] @ Quit: Ramonster: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ | ||
| [2010/02/12 11:50:06] <ckdake> KarlHungus: thanks for the pointer again. I'll be using more concatenated_file in the future! Here's the solution here: http://pastebin.com/m697f1f52 | ||
| [2010/02/12 11:50:56] <KarlHungus> glad it helped =) | ||
| [2010/02/12 11:52:31] @ nigelk joined channel #puppet | ||
| [2010/02/12 11:53:54] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 11:57:17] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/02/12 11:57:28] @ lak joined channel #puppet | ||
| [2010/02/12 11:59:36] @ \ask joined channel #puppet | ||
| [2010/02/12 11:59:42] @ Quit: RedPepper: Quit: RedPepper | ||
| [2010/02/12 11:59:51] <\ask> whenever service A is restarted, I need to also run command B -- how can I do that? | ||
| [2010/02/12 12:00:02] <barn> edit the init script? | ||
| [2010/02/12 12:00:11] @ MattyM joined channel #puppet | ||
| [2010/02/12 12:00:37] <\ask> barn: :-) Obviously -- but I was thinking just in the context of puppet restarting the service. | ||
| [2010/02/12 12:00:58] @ murkk joined channel #puppet | ||
| [2010/02/12 12:01:01] <xerxas> \ask: storedresources ? | ||
| [2010/02/12 12:01:08] <murkk> h0lyc0w | ||
| [2010/02/12 12:01:22] <xerxas> I've never used them, but this might be what you need | ||
| [2010/02/12 12:01:26] <\ask> Could I just add a notify => Exec["foo"] to the service { A: ... } description? | ||
| [2010/02/12 12:03:01] @ ahasenack joined channel #puppet | ||
| [2010/02/12 12:03:08] @ Quit: ckauhaus: Ping timeout: 258 seconds | ||
| [2010/02/12 12:08:18] <\ask> ah, that worked. | ||
| [2010/02/12 12:08:55] @ svend joined channel #puppet | ||
| [2010/02/12 12:11:55] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/02/12 12:12:31] <barn> ah restarted by puppet, not just restarted in general | ||
| [2010/02/12 12:14:56] @ MattyM joined channel #puppet | ||
| [2010/02/12 12:15:15] <joe-mac> hm why am i having to restart my masters every time i add a new node apparently | ||
| [2010/02/12 12:15:29] <joe-mac> it's like nodes.pp isn't being automatically read | ||
| [2010/02/12 12:16:01] @ Quit: MrHeavy: Remote host closed the connection | ||
| [2010/02/12 12:17:03] <LinuxCode> joe-mac, you coded something bad | ||
| [2010/02/12 12:17:11] <LinuxCode> hence its crashing | ||
| [2010/02/12 12:17:19] * LinuxCode did that the other day when writing a fucntion | ||
| [2010/02/12 12:17:22] <LinuxCode> function | ||
| [2010/02/12 12:18:00] <joe-mac> ...what? | ||
| [2010/02/12 12:18:03] <joe-mac> that makes no sense at all | ||
| [2010/02/12 12:18:34] <joe-mac> i am braindead right now so i probably am not explaining myself enough | ||
| [2010/02/12 12:19:18] <joe-mac> i add a node to nodes.pp in my production environment, i generate a key, i pxeboot the node and transger the key to it, i start puppet i get this error about fact_merge is invalid method for Nil:NilClass | ||
| [2010/02/12 12:19:29] <joe-mac> then i go and restart tghe master it's connecting to, and the node runs fine | ||
| [2010/02/12 12:19:33] <LinuxCode> joe-mac, run it in debug | ||
| [2010/02/12 12:19:45] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 12:19:53] <LinuxCode> hmmm | ||
| [2010/02/12 12:20:08] <LinuxCode> never seen that before | ||
| [2010/02/12 12:20:20] <LinuxCode> you got custom facts ? | ||
| [2010/02/12 12:20:33] @ Quit: Robbie_: Ping timeout: 276 seconds | ||
| [2010/02/12 12:20:48] <LinuxCode> be good to see the exact error | ||
| [2010/02/12 12:21:11] <shine> btw, why don't you use external_node ? | ||
| [2010/02/12 12:22:03] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/12 12:23:59] @ toi joined channel #puppet | ||
| [2010/02/12 12:25:47] @ Quit: lak: Quit: lak | ||
| [2010/02/12 12:29:35] @ mikepea joined channel #puppet | ||
| [2010/02/12 12:30:37] @ tonyskapunk joined channel #puppet | ||
| [2010/02/12 12:31:18] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/02/12 12:31:20] <joe-mac> LinuxCode: no custom facts | ||
| [2010/02/12 12:31:30] <joe-mac> the error is almost exactly invalid method fact_merge for Nil:NilClass | ||
| [2010/02/12 12:31:41] <LinuxCode> joe-mac, run everything in debug | ||
| [2010/02/12 12:31:41] <joe-mac> something to do with store configs i am guessing | ||
| [2010/02/12 12:31:58] <joe-mac> yea that'll have to wait, i don't plan on building another node for a few days | ||
| [2010/02/12 12:32:00] <LinuxCode> hmmm | ||
| [2010/02/12 12:32:07] <LinuxCode> k | ||
| [2010/02/12 12:32:17] <LinuxCode> never seen that error mate so... | ||
| [2010/02/12 12:32:25] <LinuxCode> im sorry i cant be more of help | ||
| [2010/02/12 12:35:26] <joe-mac> it's fine, i just thought it was a fluke but i've noticed since i moved to .25.4 it's happened on every niode i have built | ||
| [2010/02/12 12:35:34] <joe-mac> which is only like 3 or 4 | ||
| [2010/02/12 12:36:28] @ lutter joined channel #puppet | ||
| [2010/02/12 12:39:39] @ Quit: mqr: Quit: mqr | ||
| [2010/02/12 12:40:19] <elasticdog> would this be the appropriate way to organize multiple classes in a module? http://pastie.org/822071 | ||
| [2010/02/12 12:40:24] @ Quit: gilesw: Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558] | ||
| [2010/02/12 12:41:30] @ mqr joined channel #puppet | ||
| [2010/02/12 12:43:20] @ Quit: TREllis: Quit: --->pub | ||
| [2010/02/12 12:44:38] <elasticdog> ...or does it make more sense to do it this way: http://pastie.org/822086 | ||
| [2010/02/12 12:47:40] @ LinuxCode is now known as LinuxCat | ||
| [2010/02/12 12:47:51] @ LinuxCat is now known as LinuxCode | ||
| [2010/02/12 12:49:24] <elasticdog> I guess the second way makes more sense...less stuff to have to track and the manifests reflect the usable classes | ||
| [2010/02/12 12:52:11] @ Spruit_elf joined channel #puppet | ||
| [2010/02/12 12:53:36] @ autowidget joined channel #puppet | ||
| [2010/02/12 12:55:24] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/12 13:01:36] @ lak joined channel #puppet | ||
| [2010/02/12 13:01:56] @ Quit: murkk: Quit: murkk | ||
| [2010/02/12 13:02:12] @ alfism_ joined channel #puppet | ||
| [2010/02/12 13:02:22] @ Quit: alfism_: Client Quit | ||
| [2010/02/12 13:06:05] @ Quit: MattyM: Quit: ta ta | ||
| [2010/02/12 13:07:32] @ Quit: jcape: Ping timeout: 272 seconds | ||
| [2010/02/12 13:09:31] @ murkk joined channel #puppet | ||
| [2010/02/12 13:10:12] <KarlHungus> ok. here is one that i don't know how to solve =) http://pastebin.com/d6d402654 | ||
| [2010/02/12 13:10:44] <KarlHungus> that is how i define virtual sites for a client. i'm trying to figure out how to make the upload_dirs work properly | ||
| [2010/02/12 13:11:23] <KarlHungus> the file { } resource will name two Files '/tmp' if i have two sites with /tmp dirs that need to be apache writable. | ||
| [2010/02/12 13:11:49] @ Quit: jaredrhine: Ping timeout: 264 seconds | ||
| [2010/02/12 13:13:22] <KarlHungus> how do i overcome this limitation? | ||
| [2010/02/12 13:15:21] @ Quit: weaselkeeper: Quit: Leaving. | ||
| [2010/02/12 13:16:25] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 13:20:11] @ ckdake left channel #puppet () | ||
| [2010/02/12 13:22:14] @ allsystemsarego joined channel #puppet | ||
| [2010/02/12 13:23:07] @ giskard joined channel #puppet | ||
| [2010/02/12 13:23:27] <tim|imac> grr... puppet warns me of dependency cycles... but I can't find them :/ | ||
| [2010/02/12 13:23:53] <joe-mac> tim|imac: i usually find my dep cycles happen when i try to require a class | ||
| [2010/02/12 13:24:14] <joe-mac> not realizing that oen of the resources in the class points somewhere else, which points somewhere else, then goes back around | ||
| [2010/02/12 13:24:28] <joe-mac> also if you haev graphviz installed in .25.4 i think it automatically graphs the dep cycles for you | ||
| [2010/02/12 13:24:35] <tim|imac> just after i typed it, i had an epiphany... | ||
| [2010/02/12 13:25:53] @ ambroff joined channel #puppet | ||
| [2010/02/12 13:27:00] <tim|imac> damn it... that wasn't it... | ||
| [2010/02/12 13:27:13] <tim|imac> but the graph doesnt really help... it's like... huge... 2000+ items... | ||
| [2010/02/12 13:28:38] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/12 13:29:06] <tim|imac> ... actually, you might be right, joe... I *am* requiring a class... | ||
| [2010/02/12 13:29:28] @ giskard joined channel #puppet | ||
| [2010/02/12 13:30:31] <tim|imac> i could kiss you joe, so be glad you're so far away... that was it indeed! wasted 4 hours on that :( | ||
| [2010/02/12 13:30:44] <tim|imac> I've been working with puppet since 2007, but sometimes I still feel like a n00b :( | ||
| [2010/02/12 13:31:00] @ weaselkeeper joined channel #puppet | ||
| [2010/02/12 13:31:17] @ rgsteele joined channel #puppet | ||
| [2010/02/12 13:32:28] @ Quit: fugit_: Remote host closed the connection | ||
| [2010/02/12 13:32:58] @ jes5 joined channel #puppet | ||
| [2010/02/12 13:39:10] @ benlovell joined channel #puppet | ||
| [2010/02/12 13:44:41] @ Quit: ckauhaus: Read error: Operation timed out | ||
| [2010/02/12 13:47:55] @ Quit: jes5: Quit: Leaving. | ||
| [2010/02/12 13:48:13] @ jes5 joined channel #puppet | ||
| [2010/02/12 13:53:45] @ plathrop-away is now known as plathrop | ||
| [2010/02/12 13:58:28] <Dominic> monachus: did you find a way earlier to monitor the status of the puppetmaster and load balancer? | ||
| [2010/02/12 13:59:58] @ jaredrhine joined channel #puppet | ||
| [2010/02/12 14:00:25] @ jfreeman joined channel #puppet | ||
| [2010/02/12 14:04:46] @ Quit: fluxdude: Ping timeout: 245 seconds | ||
| [2010/02/12 14:05:31] @ Quit: bug: Remote host closed the connection | ||
| [2010/02/12 14:05:35] @ bug joined channel #puppet | ||
| [2010/02/12 14:06:02] @ Quit: svend: Remote host closed the connection | ||
| [2010/02/12 14:08:05] @ bug_ joined channel #puppet | ||
| [2010/02/12 14:09:39] @ Quit: lak: Quit: lak | ||
| [2010/02/12 14:10:05] @ Quit: bug: Ping timeout: 260 seconds | ||
| [2010/02/12 14:10:05] @ bug_ is now known as bug | ||
| [2010/02/12 14:11:18] @ lak joined channel #puppet | ||
| [2010/02/12 14:16:15] @ Quit: teratoma: Quit: leaving | ||
| [2010/02/12 14:18:31] @ ckauhaus joined channel #puppet | ||
| [2010/02/12 14:22:18] <doubleukay> KarlHungus: the way I handle it is to make a separate class, and include that class | ||
| [2010/02/12 14:22:36] <doubleukay> e.g. class apache::base | ||
| [2010/02/12 14:22:42] @ \ask joined channel #puppet | ||
| [2010/02/12 14:30:31] <KarlHungus> doubleukay: yes. i have all of my apache classes set up | ||
| [2010/02/12 14:30:48] <KarlHungus> this is a client specific service module that includes my base modules | ||
| [2010/02/12 14:32:35] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/02/12 14:33:01] @ jusfreeman joined channel #puppet | ||
| [2010/02/12 14:33:39] @ Quit: slune: Quit: Leaving | ||
| [2010/02/12 14:33:40] @ Quit: jfreeman: Ping timeout: 272 seconds | ||
| [2010/02/12 14:33:44] @ Quit: bgupta: Ping timeout: 256 seconds | ||
| [2010/02/12 14:33:48] <nico> masterzen: I won't be able to attend the Paris meetup but I wondered if a meetup during Solutions Linux would be possible | ||
| [2010/02/12 14:34:05] <doubleukay> I'm not sure if it will work (won't surprise me if it doesn't, but you could try defining file { "site1-tmp": path => "/tmp", ... } and file { "site2-tmp": path => "/tmp", ... } and see whether they conflict | ||
| [2010/02/12 14:34:06] <masterzen> nico: when is it? | ||
| [2010/02/12 14:34:18] <doubleukay> otherwise, refactoring the common stuff out is the only way I know of. | ||
| [2010/02/12 14:34:29] <KarlHungus> doubleukay: that would work, but upload_dirs is an array | ||
| [2010/02/12 14:34:32] <masterzen> nico: there's less drink involved in the Solutions Linux :-) | ||
| [2010/02/12 14:34:45] <doubleukay> ahh. | ||
| [2010/02/12 14:34:57] <KarlHungus> if i could modify the array in the virtual_host definition somehow that would rock, but i feel like thats too procedural for puppet | ||
| [2010/02/12 14:35:02] @ mikerowehl joined channel #puppet | ||
| [2010/02/12 14:35:09] <nico> masterzen: not if you want to come to the gcu squad stand | ||
| [2010/02/12 14:35:39] <masterzen> nico: I'm sold | ||
| [2010/02/12 14:35:57] <nico> hu ? | ||
| [2010/02/12 14:36:23] <masterzen> nico: I mean, ok you'll see me there | ||
| [2010/02/12 14:36:28] <nico> cool ! | ||
| [2010/02/12 14:36:37] <nico> 16 to 18 march | ||
| [2010/02/12 14:37:00] <masterzen> too bad you cannot be there next wednesday. | ||
| [2010/02/12 14:37:01] <nico> I may be there only 2 days of 3, tell me when you'll be there :D | ||
| [2010/02/12 14:37:16] @ justinfreeman joined channel #puppet | ||
| [2010/02/12 14:37:17] <masterzen> for the moment I really don't know | ||
| [2010/02/12 14:38:03] <nico> no problem, tell me. We have some puppet enthusiasts in the group :) | ||
| [2010/02/12 14:39:17] <masterzen> I might be able to come on the wednesday | ||
| [2010/02/12 14:39:26] @ Quit: justinfreeman: Read error: Connection reset by peer | ||
| [2010/02/12 14:39:45] @ jmccune joined channel #puppet | ||
| [2010/02/12 14:40:27] <nico> 17/03 ? ok ! | ||
| [2010/02/12 14:41:16] @ Quit: jusfreeman: Ping timeout: 272 seconds | ||
| [2010/02/12 14:41:38] @ Quit: jmccune: Read error: Connection reset by peer | ||
| [2010/02/12 14:43:17] <masterzen> nico: I just pre-registered | ||
| [2010/02/12 14:46:23] @ Quit: bug: Quit: bug | ||
| [2010/02/12 14:47:10] <nico> ho yes, go to do this :D | ||
| [2010/02/12 14:47:15] <nico> got* | ||
| [2010/02/12 14:47:24] * nico & | ||
| [2010/02/12 14:48:55] @ jmccune joined channel #puppet | ||
| [2010/02/12 14:49:23] @ Quit: jmccune: Remote host closed the connection | ||
| [2010/02/12 14:50:35] @ mikepea_ joined channel #puppet | ||
| [2010/02/12 14:54:30] @ Quit: RageLink: Quit: up up and away | ||
| [2010/02/12 14:56:54] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/12 14:57:47] @ giskard joined channel #puppet | ||
| [2010/02/12 15:00:06] @ jmccune joined channel #puppet | ||
| [2010/02/12 15:00:52] @ Quit: jmccune: Client Quit | ||
| [2010/02/12 15:02:40] @ cmdln joined channel #puppet | ||
| [2010/02/12 15:02:48] @ jcape joined channel #puppet | ||
| [2010/02/12 15:03:28] @ Quit: cmdln: Remote host closed the connection | ||
| [2010/02/12 15:04:43] @ cmdln joined channel #puppet | ||
| [2010/02/12 15:04:52] @ Quit: lak: Quit: lak | ||
| [2010/02/12 15:05:42] @ cmdln left channel #puppet () | ||
| [2010/02/12 15:06:20] @ rcrowley is now known as rcrowley-away | ||
| [2010/02/12 15:07:31] @ jmccune joined channel #puppet | ||
| [2010/02/12 15:07:48] @ bgupta joined channel #puppet | ||
| [2010/02/12 15:11:53] @ Quit: echofire: Ping timeout: 246 seconds | ||
| [2010/02/12 15:15:36] @ Quit: LinuxCode: Quit: Connection Closed | ||
| [2010/02/12 15:16:23] @ bug joined channel #puppet | ||
| [2010/02/12 15:17:56] @ Quit: bug: Client Quit | ||
| [2010/02/12 15:19:44] <mikepea_> anyone seen 'err: Got an uncaught exception of type NoMethodError: undefined method `each' for true:TrueClass' after upgrade to 0.25.x? | ||
| [2010/02/12 15:20:21] <mikepea_> (this is PM 0.25.4 on Hardy, client 0.25.4 on hardy) | ||
| [2010/02/12 15:20:40] <mikepea_> and worked with 0.25.4 server, 0.24.7 client. | ||
| [2010/02/12 15:21:43] @ mezgani joined channel #puppet | ||
| [2010/02/12 15:27:56] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/12 15:35:18] @ Quit: mezgani: Read error: Connection reset by peer | ||
| [2010/02/12 15:40:45] @ Quit: ambroff: Ping timeout: 276 seconds | ||
| [2010/02/12 15:42:11] @ lak joined channel #puppet | ||
| [2010/02/12 15:44:15] @ Spruit_elf joined channel #puppet | ||
| [2010/02/12 15:45:24] @ Quit: tonyskapunk: Remote host closed the connection | ||
| [2010/02/12 15:46:23] @ Quit: Spruit_elf: Client Quit | ||
| [2010/02/12 15:48:44] @ Quit: mqr: Quit: mqr | ||
| [2010/02/12 15:50:15] @ mezgani joined channel #puppet | ||
| [2010/02/12 15:50:51] @ Quit: rmiller4pi8: Ping timeout: 258 seconds | ||
| [2010/02/12 16:19:33] @ nDuff joined channel #puppet | ||
| [2010/02/12 16:21:59] <nDuff> I'm having some trouble dereferencing an array as a namevar with 0.25.1, roughly as follows: $some_array=[ "foo", "bar", ]; package { $some_array: ensure => present; }; fails at runtime referring to Package[] rather than Package[foo] or Package[bar]. | ||
| [2010/02/12 16:22:08] @ verwilst joined channel #puppet | ||
| [2010/02/12 16:23:10] @ ShiNboi joined channel #puppet | ||
| [2010/02/12 16:25:20] @ ahasenack joined channel #puppet | ||
| [2010/02/12 16:26:35] @ Quit: jeckersb: Quit: Leaving | ||
| [2010/02/12 16:36:09] @ Quit: mfournier: Ping timeout: 260 seconds | ||
| [2010/02/12 16:38:14] @ mattwynne joined channel #puppet | ||
| [2010/02/12 16:38:38] @ Quit: ccaum: Quit: ccaum | ||
| [2010/02/12 16:38:44] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/12 16:41:12] @ Quit: toi: Ping timeout: 276 seconds | ||
| [2010/02/12 16:52:13] @ Quit: gebi: Read error: Operation timed out | ||
| [2010/02/12 16:54:08] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/02/12 16:55:09] @ Spruit_elf joined channel #puppet | ||
| [2010/02/12 16:56:26] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/12 16:56:43] @ alfism_ joined channel #puppet | ||
| [2010/02/12 16:57:28] @ Quit: alfism: Quit: http://opensolaris.com/ | ||
| [2010/02/12 16:57:28] @ alfism_ is now known as alfism | ||
| [2010/02/12 16:57:32] @ Quit: ShiNboi: Quit: Verlassend | ||
| [2010/02/12 16:57:37] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/02/12 16:58:39] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/12 17:01:18] @ ambroff joined channel #puppet | ||
| [2010/02/12 17:01:56] @ Robbie_ joined channel #puppet | ||
| [2010/02/12 17:02:02] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 17:02:45] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/12 17:02:59] @ Quit: rmiller4pi8: Ping timeout: 240 seconds | ||
| [2010/02/12 17:03:43] @ giskard joined channel #puppet | ||
| [2010/02/12 17:05:42] @ Quit: jes5: Quit: Leaving. | ||
| [2010/02/12 17:07:36] @ pting joined channel #puppet | ||
| [2010/02/12 17:08:08] @ mattwynne joined channel #puppet | ||
| [2010/02/12 17:08:39] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/02/12 17:12:16] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 17:17:27] @ Quit: Chiku: Quit: Quitte | ||
| [2010/02/12 17:17:43] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/12 17:21:42] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/12 17:26:00] @ Quit: rmiller4pi8: Ping timeout: 256 seconds | ||
| [2010/02/12 17:27:04] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/12 17:28:51] @ binngo joined channel #puppet | ||
| [2010/02/12 17:29:18] @ ezmobius joined channel #puppet | ||
| [2010/02/12 17:35:07] @ Quit: binngo: Quit: PJIRC forever! | ||
| [2010/02/12 17:40:01] @ danbeck joined channel #puppet | ||
| [2010/02/12 17:41:01] @ Quit: pting: Ping timeout: 245 seconds | ||
| [2010/02/12 17:42:47] <monachus> Dominic: no, i didn't see any response and was pulled into something else | ||
| [2010/02/12 17:43:10] <monachus> why - do you have any thoughts? i could write something custom and dig into the puppet code to find some xml-rpc method i can call, but i was hoping for something simpler | ||
| [2010/02/12 17:43:11] <Dominic> ah ok, thanks anyway. It's something that's also on my TODO list :) | ||
| [2010/02/12 17:44:02] <danbeck> Hi guys, I'm having an issue with getting puppet environments to work. I've followed the instructions here: http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments and setup a [main] and [testing] group with different module paths in each. But, when I run puppetd --environment=testing --test --noop on a client, I get output as if it were pulling from the [main] config. This is what my config looks like: http://pastebin.ca/1794835 | ||
| [2010/02/12 17:44:20] <Dominic> yeah, I haven't tried doing that yet. Need to set up some monitoring the puppet machines themselves to see if they're running updates (check the state file), but also have the same issue with the load balancer | ||
| [2010/02/12 17:44:37] <danbeck> The config referenced in [testing] is just and empty modules dir and an empty manifests/site.pp file. | ||
| [2010/02/12 17:44:57] <danbeck> am I missing something in the config? | ||
| [2010/02/12 17:45:10] <Dominic> danbeck: did you restart the puppetmaster? | ||
| [2010/02/12 17:45:15] <danbeck> yes | ||
| [2010/02/12 17:45:55] <Dominic> normally I see that if the environment isn't right, it seems to fall through to the main one | ||
| [2010/02/12 17:46:09] <danbeck> yeah, that's what It seems to be doing to me. | ||
| [2010/02/12 17:46:27] <Dominic> perhaps it does if the node isn't defined in the testing env? Guessing here | ||
| [2010/02/12 17:46:56] @ joe-mac1 joined channel #puppet | ||
| [2010/02/12 17:47:48] <danbeck> hmm, ok, let me add a node definition in there to see. | ||
| [2010/02/12 17:47:57] @ Quit: tim|imac: Quit: tim|imac | ||
| [2010/02/12 17:48:02] <danbeck> that's disturbing though, I can't have a node not defined for production default to production. | ||
| [2010/02/12 17:48:12] <danbeck> a simple typo means a full production config? | ||
| [2010/02/12 17:48:12] <danbeck> wow | ||
| [2010/02/12 17:48:39] <Dominic> it might be better to set up production as a separate environment too, though I haven't yet done that either | ||
| [2010/02/12 17:49:01] <Dominic> I still need a decent way to set the environment programmatically on our machines | ||
| [2010/02/12 17:49:08] @ Quit: nexx: Quit: quit | ||
| [2010/02/12 17:51:25] <danbeck> ok, yeah, I setup a node definition in the site.php file and tried to update the config and it uses the production environment. | ||
| [2010/02/12 17:51:55] <danbeck> Ok, so I did try creating a [production] setup to specify the modulepath and manifest. | ||
| [2010/02/12 17:52:08] <danbeck> What it did was completely ignore that and use the system default for modulepath. | ||
| [2010/02/12 17:52:21] <danbeck> it used /usr/share/puppet/modules/ | ||
| [2010/02/12 17:52:37] <Dominic> might it be this config you're editing isn't the right one? | ||
| [2010/02/12 17:52:59] <Volcane> look in /var/lib/puppet/ there's yaml files for each node and in there u can see what environment the master gets for your node | ||
| [2010/02/12 17:53:19] <danbeck> I'm definitely editing the puppet.conf that puppetmasterd uses. I can change other values and make or break the setup... | ||
| [2010/02/12 17:53:33] <danbeck> I"ll check volcane | ||
| [2010/02/12 17:56:15] <danbeck> so, /var/lib/puppet/yaml/facter has environment: testing, /var/lib/yaml/node has environment: production | ||
| [2010/02/12 17:56:40] @ pting joined channel #puppet | ||
| [2010/02/12 17:57:25] <danbeck> I am using an external node tool, ldap and the ldap db has environment: production in it. | ||
| [2010/02/12 17:57:44] <danbeck> maybe that explains why yaml/node/* has environment: production. | ||
| [2010/02/12 17:58:09] <danbeck> Doesn't make sense why it would matter, since I'm sending --environment=testing when I call puppetd from the command line. | ||
| [2010/02/12 17:58:23] @ \ask joined channel #puppet | ||
| [2010/02/12 17:59:52] @ Quit: alban2: Ping timeout: 252 seconds | ||
| [2010/02/12 18:00:11] <danbeck> yep, that's it. external node definitions are not able to be overridden on the command line. They are the word of god apparently. -_- | ||
| [2010/02/12 18:00:43] @ Quit: jmccune: Remote host closed the connection | ||
| [2010/02/12 18:00:47] <danbeck> gonna report this as a bug. | ||
| [2010/02/12 18:00:56] @ Quit: allsystemsarego: Quit: Leaving | ||
| [2010/02/12 18:01:10] @ alban2 joined channel #puppet | ||
| [2010/02/12 18:01:12] @ Quit: jbooth: Read error: Operation timed out | ||
| [2010/02/12 18:02:23] @ Quit: malraid: Quit: malraid | ||
| [2010/02/12 18:04:23] <danbeck> it seems this is already an ongoing issue: http://projects.reductivelabs.com/issues/2834 | ||
| [2010/02/12 18:05:11] @ jbooth joined channel #puppet | ||
| [2010/02/12 18:05:55] @ \ask_ joined channel #puppet | ||
| [2010/02/12 18:05:56] @ Quit: \ask: Read error: Connection reset by peer | ||
| [2010/02/12 18:08:53] @ Quit: bgupta: Quit: bgupta | ||
| [2010/02/12 18:09:21] @ alban21 joined channel #puppet | ||
| [2010/02/12 18:09:25] @ Quit: alban2: Read error: No route to host | ||
| [2010/02/12 18:10:29] @ Quit: tyll: Ping timeout: 260 seconds | ||
| [2010/02/12 18:11:06] @ jfreeman joined channel #puppet | ||
| [2010/02/12 18:15:58] @ rcrowley-away is now known as rcrowley | ||
| [2010/02/12 18:18:30] @ Quit: alban21: Ping timeout: 272 seconds | ||
| [2010/02/12 18:19:19] @ Quit: ezmobius: Ping timeout: 240 seconds | ||
| [2010/02/12 18:20:16] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/12 18:21:26] @ Quit: danbeck: Quit: danbeck | ||
| [2010/02/12 18:21:47] @ ezmobius joined channel #puppet | ||
| [2010/02/12 18:22:35] @ jusfreeman joined channel #puppet | ||
| [2010/02/12 18:23:13] @ Quit: jfreeman: Ping timeout: 264 seconds | ||
| [2010/02/12 18:24:03] @ mattwynne joined channel #puppet | ||
| [2010/02/12 18:26:53] @ Quit: monachus: Quit: Terminated with extreme prejudice - dircproxy 1.0.5 | ||
| [2010/02/12 18:26:59] @ Quit: jusfreeman: Ping timeout: 240 seconds | ||
| [2010/02/12 18:27:04] @ jusfreeman joined channel #puppet | ||
| [2010/02/12 18:27:24] @ monachus joined channel #puppet | ||
| [2010/02/12 18:31:11] @ kaptk2 left channel #puppet () | ||
| [2010/02/12 18:31:12] @ alban2 joined channel #puppet | ||
| [2010/02/12 18:31:40] @ rcrowley joined channel #puppet | ||
| [2010/02/12 18:32:18] @ Quit: \ask_: Read error: Connection reset by peer | ||
| [2010/02/12 18:32:45] @ \ask joined channel #puppet | ||
| [2010/02/12 18:33:38] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/12 18:36:59] @ Quit: jusfreeman: Ping timeout: 246 seconds | ||
| [2010/02/12 18:46:44] <plathrop> Anyone on who is using external nodes? | ||
| [2010/02/12 18:47:13] @ mattwynne joined channel #puppet | ||
| [2010/02/12 18:47:48] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 18:48:28] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/12 18:49:40] <joe-mac1> plathrop: nah, but i;n always interested in your problems :-) | ||
| [2010/02/12 18:50:00] @ Quit: bobbyz: Ping timeout: 256 seconds | ||
| [2010/02/12 18:50:15] <joe-mac1> i'm having a stupid problem myself right nowe that i think is related to store configs... since i upgraded to .25.4 | ||
| [2010/02/12 18:50:33] @ giskard joined channel #puppet | ||
| [2010/02/12 18:50:51] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/12 18:50:51] <plathrop> joe-mac1: I'm just trying to figure out what arguments are passed to the exec node terminus. I'm reading the code and it isn't clear to me. | ||
| [2010/02/12 18:51:03] * plathrop hates stored configs | ||
| [2010/02/12 18:51:04] @ Quit: nigelk: Quit: nigelk | ||
| [2010/02/12 18:51:18] <joe-mac1> plathrop: i actually think it's; a phenomenal idea | ||
| [2010/02/12 18:51:23] <joe-mac1> it's just riddled with slowness and problems | ||
| [2010/02/12 18:51:41] <joe-mac1> esp the idea of automagically creating nagios setups from it | ||
| [2010/02/12 18:51:44] <joe-mac1> that gives me a semi | ||
| [2010/02/12 18:51:51] <joe-mac1> i hate doing nagios by hand | ||
| [2010/02/12 18:51:51] <plathrop> Yeah, the idea is awesome. | ||
| [2010/02/12 18:52:02] <plathrop> but every time I've tried it, it's given me a migraine. | ||
| [2010/02/12 18:52:25] @ jfreeman joined channel #puppet | ||
| [2010/02/12 18:52:41] <joe-mac1> plathrop: you also work with i think about 5x the number of nodes i do, at least | ||
| [2010/02/12 18:52:48] <joe-mac1> i am about to be up around 100 | ||
| [2010/02/12 18:53:07] <joe-mac1> maybe even 50x i can't recall what you told me last time | ||
| [2010/02/12 18:54:02] <plathrop> joe-mac1: I was deliberately vague, but yes it is more. | ||
| [2010/02/12 18:55:08] <joe-mac1> yea | ||
| [2010/02/12 18:55:33] <joe-mac1> are you scaling with mod_proxy_balancer? are you allowed to answer that kind of question? if not, i understand | ||
| [2010/02/12 18:56:53] <shenson> I use external nodes | ||
| [2010/02/12 18:57:11] <shenson> as far as I can tell all that is passed to our script is the name of the node currently being processed | ||
| [2010/02/12 18:57:48] @ Quit: autowidget: Quit: autowidget | ||
| [2010/02/12 18:58:34] <plathrop> joe-mac1: Right now our installation is a puppetmaster per environment (development, staging, and production) using apache and passenger. | ||
| [2010/02/12 18:58:44] <plathrop> joe-mac1: we aren't doing load-balancing | ||
| [2010/02/12 18:59:23] <plathrop> shenson: okay, thanks, but which "name"? The FQDN? The hostname? Does it do like the default match does and check for FQDN, then short hostname if it can't find a match? | ||
| [2010/02/12 18:59:42] @ brothers joined channel #puppet | ||
| [2010/02/12 18:59:56] <shenson> I believe it passes whatever the machine is checking in as, aka the name on the certificate | ||
| [2010/02/12 19:00:51] <joe-mac1> plathrop: hmmm so do you recommend i ditch my old pre .25 mod proxy balancer setup for passenger? | ||
| [2010/02/12 19:00:56] <joe-mac1> seems like it would simplify things a bit | ||
| [2010/02/12 19:01:21] <joe-mac1> cause i guarantee i don't need this much beef for my masters... | ||
| [2010/02/12 19:01:47] <joe-mac1> webrick def won't cut it, but i mean LB between five puppetmaster processes for like 40 nodes per master is overkill | ||
| [2010/02/12 19:01:51] @ jusfreeman joined channel #puppet | ||
| [2010/02/12 19:01:59] <joe-mac1> i've known that for a while, just operates nicely so i tend to not touch it :-) | ||
| [2010/02/12 19:02:03] <plathrop> joe-mac1: I found the inital setup slightly confusing, but it has been rock solid and performing EXTREMELY well. | ||
| [2010/02/12 19:02:17] <plathrop> joe-mac1: so, yeah, tentatively I recommend t. | ||
| [2010/02/12 19:02:18] @ Quit: labrown: Quit: Leaving | ||
| [2010/02/12 19:02:25] <joe-mac1> hmm that sounds like something i might try then, it sounds like it';s becoming more and more like 'standard practice' | ||
| [2010/02/12 19:02:50] @ Quit: jfreeman: Ping timeout: 272 seconds | ||
| [2010/02/12 19:02:55] <joe-mac1> i love how puppet is falling into place where we can actually say like standard ways of doing X or Y, versus I did this hack and it seemed to work... | ||
| [2010/02/12 19:03:16] <plathrop> Yeah, I saw the writing on the wall when the community headed for it, that was the initial reason I switched. | ||
| [2010/02/12 19:03:33] <joe-mac1> yea, i fixed quite a few small but largely annoying bugs in our code today | ||
| [2010/02/12 19:03:55] <joe-mac1> might as well perform some more tweaks this upcoming week since i was basically told to do nothing but build infrastructure whuile my colleague is on vac | ||
| [2010/02/12 19:03:56] <joe-mac1> a | ||
| [2010/02/12 19:04:00] @ cmdln joined channel #puppet | ||
| [2010/02/12 19:04:23] @ cmdln left channel #puppet () | ||
| [2010/02/12 19:06:47] @ Quit: lak: Quit: lak | ||
| [2010/02/12 19:07:06] @ Quit: shenson: Quit: /me taps out | ||
| [2010/02/12 19:07:44] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 19:09:17] @ Quit: henk: Ping timeout: 260 seconds | ||
| [2010/02/12 19:09:24] @ Quit: Hollow: Ping timeout: 276 seconds | ||
| [2010/02/12 19:09:45] @ Quit: fux: Ping timeout: 260 seconds | ||
| [2010/02/12 19:10:10] @ Quit: twisla: Ping timeout: 248 seconds | ||
| [2010/02/12 19:10:11] @ Quit: Volcane: Ping timeout: 248 seconds | ||
| [2010/02/12 19:10:13] @ Quit: codec: Ping timeout: 260 seconds | ||
| [2010/02/12 19:12:32] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/12 19:13:25] @ bug joined channel #puppet | ||
| [2010/02/12 19:15:17] @ Volcane joined channel #puppet | ||
| [2010/02/12 19:16:23] @ henk joined channel #puppet | ||
| [2010/02/12 19:16:54] @ codec joined channel #puppet | ||
| [2010/02/12 19:17:04] @ Quit: Robbie_: Remote host closed the connection | ||
| [2010/02/12 19:17:12] @ Hollow joined channel #puppet | ||
| [2010/02/12 19:17:15] @ Quit: lilmatt: Quit: lilmatt | ||
| [2010/02/12 19:18:10] <plathrop> hrm. AFAICT puppetmasterd is just ignoring my external nodes script. | ||
| [2010/02/12 19:18:32] @ mqr joined channel #puppet | ||
| [2010/02/12 19:20:42] @ fux joined channel #puppet | ||
| [2010/02/12 19:23:33] @ tonyskapunk joined channel #puppet | ||
| [2010/02/12 19:23:48] @ Quit: lwhalen: Quit: Where'd my controlling terminal go?!? | ||
| [2010/02/12 19:24:16] @ bgupta joined channel #puppet | ||
| [2010/02/12 19:25:48] @ Quit: benkevan: Remote host closed the connection | ||
| [2010/02/12 19:34:19] @ Quit: tonyskapunk: Remote host closed the connection | ||
| [2010/02/12 19:35:41] @ \ask joined channel #puppet | ||
| [2010/02/12 19:37:41] @ Quit: murkk: Ping timeout: 260 seconds | ||
| [2010/02/12 19:37:44] @ tonyskapunk joined channel #puppet | ||
| [2010/02/12 19:41:12] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 19:42:42] @ twisla joined channel #puppet | ||
| [2010/02/12 19:45:26] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 19:45:54] @ Quit: jusfreeman: Ping timeout: 272 seconds | ||
| [2010/02/12 19:47:40] @ giskard joined channel #puppet | ||
| [2010/02/12 19:52:07] <justdave> plathrop: did you just recently upgrade puppet? | ||
| [2010/02/12 19:52:30] <justdave> was either 0.24 or 0.25 changed the names of the config files | ||
| [2010/02/12 19:53:30] <justdave> that bit me when I upgraded because it wasn't finding my puppetmasterd.conf anymore (had to move that stuff into a [puppetmasterd] section in puppet.conf instead) | ||
| [2010/02/12 19:53:52] <justdave> same symptoms, wasn't finding my external nodes script | ||
| [2010/02/12 19:53:57] <plathrop> justdave: ah, no, that's not it but thanks. Turned out my script was busted. | ||
| [2010/02/12 19:55:12] @ Quit: tonyskapunk: Remote host closed the connection | ||
| [2010/02/12 19:55:27] <justdave> anyone know if there's a way to force puppetca to regenerate a certificate? | ||
| [2010/02/12 19:56:04] <justdave> reloaded a host, and when I try to push puppet back out to it I'm getting an error that it can't generate a certificate because one already exists for that hostname | ||
| [2010/02/12 19:56:30] <justdave> of course, the private half of it got lost when the machine was reloaded | ||
| [2010/02/12 19:56:39] <justdave> so I need to force it to make a new one | ||
| [2010/02/12 19:58:34] @ Quit: QMan: Ping timeout: 272 seconds | ||
| [2010/02/12 20:00:12] @ Quit: giskard: Read error: Operation timed out | ||
| [2010/02/12 20:01:20] @ giskard joined channel #puppet | ||
| [2010/02/12 20:03:46] @ webx joined channel #puppet | ||
| [2010/02/12 20:05:24] <webx> under a file resource, if I'm recursively copying a directory that has a directory that I'd like to ignore (.svn) -- should ignore => ".svn", work ? | ||
| [2010/02/12 20:07:04] @ Quit: mqr: Quit: mqr | ||
| [2010/02/12 20:09:08] <justdave> ah, looks like if I --revoke it first, then it'll let me make a new one. | ||
| [2010/02/12 20:13:00] @ QMan joined channel #puppet | ||
| [2010/02/12 20:13:20] @ rcrowley joined channel #puppet | ||
| [2010/02/12 20:15:57] @ Quit: jcape: Ping timeout: 260 seconds | ||
| [2010/02/12 20:16:14] @ Quit: alfism: Quit: http://opensolaris.com/ | ||
| [2010/02/12 20:18:35] <explody> does subscribe imply require? | ||
| [2010/02/12 20:18:58] @ \ask joined channel #puppet | ||
| [2010/02/12 20:19:25] <explody> I suppose it must? | ||
| [2010/02/12 20:21:59] <justdave> subscribe implies notify from the other direction | ||
| [2010/02/12 20:22:09] <justdave> before implies require | ||
| [2010/02/12 20:22:59] @ Quit: nb: Quit: ZNC - http://znc.sourceforge.net | ||
| [2010/02/12 20:25:19] @ autowidget joined channel #puppet | ||
| [2010/02/12 20:26:37] @ nb joined channel #puppet | ||
| [2010/02/12 20:28:47] @ jcape joined channel #puppet | ||
| [2010/02/12 20:28:48] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/02/12 20:29:06] @ autonomouswidget joined channel #puppet | ||
| [2010/02/12 20:31:30] @ Quit: autowidget: Ping timeout: 240 seconds | ||
| [2010/02/12 20:31:30] @ autonomouswidget is now known as autowidget | ||
| [2010/02/12 20:36:36] @ Quit: pting: Quit: Ex-Chat | ||
| [2010/02/12 20:40:45] @ autonomouswidget joined channel #puppet | ||
| [2010/02/12 20:43:37] @ Quit: autowidget: Ping timeout: 264 seconds | ||
| [2010/02/12 20:43:37] @ autonomouswidget is now known as autowidget | ||
| [2010/02/12 20:44:21] @ Quit: jcape: Ping timeout: 245 seconds | ||
| [2010/02/12 20:44:58] @ Quit: ambroff: Quit: Ex-Chat | ||
| [2010/02/12 20:45:54] @ jcape joined channel #puppet | ||
| [2010/02/12 21:03:23] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 21:05:18] @ giskard joined channel #puppet | ||
| [2010/02/12 21:06:24] @ tjoe joined channel #puppet | ||
| [2010/02/12 21:18:06] @ plathrop is now known as plathrop-away | ||
| [2010/02/12 21:18:11] @ Quit: mikerowehl: Quit: mikerowehl | ||
| [2010/02/12 21:19:23] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/12 21:23:51] @ Quit: bug: Quit: bug | ||
| [2010/02/12 21:25:21] @ Quit: ezmobius: Remote host closed the connection | ||
| [2010/02/12 21:28:29] @ bug joined channel #puppet | ||
| [2010/02/12 21:43:45] @ Quit: minaural: Quit: Ex-Chat | ||
| [2010/02/12 21:43:47] @ ccaum joined channel #puppet | ||
| [2010/02/12 21:45:54] @ ccaum left channel #puppet () | ||
| [2010/02/12 21:46:02] @ ccaum joined channel #puppet | ||
| [2010/02/12 21:49:56] @ murkk joined channel #puppet | ||
| [2010/02/12 21:56:17] @ Quit: murkk: Quit: murkk | ||
| [2010/02/12 22:11:19] @ murkk joined channel #puppet | ||
| [2010/02/12 22:12:10] @ Quit: jaredrhine: Ping timeout: 256 seconds | ||
| [2010/02/12 22:15:41] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/12 22:29:30] @ Quit: murkk: Quit: murkk | ||
| [2010/02/12 22:31:37] @ Quit: rmiller4pi8: Ping timeout: 264 seconds | ||
| [2010/02/12 22:39:54] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/02/12 22:46:30] @ snerd joined channel #puppet | ||
| [2010/02/12 22:53:12] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 22:54:49] @ \ask joined channel #puppet | ||
| [2010/02/12 23:08:29] @ Quit: CompBrain: Changing host | ||
| [2010/02/12 23:08:29] @ CompBrain joined channel #puppet | ||
| [2010/02/12 23:33:25] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/12 23:33:32] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/12 23:35:59] @ giskard joined channel #puppet | ||
| [2010/02/12 23:39:26] @ Quit: autowidget: Ping timeout: 256 seconds | ||
| [2010/02/12 23:40:06] @ jfreeman joined channel #puppet | ||
| [2010/02/12 23:43:50] @ \ask joined channel #puppet | ||
| [2010/02/12 23:56:48] @ ccaum left channel #puppet () |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!