Wednesday, 2010-02-10

[2010/02/10 00:01:00] @ Log started by gepetto
[2010/02/10 00:01:00] <mwr> gotta run. eyes are nearly bleeding now. thanks again.
[2010/02/10 00:01:01] @ Quit: RageLink: Ping timeout: 245 seconds
[2010/02/10 00:01:07] @ Quit: mwr: Quit: Leaving
[2010/02/10 00:01:30] @ Quit: PaulWay[w]: Ping timeout: 240 seconds
[2010/02/10 00:03:00] @ RageLink joined channel #puppet
[2010/02/10 00:08:49] @ jnewland joined channel #puppet
[2010/02/10 00:18:44] @ Quit: warreng: Quit: warreng
[2010/02/10 00:18:58] @ plathrop-away is now known as plathrop
[2010/02/10 00:21:06] @ Quit: tessier_: Quit: Leaving
[2010/02/10 00:23:02] @ murkk joined channel #puppet
[2010/02/10 00:26:32] @ Quit: jnewland: Quit: jnewland
[2010/02/10 00:28:04] @ tessier___ joined channel #puppet
[2010/02/10 00:30:49] @ Quit: madduck|afk: Ping timeout: 260 seconds
[2010/02/10 00:31:11] @ madduck|afk joined channel #puppet
[2010/02/10 00:31:12] @ Quit: madduck|afk: Changing host
[2010/02/10 00:31:12] @ madduck|afk joined channel #puppet
[2010/02/10 00:32:47] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/10 00:34:19] @ Quit: joe-mac1: Quit: Leaving.
[2010/02/10 00:36:35] @ Quit: OpenMedia: Quit: Leaving.
[2010/02/10 00:37:08] @ tessier___ is now known as tessier_
[2010/02/10 00:37:13] @ Quit: tessier_: Changing host
[2010/02/10 00:37:13] @ tessier_ joined channel #puppet
[2010/02/10 00:50:54] @ Quit: jcape: Ping timeout: 260 seconds
[2010/02/10 00:52:17] @ noyb joined channel #puppet
[2010/02/10 00:58:24] @ Quit: auxesis: Ping timeout: 260 seconds
[2010/02/10 00:58:33] @ auxesis joined channel #puppet
[2010/02/10 01:05:59] @ plathrop is now known as plathrop-away
[2010/02/10 01:06:15] @ m1nish joined channel #puppet
[2010/02/10 01:12:51] @ tonyskapunk left channel #puppet ("Leaving")
[2010/02/10 01:16:24] @ nexx joined channel #puppet
[2010/02/10 01:17:08] @ ckauhaus joined channel #puppet
[2010/02/10 01:24:35] @ lak joined channel #puppet
[2010/02/10 01:25:16] @ Quit: murkk: Quit: murkk
[2010/02/10 01:26:10] @ Quit: delewis_: Ping timeout: 241 seconds
[2010/02/10 01:27:28] @ Quit: ckauhaus: Ping timeout: 265 seconds
[2010/02/10 01:47:13] @ Sargun joined channel #puppet
[2010/02/10 01:48:28] @ Quit: bug: Quit: bug
[2010/02/10 01:51:50] @ Quit: lak: Quit: lak
[2010/02/10 01:53:27] @ tim|imac joined channel #puppet
[2010/02/10 01:53:39] @ bodepd left channel #puppet ()
[2010/02/10 01:56:14] @ ckauhaus joined channel #puppet
[2010/02/10 01:56:15] @ giskard joined channel #puppet
[2010/02/10 01:57:03] @ bug joined channel #puppet
[2010/02/10 01:58:36] @ Quit: kolla: Read error: Operation timed out
[2010/02/10 01:58:38] @ Quit: m1nish: Read error: Connection reset by peer
[2010/02/10 02:00:13] @ alfism joined channel #puppet
[2010/02/10 02:05:25] @ delewis joined channel #puppet
[2010/02/10 02:05:52] @ Quit: jfreeman: Read error: Connection reset by peer
[2010/02/10 02:08:13] @ Quit: tim|imac: Quit: tim|imac
[2010/02/10 02:20:30] @ Quit: Bass10: Ping timeout: 272 seconds
[2010/02/10 02:21:12] @ mfladischer joined channel #puppet
[2010/02/10 02:21:17] @ Quit: mikerowehl: Quit: mikerowehl
[2010/02/10 02:23:28] @ pacalm joined channel #puppet
[2010/02/10 02:29:17] @ suchu joined channel #puppet
[2010/02/10 02:38:46] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/10 02:39:37] @ Quit: glut: Ping timeout: 260 seconds
[2010/02/10 02:58:06] @ Quit: alban21: Ping timeout: 245 seconds
[2010/02/10 03:00:20] @ ckauhaus joined channel #puppet
[2010/02/10 03:00:58] @ Quit: tjoe: Quit: leaving
[2010/02/10 03:03:28] @ francois1 joined channel #puppet
[2010/02/10 03:06:36] @ Quit: bug: Quit: bug
[2010/02/10 03:12:53] @ alban2 joined channel #puppet
[2010/02/10 03:14:58] @ tyll joined channel #puppet
[2010/02/10 03:15:32] @ dyresen joined channel #puppet
[2010/02/10 03:37:10] @ mfournier joined channel #puppet
[2010/02/10 03:37:46] @ tim|macbook joined channel #puppet
[2010/02/10 03:37:49] @ Quit: tyll: Quit: leaving
[2010/02/10 03:38:43] <eric0> that is too cool. now that svn 1.5 lets you do relative urls for externals its really easy to serve files up from the same namespace on the puppetmaster even if the authoritative source is elsewhere in the repo
[2010/02/10 03:39:51] <eric0> i.e. we maintain nrpe.cfg in with the nagios stuff, but want to distribute it with puppet .. so externals basically makes a server-side symlink
[2010/02/10 03:40:34] @ cynicismic joined channel #puppet
[2010/02/10 03:46:29] @ Speedy1 joined channel #puppet
[2010/02/10 03:46:29] <Speedy1> www.search2.net
[2010/02/10 03:46:40] @ Ramonster joined channel #puppet
[2010/02/10 03:49:24] @ Speedy1 left channel #puppet ()
[2010/02/10 03:50:45] @ lucky__ joined channel #puppet
[2010/02/10 03:55:46] @ Quit: pacalm: Quit: pacalm
[2010/02/10 03:59:10] @ pacalm joined channel #puppet
[2010/02/10 04:07:27] @ kolla joined channel #puppet
[2010/02/10 04:13:03] @ poison_ joined channel #puppet
[2010/02/10 04:18:05] @ Quit: delewis: Quit: Leaving
[2010/02/10 04:18:49] @ Quit: cynicismic: Remote host closed the connection
[2010/02/10 04:19:53] @ TREllis joined channel #puppet
[2010/02/10 04:22:29] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 04:23:01] @ pheezy joined channel #puppet
[2010/02/10 04:25:01] @ Robbie_ joined channel #puppet
[2010/02/10 04:29:43] @ Welsh_Dwarf joined channel #puppet
[2010/02/10 04:30:00] @ Quit: ahuman01_: Ping timeout: 256 seconds
[2010/02/10 04:42:48] @ mattwynne joined channel #puppet
[2010/02/10 04:49:25] @ yarihm joined channel #puppet
[2010/02/10 05:05:26] @ jab_doa joined channel #puppet
[2010/02/10 05:08:39] @ verwilst joined channel #puppet
[2010/02/10 05:20:04] @ hy is now known as _hy
[2010/02/10 05:22:40] @ Quit: pinoyskull: Quit: Leaving
[2010/02/10 05:28:06] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 05:28:40] @ pheezy joined channel #puppet
[2010/02/10 05:28:50] @ _hy is now known as hy
[2010/02/10 05:33:03] @ Quit: pacalm: Quit: pacalm
[2010/02/10 05:34:43] @ brothers joined channel #puppet
[2010/02/10 05:35:48] @ fluxdude3 joined channel #puppet
[2010/02/10 05:35:48] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:36:13] @ fluxdude3 joined channel #puppet
[2010/02/10 05:36:13] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:36:38] @ fluxdude3 joined channel #puppet
[2010/02/10 05:36:38] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:37:03] @ fluxdude3 joined channel #puppet
[2010/02/10 05:37:03] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:37:28] @ fluxdude3 joined channel #puppet
[2010/02/10 05:37:28] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:37:53] @ fluxdude3 joined channel #puppet
[2010/02/10 05:37:53] @ Quit: fluxdude3: Excess Flood
[2010/02/10 05:38:26] @ glut joined channel #puppet
[2010/02/10 05:38:31] @ Quit: fluxdude2: Ping timeout: 245 seconds
[2010/02/10 05:47:49] @ MattyM joined channel #puppet
[2010/02/10 06:02:19] @ pacalm joined channel #puppet
[2010/02/10 06:10:19] @ jcape joined channel #puppet
[2010/02/10 06:15:10] @ Quit: |shad0w|:
[2010/02/10 06:20:34] @ Quit: shine: Read error: Connection reset by peer
[2010/02/10 06:27:03] @ ahasenack joined channel #puppet
[2010/02/10 06:30:31] @ Quit: docelic: Ping timeout: 265 seconds
[2010/02/10 06:38:06] @ francois1 left channel #puppet ()
[2010/02/10 06:39:58] @ PsychoSid joined channel #puppet
[2010/02/10 06:41:40] @ LinuxCode joined channel #puppet
[2010/02/10 06:43:31] <LinuxCode> hi all
[2010/02/10 06:43:49] <LinuxCode> I made the function load and all yesterday
[2010/02/10 06:44:00] <LinuxCode> however, the code in ruby works
[2010/02/10 06:44:14] <LinuxCode> but in puppet it always returns the wrong result
[2010/02/10 06:44:30] @ docelic joined channel #puppet
[2010/02/10 06:44:41] <LinuxCode> I am just loking at other functions to see if I need to load some regexpr support
[2010/02/10 06:45:42] @ gebi joined channel #puppet
[2010/02/10 06:48:49] <LinuxCode> http://fpaste.org/4dEW/
[2010/02/10 06:49:06] <LinuxCode> anybody know if I must load some support for regexpr in puppet functions ?
[2010/02/10 06:51:19] <LinuxCode> doesnt look like it
[2010/02/10 06:51:19] @ eSpud joined channel #puppet
[2010/02/10 07:08:38] @ Quit: asenchi: Quit: leaving
[2010/02/10 07:12:50] @ asenchi joined channel #puppet
[2010/02/10 07:12:50] * LinuxCode knocks head on desk until he bleeds
[2010/02/10 07:12:58] <LinuxCode> why why why!
[2010/02/10 07:15:35] @ omry_|work joined channel #puppet
[2010/02/10 07:15:48] <SyTonnerre> LinuxCode, not a good thing to do
[2010/02/10 07:16:18] <LinuxCode> SyTonnerre, seems a very plausible thing to do atm
[2010/02/10 07:16:27] <LinuxCode> unless you have a better suggestion ?
[2010/02/10 07:16:34] <LinuxCode> like what the problem is
[2010/02/10 07:18:42] @ Quit: omry__|work: Ping timeout: 248 seconds
[2010/02/10 07:18:55] @ Quit: jcape: Read error: Operation timed out
[2010/02/10 07:23:18] @ Robbie__ joined channel #puppet
[2010/02/10 07:25:46] @ tim|imac joined channel #puppet
[2010/02/10 07:26:28] @ Quit: Robbie_: Ping timeout: 252 seconds
[2010/02/10 07:27:46] <SyTonnerre> LinuxCode, well, you didn't provide an error message or whatever causes you to state that it doesn't work
[2010/02/10 07:28:53] <lohapuk> hi just wondering why the file transfer process in puppet is so slow.
[2010/02/10 07:32:49] <LinuxCode> SyTonnerre, it always says false
[2010/02/10 07:33:08] <LinuxCode> if validip($myarray) {
[2010/02/10 07:33:23] <LinuxCode> blah} else { notice("false)" }
[2010/02/10 07:35:10] <SyTonnerre> And args is indeed what you expect it to be?
[2010/02/10 07:37:11] <LinuxCode> SyTonnerre, I run it in ruby and in puppet
[2010/02/10 07:37:18] <LinuxCode> same code and same args
[2010/02/10 07:37:33] @ marcoecc joined channel #puppet
[2010/02/10 07:37:38] <SyTonnerre> LinuxCode, what I meant is: did you verify ip actually ends up being the IP?
[2010/02/10 07:37:55] <LinuxCode> ?
[2010/02/10 07:38:05] <LinuxCode> there is an array with ips in it
[2010/02/10 07:38:16] <LinuxCode> it works in ruby...
[2010/02/10 07:38:21] <SyTonnerre> I'm talking about your Puppet function
[2010/02/10 07:39:01] <SyTonnerre> And my question is: is it actually an IP ending up in the variable ip?
[2010/02/10 07:40:14] <LinuxCode> why wouldnt it work
[2010/02/10 07:40:19] <LinuxCode> its the same in both
[2010/02/10 07:40:31] @ Quit: illsci_wfh: Quit: [BX] BitchX is as BitchX does
[2010/02/10 07:42:27] <SyTonnerre> If you don't answer my question I won't be able to answer yours.
[2010/02/10 07:43:05] @ Quit: Robbie__: Remote host closed the connection
[2010/02/10 07:43:27] @ Robbie_ joined channel #puppet
[2010/02/10 07:49:56] @ Quit: ohadlevy: Ping timeout: 258 seconds
[2010/02/10 07:51:20] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]
[2010/02/10 07:55:58] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 07:56:34] @ pheezy joined channel #puppet
[2010/02/10 08:04:38] @ shine_ joined channel #puppet
[2010/02/10 08:06:02] @ Quit: mattwynne: Remote host closed the connection
[2010/02/10 08:06:34] <duritong> lohapuk: which version are you using?
[2010/02/10 08:07:55] @ shine_ is now known as shine
[2010/02/10 08:19:15] @ Quit: Ramonster: Ping timeout: 276 seconds
[2010/02/10 08:19:35] @ Quit: Robbie_: Remote host closed the connection
[2010/02/10 08:19:44] @ Robbie_ joined channel #puppet
[2010/02/10 08:26:30] @ Ramonster joined channel #puppet
[2010/02/10 08:34:16] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2010/02/10 08:34:20] @ labrown joined channel #puppet
[2010/02/10 08:34:27] @ Quit: labrown: Read error: Connection reset by peer
[2010/02/10 08:35:25] @ Ramonster joined channel #puppet
[2010/02/10 08:36:59] @ Mick27 joined channel #puppet
[2010/02/10 08:40:05] @ bug joined channel #puppet
[2010/02/10 08:43:10] @ Quit: jab_doa: Quit: Verlassend
[2010/02/10 08:47:29] @ dim0_ joined channel #puppet
[2010/02/10 08:47:41] @ Quit: dim0_: Remote host closed the connection
[2010/02/10 08:47:59] @ dim0_ joined channel #puppet
[2010/02/10 08:48:25] @ dim0_ is now known as dim0
[2010/02/10 08:48:45] @ Quit: brothers: Remote host closed the connection
[2010/02/10 08:49:15] @ brothers joined channel #puppet
[2010/02/10 08:51:44] @ Quit: themurph: Quit: themurph
[2010/02/10 08:55:44] @ Quit: Mick27: Read error: Connection reset by peer
[2010/02/10 08:56:06] @ fzzzt joined channel #puppet
[2010/02/10 08:57:53] @ Bass10 joined channel #puppet
[2010/02/10 08:58:50] @ jmccune joined channel #puppet
[2010/02/10 08:59:39] <jmccune> good morning
[2010/02/10 09:00:13] @ Quit: RageLink: Quit: up up and away
[2010/02/10 09:00:51] @ jcape joined channel #puppet
[2010/02/10 09:03:54] @ jab_doa joined channel #puppet
[2010/02/10 09:03:56] @ Quit: jab_doa: Changing host
[2010/02/10 09:03:56] @ jab_doa joined channel #puppet
[2010/02/10 09:05:44] @ Quit: jcape: Remote host closed the connection
[2010/02/10 09:06:22] @ jcape joined channel #puppet
[2010/02/10 09:07:01] @ malraid joined channel #puppet
[2010/02/10 09:08:46] @ GioGio joined channel #puppet
[2010/02/10 09:08:48] <joe-mac> hi jmccune
[2010/02/10 09:10:14] <GioGio> hi everybody, i have a question about the catalog of a node. when a client ask for his configuration, the catalog is generated by the master and sent to the client. but is it stored somewhere ? thanks :)
[2010/02/10 09:10:33] @ venturaville joined channel #puppet
[2010/02/10 09:13:08] @ themurph joined channel #puppet
[2010/02/10 09:13:08] <fsweetser> yes, in /var/lib/puppet (typically)
[2010/02/10 09:13:36] <fsweetser> in particular, check out classes.txt, localconfig.yaml, and client_yaml
[2010/02/10 09:15:53] <GioGio> fsweetser: thanks, i found it on /var/lib/puppet/client_yaml/catalog/client.yaml
[2010/02/10 09:16:18] <GioGio> but it's only stored on the client side, there is no option to keep it on the master too ?
[2010/02/10 09:17:09] <fsweetser> check out yaml/node
[2010/02/10 09:20:08] <GioGio> fsweetser: on yaml/node this is not the catalogue ready to be used but the elements needed to generate the catalogue (facter values and other stuff)
[2010/02/10 09:21:25] <fsweetser> hm... that's the closest that I know of
[2010/02/10 09:22:14] <GioGio> ok ;) thanks for your help
[2010/02/10 09:25:13] @ fluxdude3 joined channel #puppet
[2010/02/10 09:25:37] @ Quit: fluxdude3: Changing host
[2010/02/10 09:25:37] @ fluxdude3 joined channel #puppet
[2010/02/10 09:26:53] <fluxdude3> I am using a hosts template and need to make sure that some extra entries are pulled in to the hosts file inside the template
[2010/02/10 09:27:06] <fluxdude3> the files from which I want to pull are in another module though
[2010/02/10 09:27:09] <fluxdude3> is this possible?
[2010/02/10 09:27:18] @ fluxdude3 is now known as fluxdude
[2010/02/10 09:27:41] <fluxdude> I guess it should be, but I'm not sure how to source that...
[2010/02/10 09:27:48] <fluxdude> inside the template
[2010/02/10 09:28:02] <fluxdude> is the template evaluated on the server or the client?
[2010/02/10 09:28:44] @ happymcplaksin joined channel #puppet
[2010/02/10 09:29:20] @ happymcplaksin left channel #puppet ()
[2010/02/10 09:29:39] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer
[2010/02/10 09:30:19] <fzzzt> Anyone know why, when run from a svn hook, puppetrun doesn't present a certificate to the target host, but when run from the shell it does? File permissions are correct...
[2010/02/10 09:30:32] <fzzzt> puppetrun --debug doesn't seem to do anything :(
[2010/02/10 09:31:34] <zirpu> fzzzt: what user id does it run under when run from svn hook? maybe it can't read it?
[2010/02/10 09:32:23] <fzzzt> ooh
[2010/02/10 09:32:28] <fzzzt> its setuid root
[2010/02/10 09:32:30] <fzzzt> i think i got it
[2010/02/10 09:33:03] @ Spruit_elf joined channel #puppet
[2010/02/10 09:33:24] <fzzzt> sweet
[2010/02/10 09:33:33] @ Quit: qwebirc96950: Quit: Page closed
[2010/02/10 09:34:11] <fzzzt> must have been a combination of setenv's and/or setuid().. i initially had only one at a time
[2010/02/10 09:34:13] <fzzzt> awesome
[2010/02/10 09:36:05] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 09:36:39] @ Quit: lazzurs: Changing host
[2010/02/10 09:36:39] @ lazzurs joined channel #puppet
[2010/02/10 09:38:10] <LinuxCode> I am writing a function in puppet, could somebody just give me a 3 liner to even just return something ?
[2010/02/10 09:38:25] <LinuxCode> for the life of me I cant make it return something
[2010/02/10 09:38:39] <LinuxCode> Im calling it, in the module manifest
[2010/02/10 09:38:56] <LinuxCode> $var = myfunction("test")
[2010/02/10 09:39:25] <LinuxCode> $var remains empty
[2010/02/10 09:42:02] @ abstrap joined channel #puppet
[2010/02/10 09:42:06] <LinuxCode> what on earth....now it returns!
[2010/02/10 09:45:04] @ Quit: Pupeno: Quit: Pupeno
[2010/02/10 09:45:06] @ Quit: mfladischer: Quit: Ex-Chat
[2010/02/10 09:46:19] <joe-mac> fzzzt: you run puppet from your post-commit hook?
[2010/02/10 09:46:21] <joe-mac> seems dangerous
[2010/02/10 09:48:06] <tim|macbook> dangerous, but awesome :)
[2010/02/10 09:48:24] <joe-mac> lol, i'm all set. i separate commits from deploys purposely
[2010/02/10 09:48:38] <joe-mac> pre-commit does syntax checking for all kinds of scripting languages
[2010/02/10 09:48:54] <joe-mac> and post-commit notifies people of a commit with a diff using some perl cpan package that sends out shiny commit mails
[2010/02/10 09:49:01] <joe-mac> then if i want to deploy, i cap deploy
[2010/02/10 09:49:12] <tim|macbook> same here, but we have separate prod/testing/dev repos... dev goes to testing and only tested stuff goes to prod... which could include a post-commit to deploy... which would be cool, really
[2010/02/10 09:49:38] <fzzzt> you assume i'm deploying with it :)
[2010/02/10 09:49:39] @ kaptk2 joined channel #puppet
[2010/02/10 09:49:41] <joe-mac> you do get another e-mail from that, but i can live with it, rather than "oh shit, i just commited an exec thatisn't refreshonly/creates, and is going to keep restarting this service, over and over
[2010/02/10 09:49:54] <fzzzt> I tried to do the diffs but the script wouldn't work :(
[2010/02/10 09:50:13] <fzzzt> i tried to do a puppet syntax check and diff, but neither worked heh
[2010/02/10 09:50:22] <fzzzt> doing a "real" syntax check is hard
[2010/02/10 09:50:22] <joe-mac> fzzzt: if you'd like i can pastie mine
[2010/02/10 09:50:25] <fzzzt> sure
[2010/02/10 09:51:06] <fzzzt> i have it puppetrun a tag which updates svn on the server for the testing branch
[2010/02/10 09:52:10] <joe-mac> i have to go dwon to the DC in a minute, god that sucsk, it's snowing out and i am planted in my seat http://www.pastie.org/818238
[2010/02/10 09:52:13] <joe-mac> that's the pre-commit
[2010/02/10 09:52:20] <fzzzt> thanks
[2010/02/10 09:52:27] <joe-mac> only problem i know of is that if the commit does fail a temp file will be left hanging in svntmp
[2010/02/10 09:52:35] <joe-mac> it's actually kind of a godo thing so you can examine it
[2010/02/10 09:52:40] <joe-mac> and let me paste my post
[2010/02/10 09:53:12] <fzzzt> snow's coming down here too
[2010/02/10 09:53:34] @ pheezy joined channel #puppet
[2010/02/10 09:53:54] <joe-mac> http://www.pastie.org/818243
[2010/02/10 09:53:59] <joe-mac> where you at fzzzt
[2010/02/10 09:54:37] <fzzzt> central ny
[2010/02/10 09:54:39] @ Quit: marcoecc: Remote host closed the connection
[2010/02/10 09:54:39] <joe-mac> that post commit dpeends on a couple fo things, like naming structure in GECOS field of /etc/passwd wrt your email-address naming convention
[2010/02/10 09:54:42] <fzzzt> near pa
[2010/02/10 09:54:53] <joe-mac> o i am in boston, back bay... near downtown basically
[2010/02/10 09:55:04] <joe-mac> you guys are probably going top get pwned
[2010/02/10 09:55:08] <fzzzt> ah, well the end isn't near :)
[2010/02/10 09:55:10] <joe-mac> we will just get a little bit and bitch about it
[2010/02/10 09:55:44] <fzzzt> eh, i've lived in western ny most of my life, <3 feet isn't much to me
[2010/02/10 09:55:50] <fzzzt> i wish we got like 6 feet that would be fun
[2010/02/10 09:56:43] <joe-mac> yea i don't drive and my flight to lax isn't til sunday so i guess 6 feet would be fun right about now!
[2010/02/10 09:56:44] <fzzzt> we're not south enough so people don't know how to deal with it, though i tend to put space in between me and college kid drivers
[2010/02/10 09:57:20] <tim|macbook> hm... why does my puppetmaster open 91 mysql connections?
[2010/02/10 09:57:25] <fzzzt> my gf is from san diego, we're going to the adirondacks this weekend, she wants to drive heh :P
[2010/02/10 09:57:31] <fzzzt> i have a feeling that'll change quickly
[2010/02/10 09:57:37] <fzzzt> 91 wow
[2010/02/10 09:57:50] <tim|macbook> there are only 10 puppet clients in the network...
[2010/02/10 09:57:57] <fzzzt> instantly or over time?
[2010/02/10 09:58:17] <fzzzt> joe-mac: thanks for the hooks
[2010/02/10 09:58:20] <tim|macbook> over time...
[2010/02/10 09:58:21] <joe-mac> np
[2010/02/10 09:58:30] <joe-mac> timeouts maybe
[2010/02/10 09:58:32] <joe-mac> then it reconnects
[2010/02/10 09:58:38] <fzzzt> are they idle in mysql?
[2010/02/10 09:58:45] <tim|macbook> http://pastie.org/818251
[2010/02/10 09:59:00] <elasticdog> is it possible to have puppet ensure that a specific line exists in a config file, but not care about the rest?
[2010/02/10 09:59:15] @ mattwynne joined channel #puppet
[2010/02/10 09:59:28] <fzzzt> hrm
[2010/02/10 09:59:36] <tim|macbook> it's a 0.25.4 puppetmaster, btw
[2010/02/10 09:59:50] <fzzzt> looks like connections may not be getting closed or reused properly to me
[2010/02/10 10:00:12] <tim|macbook> anyone else seeing this?
[2010/02/10 10:00:26] <fzzzt> no
[2010/02/10 10:00:30] @ Quit: lucky__: Quit: Leaving...
[2010/02/10 10:00:32] <fzzzt> i mean... <silence>
[2010/02/10 10:00:42] <fzzzt> oh heh mysql :P i'm not
[2010/02/10 10:00:58] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/10 10:01:07] <tim|macbook> could it be my rails version? (2.1.0.-7)
[2010/02/10 10:01:14] @ cliff-hm joined channel #puppet
[2010/02/10 10:01:16] <fzzzt> have you restarted puppet? do they go away then?
[2010/02/10 10:01:19] <tim|macbook> or rather, 2.1.0-7 (Debian lenny)
[2010/02/10 10:01:28] <tim|macbook> i'll check
[2010/02/10 10:02:06] <tim|macbook> yeah, only 3 open after a puppetmaster restart
[2010/02/10 10:02:34] <fsweetser> tim|macbook: do you have the mysql gem installed?
[2010/02/10 10:02:49] <tim|macbook> we do everything via the debian packages... I'll check
[2010/02/10 10:03:23] <tim|macbook> libmysql-ruby isn't installed
[2010/02/10 10:03:28] * tim|macbook checks if it helps
[2010/02/10 10:03:42] @ Quit: jcape: Ping timeout: 252 seconds
[2010/02/10 10:04:02] <fsweetser> I know that at least some versions of activerecord have a crappy built-in mysql connector they fall back to if the native mysql one isn't present
[2010/02/10 10:04:28] <fsweetser> I had the stale connections issue, and fixed it by installing the mysql gem
[2010/02/10 10:04:56] <tim|macbook> looks like it helps... 0 connections now after a restart, was 3 connections after a restart before
[2010/02/10 10:04:59] <tim|macbook> thanks for the tip!
[2010/02/10 10:05:03] <fsweetser> no prob
[2010/02/10 10:13:04] <elasticdog> I guess this is close to what I was looking for: http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText
[2010/02/10 10:15:53] @ ShiNboi joined channel #puppet
[2010/02/10 10:17:41] @ Quit: abstrap: Ping timeout: 245 seconds
[2010/02/10 10:22:07] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/10 10:22:31] @ Mick27 joined channel #puppet
[2010/02/10 10:22:51] <fluxdude> is it possible for a template to pull in another file?
[2010/02/10 10:23:12] <Volcane> File.readlines("theotherfile").join
[2010/02/10 10:23:43] <Volcane> its like over a active active mysql cluster
[2010/02/10 10:23:45] <Volcane> oops...
[2010/02/10 10:24:45] @ ccaum joined channel #puppet
[2010/02/10 10:24:55] @ ccaum left channel #puppet ()
[2010/02/10 10:27:52] <LinuxCode> Volcane, you got some examples of simple functions ?
[2010/02/10 10:28:17] <Volcane> LinuxCode: extlookup - but you should answer the question you were asked earlier cos thats my first one too
[2010/02/10 10:28:32] <nico> does it sounds familiar to someone ? a manifests that only works with --trace ?
[2010/02/10 10:28:44] <LinuxCode> Volcane, well, easier said then done
[2010/02/10 10:28:51] <nico> "Cannot alias File[apache_includes] to ; resource File[] already exists at /etc/puppet/modules/apache2/manifests/init.pp:87 on node XXXX"
[2010/02/10 10:28:56] @ ten8nine joined channel #puppet
[2010/02/10 10:28:56] <LinuxCode> I now just tried to make it return simple stuff
[2010/02/10 10:29:04] <nico> but when running with --trace, no problem
[2010/02/10 10:29:04] <LinuxCode> all I can get it to return is a string
[2010/02/10 10:29:08] <Volcane> LinuxCode: Puppet.debug("The value of ip is #{ip}")
[2010/02/10 10:29:10] <Volcane> LinuxCode: easy
[2010/02/10 10:29:21] <LinuxCode> aha!
[2010/02/10 10:29:31] <LinuxCode> see, now if he had told me that!
[2010/02/10 10:29:48] * LinuxCode gets back to the old code
[2010/02/10 10:30:03] <LinuxCode> be also good if that was int he docs
[2010/02/10 10:30:08] <LinuxCode> in the*
[2010/02/10 10:30:39] <Volcane> its a wiki, add it :P
[2010/02/10 10:30:53] <nico> Volcane: does it sounds to your ears ?
[2010/02/10 10:31:28] <Volcane> nope
[2010/02/10 10:32:10] <nico> :/
[2010/02/10 10:33:47] <LinuxCode> great, so it looks like that defines are flattening arrays ?
[2010/02/10 10:35:32] <Volcane> depends how you use them
[2010/02/10 10:36:41] <fluxdude> Volcane: I understand what you're saying about reading a file in via ruby code, which is what I was thinking, but how does it know where the file is?
[2010/02/10 10:36:44] @ Quit: Sargun: Quit: Where did my knife go? :-(
[2010/02/10 10:36:52] <fluxdude> does it run with a cwd or the same dir that the template is from?
[2010/02/10 10:37:02] <fluxdude> should I ../othermodule/templates/otherfile?
[2010/02/10 10:37:13] <Volcane> fluxdude: dont think its set in stone, you'd need to figure out by experimentation
[2010/02/10 10:37:31] <fluxdude> I've joined 2 templates using the native template("mod1/file1", "mod2/file2")
[2010/02/10 10:37:57] @ Quit: pheezy: Quit: Leaving...
[2010/02/10 10:37:59] <LinuxCode> Volcane, I will paste mate, one sec
[2010/02/10 10:38:04] <fluxdude> luckily they can work in serial, don't need to worry about ordering like if blah then include otherfile in the middle or anything
[2010/02/10 10:39:40] @ Quit: mfournier: Read error: Operation timed out
[2010/02/10 10:41:10] <LinuxCode> Volcane, http://fpaste.org/8n7k/
[2010/02/10 10:41:29] <LinuxCode> thats how I make the array and send it
[2010/02/10 10:42:01] <Volcane> and how do you use it?
[2010/02/10 10:42:11] <LinuxCode> in the function ?
[2010/02/10 10:42:13] <LinuxCode> sec
[2010/02/10 10:42:32] <LinuxCode> ooh oops sorry
[2010/02/10 10:42:56] <LinuxCode> http://fpaste.org/aAw6/
[2010/02/10 10:43:15] <Volcane> so args is an array of the input parameters
[2010/02/10 10:43:27] <Volcane> args[0] would be the first param input etc
[2010/02/10 10:43:37] <LinuxCode> however ip ends up being 222.222.222.222127.127.0.111
[2010/02/10 10:43:45] <Volcane> foo("one", [1,2,3])
[2010/02/10 10:43:51] <Volcane> to get all the array members in the 2nd arg
[2010/02/10 10:43:57] <Volcane> args[1].each do |member|
[2010/02/10 10:43:59] @ rmiller4pi8 joined channel #puppet
[2010/02/10 10:44:16] <LinuxCode> ahhhh
[2010/02/10 10:44:21] <LinuxCode> doh
[2010/02/10 10:44:24] <LinuxCode> sec
[2010/02/10 10:44:31] <Volcane> so you probably want args[0].each...
[2010/02/10 10:44:38] <LinuxCode> yeah
[2010/02/10 10:44:41] <LinuxCode> already changed
[2010/02/10 10:44:42] <LinuxCode> one sec
[2010/02/10 10:44:43] @ ckauhaus joined channel #puppet
[2010/02/10 10:44:48] <LinuxCode> have to undo some other testing stuff
[2010/02/10 10:45:35] <ashp> Hmm, the guy who wrote ssh::auth (andrex) isn't in here is he?
[2010/02/10 10:46:08] <joe-mac> don't know, but i think it's weird when contributors dno't have out in irc... maybe their jobs don't allow it
[2010/02/10 10:46:14] <jb> anybody have the puppetcamp video URL handy?
[2010/02/10 10:46:50] <ashp> i just dropped it into place but immediately got Error 400 on SERVER: Could not find class ssh::auth::keymaster
[2010/02/10 10:46:54] <ashp> and figured i'd see if he's seen that before
[2010/02/10 10:47:00] <jb> nm
[2010/02/10 10:47:01] <jb> found it
[2010/02/10 10:48:43] @ Quit: ten8nine: Quit: ten8nine
[2010/02/10 10:48:47] @ Quit: tim|macbook: Quit: tim|macbook
[2010/02/10 10:49:02] <jb> argh
[2010/02/10 10:49:11] @ Quit: yarihm: Quit: This computer has gone to sleep
[2010/02/10 10:49:18] <LinuxCode> k, now the array is being parsed properly
[2010/02/10 10:49:27] <LinuxCode> now there must be some sort of logic error
[2010/02/10 10:50:21] <joe-mac> ashp: permissions possibly?
[2010/02/10 10:50:28] <joe-mac> though i'd think it'd be a 403
[2010/02/10 10:50:52] <joe-mac> nothing is true, everything is permissable though, so check the perms heh
[2010/02/10 10:51:31] <Volcane> once you've determined its not DNS, its permissions.
[2010/02/10 10:51:53] <LinuxCode> hmmm
[2010/02/10 10:51:59] <LinuxCode> it sets valid right
[2010/02/10 10:52:05] <ashp> i'm not sure what it is, is definitely weird tho
[2010/02/10 10:52:57] <LinuxCode> Volcane, awesome mate
[2010/02/10 10:52:59] <LinuxCode> thank you
[2010/02/10 10:53:08] <Volcane> kewl
[2010/02/10 10:53:25] <LinuxCode> it appears also, that one cant put return values outside
[2010/02/10 10:53:35] <LinuxCode> newfunction(:validip, :type => :rvalue) do |args|
[2010/02/10 10:53:45] <LinuxCode> I had it outside so didnt return
[2010/02/10 10:53:59] <Volcane> yes, the stuff between the do and end bits is called a block
[2010/02/10 10:54:00] <LinuxCode> Volcane, thank you very very very much once again
[2010/02/10 10:54:04] <Volcane> its the body of a function
[2010/02/10 10:54:14] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/10 10:54:15] <Volcane> all the logic for the funciton is there
[2010/02/10 10:54:21] <LinuxCode> and whats the other bit ?
[2010/02/10 10:54:27] @ allsystemsarego joined channel #puppet
[2010/02/10 10:54:28] <LinuxCode> Im no ruby pro
[2010/02/10 10:54:30] <LinuxCode> lol
[2010/02/10 10:54:38] @ alfism joined channel #puppet
[2010/02/10 10:54:38] <Volcane> its the end of the 'module' line
[2010/02/10 10:54:44] <LinuxCode> hmmm
[2010/02/10 10:54:48] <LinuxCode> k
[2010/02/10 10:54:49] <Volcane> modules just like a convenient organization structure
[2010/02/10 10:54:55] <LinuxCode> i see
[2010/02/10 10:55:01] <LinuxCode> lesson learnt
[2010/02/10 10:55:26] <Volcane> you could type: Puppet::Parser::Functions.newfunction .... {|args| <logic here> }
[2010/02/10 10:56:05] <LinuxCode> and you know what ?
[2010/02/10 10:56:10] <LinuxCode> I am now creating a wiki account
[2010/02/10 10:56:11] <Volcane> the module line tells it find 'newfunction' in the chunk of ruby code organised inside Puppet::Parser::Functions
[2010/02/10 10:56:27] <LinuxCode> yeh I saw that
[2010/02/10 10:56:35] <LinuxCode> in the other fucntions
[2010/02/10 10:56:40] <LinuxCode> I was looking at their code
[2010/02/10 10:56:42] @ labrown joined channel #puppet
[2010/02/10 10:56:53] <LinuxCode> but its hard to make somethign thats broken work
[2010/02/10 10:56:57] <Volcane> yeah
[2010/02/10 10:56:57] <LinuxCode> or make it better hehe
[2010/02/10 10:57:44] <LinuxCode> how long does it take to get the email ?
[2010/02/10 10:57:46] <LinuxCode> hehe
[2010/02/10 10:58:06] <LinuxCode> or does somebody do this manually now ?
[2010/02/10 10:58:19] <LinuxCode> after the last spam non-sense on the wiki
[2010/02/10 10:58:20] @ Quit: PsychoSid: Quit: Leaving.
[2010/02/10 10:59:06] @ RageLink joined channel #puppet
[2010/02/10 10:59:15] <Volcane> not sure, never signed up for trac its rubbish and i wont use it
[2010/02/10 10:59:55] <LinuxCode> well, I hope it arrives soon, before I a. lose interest or b. forget
[2010/02/10 10:59:58] <LinuxCode> ;-p
[2010/02/10 11:00:38] <LinuxCode> Volcane, werent you in the UK ?
[2010/02/10 11:00:43] <Volcane> ldn
[2010/02/10 11:00:48] <LinuxCode> k
[2010/02/10 11:01:09] <LinuxCode> so, if we ever cross ways, at a conference or FOSS event, make sure you let me know
[2010/02/10 11:01:13] <LinuxCode> I will buy you a pint
[2010/02/10 11:01:15] <Volcane> heh where are you?
[2010/02/10 11:01:16] <LinuxCode> or two
[2010/02/10 11:01:18] @ Quit: Spruit_elf: Quit: Spruit_elf
[2010/02/10 11:01:20] <LinuxCode> Cardiff
[2010/02/10 11:01:25] <Volcane> ah right
[2010/02/10 11:01:48] * LinuxCode really appreciates your very good advice and hints
[2010/02/10 11:02:14] <Volcane> tshirts from kewl companies gladly accepted :P
[2010/02/10 11:02:22] <LinuxCode> and you are a def asset to this channel!
[2010/02/10 11:02:54] <LinuxCode> Volcane, only thing I have spare is a I heart Fedora shirt in xxl
[2010/02/10 11:02:59] <LinuxCode> or was it xl
[2010/02/10 11:03:03] * LinuxCode checks
[2010/02/10 11:03:06] @ Quit: dim0: Remote host closed the connection
[2010/02/10 11:03:10] <Volcane> heh
[2010/02/10 11:03:14] <LinuxCode> xxl
[2010/02/10 11:03:17] <Volcane> as long as its not pre-worn :P
[2010/02/10 11:03:25] <LinuxCode> if ya want it, its yours!
[2010/02/10 11:03:28] <LinuxCode> HELL NO!
[2010/02/10 11:03:30] <Volcane> lol
[2010/02/10 11:03:33] <LinuxCode> its in the wrapper
[2010/02/10 11:03:37] <LinuxCode> on my desk
[2010/02/10 11:03:49] <LinuxCode> question is, will it fit ?
[2010/02/10 11:03:59] <Volcane> too big no doubt :)
[2010/02/10 11:04:04] <LinuxCode> lol thought so
[2010/02/10 11:04:15] <LinuxCode> well, I keep you in mind then
[2010/02/10 11:04:28] <LinuxCode> when I get my grubby hands on something
[2010/02/10 11:04:32] <Volcane> heh
[2010/02/10 11:04:34] <LinuxCode> what size would you like ?
[2010/02/10 11:04:43] <Volcane> xl or maybe l i guess
[2010/02/10 11:04:48] <LinuxCode> kk
[2010/02/10 11:05:50] @ Quit: ckauhaus: Ping timeout: 258 seconds
[2010/02/10 11:05:56] <Volcane> anyway, I am a consultant, the best is to hire me for shit :P
[2010/02/10 11:06:28] <LinuxCode> added to notebook...
[2010/02/10 11:06:42] @ bobbyz joined channel #puppet
[2010/02/10 11:07:29] <joe-mac> lol, when i was at rh i worked the summit one year, had like 5 L shirts and 5 XL shirts
[2010/02/10 11:07:37] <joe-mac> i can only find like two of them, no clue what happened to all of them
[2010/02/10 11:07:41] @ ckauhaus joined channel #puppet
[2010/02/10 11:08:46] <LinuxCode> joe-mac, kids took them and sold them for cash to their nerdy mates
[2010/02/10 11:09:19] <joe-mac> ah mine is too little and the mother holds him captive
[2010/02/10 11:09:23] @ bodepd joined channel #puppet
[2010/02/10 11:09:43] @ poison__ joined channel #puppet
[2010/02/10 11:09:44] <joe-mac> i had a girlfriend that liked schwag shirts for bed
[2010/02/10 11:09:49] <joe-mac> so i probably ended up giving her a bunch
[2010/02/10 11:10:04] @ Quit: kolla: Remote host closed the connection
[2010/02/10 11:10:17] <LinuxCode> hehe
[2010/02/10 11:10:26] @ Quit: poison_: Read error: Connection reset by peer
[2010/02/10 11:14:59] @ bodepd left channel #puppet ()
[2010/02/10 11:18:31] <fzzzt> Does using --tag count as a refresh for refreshonly resources?
[2010/02/10 11:20:53] <fsweetser> I don't think so, no
[2010/02/10 11:20:57] <fsweetser> (not completely sure, though)
[2010/02/10 11:23:39] <fzzzt> ok
[2010/02/10 11:25:49] @ Quit: Robbie_: Remote host closed the connection
[2010/02/10 11:25:52] <flakrat> Will "managehome" delete a user home directory if I change them from present to absent? The type reference doesn't say
[2010/02/10 11:26:13] <elasticdog> what's the difference between ensure => present and ensure => file?
[2010/02/10 11:26:15] <joe-mac> flakrat: i hope so
[2010/02/10 11:26:24] @ qwebirc34483 joined channel #puppet
[2010/02/10 11:26:42] @ Quit: poison__: Remote host closed the connection
[2010/02/10 11:26:43] <joe-mac> elasticdog: for the file resource i am guessing there is no different
[2010/02/10 11:26:43] <qwebirc34483> AsAS
[2010/02/10 11:26:45] <joe-mac> difference
[2010/02/10 11:26:55] @ Quit: qwebirc34483: Client Quit
[2010/02/10 11:27:13] <elasticdog> joe-mac: that's what I figured, but docs weren't too explanatory
[2010/02/10 11:27:56] <joe-mac> ensure is a meta parameter so some meta parameter's values are kinda like for every resource, for example 'present' is a valid value for ensure for almost every resource i think, but file would not be
[2010/02/10 11:28:07] <joe-mac> so i am in the habit of using ensure => "present"
[2010/02/10 11:31:48] @ benkevan joined channel #puppet
[2010/02/10 11:36:10] <nigelk> elasticdog: ensure => present matches any form of existence
[2010/02/10 11:36:14] <nigelk> so directory *or* file
[2010/02/10 11:36:14] @ lwhalen joined channel #puppet
[2010/02/10 11:36:21] <nigelk> ensure => file matches file existence only
[2010/02/10 11:36:36] @ venturaville left channel #puppet ()
[2010/02/10 11:36:45] <lwhalen> hey all, I tried checking the wiki for this, but it still has the 'old' path. What's the new directory my 25.x modules should live in?
[2010/02/10 11:36:48] <nigelk> I'm in the habit of using ensure file/directory/symlink to be explicit myself
[2010/02/10 11:36:56] <nigelk> lwhalen: it's totally configurable
[2010/02/10 11:36:56] <joe-mac> never knew that nigelk
[2010/02/10 11:37:06] <lwhalen> right now I have /etc/puppet/modules/<modulename>/ and that gives me depreciation errors
[2010/02/10 11:37:09] <joe-mac> always assumed directory especially you had to do explicitly or it would create a file
[2010/02/10 11:37:18] <nigelk> joe-mac: there was an early bug in 0.24.x where ensure => present with a source would sometimes create a directory
[2010/02/10 11:37:22] @ ccaum joined channel #puppet
[2010/02/10 11:37:27] <joe-mac> o i c
[2010/02/10 11:37:43] <joe-mac> lwhalen: the deprecation notices are most likely with file serving
[2010/02/10 11:37:54] <nigelk> which really sucked, as on the next run, even if puppet was trying to make a file, it wouldn't replace a dir with a file unless force was on
[2010/02/10 11:38:02] <fzzzt> hmm
[2010/02/10 11:38:04] <benkevan> ccaum: you ran away before I could thank you.. I'm on day 3 of learning today.. and boy.. it's been rough HAHA
[2010/02/10 11:38:06] <joe-mac> yea sounds like a lot of fail nigelk
[2010/02/10 11:38:14] <lwhalen> the error is "DEPRECATION NO
[2010/02/10 11:38:14] <lwhalen> TICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release. Please fix module 'named' when no 0.24.x c
[2010/02/10 11:38:17] <lwhalen> lients are present"
[2010/02/10 11:38:23] <ccaum> benkevan: Oh no problem. Thanks though
[2010/02/10 11:38:29] <joe-mac> lwhalen: yea so you're fine with levaing your modules at that point in your fs
[2010/02/10 11:38:35] <joe-mac> your problem is in your source parameters in your manifests
[2010/02/10 11:38:46] <fzzzt> so if i wanted to parse a resource only when a tag is given, how can i do that?
[2010/02/10 11:38:47] <lwhalen> so, what should my source parameters read?
[2010/02/10 11:38:50] <joe-mac> you're likely doing source => "puppet:///module_name/filename
[2010/02/10 11:38:59] <lwhalen> hehe yes, yes I am
[2010/02/10 11:39:05] <joe-mac> you need to make it source => "puppet:///modules/module_name/filename
[2010/02/10 11:39:13] <nigelk> (which will break 0.24.x clients ;))
[2010/02/10 11:39:16] <joe-mac> yea
[2010/02/10 11:39:24] <joe-mac> so uhh, make syure your upgrade uis atomic (impossible)
[2010/02/10 11:39:25] <joe-mac> lol
[2010/02/10 11:39:33] <fzzzt> i set a prefix based on puppet version and used that when i was migrating
[2010/02/10 11:39:46] <ccaum> I thought the puppet:///module_name/filename syntax still worked in 0.25
[2010/02/10 11:40:00] <jb> it does
[2010/02/10 11:40:03] <joe-mac> ccaum: it works you just get logspam up the ass
[2010/02/10 11:40:04] <grim_radical> it'll still work
[2010/02/10 11:40:09] <jb> but its being deprecated
[2010/02/10 11:40:16] <ccaum> oh ok
[2010/02/10 11:40:30] <joe-mac> that too, evenmtually it will cease to work.. in general with software if i see something is 'deprecated' in a warning i try to fix it asap
[2010/02/10 11:40:31] <ccaum> Otherwise my upgrade plan would be more diffcult :)
[2010/02/10 11:40:38] <joe-mac> inevitably if i put it off, i will forget, then it will break
[2010/02/10 11:40:39] <jb> joe-mac: usually a good idea :)
[2010/02/10 11:41:33] <ccaum> Sure, but deprecation allows for a smooth upgrade path. Otherwise I would have to shut puppet off, fix the code, upgrade the puppetmasters, then upgrade the clients
[2010/02/10 11:41:52] <ccaum> But you all know this already.
[2010/02/10 11:42:06] @ Quit: themurph: Quit: themurph
[2010/02/10 11:43:03] @ themurph joined channel #puppet
[2010/02/10 11:43:14] <fzzzt> hmmm
[2010/02/10 11:43:26] <fzzzt> i wonder if tags are addedas facts or somethin
[2010/02/10 11:44:08] <ccaum> So what release is ROWLF targeted for? 0.25.5 or 0.26?
[2010/02/10 11:44:56] @ poison_ joined channel #puppet
[2010/02/10 11:44:58] <ccaum> I'm not sure how RL names their releases
[2010/02/10 11:45:27] <Volcane> new features only goes into majors, minors are just bug fixes
[2010/02/10 11:45:27] @ |shad0w| joined channel #puppet
[2010/02/10 11:45:47] <Volcane> so if you're after something new, its 0.26.x if its a fix for a bug its 0.25.x
[2010/02/10 11:46:08] <fzzzt> so any ideas on how i could run an exec{} only when a certain tag is specified? is that possible?
[2010/02/10 11:47:25] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/10 11:47:29] <ccaum> Will 0.25 clients be able to use a 0.26 puppetmaster?
[2010/02/10 11:47:32] @ rcrowley joined channel #puppet
[2010/02/10 11:47:47] <fzzzt> probably
[2010/02/10 11:48:47] <rmiller4pi8> if not, lak has screwed up big time. lak is smart, thus yes.
[2010/02/10 11:50:00] @ shenson joined channel #puppet
[2010/02/10 11:51:04] @ paxos joined channel #puppet
[2010/02/10 11:51:26] <ccaum> fair enough
[2010/02/10 11:54:40] @ yarihm joined channel #puppet
[2010/02/10 11:55:10] @ tgeorgescu joined channel #puppet
[2010/02/10 11:56:01] @ Quit: danielbln: Quit: Leaving.
[2010/02/10 11:56:27] <rcrowley> Suppose I've got Ubuntu Karmic and want both the "gearman" apt package and the "gearman" gem. How do I avoid the "Duplicate definition: Package[gearman] is already defined..." error printed by puppetmasterd?
[2010/02/10 11:56:30] <ccaum> fzzzt: I don't think there's a way to do that. Why are you basing execution on a tag?
[2010/02/10 11:56:46] <rcrowley> I've tried "alias" which doesn't appear to help.
[2010/02/10 11:56:56] <tgeorgescu> Hey chaps, can you import into a class? I've got modules organised like they suggest to do it in http://laeg.reductivelabs.com/trac/puppet/wiki/ModuleOrganisation. But in init.pp I'd like to define a class which I can all later down the line. Can I do something like: class { mediaplyers: import "*" }
[2010/02/10 11:57:14] <ccaum> rcrowly: use different titles, but give them both the same value for the name parameter
[2010/02/10 11:57:35] <rcrowley> ccaum: Thanks, lemme give that a spin.
[2010/02/10 11:59:38] @ jcape joined channel #puppet
[2010/02/10 12:00:48] @ Quit: Ramonster: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/
[2010/02/10 12:01:21] <rcrowley> "Cannot alias Package[deb-gearman] to gearman; resource Package[gearman] already exists at..." and points to the line that defines Package[deb-gearman]. This is essentially how it behaved with package { "gearman": alias => "gem-gearman" ... }.
[2010/02/10 12:03:13] <rcrowley> Here is the relevant bit from nodes.pp: https://gist.github.com/5dc831fbbd2948e2cd49
[2010/02/10 12:05:42] <tgeorgescu> Any help would be much appreciated chaps
[2010/02/10 12:06:09] @ murkk joined channel #puppet
[2010/02/10 12:08:03] <ccaum> rcrowley: That should work fine. I do that all the time
[2010/02/10 12:08:28] <ccaum> rcrowley: let me try that over here
[2010/02/10 12:09:15] <rcrowley> ccaum: I'm Ubuntu-default 0.24.5. Nothing in the release notes since indicates a change in this behavior. And to be complete, these two package resources are directly within a single node block.
[2010/02/10 12:10:00] @ Quit: bug: Quit: bug
[2010/02/10 12:11:21] <ccaum> rcrowley: Oh. that's right. I'm thinking of something else. yeah, that won't work
[2010/02/10 12:11:42] @ pheezy joined channel #puppet
[2010/02/10 12:12:17] <rcrowley> Is the solution to start specifying versions or something (if that'll even be allowed)?
[2010/02/10 12:12:21] <ccaum> rcrowley: Use an exec that's wrapped in a define maybe?
[2010/02/10 12:12:30] <lwhalen> out of curiosity, how do I get this message to stop showing up?
[2010/02/10 12:12:33] <lwhalen> puppetd[8372]: (//basecron/Cron[puppet-check]/hour) defined 'hour' as '*'
[2010/02/10 12:13:22] <ccaum> rcrowley: Out of curiosity, why are you installing both a deb and gem of the same package?
[2010/02/10 12:13:40] <rcrowley> That's a misnomer. The deb is gearmand. The gem is the Ruby client.
[2010/02/10 12:14:05] * Volcane 's just gem2deb the deb
[2010/02/10 12:14:15] <LinuxCode> Volcane, where is chanserv ?
[2010/02/10 12:14:25] <LinuxCode> didnt you guys ask for the resync or whatever they asked for ?
[2010/02/10 12:14:26] <rcrowley> I think the answer is rapidly becoming "fuck it and manually install all the dependencies of that deb."
[2010/02/10 12:14:41] * LinuxCode recalls a note from freenode
[2010/02/10 12:14:42] @ toi joined channel #puppet
[2010/02/10 12:14:49] <tgeorgescu> Hey chaps, can you import into a class? I've got modules organised like they suggest to do it in http://laeg.reductivelabs.com/trac/puppet/wiki/ModuleOrganisation. But in init.pp I'd like to define a class which I can all later down the line. Can I do something like: class mediaplyers { import "*" }
[2010/02/10 12:14:58] <tgeorgescu> Am i hidden, or just ignored?
[2010/02/10 12:14:59] <tgeorgescu> :)
[2010/02/10 12:14:59] @ lilmatt joined channel #puppet
[2010/02/10 12:15:21] <Volcane> tgeorgescu: in modulename/manifests/init.pp you do class modulename { }
[2010/02/10 12:15:44] <tgeorgescu> So it is legit, i must just have a typo
[2010/02/10 12:15:47] <tgeorgescu> cheers Volcane
[2010/02/10 12:16:06] <tgeorgescu> Safe to do an import in that class?
[2010/02/10 12:16:17] <Volcane> you dont need to do imports if you put the files in the right place
[2010/02/10 12:16:22] <tgeorgescu> I don't want to list all the classes one by one, just import "*"
[2010/02/10 12:16:44] <tgeorgescu> No but I want to create one uber class.
[2010/02/10 12:16:53] <Volcane> class modulename::foo { ... } goes into modulename/manifests/foo.pp
[2010/02/10 12:17:11] <LinuxCode> [17:16] <tgeorgescu> No but I want to create one uber class.
[2010/02/10 12:17:23] <LinuxCode> module::uber::uber::uber::uber ?
[2010/02/10 12:17:29] <tgeorgescu> Lol.
[2010/02/10 12:17:35] <Volcane> LinuxCode: he's too lazy to type "include foo::bar" etc
[2010/02/10 12:17:43] <Volcane> LinuxCode: hoping he can do include * and it would do it
[2010/02/10 12:18:00] <LinuxCode> tgeorgescu, you want to do individual inclides
[2010/02/10 12:18:10] <LinuxCode> then you can do class based template changes
[2010/02/10 12:18:18] @ Quit: kaptk2: Read error: Operation timed out
[2010/02/10 12:18:20] <LinuxCode> also, why not use an inherit ??!
[2010/02/10 12:18:28] <LinuxCode> node blah inherits setupa
[2010/02/10 12:18:32] <Volcane> not sure how an inherit would help?
[2010/02/10 12:18:32] <LinuxCode> ?
[2010/02/10 12:18:45] <Volcane> presumably he has like 50 classes under modulename and wants to include them all
[2010/02/10 12:18:47] <LinuxCode> Volcane, dump all the ncessary includes in there
[2010/02/10 12:18:53] <LinuxCode> hmmm
[2010/02/10 12:18:57] <Volcane> without typing include 50 times
[2010/02/10 12:19:00] <LinuxCode> whats wrong with copy and paste anyway ?
[2010/02/10 12:19:06] <LinuxCode> lol
[2010/02/10 12:19:15] <LinuxCode> slect ...middle click....done
[2010/02/10 12:19:15] <tgeorgescu> Lol, I forget.
[2010/02/10 12:19:25] <tgeorgescu> I'm trying to save myself forgetting.
[2010/02/10 12:19:47] <LinuxCode> open file, recall, select, copy, paste, be happy
[2010/02/10 12:20:21] <tgeorgescu> I didn't start using linux to waste my time what all the windows boys do.
[2010/02/10 12:20:31] <tgeorgescu> :)
[2010/02/10 12:21:01] <tgeorgescu> I'll have another little poke
[2010/02/10 12:21:04] <tgeorgescu> Cheers boys.
[2010/02/10 12:21:09] <tgeorgescu> *(n gals)
[2010/02/10 12:23:33] @ autowidget joined channel #puppet
[2010/02/10 12:24:13] <benkevan> has anyone ever used HP Data Center Automation Center?
[2010/02/10 12:24:33] <benkevan> Trying to justify to my management that we should use free opensource vs paid supported..
[2010/02/10 12:24:39] @ jes5 joined channel #puppet
[2010/02/10 12:24:44] <jb> puppet offers commercial support..
[2010/02/10 12:24:50] <benkevan> *enough said
[2010/02/10 12:24:52] <benkevan> :)
[2010/02/10 12:25:58] <duritong> not puppet reductivelabs...
[2010/02/10 12:26:41] <benkevan> I found this customer review on amazon pretty funny:
[2010/02/10 12:26:42] <benkevan> It's good, but needs updating.
[2010/02/10 12:26:44] <benkevan> Adding puppet to my latest skills list has been like drinking from a firehose. This book, however, has provided some much needed concise information
[2010/02/10 12:27:01] <benkevan> I broke down.. and am getting the book..
[2010/02/10 12:27:19] <flakrat> I just added a new puppet client (Centos5 x86_64) that is reporting errors like the following for all the files that are managed by puppet "Failed to retrieve current state of resource: Cannot access mount[files] Could not describe /files/site/etc/sudoers: Cannot access mount[files] at /etc/puppet/manifests/classes/sudo.pp:30"
[2010/02/10 12:28:02] <flakrat> All of my other CentOS 5 clients are working fine, any idea why this client thinks that the files do not exist?
[2010/02/10 12:29:23] @ Quit: pacalm: Quit: pacalm
[2010/02/10 12:30:48] <flakrat> aha, I found it, I didn't have this clients domain in the fileserver.conf file
[2010/02/10 12:30:49] <benkevan> what has a bigger corporate footprint? cfengine or puppet?
[2010/02/10 12:31:31] <benkevan> More users in #puppet then #cfengine.. I'd say #puppet used more :D
[2010/02/10 12:34:12] @ tonyskapunk joined channel #puppet
[2010/02/10 12:36:17] <Jenza> don't confuse community with corporate footprint
[2010/02/10 12:36:40] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/10 12:37:01] <benkevan> Jenza: So are you saying #cfengine has a bigger corporate footprint ?
[2010/02/10 12:37:38] <Jenza> nope, I'm just saying that you should judge it on something that's potentially quite unrelated
[2010/02/10 12:38:03] <Jenza> That said I don't know anyone these days who uses cfengine
[2010/02/10 12:38:35] @ Quit: TREllis: Quit: leaving
[2010/02/10 12:39:16] <jb> benkevan: puppet has a rather large corporate footprint
[2010/02/10 12:39:44] <jb> benkevan: http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2010/02/10 12:39:55] @ Quit: shine: Read error: Connection reset by peer
[2010/02/10 12:41:11] <benkevan> Thanks jb.. that'll help sell to managers..
[2010/02/10 12:41:16] <benkevan> now to get my ass back on this thing..
[2010/02/10 12:41:34] <benkevan> going to start over again.. and start documenting what I do.. since I think I finaly got some buy in to move off my home grown scripts.. yay :D
[2010/02/10 12:44:33] <MattyM> anyone seen this before? Parameter ip failed: Invalid IP address
[2010/02/10 12:44:43] <MattyM> seems to only be happening when enabling external nodes
[2010/02/10 12:45:00] @ shine joined channel #puppet
[2010/02/10 12:45:05] <joe-mac> cfengine is still in wide deployment... but yea anyone starting a new SCM project likely isn't using it
[2010/02/10 12:45:14] <jb> yeah
[2010/02/10 12:45:22] <joe-mac> tons of people are migrating too, but while puppet was in infancy you would hear of 30k node cfengine setups
[2010/02/10 12:45:24] <jb> cfengine is still in lots of "legacy" environments :)
[2010/02/10 12:45:28] <joe-mac> yep
[2010/02/10 12:46:54] @ dotNox joined channel #puppet
[2010/02/10 12:48:32] <monachus> hmm
[2010/02/10 12:48:54] <monachus> what's the name of the bot i /msg to get a voice in channel?
[2010/02/10 12:49:02] <monachus> (not here, but freenode)
[2010/02/10 12:49:12] <barn> chanserv?
[2010/02/10 12:49:16] <monachus> that's it. tx.
[2010/02/10 12:52:07] @ Quit: themurph: Quit: themurph
[2010/02/10 12:53:11] <monachus> ah - it was nickserv. tx tho. set me in the right direction.
[2010/02/10 12:53:47] @ Quit: lilmatt: Quit: lilmatt
[2010/02/10 13:00:49] @ Quit: tgeorgescu: Remote host closed the connection
[2010/02/10 13:03:11] @ gaveen joined channel #puppet
[2010/02/10 13:04:31] @ dim0 joined channel #puppet
[2010/02/10 13:07:48] @ ezmobius joined channel #puppet
[2010/02/10 13:11:30] @ kaptk2 joined channel #puppet
[2010/02/10 13:14:05] @ bug joined channel #puppet
[2010/02/10 13:14:30] @ Quit: benkevan: Remote host closed the connection
[2010/02/10 13:14:39] @ ckauhaus joined channel #puppet
[2010/02/10 13:16:49] @ svend joined channel #puppet
[2010/02/10 13:17:19] @ benkevan joined channel #puppet
[2010/02/10 13:19:21] @ Quit: ShiNboi: Ping timeout: 245 seconds
[2010/02/10 13:21:26] @ lilmatt joined channel #puppet
[2010/02/10 13:24:52] @ Quit: ahasenack: Ping timeout: 272 seconds
[2010/02/10 13:25:21] @ WALoeIII joined channel #puppet
[2010/02/10 13:31:20] @ Quit: autowidget: Quit: autowidget
[2010/02/10 13:33:33] @ ahasenack joined channel #puppet
[2010/02/10 13:33:47] @ Quit: giskard: Remote host closed the connection
[2010/02/10 13:40:23] @ Quit: dim0: Ping timeout: 246 seconds
[2010/02/10 13:45:41] @ mjpizz joined channel #puppet
[2010/02/10 13:46:20] @ Quit: MattyM: Quit: ta ta
[2010/02/10 13:47:29] @ Quit: mjpizz: Client Quit
[2010/02/10 13:51:55] @ dim0 joined channel #puppet
[2010/02/10 13:52:36] <lwhalen> hey all, I think I'm doing something very silly when trying to redo my baseclass class
[2010/02/10 13:52:47] <lwhalen> it looks like this currently: http://pastebin.com/d1b1bf636
[2010/02/10 13:52:54] <lwhalen> and that gives me the following error:
[2010/02/10 13:52:59] <lwhalen> puppetmasterd[26391]: Could not parse for environment production: Syntax error at '=>'; expected '}' at /etc/puppet/manifests/classes/baseclass.pp:18
[2010/02/10 13:53:22] @ Quit: dim0: Remote host closed the connection
[2010/02/10 13:53:41] <joe-mac> lwhalen: you should be running puppet --parseonly on every manifest you commit
[2010/02/10 13:54:00] <joe-mac> and require doesn't work like that
[2010/02/10 13:54:17] <lwhalen> greeaaat
[2010/02/10 13:54:18] <joe-mac> there is a require keyword that works like include yet sets dependencies. hwoever, it can lead to erally nasty dependency cycles in my experience
[2010/02/10 13:54:32] <joe-mac> require the way you're using it is for resources
[2010/02/10 13:54:32] <lwhalen> ahh ok
[2010/02/10 13:54:36] <joe-mac> a class is not a resource, it's a container
[2010/02/10 13:54:42] <joe-mac> really, a namespace if you're a programmer
[2010/02/10 13:54:44] <fzzzt> anyone know how i can take a newline-delimited string and convert it to a hash with the string tokens as keys
[2010/02/10 13:54:45] <joe-mac> not a class in the OOP sense
[2010/02/10 13:54:51] <lwhalen> yeah, I have require on my resources all over the place
[2010/02/10 13:54:59] <lwhalen> I was kinda hoping I could use it for my classes too :-)
[2010/02/10 13:55:08] <fzzzt> (in ruby)
[2010/02/10 13:55:11] @ giskard joined channel #puppet
[2010/02/10 13:55:28] <joe-mac> string.split('\n').each do |string| hash[string] = something end?
[2010/02/10 13:55:30] <lwhalen> I just want those two things installed before anything else (yum and allmounts). what's an intelligent way to set that up?
[2010/02/10 13:55:31] <joe-mac> ios that what yo mean?
[2010/02/10 13:55:51] <joe-mac> lwhalen: yes you can, you may have missed my sentence cause i type lightning fast!
[2010/02/10 13:56:03] <joe-mac> lol, there is a 'require' keyword that works just like 'include' but it sets order
[2010/02/10 13:56:09] <joe-mac> include does not guarantee any order
[2010/02/10 13:56:17] <joe-mac> at the top of the class put 'require classname'
[2010/02/10 13:56:25] <lwhalen> ahhhh I'm with you now
[2010/02/10 13:56:32] <lwhalen> sorry, I did miss that. human-parsing error on my part :-p
[2010/02/10 13:57:05] <fzzzt> yeah, i don't have the "something" yet but might be able to work with that...was hoping there was a way without walking the array
[2010/02/10 13:57:10] <joe-mac> fzzzt: did you try that? seems like it would be easy unless i misunderstand and sometimes i do confuse python dicts with ruby hashes
[2010/02/10 13:57:14] <fzzzt> like String.hashitzomg()
[2010/02/10 13:57:15] <fzzzt> :P
[2010/02/10 13:57:22] <joe-mac> fzzzt: yea ther is probably something you can do with map
[2010/02/10 13:57:29] <joe-mac> ask nigelk as i recall he is a big fan of the map method
[2010/02/10 13:57:34] <joe-mac> i don't quite understand it...
[2010/02/10 13:57:44] <fzzzt> yeah ive seen map a lot, i don't either :)
[2010/02/10 13:57:56] <joe-mac> i think it's like memcpy a whole array rather than walk it then performa n operation across the whole memcpy's area
[2010/02/10 13:57:57] <joe-mac> not sure
[2010/02/10 13:58:28] <joe-mac> i have this ruby book it's so awesome but i read it over and over but it's like the miovie memento i don't retauin any of the knowledge
[2010/02/10 13:58:38] <joe-mac> it's called 'practical ruby for systems administration'
[2010/02/10 13:58:43] <fzzzt> cool
[2010/02/10 13:58:50] <fzzzt> i have a few orielly ruby books actually
[2010/02/10 13:58:54] <fzzzt> but i'm the same way heh
[2010/02/10 13:58:55] <joe-mac> really, really useful stuff in it
[2010/02/10 13:59:08] <joe-mac> caiuse there is no fluff dude, only stuff we neesd as sys admins
[2010/02/10 13:59:29] <joe-mac> the problem with a lot of ruby books is they're aimed at developers, which i am not
[2010/02/10 14:00:48] <fzzzt> i'm both, but mostly java and php for dev
[2010/02/10 14:00:56] <fzzzt> i use ruby for sysadmin almost exclusively
[2010/02/10 14:03:12] @ pting joined channel #puppet
[2010/02/10 14:03:50] <fzzzt> cool
[2010/02/10 14:04:03] <fzzzt> i'm making a script to map nodes to classes/defines...
[2010/02/10 14:05:24] <fzzzt> One thing I like about Ruby (Python too?) is that it's so easy to marry shell commands and code...
[2010/02/10 14:05:41] <fzzzt> like `grep`.split.each ...
[2010/02/10 14:06:35] @ zoeloelip joined channel #puppet
[2010/02/10 14:10:03] <joe-mac> yea i like that a lot too
[2010/02/10 14:10:18] @ themurph joined channel #puppet
[2010/02/10 14:11:25] @ autowidget joined channel #puppet
[2010/02/10 14:12:41] @ Quit: autowidget: Client Quit
[2010/02/10 14:13:35] @ miah joined channel #puppet
[2010/02/10 14:13:37] <miah> moo
[2010/02/10 14:13:50] @ Quit: poison_: Remote host closed the connection
[2010/02/10 14:15:32] @ Quit: vinci: Ping timeout: 272 seconds
[2010/02/10 14:17:07] @ alfism_ joined channel #puppet
[2010/02/10 14:17:18] @ Quit: alfism_: Client Quit
[2010/02/10 14:19:08] <eric0> woot got asked to come talk about puppet to one of the other sysadmin groups here
[2010/02/10 14:22:01] <miah> cool
[2010/02/10 14:22:31] <|Mike|> eric0: you guys have several system administrators under 1 company /
[2010/02/10 14:22:53] <cm1> which company?
[2010/02/10 14:23:37] @ autowidget joined channel #puppet
[2010/02/10 14:24:15] @ mikerowehl joined channel #puppet
[2010/02/10 14:26:56] <lwhalen> where do facter facts live?
[2010/02/10 14:27:46] @ Quit: wakko666: Ping timeout: 252 seconds
[2010/02/10 14:29:02] @ autonomouswidget joined channel #puppet
[2010/02/10 14:29:02] <benkevan> the fact that facter facts live is quite facinating
[2010/02/10 14:31:10] @ tonyskapunk joined channel #puppet
[2010/02/10 14:32:08] <LinuxCode> lwhalen, what are you trying to achieve ?
[2010/02/10 14:32:14] @ Quit: autowidget: Ping timeout: 256 seconds
[2010/02/10 14:32:15] @ autonomouswidget is now known as autowidget
[2010/02/10 14:33:05] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/02/10 14:33:15] <LinuxCode> puppet://$server/facts <--- default path where it looks
[2010/02/10 14:33:16] @ wakko666 joined channel #puppet
[2010/02/10 14:33:23] <LinuxCode> if you want to send them
[2010/02/10 14:33:33] <LinuxCode> however, you ahvent said yet what you want to achieve
[2010/02/10 14:33:35] <ashp> We're planning to build and test ultra high-speed broadband networks in a small number of trial locations across the United States. We'll deliver Internet speeds more than 100 times faster than what most Americans have access to today with 1 gigabit per second, fiber-to-the-home connections.
[2010/02/10 14:33:41] <ashp> i'm going to move to wherever google installs this :D
[2010/02/10 14:34:02] <fzzzt> meh
[2010/02/10 14:34:11] <fzzzt> it'll bea years before they get to me i'm sure
[2010/02/10 14:34:15] <LinuxCode> ashp, so will your office DC
[2010/02/10 14:34:17] <LinuxCode> lol
[2010/02/10 14:34:37] <LinuxCode> fzzzt, better than decades in the UK
[2010/02/10 14:34:37] <ashp> :)
[2010/02/10 14:34:42] <ashp> i doubt they'll build out to boston
[2010/02/10 14:34:43] <fzzzt> and, cost matters
[2010/02/10 14:34:50] <ashp> but i plan to move in june and they announce it in april
[2010/02/10 14:34:52] <ashp> so, perfect timing!
[2010/02/10 14:34:52] <LinuxCode> they are so stupid here
[2010/02/10 14:34:53] <fzzzt> lots of places can already get fiber
[2010/02/10 14:34:57] <fzzzt> heh
[2010/02/10 14:35:04] <ashp> if they build out gig fiber to anywhere near boston, i'm there
[2010/02/10 14:35:08] <LinuxCode> the Government should have invested more before sellling it all off
[2010/02/10 14:36:10] <himynameisthor> do any of you have a good example of using puppet's nagios resources?
[2010/02/10 14:36:27] @ Pirate_Hunter joined channel #puppet
[2010/02/10 14:37:19] @ Pirate_Hunter left channel #puppet ()
[2010/02/10 14:37:43] @ Quit: wakko666: Ping timeout: 265 seconds
[2010/02/10 14:38:12] @ Quit: shine: Ping timeout: 265 seconds
[2010/02/10 14:40:02] @ dim0 joined channel #puppet
[2010/02/10 14:40:14] @ fzzzt left channel #puppet ()
[2010/02/10 14:40:16] <benkevan> http://www.google.com/appserve/fiberrfi/public/overview
[2010/02/10 14:40:17] @ Pirate_Hunter joined channel #puppet
[2010/02/10 14:41:45] @ Pirate_Hunter left channel #puppet ()
[2010/02/10 14:42:30] @ Quit: mattwynne: Remote host closed the connection
[2010/02/10 14:45:35] @ Quit: dim0: Read error: Connection reset by peer
[2010/02/10 14:46:01] @ shine joined channel #puppet
[2010/02/10 14:47:03] @ vinci joined channel #puppet
[2010/02/10 14:48:48] @ teratoma joined channel #puppet
[2010/02/10 14:54:42] @ Quit: re_: Quit: re_
[2010/02/10 14:54:43] <lwhalen> hey, sorry all, afk
[2010/02/10 14:55:02] <lwhalen> I need to write a new facter fact, and I was hoping to get some insight by lookign at existing facter facts
[2010/02/10 14:56:15] @ Quit: bug: Quit: bug
[2010/02/10 14:56:23] <joe-mac> ashp: you mean for your home?
[2010/02/10 14:56:26] <joe-mac> or for your DC?
[2010/02/10 14:56:32] <joe-mac> if you want big pipes, check out one summer street
[2010/02/10 14:56:48] <lwhalen> joe-mac: 1 summer st? you in the Boston area?
[2010/02/10 14:56:58] <joe-mac> yes, copley
[2010/02/10 14:57:05] <ashp> for my home
[2010/02/10 14:57:20] <ashp> this is gig fiber to the house, not for the datacenter
[2010/02/10 14:57:23] <lwhalen> gtfo! I used to work at a company that had a big cage at 1 summer st
[2010/02/10 14:57:34] <ashp> besides you can imagine the kind of nightmarish network infrastructure harvard has
[2010/02/10 14:57:38] <ashp> i don't even wanna think about it
[2010/02/10 14:57:45] <ashp> we route 10/8 around the place internally, it's special
[2010/02/10 14:57:50] <lwhalen> good ol' Markley Group
[2010/02/10 15:00:13] @ Quit: vinci: Ping timeout: 260 seconds
[2010/02/10 15:04:15] <joe-mac> yea, i believe we sell to you ashp, but you're not in the security group iirc
[2010/02/10 15:04:43] @ vinci joined channel #puppet
[2010/02/10 15:05:20] @ `rett joined channel #puppet
[2010/02/10 15:06:08] <ashp> joe-mac: at _this_ individual school the security group is one guy
[2010/02/10 15:06:15] <ashp> every school has the same groups
[2010/02/10 15:06:19] <joe-mac> o i c
[2010/02/10 15:06:20] <ashp> so there's 7 different sysadmin teams
[2010/02/10 15:06:27] <ashp> 7 security team.. you know it's just bizarre
[2010/02/10 15:06:29] <joe-mac> i believe we specifically sold to the law school
[2010/02/10 15:06:48] <joe-mac> idk, i'm far removed from that process unless they buy a SaaS thingamajig
[2010/02/10 15:07:27] <ashp> oh
[2010/02/10 15:07:30] <ashp> what did you sell us? :)
[2010/02/10 15:07:37] <ashp> what do you guys even do? :)
[2010/02/10 15:08:15] <joe-mac> :-) vulnerability assessment. we make a vuln scanner called nexpose. we just 'bought' metasploit
[2010/02/10 15:08:24] <joe-mac> though bought is such a misnomer for acquiring the rights to an OSS project
[2010/02/10 15:08:27] <ashp> ahhh, that makes a lot of sense
[2010/02/10 15:08:36] <ashp> so YOU are responsible for this 20,000 item report he's bugging me about
[2010/02/10 15:08:59] <ashp> and the 'apache vulnerability' he asked me about which transpired to be 'you can see the default page redhat installs if you don't stick on /trac/'
[2010/02/10 15:09:05] <ashp> now i know who to blame :D
[2010/02/10 15:10:30] <joe-mac> lol, yea, out of box it flags a lot of stuff
[2010/02/10 15:10:38] <joe-mac> the default report makes me want to commit suicide
[2010/02/10 15:11:28] <joe-mac> the hardest part of a deployment is deciding if you consider that a vuln or not- a high-security environment might actually say it's a form of OS-fingerprinting, therefore it's a vuln
[2010/02/10 15:12:51] <joe-mac> but at a university, it's like open season. servers under desks, etc
[2010/02/10 15:13:13] <ashp> yeah, i can't even imagine what this report will turn up
[2010/02/10 15:13:22] <ashp> i bet it finds a lot of real security issues
[2010/02/10 15:13:24] @ bug joined channel #puppet
[2010/02/10 15:13:24] <ashp> i KNOW we have them
[2010/02/10 15:13:34] <joe-mac> probably lots of machines and services you either never knew existed or thougth were decommissioned
[2010/02/10 15:13:45] <ashp> i used that sql/php stuff you can do to break into mysql on a box here once to find out what it was as nobody knew the details
[2010/02/10 15:13:55] <joe-mac> yea, exactly, most admins know they have vulnerabilities it's just difficult to havet ime to remediate all of them
[2010/02/10 15:13:58] <ashp> luckily we have forced most stuff into VM's so we have very little physical hardware
[2010/02/10 15:14:09] <ashp> we are setting up a puppet managed hosting project internally next
[2010/02/10 15:14:24] <ashp> so that anyone who needs some weird custom stuff is still forced into being managed and getting patches on a schedule
[2010/02/10 15:14:24] <joe-mac> you mean letting departments write their own configs?
[2010/02/10 15:14:35] <ashp> no, it's going to be some nasty hybrid
[2010/02/10 15:14:43] <ashp> where I control the OS/patches/some stuff and they are responsible for applications on top
[2010/02/10 15:14:54] <joe-mac> fun
[2010/02/10 15:15:01] <ashp> but they don't get any choice of what they can run, if redhat updates php then they fix whatever it breaks
[2010/02/10 15:15:23] <joe-mac> pfft, we declared an edict that there will be no more php
[2010/02/10 15:15:25] <joe-mac> at all
[2010/02/10 15:15:33] <joe-mac> this kid almopst lost his cookies
[2010/02/10 15:15:55] <joe-mac> it was so funny i had to leave the room before i started bursting out laughing
[2010/02/10 15:17:09] <ashp> i really really wish we had that edict
[2010/02/10 15:17:12] @ Quit: gun: Ping timeout: 276 seconds
[2010/02/10 15:17:12] <ashp> we sort of do
[2010/02/10 15:17:18] <ashp> the new manager of the dev team
[2010/02/10 15:17:20] <ashp> is in love with java
[2010/02/10 15:17:26] <ashp> i'm not sure it's better?
[2010/02/10 15:17:36] <jb> erm
[2010/02/10 15:17:43] <ashp> it seems like every java project is designed to be as hard to automate as possible
[2010/02/10 15:17:57] <jb> IBM.
[2010/02/10 15:18:05] <ashp> ibm?
[2010/02/10 15:18:13] <jb> IBM loves and uses java for *
[2010/02/10 15:18:23] <ashp> ahhh
[2010/02/10 15:18:35] <ashp> my favourite is we just rolled out sun's IDM
[2010/02/10 15:18:42] <ashp> took like 1.5 years to roll out - oracle just killed the product
[2010/02/10 15:18:54] <jb> and IBM products are typically very shitty to work with :)
[2010/02/10 15:18:55] <ashp> we could have knocked out a fully custom version in half that time and not been left with an abandoned piece of software
[2010/02/10 15:21:22] @ tonyskapunk left channel #puppet ()
[2010/02/10 15:25:27] <lwhalen> so, where do facter facts live? I'm looking to write a new fact, and I figure the best way to do that is by looking at existing facts
[2010/02/10 15:26:42] <elasticdog> if I want a different config for different operating systems, can I just do source => "puppet:///mymod/example.conf.$operatingsystem" ?
[2010/02/10 15:27:20] <LinuxCode> lwhalen, mkdir -p ~/lib/ruby/facter
[2010/02/10 15:27:29] <LinuxCode> export RUBYLIB=~/lib/ruby
[2010/02/10 15:27:35] <elasticdog> ...or do I have to do a full source => ? { os1 => "blah", os2 => "blah2" }
[2010/02/10 15:27:44] <LinuxCode> vi ~/lib/ruby/facter/myfact
[2010/02/10 15:27:48] <LinuxCode> vi ~/lib/ruby/facter/myfact.rb
[2010/02/10 15:27:50] <LinuxCode> hack away
[2010/02/10 15:27:53] <eric0> lwhalen: http://github.com/reductivelabs/facter/tree/master/lib/facter/
[2010/02/10 15:27:57] <LinuxCode> facter to see output
[2010/02/10 15:28:42] <LinuxCode> or facter myscriptname
[2010/02/10 15:29:19] <lwhalen> LinuxCode: yup, I got that from the 'custom facter fact' thinger on the wiki. I was hoping to look at existing facts to see if there's a preferred way of doing things, etc
[2010/02/10 15:30:05] <LinuxCode> /reductivelabs.com/trac/puppet/wiki/FacterRecipes
[2010/02/10 15:30:12] <LinuxCode> http://reductivelabs.com/trac/puppet/wiki/FacterRecipes
[2010/02/10 15:30:14] <LinuxCode> rather
[2010/02/10 15:30:18] <lwhalen> hehe thanks
[2010/02/10 15:30:30] <LinuxCode> check the user one
[2010/02/10 15:30:38] <LinuxCode> note the function above the Fcter.add
[2010/02/10 15:31:20] @ jfreeman joined channel #puppet
[2010/02/10 15:31:28] <lwhalen> this one? /lib/ruby/site_ruby/1.8/facter/
[2010/02/10 15:31:30] <lwhalen> errr
[2010/02/10 15:31:35] <lwhalen> http://reductivelabs.com/trac/puppet/wiki/Recipes/UserFact
[2010/02/10 15:31:39] <LinuxCode> yes
[2010/02/10 15:32:17] <lwhalen> neat
[2010/02/10 15:33:28] <lwhalen> is there any docs regarding what kind of methods are available from the Puppet::Type class?
[2010/02/10 15:34:08] <LinuxCode> myvar = Facter::Util::Resolution.exec('/usr/sbin/command') or nil
[2010/02/10 15:34:18] <LinuxCode> you can populate a variable with that comand
[2010/02/10 15:34:23] <LinuxCode> when using an external command
[2010/02/10 15:34:39] <joe-mac> yea i generally just look at the code, yank some lines, edit it, then test it out
[2010/02/10 15:35:32] <himynameisthor> dear fucking god i'm going to punch someone
[2010/02/10 15:36:13] <LinuxCode> himynameisthor, hahah I felt like that today
[2010/02/10 15:36:18] <LinuxCode> until Volcane helped me out
[2010/02/10 15:37:06] <LinuxCode> still no link for the wiki ;-|
[2010/02/10 15:37:39] <LinuxCode> by tomorrow I will forget to add what I wanted to add ;-|
[2010/02/10 15:40:48] <lwhalen> well, the ruby I need to write for this custom fact might get a little involved
[2010/02/10 15:41:16] <lwhalen> basically, we have two postgres servers that are in a master/slave relationship via write-ahead-log (WAL) files
[2010/02/10 15:41:53] <lwhalen> I want a fact that tells me if a particular server is a master or a slave, and what the IP address/hostname of its partner is
[2010/02/10 15:42:53] <lwhalen> I was thinking I could figure out if a particular server is a master or slave based on the output of 'ps ax'. If $string_blargh exists, it's a master. If $string_blargh doesn't exist, and $string_bar exists, then it's a slave
[2010/02/10 15:43:13] @ Quit: Phibs: Quit: leaving
[2010/02/10 15:43:22] <KarlHungus> lwhalen: can't you query the postgres server to find that out?
[2010/02/10 15:43:44] <KarlHungus> similar to mysql's 'show slave status\G'? (sorry, i only know mysql)
[2010/02/10 15:44:07] <lwhalen> perhaps, but pg_hba.conf on all these boxes is pretty locked down, and I don't yet know how to interface with a SQL database in Ruby :-)
[2010/02/10 15:44:56] <lwhalen> and I don't want facter delayed by a fact timing out if a box with this fact on it doesn't happen to be running postgres
[2010/02/10 15:45:47] @ Phibs joined channel #puppet
[2010/02/10 15:45:50] @ Quit: jfreeman: Quit: Konversation terminated!
[2010/02/10 15:46:45] <ashp> Vulnerability in Microsoft Paint Could Allow Remote Code Execution (978706)
[2010/02/10 15:46:49] <ashp> haha this is the best thing i read all day
[2010/02/10 15:47:12] @ tonyskapunk joined channel #puppet
[2010/02/10 15:49:24] <eric0> joe-mac: huh whah? dont understand your post about getting all puppet nodes from nodes.pp -- what about wildcards / regexp...
[2010/02/10 15:50:08] <joe-mac> eric0: have you used puppetrun? i stopped trying around .24.8
[2010/02/10 15:50:35] <joe-mac> if you uise puppetrun -a
[2010/02/10 15:50:42] <joe-mac> it fails, because you need LDAP nodes
[2010/02/10 15:50:56] <joe-mac> i am not just high on crack am i? has anybody used this tool lately? has that behavior changed?
[2010/02/10 15:54:17] @ Quit: giskard: Read error: Operation timed out
[2010/02/10 15:54:21] <eric0> i don't normally use it, because i don't have the puppetds listening , but in general i agree that it shouldn't require ldap (as the docs say, but running puppetrun -a "completed" without error)
[2010/02/10 15:54:44] <eric0> my point is you can't just use nodes.pp because node definitions dont map 1:1 to host definitions
[2010/02/10 15:54:45] <joe-mac> yea, shows how useful it is since well none of your nodes are listening therefore a successful run is impossible
[2010/02/10 15:55:13] <joe-mac> node names are stored somewhere, before .25 regex it was nodes.pp probably in some yaml now?
[2010/02/10 15:55:51] <joe-mac> it would be great it puppetrun could replace capistrano for scalable administration for me
[2010/02/10 15:56:02] <joe-mac> the ssh agent just can't hang when it comes to lots of parallel connections
[2010/02/10 15:56:09] <eric0> yeah /var/puppet/yaml/node
[2010/02/10 15:56:48] @ giskard joined channel #puppet
[2010/02/10 15:57:24] <gepetto> ::trac:: Whos Using Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet?version=203
[2010/02/10 16:06:24] @ Quit: dotNox: Read error: Connection reset by peer
[2010/02/10 16:07:26] <lwhalen> so, wait a second. What should I have my shiny new fact output?
[2010/02/10 16:07:36] <lwhalen> let me rephrase that
[2010/02/10 16:07:59] <lwhalen> let's take the 'uptime' fact. It outputs this: "uptime => 53 days"
[2010/02/10 16:08:42] <lwhalen> but the uptime.rb file doesn't have something that looks like a 'puts "uptime => #{somevalue}", as I would expect
[2010/02/10 16:08:49] <svend> Is there an easy way to list all nodes that use a certain class?
[2010/02/10 16:08:56] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/02/10 16:09:07] <lwhalen> instead, it appears to interface with Facter::Util somehow
[2010/02/10 16:09:28] <svend> I can 'grep class /var/lib/puppet/state/classes.txt' on the clients, but I'd like to be able to do it from the server.
[2010/02/10 16:10:08] <whack> svend: if you have reports enabled, you can view them on the puppet master
[2010/02/10 16:10:32] <LinuxCode> lwhalen, pastebin
[2010/02/10 16:11:06] <lwhalen> here is uptime.rb: http://pastebin.com/m7236c408
[2010/02/10 16:12:16] @ poison joined channel #puppet
[2010/02/10 16:12:20] <svend> whack: Thanks, I didn't know reports included this info. I'll give that a try.
[2010/02/10 16:12:41] <lwhalen> I'm reading the "Adding Custom Facts to Facter" page on the wiki (http://reductivelabs.com/trac/puppet/wiki/AddingFacts), and see that they're doing 'Facter.add("some_new_fact") do', etc
[2010/02/10 16:12:49] <lwhalen> but wtf is 'setcode'?
[2010/02/10 16:12:57] <LinuxCode> lwhalen, i explained it earlier
[2010/02/10 16:12:59] <lwhalen> and %x?
[2010/02/10 16:13:07] <whack> svend: the reports have a 'tags' list which includes the classes used
[2010/02/10 16:13:12] <LinuxCode> myvar = Facter::Util::Resolution.exec('/usr/sbin/command') or nil
[2010/02/10 16:13:25] <LinuxCode> runs command and places output in myvar
[2010/02/10 16:13:56] <whack> svend: though I'm not totally sure if it will include everything
[2010/02/10 16:14:03] <lwhalen> do I need to stick a 'require Facter' line somewhere? or a #!/usr/bin/ruby at the top of my fact?
[2010/02/10 16:14:41] @ dim0 joined channel #puppet
[2010/02/10 16:15:46] * LinuxCode didnt
[2010/02/10 16:15:56] <LinuxCode> nope
[2010/02/10 16:16:10] <LinuxCode> it knoes as you will save as .rb
[2010/02/10 16:16:16] <LinuxCode> which it will import
[2010/02/10 16:16:28] <lwhalen> alright, so say I have this code:
[2010/02/10 16:16:50] <lwhalen> http://pastebin.com/m108b5628
[2010/02/10 16:17:09] <lwhalen> and I run "facter /path/to/that/file"
[2010/02/10 16:17:20] <LinuxCode> no
[2010/02/10 16:17:26] <LinuxCode> just facter fact
[2010/02/10 16:17:44] <lwhalen> I get nada
[2010/02/10 16:17:57] <lwhalen> my working directory is: /home/logins/law/sandbox/ruby/facter
[2010/02/10 16:18:02] <lwhalen> and my RUBYLIB variable is
[2010/02/10 16:18:27] <lwhalen> RUBYLIB=/home/logins/law/sandbox/ruby
[2010/02/10 16:19:10] <lwhalen> the command "facter frontend_type" prints nothing to my screen
[2010/02/10 16:19:26] <jrojas> lwhalen: facter needs to load the lib
[2010/02/10 16:19:41] <lwhalen> jrojas: doesn't it cue off of RUBYLIB?
[2010/02/10 16:19:42] <jrojas> FACTERLIBS=/path/to/your/custom/fact facter frontend type
[2010/02/10 16:19:47] <jrojas> something like that
[2010/02/10 16:19:51] <jrojas> not off RUBYLIBS
[2010/02/10 16:19:56] <lwhalen> ahhhhh
[2010/02/10 16:20:18] <jrojas> because when puppet distributes the facts, they usually end up in /var/lib/puppet/facts
[2010/02/10 16:20:22] <LinuxCode> http://pastebin.com/m75dfb506
[2010/02/10 16:20:24] <jrojas> which is not in RUBYLIB
[2010/02/10 16:20:27] <himynameisthor> err: Report rrdgraph failed: Invalid owner puppet on setting hostdir. Valid owners are root, service.
[2010/02/10 16:21:23] <lwhalen> Linuxcode: same thing, empty line
[2010/02/10 16:21:41] <lwhalen> jrojas: same thing with your recommendation as well
[2010/02/10 16:21:50] <LinuxCode> http://pastebin.com/m65360268
[2010/02/10 16:21:54] <LinuxCode> sorry
[2010/02/10 16:22:10] <LinuxCode> mkdir -p ~/lib/ruby/facter export RUBYLIB=~/lib/ruby
[2010/02/10 16:22:10] <lwhalen> heh I was wondering if there was an 'end' missing :-p
[2010/02/10 16:22:14] <LinuxCode> will wrok!
[2010/02/10 16:22:28] @ cliff-hm joined channel #puppet
[2010/02/10 16:22:53] <jrojas> Note: You may not be able to view your custom fact when running facter on the client node. If you are unable to view the custom fact, try adding the "factpath" to the FACTERLIB environmental variable. (example: export FACTERLIB=/var/lib/puppet/lib/facter)
[2010/02/10 16:22:58] <jrojas> from: http://reductivelabs.com/trac/puppet/wiki/AddingFacts
[2010/02/10 16:23:11] <jrojas> oh it does use RUBYLIB
[2010/02/10 16:23:16] <jrojas> cool,
[2010/02/10 16:23:29] <LinuxCode> lwhalen, let me dump it and check
[2010/02/10 16:24:05] @ plathrop-away is now known as plathrop
[2010/02/10 16:24:39] @ tonyskapunk left channel #puppet ()
[2010/02/10 16:25:36] <lwhalen> --debug is picking it up, apparently
[2010/02/10 16:25:40] <ccaum> Holy Shmoly. I just created module that manages samba including providing a define for individual samba shares and it worked on the first try. That never happens to me.
[2010/02/10 16:25:43] <lwhalen> says the value is 'nil'
[2010/02/10 16:26:09] <lwhalen> heh
[2010/02/10 16:26:15] <lwhalen> ps is NOT in sbin
[2010/02/10 16:27:34] @ fredden joined channel #puppet
[2010/02/10 16:27:39] <LinuxCode> lwhalen, remove the path
[2010/02/10 16:28:19] <lwhalen> yeah, i got it now :-p
[2010/02/10 16:28:31] <lwhalen> *wrists*
[2010/02/10 16:28:32] <LinuxCode> ;-}
[2010/02/10 16:28:40] * LinuxCode *slaps*
[2010/02/10 16:28:42] <LinuxCode> ;-p
[2010/02/10 16:28:54] <LinuxCode> now hack away
[2010/02/10 16:30:13] <fredden> I'm having trouble connecting an old puppet client (0.20.1) with a newer puppetmaster (0.24.5)
[2010/02/10 16:30:38] <fredden> are there known problems doing so, or what else should I try?
[2010/02/10 16:30:50] <jb> you should really consider upgrading :)
[2010/02/10 16:31:26] <fredden> I'd love to; but (for various reasons) I'm stuck with an old debian box
[2010/02/10 16:31:45] <fredden> http://linuxappfinder.com/package/puppet
[2010/02/10 16:32:00] <jb> you know there are newer debian packages.. or you could always roll your own
[2010/02/10 16:32:20] <fredden> the client is etch, and the server (and other working clients) are all lenny
[2010/02/10 16:33:20] @ jfreeman joined channel #puppet
[2010/02/10 16:33:27] <fredden> this box is scheduled for decommissioning, so I'd rather not spend too much time on it; but getting it into puppet will really ease the migration of services off it
[2010/02/10 16:33:54] @ Quit: dim0: Remote host closed the connection
[2010/02/10 16:37:14] <fredden> jb, are you suggesting that the two versions are incompatible; or just that the old version is old ?
[2010/02/10 16:37:52] @ Quit: toi: Quit: Ex-Chat
[2010/02/10 16:38:02] <jb> i'm not sure, sorry :( I was merely saying that 0.20 is very old
[2010/02/10 16:38:48] <nico> 0.20 was BC no ?
[2010/02/10 16:40:18] @ Quit: madduck|afk: Ping timeout: 256 seconds
[2010/02/10 16:40:35] @ blentz joined channel #puppet
[2010/02/10 16:40:47] @ madduck|afk joined channel #puppet
[2010/02/10 16:41:12] @ blentz is now known as wakko666
[2010/02/10 16:41:26] @ Quit: erm: Ping timeout: 256 seconds
[2010/02/10 16:41:52] @ erm joined channel #puppet
[2010/02/10 16:42:00] @ Quit: Bosse: Ping timeout: 256 seconds
[2010/02/10 16:42:31] @ Bosse joined channel #puppet
[2010/02/10 16:43:56] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/02/10 16:47:47] @ Quit: giskard: Read error: Operation timed out
[2010/02/10 16:48:38] @ giskard joined channel #puppet
[2010/02/10 16:50:22] @ Quit: noyb: Quit: noyb
[2010/02/10 16:52:15] @ Quit: eSpud: Quit: Ex-Chat
[2010/02/10 16:52:29] @ noyb joined channel #puppet
[2010/02/10 16:52:57] <fredden> client reports: err: Class[main]/Node[staging]/Class[base]/file=/etc/sudoers/source: Could not describe /files/etc/sudoers: Could not connect to localhost on port 8140
[2010/02/10 16:53:07] <fredden> but should be connecting to the puppetmaster, not localhost
[2010/02/10 16:53:17] <fredden> how might I tell it where to connect to?
[2010/02/10 16:54:12] <jrojas> netstat -lnp |grep 8140
[2010/02/10 16:54:19] <jrojas> is puppetmster running on the same host?
[2010/02/10 16:54:49] <whack> fredden: what's your source for that file set to? What's your fileserver set to?
[2010/02/10 16:55:08] <fredden> jrojas, no, it's on another host
[2010/02/10 16:55:27] <jrojas> then maybe you should do --server=puppetmasterhost
[2010/02/10 16:55:35] @ nazgul5 joined channel #puppet
[2010/02/10 16:55:53] <fredden> whack, I'm not sure. I've set server= in [main] of puppetd.conf (puppet.conf on worky boxen)
[2010/02/10 16:56:29] <fredden> simply having a server= line in [main] of puppet.conf works very well on the 0.24.5 clients
[2010/02/10 16:56:52] <fredden> I guess I need more for this 0.20.1 client... but there's no puppetd.conf man page
[2010/02/10 16:57:12] <Volcane> 0.20? get rid of it
[2010/02/10 16:57:40] <Volcane> we're *many many* versions newer
[2010/02/10 16:58:10] <jrojas> some pople like classics tho
[2010/02/10 16:58:31] <Volcane> newer puppets have just one config file thats a unified one for all the daemons
[2010/02/10 16:58:32] <fredden> and yet others don't have the luxary
[2010/02/10 16:58:47] <jb> why don't you have the luxury of upgrading?
[2010/02/10 16:58:57] @ Quit: allsystemsarego: Quit: Leaving
[2010/02/10 16:58:58] <jb> just because its running etch doesn't mean it can't run an ewer puppet
[2010/02/10 16:59:28] <fredden> so it sounds like I'm completely unsupported
[2010/02/10 16:59:41] <fredden> and the only way to get this to work is to install a newer version
[2010/02/10 16:59:53] <fredden> so therefore these versions are incompatible
[2010/02/10 17:00:22] <fredden> does that sound right?
[2010/02/10 17:00:44] <Volcane> pretty sure 0.20 clients wont talk to 0.24 servers
[2010/02/10 17:00:49] <miah> there is really no reason why you should be running 0.20 clients these days
[2010/02/10 17:00:56] @ Quit: ezmobius: Remote host closed the connection
[2010/02/10 17:02:30] <fredden> horray for debian then
[2010/02/10 17:02:39] <fredden> thanks for the confirmation
[2010/02/10 17:02:50] <fredden> I'll see what I can do to get a newer puppet
[2010/02/10 17:04:18] <miah> this is why lots of people running unstable, or dont run debian at all.
[2010/02/10 17:05:23] <fredden> yep, I'm a Gentoo man; living in a debian world
[2010/02/10 17:05:52] <fredden> I'm not a fan of versioned operating systems
[2010/02/10 17:07:00] <svend> I am running the Lenny puppet package on Etch. Works fine.
[2010/02/10 17:07:55] <fredden> thanks svend; I'll give that a go
[2010/02/10 17:08:58] <svend> To upgrade, I removed puppetd.conf and moved /etc/puppet/ssl to /var/lib/puppet/ssl.
[2010/02/10 17:09:38] @ Quit: labrown: Quit: Leaving
[2010/02/10 17:10:11] @ Quit: jmccune: Quit: heading home
[2010/02/10 17:12:19] @ Quit: tim|imac: Quit: tim|imac
[2010/02/10 17:14:40] @ Quit: LinuxCode: Quit: Connection Closed
[2010/02/10 17:15:56] @ Quit: poison: Remote host closed the connection
[2010/02/10 17:16:37] @ poison joined channel #puppet
[2010/02/10 17:25:18] <himynameisthor> maybe an hour and a half left in this class and we still haven't talked about exported resources, the dashboard, or any of the nagios resource types, which are pretty much the only reasons i signed up for this class
[2010/02/10 17:25:36] <miah> did you bring it up
[2010/02/10 17:25:45] <miah> be like "LUKE TALK ABOUT <stuff>"
[2010/02/10 17:25:50] <himynameisthor> several times. "yes, we'll talk about that"
[2010/02/10 17:25:55] <miah> remind
[2010/02/10 17:26:03] <himynameisthor> i have
[2010/02/10 17:26:06] <miah> "hey its only 1.5 hours until this is done, can we cover this stuff"
[2010/02/10 17:26:14] <miah> i'd be annoyed if i was in your spot
[2010/02/10 17:26:25] @ Quit: giskard: Read error: Connection timed out
[2010/02/10 17:26:29] <himynameisthor> i am
[2010/02/10 17:26:30] <himynameisthor> but yay
[2010/02/10 17:26:40] <himynameisthor> "i want to get started on exported resources here"
[2010/02/10 17:26:47] * himynameisthor pays attention again
[2010/02/10 17:26:51] <miah> good
[2010/02/10 17:27:49] @ disasteraverted joined channel #puppet
[2010/02/10 17:28:27] @ giskard joined channel #puppet
[2010/02/10 17:28:35] @ Quit: giskard: K-Lined
[2010/02/10 17:28:41] <disasteraverted> Hey all, quick question from a puppet n00b: Is there a way to audit puppet changes on a client? By that I mean take *no* action, just log/report on what would have happened.
[2010/02/10 17:28:54] <Volcane> run puppetd --test --noop
[2010/02/10 17:29:13] <Volcane> the --noop does it, the --test would do it, its just showing you what its doing
[2010/02/10 17:29:29] <disasteraverted> Sweet, thanks Volcane
[2010/02/10 17:32:56] @ Quit: ahasenack: Quit: Leaving
[2010/02/10 17:34:47] @ Quit: poison: Quit: Leaving...
[2010/02/10 17:36:35] <joe-mac> undefined method fact_merge for nil:NilClass
[2010/02/10 17:36:39] <joe-mac> anyoen know why>
[2010/02/10 17:36:42] <joe-mac> new node
[2010/02/10 17:36:49] <joe-mac> something to do with store configs i presume
[2010/02/10 17:42:42] @ alfism_ joined channel #puppet
[2010/02/10 17:43:34] <nigelk> Anyone here trying out Ubuntu Lucid with Puppet at the moment?
[2010/02/10 17:43:55] <nigelk> see thread on list... but we're getting all sorts of issues with ruby 1.8.7.249-1
[2010/02/10 17:48:04] @ Quit: ccaum: Quit: ccaum
[2010/02/10 17:48:15] @ Quit: blahdeblah: Quit: Leaving.
[2010/02/10 17:54:00] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/10 17:54:00] @ alfism_ is now known as alfism
[2010/02/10 17:54:26] @ Quit: nazgul5: Quit: Leaving.
[2010/02/10 17:54:30] @ Quit: gebi: Ping timeout: 276 seconds
[2010/02/10 17:54:36] @ OpenMedia joined channel #puppet
[2010/02/10 18:01:01] <gepetto> ::trac:: Whos Using Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet?version=204
[2010/02/10 18:02:06] @ Quit: stahnma: Quit: Caught sigterm, terminating...
[2010/02/10 18:02:13] @ Quit: malraid: Quit: malraid
[2010/02/10 18:02:14] <lwhalen> gentlemen, I know this is more than a little off-topic, but I am laughing so hard I'm crying: http://www.youtube.com/watch?v=nc0l_sPOsss&feature=player_embedded
[2010/02/10 18:02:56] <lwhalen> best part: "It sounded like a bomb went off!"
[2010/02/10 18:09:38] @ Spruit_elf joined channel #puppet
[2010/02/10 18:10:22] @ Quit: benkevan: Read error: Connection reset by peer
[2010/02/10 18:11:59] @ benkevan joined channel #puppet
[2010/02/10 18:12:04] <Spruit_elf> can someone help me with a puppet provider that doesn't want to work? I'm on puppet 24.8
[2010/02/10 18:13:18] @ Quit: paxos: Quit: paxos
[2010/02/10 18:13:51] <eric0> Spruit_elf: ?
[2010/02/10 18:13:54] <Spruit_elf> its this one: http://pastebin.com/m4bd10b75 and i placed it in a module/plugins/puppet/provider/pkgutil.rb
[2010/02/10 18:14:05] <monachus> lwhalen: omfg. god bless america.
[2010/02/10 18:14:07] <Spruit_elf> it gets synced but not loaded
[2010/02/10 18:14:49] <Spruit_elf> a facter plugin placed in module/plugins/facter does also get synced but does get loaded
[2010/02/10 18:15:10] @ Djelibeybi joined channel #puppet
[2010/02/10 18:16:27] <Spruit_elf> and i have this a config : http://pastebin.com/m37549b3
[2010/02/10 18:17:18] @ tonyskapunk joined channel #puppet
[2010/02/10 18:17:40] <Spruit_elf> eric0: do you have any clue why the provider doesnt work?
[2010/02/10 18:18:34] <eric0> there was just a thread on this..nigel said that facter and puppet plugins work a bit differently http://groups.google.com/group/puppet-users/t/4ccf988db6473a36
[2010/02/10 18:19:04] <himynameisthor> does the behavior for modifying properties of a resource in a subclass change when using exported or virtual resources?
[2010/02/10 18:20:33] <himynameisthor> or can i still do something like @@Nagios_host[$hostname] { contacts => "contactname" }?
[2010/02/10 18:20:40] <Spruit_elf> eric0: i read that thread and even gone so far as to put the provider in every libdir i could think of but still no success
[2010/02/10 18:22:42] <Spruit_elf> eric0: the plugin is in both environments, in the masters libdir and on the clients, but still it doesnt load (well actualy i noticed that it doesnt give a compile error. It errors after the catalog is send to the client
[2010/02/10 18:23:56] @ Quit: yarihm: Ping timeout: 245 seconds
[2010/02/10 18:24:01] @ Quit: jab_doa: Quit: Verlassend
[2010/02/10 18:25:56] @ Quit: bug: Quit: bug
[2010/02/10 18:26:38] @ Quit: kaptk2: Quit: Leaving.
[2010/02/10 18:27:33] <eric0> i havent done the automatic distribution myself, i make separate packages that put them under /usr/local/lib/ruby
[2010/02/10 18:28:07] @ Quit: themurph: Quit: themurph
[2010/02/10 18:28:47] @ Quit: jcape: Ping timeout: 246 seconds
[2010/02/10 18:29:36] @ mmm9 joined channel #puppet
[2010/02/10 18:30:01] @ blahdeblah joined channel #puppet
[2010/02/10 18:31:34] <Spruit_elf> grmbl... it really annoys me that it doesnt work and that there is nog obvious reason why i doesnt work :S
[2010/02/10 18:33:04] @ Quit: jes5: Quit: Leaving.
[2010/02/10 18:33:26] @ disasteraverted left channel #puppet ()
[2010/02/10 18:33:58] @ plathrop is now known as plathrop-away
[2010/02/10 18:34:08] @ plathrop-away is now known as plathrop
[2010/02/10 18:35:20] @ Quit: autowidget: Ping timeout: 256 seconds
[2010/02/10 18:37:31] @ autowidget joined channel #puppet
[2010/02/10 18:44:00] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 18:47:51] @ Quit: RSpacePope: Ping timeout: 252 seconds
[2010/02/10 18:49:30] @ themurph joined channel #puppet
[2010/02/10 19:01:42] @ fzzzt joined channel #puppet
[2010/02/10 19:02:14] @ autonomouswidget joined channel #puppet
[2010/02/10 19:03:12] <fzzzt> so
[2010/02/10 19:03:32] <fzzzt> i have a new project...
[2010/02/10 19:03:46] <fzzzt> barely
[2010/02/10 19:03:51] <fzzzt> oops wrong channel
[2010/02/10 19:05:25] <fzzzt> so i have to make a map of what each node requires, so i can tell if a node should be updated after an arbitrary commit
[2010/02/10 19:05:27] @ Quit: autowidget: Ping timeout: 240 seconds
[2010/02/10 19:05:27] @ autonomouswidget is now known as autowidget
[2010/02/10 19:05:27] <fzzzt> \o/
[2010/02/10 19:06:37] @ lou314 joined channel #puppet
[2010/02/10 19:16:01] @ Quit: bobbyz: Ping timeout: 264 seconds
[2010/02/10 19:20:24] @ Quit: RageLink: Quit: up up and away
[2010/02/10 19:29:22] @ webx joined channel #puppet
[2010/02/10 19:29:38] @ Quit: webx: Client Quit
[2010/02/10 19:29:59] @ Quit: benkevan: Remote host closed the connection
[2010/02/10 19:31:24] @ Quit: mmm9: Quit: Leaving...
[2010/02/10 19:37:16] <WALoeIII> I think I have this bug: http://projects.reductivelabs.com/issues/2435 on 0.25.3
[2010/02/10 19:37:35] <WALoeIII> the first time a puppetmaster is spawned the catalog run doesn't work but then just reprompting it I don't get the errors
[2010/02/10 19:38:09] <WALoeIII> Feb 10 16:26:52 ops puppetmasterd[3098]: Could not find classes monit, cron, common, litters my /var/log/messages
[2010/02/10 19:38:31] <WALoeIII> and its because I use puppetmaster as a rack app behind passenger so they are quite frequently restarted
[2010/02/10 19:39:02] @ webx joined channel #puppet
[2010/02/10 19:40:01] @ weaselkeeper joined channel #puppet
[2010/02/10 19:40:25] <webx> reductivelabs.com trac down?
[2010/02/10 19:49:23] @ Quit: webx: Quit: ..(cyp): [BX] Tickle-Me Elmo uses BitchX. *giggle* *giggle* *giggle*
[2010/02/10 19:49:57] <weaselkeeper> looks like the DB is down?
[2010/02/10 19:51:04] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/10 19:51:21] <fzzzt> nobody here but us chickens
[2010/02/10 19:51:42] * weaselkeeper weeps for the documents he can't currently access
[2010/02/10 19:57:32] @ Quit: msf: Ping timeout: 260 seconds
[2010/02/10 20:01:52] @ Quit: autowidget: Quit: autowidget
[2010/02/10 20:04:12] <blahdeblah> Hi. Is there a way i can set up a bunch of files to come from the same source without copying the whole directory?
[2010/02/10 20:05:13] <blahdeblah> I figure i can use a function which takes the file and its source as parameters, but surely there has to be a way where i can just shove an array of filenames in and have it grab them all from the same directory on the puppet server.
[2010/02/10 20:06:09] <fzzzt> you could set a default
[2010/02/10 20:06:45] @ Quit: themurph: Quit: themurph
[2010/02/10 20:08:36] @ `rett left channel #puppet ()
[2010/02/10 20:10:57] @ Quit: shenson: Quit: /me taps out
[2010/02/10 20:17:23] @ autowidget joined channel #puppet
[2010/02/10 20:17:54] @ Quit: svend: Ping timeout: 240 seconds
[2010/02/10 20:18:50] @ jcape joined channel #puppet
[2010/02/10 20:19:05] @ tonyskapunk left channel #puppet ()
[2010/02/10 20:19:37] @ Quit: Whoop: Ping timeout: 264 seconds
[2010/02/10 20:21:31] @ swygue joined channel #puppet
[2010/02/10 20:23:25] @ msf joined channel #puppet
[2010/02/10 20:25:39] <blahdeblah> I guess i'll have to use a define and do that
[2010/02/10 20:28:08] @ Quit: Spruit_elf: Quit: Spruit_elf
[2010/02/10 20:31:35] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/10 20:35:03] <fzzzt> i think it's neat that you can still access pastie.org/1
[2010/02/10 20:44:07] @ crashdummyMCH joined channel #puppet
[2010/02/10 20:46:16] @ nmi joined channel #puppet
[2010/02/10 20:48:20] @ Whoop joined channel #puppet
[2010/02/10 20:51:36] <lwhalen> alright, why is this wrong? http://www.pastie.org/819356
[2010/02/10 20:51:50] <lwhalen> it's supposed to be a custom facter fact, but evidently 'return' is... not good
[2010/02/10 20:53:13] @ Quit: nigelk: Quit: nigelk
[2010/02/10 20:55:33] <crashdummyMCH> hi, does anyone have puppet and zypper repo management/creation.
[2010/02/10 20:58:26] <lwhalen> better yet, is there some kind of Facter documentation that'll list the various methods available to me?
[2010/02/10 20:59:27] @ Quit: rmiller4pi8: Ping timeout: 240 seconds
[2010/02/10 21:04:12] @ plathrop is now known as plathrop-away
[2010/02/10 21:04:49] <lwhalen> I'm also having trouble figuring out how 'setcode' is supposed to work
[2010/02/10 21:05:03] <lwhalen> the facter docs just say "Set our code for returning a value"
[2010/02/10 21:05:28] <lwhalen> well, that's great, but it'd be nice to be able to add some control statements in there
[2010/02/10 21:08:10] @ stahnma joined channel #puppet
[2010/02/10 21:08:11] @ Quit: stahnma: Changing host
[2010/02/10 21:08:11] @ stahnma joined channel #puppet
[2010/02/10 21:10:35] @ grg350 joined channel #puppet
[2010/02/10 21:13:26] @ cliff-hm joined channel #puppet
[2010/02/10 21:16:30] <lwhalen> I'm poking through existing facts trying to figure out how control statements are supposed to work in facter, but I'm not having much luck. For example:
[2010/02/10 21:16:39] <lwhalen> if %x{id} =~ /^uid=\d+\((\S+)\)/
[2010/02/10 21:16:48] <tessier> hah...neato. That's twice now that puppet has automatically restarted services that needed restarting. Glad to see this stuff actually works.
[2010/02/10 21:17:14] <lwhalen> I understand that it's parsing for a regex, and I'm presuming it's sticking it in the {id} variable
[2010/02/10 21:17:28] <lwhalen> however, wtf does "%x" do?
[2010/02/10 21:18:22] @ svend joined channel #puppet
[2010/02/10 21:19:58] @ Quit: bagpuss_thecat: Ping timeout: 258 seconds
[2010/02/10 21:20:11] @ Quit: doubleukay: Ping timeout: 245 seconds
[2010/02/10 21:24:20] @ Quit: mellen: Ping timeout: 260 seconds
[2010/02/10 21:24:35] <tessier> lwhalen: Looks like an array reference or something. I'm not familiar with Ruby though.
[2010/02/10 21:25:00] <lwhalen> yeah, neither am I
[2010/02/10 21:25:02] <tessier> That's how perl does it though. And Ruby seems very perlish. That's one reason why I've resisted learning it. But I have a feeling I will end up needing it to continue using puppet.
[2010/02/10 21:25:09] <grg350> problem with puppetrun
[2010/02/10 21:25:09] <grg350> On client machine, added listen=true on /etc/puppet/puppet.conf
[2010/02/10 21:25:09] <grg350> [puppetd]
[2010/02/10 21:25:09] <grg350> listen=true
[2010/02/10 21:25:10] <grg350> Also created the namespaceauth.conf defining the puppetrunner.
[2010/02/10 21:25:10] <grg350> On the server the namespaceauth.conf has puppetmaster,fileserver directive allowed to the client machine.
[2010/02/10 21:25:11] <grg350> When i ran #puppetrun --host client-machine.domain I don't see any changes on the client. Also, i don't see any traffic to the client (with tcpdump). Am i missing anything?
[2010/02/10 21:25:33] <lwhalen> I'm just trying to do a simple control statement, and it's flipping out facter
[2010/02/10 21:26:19] <grg350> has anyone got successful running puppetrun?
[2010/02/10 21:26:24] <tessier> lwhalen: Ah. Making your own fact?
[2010/02/10 21:26:29] <lwhalen> trying
[2010/02/10 21:26:30] <tessier> grg350: I have no idea what puppetrun even does.
[2010/02/10 21:26:30] <lwhalen> and failing
[2010/02/10 21:26:56] <tessier> lwhalen: I suspect a general book on Ruby would help. Pulling Strings with Puppet has a section on custom facts which seems pretty good too.
[2010/02/10 21:27:07] <lwhalen> I've got Pulling Strings
[2010/02/10 21:27:12] <lwhalen> ...at the office :-)
[2010/02/10 21:28:00] @ Djelibeybi joined channel #puppet
[2010/02/10 21:28:03] <grg350> tessier from puppetrun man page
[2010/02/10 21:28:03] <grg350> This script can be used to connect to a set of machines running +puppetd+ and trigger them to run their configurations. The most common usage would be to specify a class of hosts and a set of tags, and +puppetrun+ would look up in LDAP all of the hosts matching that class, then connect to each host and trigger a run of all of the objects with the specified tags
[2010/02/10 21:28:11] <tessier> grg350: I suspected as much. I got your /msg.
[2010/02/10 21:28:25] <tessier> grg350: I'm surprised puppetrun doesn't require ssh access or something.
[2010/02/10 21:28:45] <tessier> grg350: Firewall? NAT?
[2010/02/10 21:29:29] <grg350> but I don't even see traffic originating from the server (as seen in tcpdump).
[2010/02/10 21:30:17] @ doubleukay joined channel #puppet
[2010/02/10 21:31:24] @ doubleukay left channel #puppet ()
[2010/02/10 21:31:28] @ fredden left channel #puppet ("Leaving")
[2010/02/10 21:31:34] @ Quit: WALoeIII: Ping timeout: 256 seconds
[2010/02/10 21:34:55] <grg350> the client and server are running on the same LAN and no firewall between them
[2010/02/10 21:36:04] @ pheezy joined channel #puppet
[2010/02/10 21:36:05] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 21:36:38] @ bug joined channel #puppet
[2010/02/10 21:36:39] @ pheezy joined channel #puppet
[2010/02/10 21:36:49] <fzzzt> i just started using puppetrun yesterday
[2010/02/10 21:36:58] @ crashdummyMCH left channel #puppet ()
[2010/02/10 21:38:04] @ Quit: pheezy: Remote host closed the connection
[2010/02/10 21:38:40] @ pheezy joined channel #puppet
[2010/02/10 21:38:54] <fzzzt> you see nothing in tcpdump on the machine you're running puppetrun on?
[2010/02/10 21:39:49] @ RageLink joined channel #puppet
[2010/02/10 21:40:30] <stahnma> lwhalen: %x is basically shorthand for execute
[2010/02/10 21:40:41] <lwhalen> is that a facter thing, or a ruby thing?
[2010/02/10 21:41:13] <stahnma> so in that case, it's running the id command and comparing it to see if the string is like uid= set of numbers then whitespace
[2010/02/10 21:41:15] <stahnma> ruby thing
[2010/02/10 21:41:45] <lwhalen> interesting
[2010/02/10 21:41:59] <stahnma> in ruby you can do backticks, system(), %x{} and probably more methods to do shell commands
[2010/02/10 21:42:16] <lwhalen> ahhh ok, so those three are all pretty much equivalent?
[2010/02/10 21:42:37] <stahnma> more or less
[2010/02/10 21:42:47] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/10 21:42:53] <stahnma> some return standard out/err as a string, some only output on the console, some trap errors
[2010/02/10 21:42:59] <lwhalen> gotcha
[2010/02/10 21:43:12] <lwhalen> so they're exactly the same, except where they're different ;-)
[2010/02/10 21:43:26] <stahnma> the convention in facter seems to be use %x{commands}
[2010/02/10 21:43:45] <stahnma> that's how i have done mine, which were modelled from existing sources
[2010/02/10 21:44:04] <lwhalen> so should I rewrite this? http://www.pastie.org/819398
[2010/02/10 21:44:49] <lwhalen> to this: http://www.pastie.org/819400
[2010/02/10 21:45:24] <stahnma> you certainly could
[2010/02/10 21:45:48] <stahnma> you could also just run the command at the top and then do the if statement on the results
[2010/02/10 21:45:57] <stahnma> but that's probably more of programmer preference
[2010/02/10 21:47:10] <lwhalen> heh fair enough
[2010/02/10 21:47:30] <lwhalen> I'm getting frustrated with this because I have this huge (well, middling) bag of Perl knowledge, and for the most part that's all right out the window with Ruby :-)
[2010/02/10 21:47:48] @ fzzzt left channel #puppet ()
[2010/02/10 21:47:55] <lwhalen> and natch, I'm on Yet Another(tm) unreasonable deadline from The Man
[2010/02/10 21:48:50] <stahnma> yeah, it happens
[2010/02/10 21:48:59] <stahnma> I moved from perl to php to perl to python to ruby
[2010/02/10 21:49:11] <stahnma> and thus far, I like ruby the most
[2010/02/10 21:49:28] <stahnma> facts are not too bad to write though
[2010/02/10 21:49:47] <stahnma> they're actually a pretty decent intro to simplistic ruby
[2010/02/10 21:50:11] <stahnma> IMHO, as long as you don't start with Rails, ruby is fun to learn and makes sense
[2010/02/10 21:50:47] @ Quit: jcape: Ping timeout: 265 seconds
[2010/02/10 21:50:59] <lwhalen> heh, fair enough!
[2010/02/10 21:51:19] <lwhalen> it certainly SEEMS fun, I just wish I wasn't under the gun to produce code Yesterday
[2010/02/10 21:55:27] @ Quit: agaffney: Ping timeout: 240 seconds
[2010/02/10 21:59:20] @ Quit: swygue: Ping timeout: 256 seconds
[2010/02/10 22:00:37] @ Djelibeybi joined channel #puppet
[2010/02/10 22:00:45] @ Quit: lilmatt: Quit: lilmatt
[2010/02/10 22:01:53] @ Djeli joined channel #puppet
[2010/02/10 22:04:46] @ Quit: grg350: Ping timeout: 245 seconds
[2010/02/10 22:05:06] @ Quit: Djelibeybi: Ping timeout: 240 seconds
[2010/02/10 22:07:15] @ rmiller4pi8 joined channel #puppet
[2010/02/10 22:07:18] @ Quit: autowidget: Quit: autowidget
[2010/02/10 22:07:21] @ mellen joined channel #puppet
[2010/02/10 22:08:56] @ Quit: maxagaz: Ping timeout: 245 seconds
[2010/02/10 22:14:28] @ swygue joined channel #puppet
[2010/02/10 22:16:08] @ autowidget joined channel #puppet
[2010/02/10 22:18:36] @ Quit: murkk: Quit: murkk
[2010/02/10 22:19:09] @ pinoyskull joined channel #puppet
[2010/02/10 22:21:06] @ WALoeIII joined channel #puppet
[2010/02/10 22:24:06] @ tonyskapunk joined channel #puppet
[2010/02/10 22:26:51] @ Quit: autowidget: Quit: autowidget
[2010/02/10 22:30:18] @ Quit: euclid: Ping timeout: 240 seconds
[2010/02/10 22:31:00] @ euclid joined channel #puppet
[2010/02/10 22:35:25] @ grg350 joined channel #puppet
[2010/02/10 22:36:32] @ maxagaz joined channel #puppet
[2010/02/10 22:39:48] @ Quit: pinoyskull: Quit: Leaving
[2010/02/10 22:50:48] <stahnma> if you're running puppet locally, and putting facts in a module under (moduledir/lib) do they still get processed properly?
[2010/02/10 22:53:42] <stahnma> basically, I want to see if a fact is getting parsed.
[2010/02/10 22:53:53] @ Quit: ashp: Ping timeout: 260 seconds
[2010/02/10 22:54:51] <stahnma> or should FACTERLIB path be updated when I set modulepath on the command line is really what I am asking I guess
[2010/02/10 22:56:00] @ cmdln joined channel #puppet
[2010/02/10 22:56:37] @ ashp joined channel #puppet
[2010/02/10 23:04:42] @ Quit: mellen: Ping timeout: 252 seconds
[2010/02/10 23:09:43] @ Quit: Djeli: Quit: Leaving
[2010/02/10 23:15:36] @ Quit: ambroff: Ping timeout: 245 seconds
[2010/02/10 23:17:58] @ fluxdude2 joined channel #puppet
[2010/02/10 23:18:40] @ Quit: cliff-hm: Ping timeout: 256 seconds
[2010/02/10 23:20:36] @ Quit: fluxdude: Ping timeout: 245 seconds
[2010/02/10 23:23:23] @ Quit: tonyskapunk: Quit: This computer has gone to sleep
[2010/02/10 23:23:25] @ pheezy_ joined channel #puppet
[2010/02/10 23:23:30] @ Quit: gaveen: Remote host closed the connection
[2010/02/10 23:24:48] @ tonyskapunk joined channel #puppet
[2010/02/10 23:26:00] @ Quit: pheezy: Ping timeout: 265 seconds
[2010/02/10 23:28:56] @ Quit: tonyskapunk: Ping timeout: 245 seconds
[2010/02/10 23:29:35] @ themurph joined channel #puppet
[2010/02/10 23:38:46] @ mellen joined channel #puppet
[2010/02/10 23:43:21] @ Quit: mikerowehl: Quit: mikerowehl
[2010/02/10 23:51:09] @ Quit: themurph: Quit: themurph

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