Sunday, 2010-07-25

[2010/07/25 00:23:57] @ Log started by gepetto
[2010/07/25 00:23:57] @ aussielunix joined channel #puppet
[2010/07/25 00:27:20] @ alcy joined channel #puppet
[2010/07/25 00:45:53] @ Quit: aussielunix: Quit: BitchX: the headache medicine
[2010/07/25 00:57:06] @ Quit: gniks: Quit: Leaving.
[2010/07/25 01:00:59] @ gniks joined channel #puppet
[2010/07/25 01:10:04] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Firefox 3.6.6/20100625231939]
[2010/07/25 01:11:16] @ Quit: ceren: Ping timeout: 248 seconds
[2010/07/25 01:11:51] @ Quit: LittleIdea: Quit: LittleIdea
[2010/07/25 01:11:51] @ Quit: littleidea_: Quit: littleidea_
[2010/07/25 01:12:15] @ zorzar_ joined channel #puppet
[2010/07/25 01:15:19] @ Quit: zorzar: Ping timeout: 260 seconds
[2010/07/25 01:22:15] @ adrian_broher joined channel #puppet
[2010/07/25 01:52:55] @ ceren joined channel #puppet
[2010/07/25 02:05:05] @ Mick27 joined channel #puppet
[2010/07/25 02:32:01] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/07/25 02:35:12] @ Andrewtoo joined channel #puppet
[2010/07/25 02:55:48] @ hal-j1 joined channel #puppet
[2010/07/25 02:55:49] @ Quit: hal-j: Read error: No route to host
[2010/07/25 03:42:03] @ jab_doa joined channel #puppet
[2010/07/25 03:42:28] @ nexx joined channel #puppet
[2010/07/25 04:11:00] @ Quit: blueness: Quit: Ex-Chat
[2010/07/25 04:44:59] @ gebi joined channel #puppet
[2010/07/25 04:56:02] @ kubicek joined channel #puppet
[2010/07/25 05:22:19] @ Quit: charlieS: *.net *.split
[2010/07/25 05:22:22] @ charlieS joined channel #puppet
[2010/07/25 05:23:01] @ fluxdude joined channel #puppet
[2010/07/25 05:36:12] @ herdingcat joined channel #puppet
[2010/07/25 05:37:24] @ alexis_broher joined channel #puppet
[2010/07/25 05:38:18] @ Quit: adrian_broher: Ping timeout: 260 seconds
[2010/07/25 05:41:41] @ Quit: Andrewtoo: Quit: Leaving
[2010/07/25 05:45:10] @ Quit: herdingcat: Ping timeout: 265 seconds
[2010/07/25 05:51:03] @ alexis_broher is now known as adrian_broher
[2010/07/25 06:22:02] @ sammi joined channel #puppet
[2010/07/25 06:47:24] @ sebas891 joined channel #puppet
[2010/07/25 06:53:48] @ Quit: fluxdude: Ping timeout: 240 seconds
[2010/07/25 06:57:26] @ herdingcat joined channel #puppet
[2010/07/25 07:08:58] @ fluxdude joined channel #puppet
[2010/07/25 07:09:03] @ Quit: fluxdude: Changing host
[2010/07/25 07:09:03] @ fluxdude joined channel #puppet
[2010/07/25 07:10:12] @ Quit: vdc: Read error: Operation timed out
[2010/07/25 07:11:49] @ vdc joined channel #puppet
[2010/07/25 07:27:51] @ pinoyskull joined channel #puppet
[2010/07/25 07:40:07] @ bgupta joined channel #puppet
[2010/07/25 07:47:19] @ littleidea_ joined channel #puppet
[2010/07/25 07:47:19] @ LittleIdea joined channel #puppet
[2010/07/25 07:50:50] @ jense joined channel #puppet
[2010/07/25 08:11:05] @ Quit: sammi: Quit: sammi
[2010/07/25 08:14:57] @ Quit: herdingcat: Remote host closed the connection
[2010/07/25 08:26:24] @ sammi joined channel #puppet
[2010/07/25 08:29:29] @ thekad-afk is now known as thekad
[2010/07/25 08:30:41] @ emiddd joined channel #puppet
[2010/07/25 08:36:55] @ Tommy70 joined channel #puppet
[2010/07/25 08:37:12] @ Quit: sammi: Remote host closed the connection
[2010/07/25 08:37:15] @ Quit: Tommy70: Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]
[2010/07/25 08:38:03] @ sammi joined channel #puppet
[2010/07/25 08:38:35] @ samueljon joined channel #puppet
[2010/07/25 08:39:26] @ Quit: samueljon: Client Quit
[2010/07/25 08:44:41] @ Quit: Demosthenes: Quit: leaving
[2010/07/25 08:51:23] @ thekad is now known as thekad-afk
[2010/07/25 08:51:48] @ neleanth joined channel #puppet
[2010/07/25 08:53:21] @ Quit: fluxdude: Ping timeout: 240 seconds
[2010/07/25 09:10:56] @ Quit: bgupta: Quit: bgupta
[2010/07/25 09:24:53] @ bgupta joined channel #puppet
[2010/07/25 10:02:14] @ Quit: bgupta: Quit: bgupta
[2010/07/25 10:08:38] @ nakano is now known as nakano_
[2010/07/25 10:09:47] @ Mick27 joined channel #puppet
[2010/07/25 10:10:33] @ nakano_ is now known as nakano
[2010/07/25 10:20:07] @ Quit: bug: Quit: bug
[2010/07/25 10:27:06] @ Quit: \ask: Remote host closed the connection
[2010/07/25 10:33:14] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/07/25 10:35:50] @ \ask joined channel #puppet
[2010/07/25 10:38:11] @ snikkers joined channel #puppet
[2010/07/25 10:38:45] @ Quit: \ask: Remote host closed the connection
[2010/07/25 10:44:42] @ Alagar joined channel #puppet
[2010/07/25 10:44:42] @ Quit: Alagar: Excess Flood
[2010/07/25 10:47:50] @ mclarke joined channel #puppet
[2010/07/25 10:48:06] @ bug joined channel #puppet
[2010/07/25 10:49:35] @ jaredrhine joined channel #puppet
[2010/07/25 10:55:11] @ Quit: nexx: Quit: quit
[2010/07/25 11:04:41] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/07/25 11:11:55] @ Quit: ceren: Quit: ceren
[2010/07/25 11:12:45] @ ceren joined channel #puppet
[2010/07/25 11:18:12] @ Quit: LapTop006: Ping timeout: 248 seconds
[2010/07/25 11:31:58] <n3kl> jamesturnbull: sweet, did you guys get a lot of hits on your jobs postings?
[2010/07/25 11:32:14] @ Alagar joined channel #puppet
[2010/07/25 11:32:14] @ Quit: Alagar: Excess Flood
[2010/07/25 11:41:23] @ Quit: bug: Quit: bug
[2010/07/25 11:59:12] @ bug joined channel #puppet
[2010/07/25 12:04:03] @ Quit: Mick27: Quit: Leaving
[2010/07/25 12:08:31] @ Quit: neleanth: Ping timeout: 276 seconds
[2010/07/25 12:11:27] @ yannL joined channel #puppet
[2010/07/25 12:13:23] @ rcrowley joined channel #puppet
[2010/07/25 12:14:48] @ Quit: agagag: Quit: leaving
[2010/07/25 12:22:27] @ agagag joined channel #puppet
[2010/07/25 12:24:15] @ \ask joined channel #puppet
[2010/07/25 12:27:20] <jamesturnbull> n3kl: we've had a few and short listing but still open to CVs
[2010/07/25 12:33:55] @ Alagar joined channel #puppet
[2010/07/25 12:33:55] @ Quit: Alagar: Excess Flood
[2010/07/25 12:40:15] <n3kl> great to hear. I am very interested. I was just excited to hear you guys had moved to portland
[2010/07/25 12:43:46] @ Alagar joined channel #puppet
[2010/07/25 12:43:46] @ Quit: Alagar: Excess Flood
[2010/07/25 12:45:29] @ Quit: bug: Quit: bug
[2010/07/25 12:46:27] @ Quit: rcrowley: Quit: rcrowley
[2010/07/25 12:50:08] @ Quit: LittleIdea: Quit: LittleIdea
[2010/07/25 12:50:08] @ Quit: littleidea_: Quit: littleidea_
[2010/07/25 12:53:50] @ littleidea_ joined channel #puppet
[2010/07/25 12:53:50] @ LittleIdea joined channel #puppet
[2010/07/25 12:54:33] @ Alagar joined channel #puppet
[2010/07/25 12:54:33] @ Quit: Alagar: Excess Flood
[2010/07/25 12:58:05] @ fbe_ joined channel #puppet
[2010/07/25 12:58:39] <jamesturnbull> n3kl: well please send something in shortly
[2010/07/25 12:58:40] @ Quit: fbe: Ping timeout: 245 seconds
[2010/07/25 12:58:45] @ Alagar joined channel #puppet
[2010/07/25 12:58:45] @ Quit: Alagar: Excess Flood
[2010/07/25 13:03:32] @ jmccune joined channel #puppet
[2010/07/25 13:07:01] @ stahnma joined channel #puppet
[2010/07/25 13:08:36] @ Quit: LittleIdea: Quit: LittleIdea
[2010/07/25 13:08:36] @ Quit: littleidea_: Quit: littleidea_
[2010/07/25 13:10:47] @ LittleIdea_ joined channel #puppet
[2010/07/25 13:10:47] @ littleidea joined channel #puppet
[2010/07/25 13:20:10] @ bug joined channel #puppet
[2010/07/25 13:20:33] @ Alagar joined channel #puppet
[2010/07/25 13:20:33] @ Quit: Alagar: Excess Flood
[2010/07/25 13:24:12] @ acorugedo joined channel #puppet
[2010/07/25 13:29:12] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/07/25 13:30:00] @ Quit: ceren: Quit: ceren
[2010/07/25 13:40:44] @ Quit: bitfield: Quit: Leaving.
[2010/07/25 13:40:46] @ bgupta joined channel #puppet
[2010/07/25 13:41:47] @ lak joined channel #puppet
[2010/07/25 13:43:19] @ Quit: bug: Quit: bug
[2010/07/25 13:44:15] @ Quit: yannL: Remote host closed the connection
[2010/07/25 13:52:06] @ Alagar joined channel #puppet
[2010/07/25 13:52:06] @ Quit: Alagar: Excess Flood
[2010/07/25 13:56:55] @ Alagar joined channel #puppet
[2010/07/25 13:56:55] @ Quit: Alagar: Excess Flood
[2010/07/25 14:00:02] @ LapTop006 joined channel #puppet
[2010/07/25 14:00:09] @ Alagar joined channel #puppet
[2010/07/25 14:00:09] @ Quit: Alagar: Excess Flood
[2010/07/25 14:04:04] @ Alagar joined channel #puppet
[2010/07/25 14:04:04] @ Quit: Alagar: Excess Flood
[2010/07/25 14:05:19] @ Quit: jmccune: Ping timeout: 260 seconds
[2010/07/25 14:21:19] @ Alagar joined channel #puppet
[2010/07/25 14:21:19] @ Quit: Alagar: Excess Flood
[2010/07/25 14:23:33] @ Quit: sammi: Quit: sammi
[2010/07/25 14:24:46] @ pheezy joined channel #puppet
[2010/07/25 14:27:11] @ rcrowley joined channel #puppet
[2010/07/25 14:29:29] @ fredden joined channel #puppet
[2010/07/25 14:30:41] @ Alagar joined channel #puppet
[2010/07/25 14:30:42] @ Quit: Alagar: Excess Flood
[2010/07/25 14:33:41] @ Quit: kubicek: Quit: kubicek
[2010/07/25 14:34:32] @ kubicek joined channel #puppet
[2010/07/25 14:34:57] @ Alagar joined channel #puppet
[2010/07/25 14:34:57] @ Quit: Alagar: Excess Flood
[2010/07/25 14:36:32] @ TREllis joined channel #puppet
[2010/07/25 14:38:11] @ aaronyy joined channel #puppet
[2010/07/25 14:39:30] @ twisla left channel #puppet ()
[2010/07/25 14:39:55] @ Quit: adrian_broher: Quit: Verlassend
[2010/07/25 14:40:47] @ bug joined channel #puppet
[2010/07/25 14:45:11] @ Quit: kubicek: Quit: kubicek
[2010/07/25 14:51:19] @ kubicek joined channel #puppet
[2010/07/25 14:52:20] @ Quit: lak: Quit: lak
[2010/07/25 14:55:56] @ Alagar joined channel #puppet
[2010/07/25 14:55:56] @ Quit: Alagar: Excess Flood
[2010/07/25 15:10:26] @ Quit: pheezy: Remote host closed the connection
[2010/07/25 15:11:13] @ pheezy joined channel #puppet
[2010/07/25 15:11:35] @ Quit: SpacePope: Ping timeout: 260 seconds
[2010/07/25 15:13:41] @ Quit: pheezy: Remote host closed the connection
[2010/07/25 15:13:59] @ SpacePope joined channel #puppet
[2010/07/25 15:15:36] @ Quit: nb: Quit: ZNC - http://znc.sourceforge.net
[2010/07/25 15:17:17] @ fluxdude joined channel #puppet
[2010/07/25 15:17:37] @ nb joined channel #puppet
[2010/07/25 15:19:57] @ Alagar joined channel #puppet
[2010/07/25 15:19:57] @ Quit: Alagar: Excess Flood
[2010/07/25 15:19:59] @ Quit: n3kl: Ping timeout: 258 seconds
[2010/07/25 15:21:50] @ n3kl joined channel #puppet
[2010/07/25 15:21:51] @ Quit: n3kl: Changing host
[2010/07/25 15:21:51] @ n3kl joined channel #puppet
[2010/07/25 15:24:12] @ pheezy joined channel #puppet
[2010/07/25 15:25:54] @ Alagar joined channel #puppet
[2010/07/25 15:25:55] @ Quit: Alagar: Excess Flood
[2010/07/25 15:31:32] @ ceren joined channel #puppet
[2010/07/25 15:31:45] @ MarkN1 left channel #puppet ()
[2010/07/25 15:34:16] <madduck> how do i concat two strings, e.g. in an exec statement, I want to include a puppet variable, and "foo $bar ble" does not expand $bar
[2010/07/25 15:36:55] @ Quit: TREllis: Quit: leaving
[2010/07/25 15:39:29] <madduck> the docs say
[2010/07/25 15:39:29] <madduck> Variable Interpolation With Quotes
[2010/07/25 15:39:31] <madduck> So far, we’ve mentioned variables in terms of defines. If you need to use those variables within a string, use double quotes, not single quotes. Single-quoted strings will not do any variable interpolation, double-quoted strings will. Variables in strings can also be bracketed with {} which makes them easier to use together, and also a bit cleaner to read:
[2010/07/25 15:39:37] <madduck> but that's apparently just bullshit
[2010/07/25 15:39:37] @ nakano is now known as nakano_
[2010/07/25 15:40:14] <madduck> of course, maybe defining a variable in the class that hosts the exec {} doesn't work
[2010/07/25 15:40:17] @ [GuS] joined channel #puppet
[2010/07/25 15:40:20] <madduck> yay puppet scope
[2010/07/25 15:42:39] @ Quit: emag: Remote host closed the connection
[2010/07/25 15:43:37] @ Quit: pheezy: Remote host closed the connection
[2010/07/25 15:55:39] @ nakano_ is now known as nakano
[2010/07/25 15:58:42] @ OpenMedia joined channel #puppet
[2010/07/25 15:59:40] @ Alagar joined channel #puppet
[2010/07/25 15:59:40] @ Quit: Alagar: Excess Flood
[2010/07/25 16:04:02] @ Alagar joined channel #puppet
[2010/07/25 16:04:02] @ Quit: Alagar: Excess Flood
[2010/07/25 16:10:25] @ emag joined channel #puppet
[2010/07/25 16:11:20] @ Quit: ceren: Quit: ceren
[2010/07/25 16:13:11] @ Quit: fluxdude: Ping timeout: 276 seconds
[2010/07/25 16:23:42] @ Quit: n3kl: Ping timeout: 276 seconds
[2010/07/25 16:25:14] @ n3kl joined channel #puppet
[2010/07/25 16:25:14] @ Quit: n3kl: Changing host
[2010/07/25 16:25:14] @ n3kl joined channel #puppet
[2010/07/25 16:32:19] @ notbrien joined channel #puppet
[2010/07/25 16:32:28] @ Quit: Hunner: Remote host closed the connection
[2010/07/25 16:34:56] <notbrien> nagios_service and nagios_host create targets with mode 600 instead of 644. I have to run puppetd twice, once for file creation and then a second time for mode 644. Any thoughts on how to do this on one run?
[2010/07/25 16:42:01] @ Hunner joined channel #puppet
[2010/07/25 16:46:13] @ Alagar joined channel #puppet
[2010/07/25 16:46:13] @ Quit: Alagar: Excess Flood
[2010/07/25 17:28:02] @ ghaskins_mobile joined channel #puppet
[2010/07/25 17:29:05] @ Quit: ghaskins_mobile: Client Quit
[2010/07/25 17:47:55] @ Quit: kubicek: Quit: kubicek
[2010/07/25 17:59:31] @ ceren joined channel #puppet
[2010/07/25 18:00:26] @ Quit: jab_doa: Quit: Verlassend
[2010/07/25 18:02:17] <rodjek> madduck: "${oldstr1}${oldstr2}"
[2010/07/25 18:02:25] @ Quit: devdas: Ping timeout: 245 seconds
[2010/07/25 18:15:41] @ Quit: bug: Quit: bug
[2010/07/25 18:18:54] @ bug joined channel #puppet
[2010/07/25 18:27:56] @ Quit: alhoang: Remote host closed the connection
[2010/07/25 18:36:17] @ Quit: \ask: Remote host closed the connection
[2010/07/25 18:37:16] @ \ask joined channel #puppet
[2010/07/25 18:37:26] @ Quit: \ask: Remote host closed the connection
[2010/07/25 18:37:54] @ \ask joined channel #puppet
[2010/07/25 18:38:04] @ Quit: \ask: Remote host closed the connection
[2010/07/25 18:38:48] @ \ask joined channel #puppet
[2010/07/25 18:43:27] @ Quit: \ask: Ping timeout: 260 seconds
[2010/07/25 18:46:43] @ Djelibeybi joined channel #puppet
[2010/07/25 18:48:17] <Djelibeybi> jamesturnbull: ping?
[2010/07/25 18:48:29] <jamesturnbull> Djelibeybi: pong
[2010/07/25 18:49:09] <Djelibeybi> jamesturnbull: has the puppetmaster training been updated for 2.6 yet? Teyo hasn't given me access to the Github repo to check
[2010/07/25 18:49:19] <jamesturnbull> Djelibeybi: not as far as I know
[2010/07/25 18:49:36] <Djelibeybi> jamesturnbull: I'm thinking of cheating/being lazy and just using the Puppet Master training for SAGE.
[2010/07/25 18:49:50] <Djelibeybi> jamesturnbull: I still can't get the slides to recompile on F13 properly
[2010/07/25 18:50:43] <jamesturnbull> Djelibeybi: works on OSX
[2010/07/25 18:50:58] <Djelibeybi> jamesturnbull: yeah, never managed to get it to work there either.
[2010/07/25 18:57:36] @ Alagar joined channel #puppet
[2010/07/25 18:57:36] @ Quit: Alagar: Excess Flood
[2010/07/25 19:00:44] @ Quit: [GuS]: Remote host closed the connection
[2010/07/25 19:03:00] @ alexine_dsouza joined channel #puppet
[2010/07/25 19:04:51] <sdodson> ~.
[2010/07/25 19:15:09] <LapTop006> Is there a usable varible (0.25) for the node name, $fqdn doesn't work here as I need the node to get the SSL filenames
[2010/07/25 19:19:39] <LapTop006> Don't see anything in yaml/facts that would work, except name, but that isn't usable where I need it (I think, a class included several levels deep)
[2010/07/25 19:20:33] <fenris02> run 'facter' and see if the one you want is there?
[2010/07/25 19:23:14] @ \ask joined channel #puppet
[2010/07/25 19:26:44] @ devdas joined channel #puppet
[2010/07/25 19:27:50] <ohadlevy> LapTop006: why doesnt fqdn works?
[2010/07/25 19:28:25] <Djelibeybi> LapTop006: yeah, what ohadlevy asked. :)
[2010/07/25 19:29:46] @ jseverino joined channel #puppet
[2010/07/25 19:30:23] <LapTop006> FQDN from facter != FQDN set in puppet
[2010/07/25 19:30:42] <LapTop006> we need multiple short names on hosts (legacy issue), we force puppet to correct fqdn as node name
[2010/07/25 19:30:54] <LapTop006> I need the node name to get the SSL certs to use for apt-https
[2010/07/25 19:32:32] @ Quit: jseverino: Client Quit
[2010/07/25 19:33:24] <jamesturnbull> LapTop006: write a fact
[2010/07/25 19:36:51] <ohadlevy> LapTop006: or just use the certname option in puppet.conf i got you right
[2010/07/25 19:40:00] <Djelibeybi> ohadlevy: certname or certdnsname?
[2010/07/25 19:41:42] <ohadlevy> Djelibeybi: I'll let him explore ;)
[2010/07/25 19:42:05] <Djelibeybi> jamesturnbull: can you link me to the VM image you created for the tutorial?
[2010/07/25 19:42:09] * ohadlevy is not really focus on the conversation
[2010/07/25 19:42:40] <jamesturnbull> Djelibeybi: http://puppetlabs.com/downloads/training/
[2010/07/25 19:43:09] <Djelibeybi> jamesturnbull: shazaam. Thankee kindly.
[2010/07/25 19:46:46] <LapTop006> I already use the --fqdn option, it works, and writes the cert filename based on it, I just need to know that to be able to have a manifest find the file
[2010/07/25 19:48:16] <LapTop006> It seems crazy to not be able to reference the node name in a manifest but is that seriously the case?
[2010/07/25 19:53:32] <Djelibeybi> LapTop006: you mean the shortname? There should be a $hostname fact for that
[2010/07/25 19:53:50] <Djelibeybi> LapTop006: I use that a lot in my manifests to built ${hostname}-mgt.${domainname} entries in /etc/hosts
[2010/07/25 19:54:12] @ pinoyskull joined channel #puppet
[2010/07/25 19:54:55] @ gniks left channel #puppet ()
[2010/07/25 19:55:29] @ gniks joined channel #puppet
[2010/07/25 19:55:40] <LapTop006> Djelibeybi: nope, shortname no good, we have *many* dupes of shortname accross production (by design) *only* the FQDN is unique
[2010/07/25 19:55:48] <LapTop006> But I need the FQDN I've passed to puppet
[2010/07/25 19:56:17] <Djelibeybi> LapTop006: I suspect I'm misunderstanding the problem. Can you put together a sample in pastie somehow?
[2010/07/25 20:01:00] @ Quit: devdas: Remote host closed the connection
[2010/07/25 20:02:05] <LapTop006> Here's the relevent (I think) bits from the host and puppetmaster: http://pastebin.com/knu4QxxN
[2010/07/25 20:02:55] <LapTop006> the apt-https class at the bottom is what I'm trying to get working
[2010/07/25 20:03:43] <rodjek> you could always write a fact to return the name of the signed cert?
[2010/07/25 20:05:15] <rodjek> actually, what's the first line in /var/lib/puppet/state/classes.txt?
[2010/07/25 20:06:12] <LapTop006> first line is the inherited template, *last* line is the node name
[2010/07/25 20:06:38] <rodjek> write a small fact to return the last line of the file then
[2010/07/25 20:06:51] @ Quit: rcrowley: Quit: rcrowley
[2010/07/25 20:07:37] <rodjek> assuming that's consistent... jamesturnbull might be able to confirm that or not
[2010/07/25 20:08:29] <Djelibeybi> LapTop006: what do you want the fqdn to be?
[2010/07/25 20:09:20] <Djelibeybi> Because the fqdn fact and the cert filename seem to be the same to me. Am I missing something?
[2010/07/25 20:10:27] <rodjek> Djelibeybi: i think he want's a fact returning the nodename ("backbone.ceosp.editure.com") rather than the fqdn ("ceospbackbone.ceosp.editure.com")
[2010/07/25 20:11:03] <Djelibeybi> Oh, I see.
[2010/07/25 20:24:25] <LapTop006> rodjek: Exactly, becuase the nodename == the SSL filename, which is what I actually need for the class
[2010/07/25 20:28:22] @ Quit: fredden: Ping timeout: 276 seconds
[2010/07/25 20:32:15] @ Quit: wilmoore: Read error: Connection reset by peer
[2010/07/25 20:33:12] @ wilmoore joined channel #puppet
[2010/07/25 20:40:29] <rodjek> LapTop006: http://gist.github.com/490156 it's a bit primitive, but it should do what you want
[2010/07/25 20:46:04] <jamesturnbull> pastie url me
[2010/07/25 20:46:23] <jamesturnbull> LapTop006: rodjek or http://pastie.org/1059967
[2010/07/25 20:46:26] @ Quit: LittleIdea_: Quit: LittleIdea_
[2010/07/25 20:46:26] @ Quit: littleidea: Quit: littleidea
[2010/07/25 20:46:59] <rodjek> yeah, jamesturnbull's solution is much much better
[2010/07/25 20:51:25] @ rcrowley joined channel #puppet
[2010/07/25 20:52:54] @ jens_ joined channel #puppet
[2010/07/25 20:52:56] <LapTop006> jamesturnbull: requires I use certname, but I guess it can be made to work
[2010/07/25 20:55:00] <jamesturnbull> LapTop006: well certname is set by default
[2010/07/25 20:56:42] @ Quit: jense: Ping timeout: 276 seconds
[2010/07/25 21:05:01] @ LittleIdea_ joined channel #puppet
[2010/07/25 21:05:01] @ littleidea joined channel #puppet
[2010/07/25 21:05:26] <LapTop006> Now need to see why fact not deploying, and just traced code, fqdn should be set from cert fqdn, which I just verified was correct so no idea why problem exists in first place
[2010/07/25 21:14:27] @ CraftyTech joined channel #puppet
[2010/07/25 21:16:33] @ Quit: notbrien: Quit: notbrien
[2010/07/25 21:19:59] @ Dantman joined channel #puppet
[2010/07/25 21:20:08] <Dantman> Anyone actually using puppet-dashboard?
[2010/07/25 21:24:04] @ pheezy joined channel #puppet
[2010/07/25 21:31:56] @ Quit: pheezy: Remote host closed the connection
[2010/07/25 21:35:05] @ Quit: bug: Quit: bug
[2010/07/25 21:38:23] @ Quit: CraftyTech: Quit: Ex-Chat
[2010/07/25 21:40:03] @ sebas891 left channel #puppet ()
[2010/07/25 21:43:45] @ fredden joined channel #puppet
[2010/07/25 21:44:12] <LapTop006> Now how do I debug why my fact isn't syncing
[2010/07/25 21:44:32] <LapTop006> it's in a module lib/ dir as per docs, and the host imports the module
[2010/07/25 21:45:02] @ bug joined channel #puppet
[2010/07/25 21:45:31] <jamesturnbull> Dantman: quite a few? :)
[2010/07/25 21:45:40] <jamesturnbull> LapTop006: is it in lib/facter ?
[2010/07/25 21:45:44] <rodjek> LapTop006: lib/facter/certname.rb?
[2010/07/25 21:47:51] <Dantman> jamesturnbull, I mentioned that because I've only been running puppet and the dashboard for 2-3 days and the reports have already bogged down the dashboard to insane load times...
[2010/07/25 21:52:54] <LapTop006> Is /etc/puppet/modules/systems-keys/lib/factor/certname.rb
[2010/07/25 21:53:04] <LapTop006> all our debian hosts import the module it's a part of
[2010/07/25 21:53:13] <rodjek> facter, not factor
[2010/07/25 21:53:23] <LapTop006> I'll actually make an apt-https module soon, but this should do for now
[2010/07/25 21:53:58] <LapTop006> *self-lart*
[2010/07/25 21:54:18] <jamesturnbull> Dantman: version? and how are you loading the reports?
[2010/07/25 21:55:25] <Dantman> 1.0.3.. checkout from git as the help page mentioned... setup as described in the readme
[2010/07/25 21:55:35] <LapTop006> Hmm, fixed the dir name, still nothing
[2010/07/25 21:55:41] <jamesturnbull> Dantman: rake import or http report?
[2010/07/25 21:55:51] @ Quit: rcrowley: Quit: rcrowley
[2010/07/25 21:55:52] <jamesturnbull> Dantman: since there are three methods to get the reports :)
[2010/07/25 21:56:18] <Dantman> a little of both... rake import to get the initial data, then I got http working
[2010/07/25 21:56:24] <jamesturnbull> Dantman: server too? passenger / webrick?
[2010/07/25 21:57:14] <Dantman> tiny... it's sitting behind a pound/varnish/nginx setup but tat's not relevant because I had the same issue accessing directly
[2010/07/25 21:57:37] <jamesturnbull> Dantman: how many reports?
[2010/07/25 21:58:32] <Dantman> One sec, I need to wait for the other node page to load
[2010/07/25 21:59:21] @ alcy joined channel #puppet
[2010/07/25 21:59:48] <Dantman> 266
[2010/07/25 22:00:24] <jamesturnbull> Dantman: so 266 nodes?
[2010/07/25 22:00:42] <alcy> folks, is it ok to use puppet generated server certificates for other purposes like ldap/dovecot/qmail etc. ?
[2010/07/25 22:01:34] <Dantman> puppet 0.25.4 ubuntu
[2010/07/25 22:02:34] <rodjek> alcy: i reuse them for func
[2010/07/25 22:03:01] <rodjek> but i prefer certs signed by a publicly trusted ca for publicly accessible services
[2010/07/25 22:03:02] <LapTop006> Ah still had path set for plugins share in fileserver, all working now, thanks Djelibeybi, rodjek, jamesturnbull, ohadlevy
[2010/07/25 22:03:45] <jamesturnbull> Dantman: okay - I will have a chat with engineering - I am pretty sure they are going to say "yep - we're working on it"
[2010/07/25 22:04:47] <alcy> rodjek: hmmm, I am not sure if the s/w in question have different requirements from a certificate, bu ti guess they mainly require only the fqdn.
[2010/07/25 22:05:06] <jamesturnbull> Dantman: can you log a ticket with your statistics - nodes, # of reports, behaviour so we can understand where things are ugly
[2010/07/25 22:05:07] <alcy> fqdn to be set in the CN field
[2010/07/25 22:05:17] <jamesturnbull> Dantman: thanks
[2010/07/25 22:06:25] <Dantman> jamesturnbull, no 266 reports over 2 nodes
[2010/07/25 22:06:58] <jamesturnbull> Dantman: huh? that's ... weird ... I have 15000 reports over 10 nodes and mine performs quite well
[2010/07/25 22:08:00] <Dantman> jamesturnbull, I know... I was really asking about other people's experiences... I know this is likely related to that bug about reports being stored in the database in a TEXT field forcing extra parsing of it, which was already pointed towards the plan to eventually switch away from that
[2010/07/25 22:08:21] <Dantman> Btw... my connection is shit right now...
[2010/07/25 22:09:01] <Dantman> jamesturnbull, How much ram/cpu and is it physically or virtually hosted?
[2010/07/25 22:09:14] <jamesturnbull> Dantman: VPS / 2Gb of ram
[2010/07/25 22:09:22] <jamesturnbull> Dantman: passenger
[2010/07/25 22:09:54] <Dantman> jamesturnbull, I'm on a cloud server (rackspace cloud so it has 4 cores) so it's virtual, and it has 245mb total ram
[2010/07/25 22:10:32] <Dantman> it appears to have moved into half it's swap as well
[2010/07/25 22:11:02] <Dantman> I suppose when you stack all these together you get one edge case where it can't keep up
[2010/07/25 22:12:10] <Dantman> I was debating upgrading the instance size after we decommission the huge aws instance we're moving off of
[2010/07/25 22:12:16] <Dantman> anyways*
[2010/07/25 22:14:09] <ohadlevy> Dantman: you can probably just change the text field in mysql, I did that in foreman
[2010/07/25 22:14:50] <Dantman> ohadlevy, Eh? iirc the issue was that it needed to parse the data each time, it wasn't structured
[2010/07/25 22:15:46] <ohadlevy> Dantman: (if i understand your problems correctly while reading only 20% of messages) the problem is that mysql will save only 64k in a text field, the rest will be trun without notice
[2010/07/25 22:15:50] <Dantman> I wonder if I should run a cron job to periodically purge old cron jobs and only keep a few recent ones
[2010/07/25 22:16:32] <Dantman> ohadlevy, Nah that's a different issue... my issue is not the data loss issue, it's the one where that format is causing it to slow down the dashboard
[2010/07/25 22:16:56] <ohadlevy> Dantman: ah, yeah, I solved that in foreman in another way :)
[2010/07/25 22:17:26] <Dantman> jamesturnbull, where should I log the ticket?
[2010/07/25 22:18:18] <ohadlevy> Dantman: my initial testing with foreman was with 2k plus puppet nodes, so I was easy to find the common slowness problems
[2010/07/25 22:18:31] <jamesturnbull> Dantman: http://projects.puppetlabs.com/projects/dashboard/
[2010/07/25 22:18:51] <jamesturnbull> Dantman: if you create an account and sign in a "New Issues" tab will appear
[2010/07/25 22:21:25] * Dantman is part of a small company... but got tired of spending hours on the initial setup whenever he setup a new server, is hoping to migrate away from large servers with piles of stuff on it, and is also expecting eventually to need to make use of the cloud nature when the app he's working on is publicly launched
[2010/07/25 22:30:01] @ ohadlevy left channel #puppet ()
[2010/07/25 22:30:40] @ ohadlevy joined channel #puppet
[2010/07/25 22:30:43] @ ohadlevy is now known as Guest79440
[2010/07/25 22:35:22] <Dantman> Ack... thin, not tiny
[2010/07/25 22:37:09] <fenris02> Dantman, cobbler for building, puppet/func or mcollective for managing
[2010/07/25 22:37:45] @ Quit: Guest79440: Quit: ZNC - http://znc.sourceforge.net
[2010/07/25 22:40:31] <Dantman> puppet should be enough for me
[2010/07/25 22:41:00] <rodjek> puppet & func :)
[2010/07/25 22:42:19] <Dantman> I don't expect to have to run many instances, and don't expect to need something like func or capistrano... most of the servers would have unique purposes with unique setups on them... I'm really only modeling the common things on them (since they use the same os, and may have some common software) which I would otherwise spend hours setting up on each individual server
[2010/07/25 22:42:54] <fenris02> func and puppet do different things
[2010/07/25 22:43:03] <Dantman> I know
[2010/07/25 22:43:28] @ ohadlevy joined channel #puppet
[2010/07/25 22:43:30] <Dantman> But I don't need to run commands on a bunch of different servers at once
[2010/07/25 22:44:05] <Dantman> Just come up with how to configure something common, then create a puppet class that'll make that basic setup ready on all servers that use it
[2010/07/25 22:44:55] <fenris02> *nod* you can use func for inventory too. random things.
[2010/07/25 22:46:35] <ohadlevy> fenris02: which kind of inventory?
[2010/07/25 22:47:23] <fenris02> ohadlevy, hw, sw, whatever you like ?
[2010/07/25 22:47:40] <ohadlevy> fenris02: why not reusing puppet facts?
[2010/07/25 22:48:06] <fenris02> ohadlevy, you can write a puppet fact to generate a report for hw devices found ? or packages installed ?
[2010/07/25 22:48:16] <ohadlevy> fenris02: sure
[2010/07/25 22:48:20] <ohadlevy> fenris02: cant you?
[2010/07/25 22:48:21] <rodjek> ohadlevy: how well would puppet & facter go with 1000ish facts?
[2010/07/25 22:48:29] <fenris02> ohadlevy, is it already written? if not, "no" is my answer
[2010/07/25 22:48:32] <rodjek> per host
[2010/07/25 22:48:56] <ohadlevy> rodjek: I know people who use a caching layer inside the facts (e.g. not to run them every 30 minutes), so it would scale nicely
[2010/07/25 22:49:08] <ohadlevy> fenris02: it is written to some extend
[2010/07/25 22:49:20] <fenris02> ohadlevy, oh. i've not seen it yet.
[2010/07/25 22:49:27] @ Pyretic left channel #puppet ()
[2010/07/25 22:49:28] <ohadlevy> rodjek: then you get the benefit of having them in a web gui, where you can do all kind of stuff on it (e.g. search etc)
[2010/07/25 22:49:41] <rodjek> ohadlevy: i'm more thinking in terms of storedconfigs... seems to take long enough to run as it is without adding unnecessary data to it :)
[2010/07/25 22:49:57] <ohadlevy> rodjek: true, no need to use storeconfigs just for that
[2010/07/25 22:50:04] <ohadlevy> rodjek: IMHO
[2010/07/25 22:50:27] <rodjek> ohadlevy: there's no way to filter the facts that puppet stores in the DB though is there?
[2010/07/25 22:50:41] <ohadlevy> rodjek: there is if you use something like foreman
[2010/07/25 22:50:54] * ohadlevy feels he mentioned that word far too much in the last hour
[2010/07/25 22:51:02] * ohadlevy stop spam now
[2010/07/25 22:51:02] <rodjek> heh
[2010/07/25 22:51:45] <rodjek> my setup isn't particularly foreman friendly (for now anyway), so i'll probably stick with func for inventorising
[2010/07/25 22:51:45] <ohadlevy> rodjek: but then you can do nice stuff based on the inventory, e.g. feed other applications the relevant host list etc
[2010/07/25 22:51:55] <ohadlevy> rodjek: why do you say that?
[2010/07/25 22:52:15] <rodjek> foreman acts as an external node tool doesn't it?
[2010/07/25 22:52:48] <ohadlevy> rodjek: not only, it can just show status (puppet reports) inventory (puppet facts) and deployments (kickstart, jumpstart, preseed etc)
[2010/07/25 22:52:53] <ohadlevy> and quite a few other stuff too
[2010/07/25 22:53:45] <rodjek> yeah, i've got custom setups handling deployments and node configs... if it doesn't affect that, i might give it a go
[2010/07/25 22:54:14] <ohadlevy> rodjek: you can chose what to enable, most people start just with inventory / reporting
[2010/07/25 22:54:14] <fenris02> foreman didnt run here. it wants some lib i dont have.
[2010/07/25 22:54:28] <ohadlevy> fenris02: if you remember which, I can probably help out
[2010/07/25 22:54:36] <ohadlevy> fenris02: but most likely its best if you install it via a package
[2010/07/25 22:54:59] <fenris02> ohadlevy, rake-1.0 i think? ( i have 1.1, and it barfs)
[2010/07/25 22:55:14] <fenris02> hm. maybe that's not the right one
[2010/07/25 22:55:23] <ohadlevy> fenris02: rails require 1.01, so either you gem install rack -v 1.0.1
[2010/07/25 22:55:31] <fenris02> ah! rails
[2010/07/25 22:56:02] <fenris02> anyhow, it's one of those. whatever i have here is newer than what it wants
[2010/07/25 22:56:07] <ohadlevy> fenris02: I really just need to push that bit of code into foreman (its already done in the deb package), so it would be transparent
[2010/07/25 22:56:49] <fenris02> same with puppet-dashboard. what i have is too new for what it wants to work properly. so neither one works here.
[2010/07/25 22:57:29] <ohadlevy> fenris02: you can just put the gem content inside
[2010/07/25 22:57:44] <ohadlevy> fenris02: or really, the easiest would be to install via gem (not as root) the package
[2010/07/25 22:57:49] <fenris02> ohadlevy, errr, i'm sure you could. i've been using puppet for a small number of days :)
[2010/07/25 22:58:16] <ohadlevy> fenris02: thats not related to puppet, just as the user which you plan to run foreman/dashboard do:
[2010/07/25 22:58:24] <ohadlevy> fenris02: gem install rack -v 1.0.1
[2010/07/25 22:58:32] <rodjek> so, with the 2.6 classes with parameters, are we going to see the eventual end of global variables? :)
[2010/07/25 22:59:04] <fenris02> ohadlevy, how do you get foreman/dashboard to use the old version instead of the one in the default dir?
[2010/07/25 22:59:28] <ohadlevy> fenris02: i think ruby is smart enough to load the right one ( assuming it can find the lib )
[2010/07/25 23:00:04] <fenris02> ohadlevy, if that's the case, it should be possible to unbundle and package both rack 1.0 and 1.1 and then install them normally.
[2010/07/25 23:00:12] <ohadlevy> fenris02: true
[2010/07/25 23:00:45] <fenris02> so why do both foreman and dashboard bundle everything and make life exceedingly difficult?
[2010/07/25 23:01:14] <ohadlevy> fenris02: because most distributions have different versions of the packages, and rails apps usually depend on specific versions
[2010/07/25 23:01:33] <fenris02> *nod* but you just said they could both be installed :)
[2010/07/25 23:01:56] <fenris02> tbh, i have absolutely no idea how to make it work. merely asking.
[2010/07/25 23:02:13] <ohadlevy> fenris02: i said it could be done :) I prefer to spend my little time improving foreman
[2010/07/25 23:08:42] <fenris02> ohadlevy, there's not a comparison chart for foreman x dashboard anywhere is there?
[2010/07/25 23:09:02] <ohadlevy> fenris02: not that I'm aware of, but it should be easy for you to look at the feature list
[2010/07/25 23:09:20] <fenris02> only if i knew what i was looking at
[2010/07/25 23:09:30] <fenris02> they look about the same
[2010/07/25 23:10:01] <ohadlevy> fenris02: i think that the feature list is quite different - http://theforeman.org/projects/foreman/wiki/Features
[2010/07/25 23:12:56] @ Quit: mclarke: Quit: mclarke
[2010/07/25 23:13:35] @ yannL joined channel #puppet
[2010/07/25 23:15:39] @ Quit: acorugedo: Quit: Ex-Chat
[2010/07/25 23:15:45] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/25 23:27:44] @ M- joined channel #puppet
[2010/07/25 23:31:40] @ kubicek joined channel #puppet
[2010/07/25 23:38:30] @ Quit: gniks: Quit: Leaving.
[2010/07/25 23:42:16] @ Quit: fredden: Quit: Leaving
[2010/07/25 23:44:07] @ sdog joined channel #puppet
[2010/07/25 23:46:16] @ Quit: sdog: Changing host
[2010/07/25 23:46:16] @ sdog joined channel #puppet

Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!