Saturday, 2010-05-29

[2010/05/29 00:17:00] @ Log started by gepetto
[2010/05/29 00:17:00] @ tonyskap` joined channel #puppet
[2010/05/29 00:19:03] @ Quit: tonyskapunk: Ping timeout: 276 seconds
[2010/05/29 00:21:42] @ comprehensive joined channel #puppet
[2010/05/29 00:26:00] <jamesturnbull> AngryParsley: puppetlast in the ext directory of the tarball
[2010/05/29 00:26:39] <jamesturnbull> AngryParsley: http://github.com/jamtur01/puppet/blob/tickets/master/3912/ext/puppetlast
[2010/05/29 00:27:18] <jamesturnbull> AngryParsley: ah sorry - try the PL branch - http://github.com/reductivelabs/puppet/blob/master/ext/puppetlast
[2010/05/29 00:30:57] @ herdingcat joined channel #puppet
[2010/05/29 00:33:19] @ Quit: bug: Quit: bug
[2010/05/29 00:37:00] @ flessa joined channel #puppet
[2010/05/29 00:39:01] @ bug joined channel #puppet
[2010/05/29 00:40:59] @ Quit: the|herbivore1: Ping timeout: 240 seconds
[2010/05/29 00:42:52] @ webx joined channel #puppet
[2010/05/29 00:43:11] <webx> anyone know if there is a way to check network interface speed without something like ethtool and grep ?
[2010/05/29 00:44:24] <ohadlevy> webx: whats wrong with ethtool?
[2010/05/29 00:46:28] <blood> hrmm i just setup puppetmaster and 1 client to test. when i run "puppetd --server puppet.domain.local --waitforcert 60 --test" on client i get the following error "Could not retrieve catalog from remote server: hostname was not match with the server certificate"
[2010/05/29 00:46:30] @ the|herbivore joined channel #puppet
[2010/05/29 00:47:20] <ohadlevy> blood: you probably need to clean the old certificate on the master? puppetca --clean
[2010/05/29 00:48:07] <blood> k let me try that
[2010/05/29 00:50:01] <webx> ohadlea: nothing's "wrong" per se, but I'd like a more direct approach if possible. if there's nothing obvious out there, then I'll use it but I'd rather just go directly to wherever ethtool is reading it from.
[2010/05/29 00:50:14] <webx> ohadlevy*
[2010/05/29 00:50:53] <blood> ohadlevy: cleaned master but client keeps getting same error
[2010/05/29 00:51:41] @ Quit: webx: Quit: leaving
[2010/05/29 00:52:55] <blood> think i know whats wrong
[2010/05/29 00:53:01] <blood> in puppet.conf, what should certname be set to?
[2010/05/29 00:53:32] @ Quit: the|herbivore: Ping timeout: 260 seconds
[2010/05/29 00:53:42] @ the|herbivore joined channel #puppet
[2010/05/29 01:00:07] @ Demosthenes joined channel #puppet
[2010/05/29 01:00:39] <jamesturnbull> blood: whatever you like - that option overrides the normal certname which is usually whatever the host resolves to
[2010/05/29 01:00:46] <blood> fixed it
[2010/05/29 01:00:53] <blood> ah
[2010/05/29 01:00:55] <blood> thanks for info
[2010/05/29 01:01:25] <blood> i had to clean out my puppetca then reissue cert for master server
[2010/05/29 01:01:29] <blood> once i did that, client worked
[2010/05/29 01:10:17] <jamesturnbull> ohadlevy: new Foreman release looks cool
[2010/05/29 01:10:26] <jamesturnbull> ohadlevy: like the puppetdoc linkages
[2010/05/29 01:10:56] <blood> jamesturnbull: how do i have my client reissue a certreq?
[2010/05/29 01:11:08] <blood> after i cleared puppetca, i can no longer get my client to issue another certreq
[2010/05/29 01:11:16] <jamesturnbull> blood: delete /var/lib/puppet/ssl on the client
[2010/05/29 01:11:20] <blood> thanks
[2010/05/29 01:19:06] @ Quit: comprehensive: Read error: Connection reset by peer
[2010/05/29 01:19:09] <blood> jamesturnbull: you know where it's located on osx?
[2010/05/29 01:19:16] <blood> that folder doesn't exist on my osx client
[2010/05/29 01:19:21] <jamesturnbull> ah hang on let me look
[2010/05/29 01:19:24] <blood> thanks
[2010/05/29 01:19:29] @ comprehensive joined channel #puppet
[2010/05/29 01:19:46] @ machiel joined channel #puppet
[2010/05/29 01:19:47] <jamesturnbull> blood: might be /var/puppet?
[2010/05/29 01:20:07] <blood> i have that folder
[2010/05/29 01:20:10] <blood> i dont see ssl in there though
[2010/05/29 01:20:30] <jamesturnbull> blood: blood ah
[2010/05/29 01:20:35] <jamesturnbull> try /etc/puppet/ssl
[2010/05/29 01:20:37] <blood> bucket/client_yaml/clientbucket/lib/log/facts/reports/rrd/run/state
[2010/05/29 01:20:47] <blood> k sec
[2010/05/29 01:20:48] <jamesturnbull> sorry - I don't usually run Puppet on OSX so I had to go look
[2010/05/29 01:21:22] <blood> ok deleted the ssl folder there but when i ran puppetd again it didnt request a new cert
[2010/05/29 01:21:24] <blood> maybe need reboot?
[2010/05/29 01:26:31] <blood> ok it's workign now , new error
[2010/05/29 01:27:13] <blood> "Could not erquest certificate: Could not write /etc/puppet/ssl/private_keys/pclient1.pem to privatekeydir: Invalid argument
[2010/05/29 01:27:47] <blood> but it seems to continue, so let me sign the cert
[2010/05/29 01:28:45] @ lak joined channel #puppet
[2010/05/29 01:29:55] <blood> yea errors out eventually
[2010/05/29 01:29:56] <blood> hrmm
[2010/05/29 01:30:22] <blood> "Could not erquest certificate: Could not write /etc/puppet/ssl/certs/pclient1.pem to certdir: Invalid argument
[2010/05/29 01:34:06] <jamesturnbull> hmmm weird
[2010/05/29 01:34:10] <jamesturnbull> you running as root?
[2010/05/29 01:35:15] @ Quit: machiel: Ping timeout: 252 seconds
[2010/05/29 01:41:03] @ Quit: flessa: Quit: Page closed
[2010/05/29 01:41:08] <ReinH> ohadlevy: lots of good stuff in tat foreman release :)
[2010/05/29 01:41:23] <ReinH> *that
[2010/05/29 01:46:25] <blood> jamesturnbull: yes
[2010/05/29 01:46:40] <blood> when i ran as nonroot the cert generated fine
[2010/05/29 01:46:47] @ Quit: lak: Quit: lak
[2010/05/29 01:46:58] <blood> but i was unable to apply config changes since puppetd wasnt running as root
[2010/05/29 01:47:14] <blood> the client is running 10.6.1
[2010/05/29 01:47:18] <blood> osx
[2010/05/29 01:47:34] <jamesturnbull> blood: can you run with --trace --debug --verbose and pastie.com the output?
[2010/05/29 01:47:55] <blood> sure one sec
[2010/05/29 01:49:20] @ Chiku joined channel #puppet
[2010/05/29 01:50:20] <blood> very odd, now it works
[2010/05/29 01:52:22] <blood> sweet it changed my test file
[2010/05/29 01:52:25] <blood> =)
[2010/05/29 01:52:34] <blood> so i guess if it errors like that, i just have to wait it out
[2010/05/29 01:52:56] @ Quit: mellen: Ping timeout: 260 seconds
[2010/05/29 01:53:07] <blood> or i just had to run it again for it to work, who knows
[2010/05/29 01:54:41] <blood> is dashboard a gui for puppet?
[2010/05/29 01:54:42] @ mellen joined channel #puppet
[2010/05/29 02:13:18] @ brothers left channel #puppet ()
[2010/05/29 02:14:25] @ Quit: Chiku: Ping timeout: 258 seconds
[2010/05/29 02:22:16] <jamesturnbull> blood: yes
[2010/05/29 02:22:22] <jamesturnbull> blood: web-based GUI
[2010/05/29 02:29:28] @ Quit: tonyskap`: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/05/29 02:52:14] @ Quit: comprehensive: Quit: Leaving.
[2010/05/29 02:56:06] @ alban2 joined channel #puppet
[2010/05/29 02:56:27] @ Chiku joined channel #puppet
[2010/05/29 02:58:34] <blood> real nice
[2010/05/29 02:58:40] <blood> i'm going to test it out
[2010/05/29 02:58:49] <blood> i just got my first pkg deployment working =)
[2010/05/29 02:59:07] <blood> just need to get used to the puppet language, hopefully they move to python soon
[2010/05/29 02:59:32] @ Quit: weizhang: Ping timeout: 272 seconds
[2010/05/29 03:08:39] <blood> installing dashboard now=)
[2010/05/29 03:09:23] <ohadlevy> jamesturnbull: thanks :)
[2010/05/29 03:11:21] <ohadlevy> ReinH: yeah, almost 100 issues
[2010/05/29 03:15:03] <blood> anyone install dashboard yet?
[2010/05/29 03:23:37] <blood> sweet think i'm almost done
[2010/05/29 03:29:03] <blood> PUPPETMASTER_EXTRA_OPTS=”––reports puppet_dashboard”
[2010/05/29 03:29:07] <blood> where do i find that on ubuntu?
[2010/05/29 03:29:25] <blood> i'm following a redhat/centos guide
[2010/05/29 03:29:42] <blood> i already set reports=true on my client
[2010/05/29 03:34:01] <joschi> blood: /etc/default/puppetmaster, variable DAEMON_OPTS
[2010/05/29 03:34:39] <blood> thanks
[2010/05/29 03:34:46] <blood> any guide for ubuntu?
[2010/05/29 03:34:50] @ giskard joined channel #puppet
[2010/05/29 03:36:46] <blood> my osx has no /etc/default
[2010/05/29 03:37:16] <blood> err
[2010/05/29 03:37:22] <blood> duh
[2010/05/29 03:37:41] <blood> got it thanks
[2010/05/29 03:42:05] <Volcane> just set it in your puppet.conf
[2010/05/29 03:43:54] <blood> Volcane: is there a ubuntu guide for setting up puppet dashboard?
[2010/05/29 03:44:01] <blood> i got it all installed with rake
[2010/05/29 03:44:12] <blood> i think i need to install passenger now
[2010/05/29 03:44:22] <blood> apache2/mysql already setup
[2010/05/29 03:44:24] <Volcane> no idea, just saying if you need to configure puppetmaster options you should rather set it in puppet.conf in the [puppetmasterd] section
[2010/05/29 03:44:32] <blood> ah gotcha
[2010/05/29 03:44:33] <blood> thanks
[2010/05/29 03:44:33] <Volcane> same for things like report=true on the client, always in puppet.conf
[2010/05/29 03:44:47] <blood> yup i did report=true in puppet.conf
[2010/05/29 03:45:50] <joschi> ReinH: was there any particular reason why you replaced flot with grafico for graphing in puppet dashboard?
[2010/05/29 03:49:04] @ fbe_ joined channel #puppet
[2010/05/29 03:50:11] <whack> joschi: if I had to guess, it seems like flot has less features than grafico
[2010/05/29 03:50:16] <whack> though I've never used grafico, only flot.
[2010/05/29 04:03:02] <blood> nice, got dashboard working=)
[2010/05/29 04:03:42] <blood> Volcane: do i add DAEMON_OPTS=--reports puppet_dashboard under puppetmasterd in puppet.conf?
[2010/05/29 04:06:59] <blood> this is the last thing i need to do get working
[2010/05/29 04:07:00] <joschi> blood: no. either you add "reports = puppet_dashboard" in the puppetmasterd section of your puppet.conf *OR* you add "--reports puppet_dashboard" to DAEMON_OPTS in /etc/default/puppetmasterd
[2010/05/29 04:07:11] <blood> joschi: thank you
[2010/05/29 04:10:02] <masterzen> duritong: I'm sorry for last night. I just got your direct tweet. Nobody in the group I was with (ie puppetlabs people) had any connectivity. Are you still in ghent?
[2010/05/29 04:13:57] <ohadlevy> masterzen: sounds like fun:)
[2010/05/29 04:14:12] <masterzen> ohadlevy: yep, that was pretty good!
[2010/05/29 04:14:47] <masterzen> ohadlevy: looooots of Belgian beer, almost no sleep, really good sessions. I finally could put a face on tons of this channel nicknames.
[2010/05/29 04:15:10] <ohadlevy> did the name tag include the irc nicks this time? :)
[2010/05/29 04:15:39] @ ckauhaus joined channel #puppet
[2010/05/29 04:18:08] @ m1nish joined channel #puppet
[2010/05/29 04:20:13] <masterzen> ohadlevy: no, but we wrote our nick on them
[2010/05/29 04:20:27] <ohadlevy> :)
[2010/05/29 04:20:46] <ohadlevy> masterzen: any interesting discussions?
[2010/05/29 04:20:59] <masterzen> I hope you (and I) will be able to go to the next one
[2010/05/29 04:21:37] <masterzen> ohadlevy: atually yes, interesting conversations about the code with Luke and Markus. Alessandro did a really good talk about module standards.
[2010/05/29 04:21:48] <masterzen> ohadlevy: the open space session were good to
[2010/05/29 04:22:59] <ohadlevy> I hope I could make it next time too
[2010/05/29 04:23:19] <ohadlevy> masterzen: btw: puppetdoc integration is now included in foreman :)
[2010/05/29 04:23:37] <masterzen> ohadlevy: cool! thanks for adding this feature
[2010/05/29 04:23:56] <ohadlevy> masterzen: thank you for puppetdoc :)
[2010/05/29 04:24:14] <ohadlevy> masterzen: let me know if you have any feedback ;)
[2010/05/29 04:24:42] <masterzen> ohadlevy: I'm going to disconnect myself, I'm still in my hotel in Ghent and my (paid) Internet connection is running out. See you soon when I'll be back home :-)
[2010/05/29 04:24:52] <ohadlevy> :)
[2010/05/29 04:24:57] <ohadlevy> safe travel
[2010/05/29 04:25:02] <masterzen> thanks, see ya
[2010/05/29 04:26:46] <blood> what do i do after running git-buildpackage?
[2010/05/29 04:26:51] <blood> i cant find the package that it built
[2010/05/29 04:27:11] <blood> nm
[2010/05/29 04:27:12] <blood> found it
[2010/05/29 04:30:05] @ allsystemsarego joined channel #puppet
[2010/05/29 04:32:42] <duritong> masterzen: no problem
[2010/05/29 04:32:51] <duritong> masterzen: I'm just reactivating as well
[2010/05/29 04:33:08] @ Quit: ckauhaus: Read error: Operation timed out
[2010/05/29 04:33:49] <blood> how do i force a puppet client to talk to my puppet_dashboard?
[2010/05/29 04:33:58] <blood> i already added report=true to the puppet.conf
[2010/05/29 04:35:14] <blood> think i got it
[2010/05/29 04:36:17] <blood> hrmm i get this warning: "Value of 'preferred_serialization_format' (pson) is invalid for report, using default (marshal) "
[2010/05/29 04:36:21] <blood> that normal?
[2010/05/29 04:36:51] <duritong> masterzen: but we're moving to bruxelles this day
[2010/05/29 04:37:06] @ Quit: Eghie: Ping timeout: 245 seconds
[2010/05/29 04:41:05] @ gaveen joined channel #puppet
[2010/05/29 04:41:26] <blood> where do i copy puppet_dashboard.rb to in ubuntu?
[2010/05/29 04:43:20] <blood> think i found it
[2010/05/29 04:44:51] <ohadlevy> blood: you might compare it to foreman instructions (and puppet module) its almost the same http://github.com/ohadlevy/puppet-foreman
[2010/05/29 04:47:10] <blood> well i just need help with this last thing
[2010/05/29 04:47:28] <blood> i copied puppet_dashboard.rb to /usr/lib/ruby/1.8/puppet/reports
[2010/05/29 04:47:35] <blood> how should i run puppetmasterd now?
[2010/05/29 04:47:58] <blood> do i add --reports /usr/lib/ruby/1.8/puppet/reports ?
[2010/05/29 04:50:25] @ nnec joined channel #puppet
[2010/05/29 04:50:58] @ Eghie joined channel #puppet
[2010/05/29 04:51:07] <blood> ah i think i found another entry i need
[2010/05/29 04:52:56] <blood> finally
[2010/05/29 04:52:58] <blood> got it working
[2010/05/29 04:53:17] <blood> noone mentioned the crucial reportdir entry =)
[2010/05/29 04:57:24] <joschi> blood: now that you've got dashboard running, you should document the necessary steps for other people ;)
[2010/05/29 05:03:38] <tim|mac> good morning all... everyone back from Gent? :)
[2010/05/29 05:07:22] @ Quit: herdingcat: Ping timeout: 264 seconds
[2010/05/29 05:20:16] @ Quit: m1nish: Quit: Leaving
[2010/05/29 05:21:04] @ m1nish joined channel #puppet
[2010/05/29 05:22:56] <duritong> tim|mac: nah still lost with belgium beer :P
[2010/05/29 05:23:12] <tim|mac> at least it's for the right reasons ;-)
[2010/05/29 05:23:31] <duritong> hehe
[2010/05/29 05:34:18] @ nexx joined channel #puppet
[2010/05/29 05:36:02] @ Quit: nexx: Client Quit
[2010/05/29 05:36:21] @ nexx joined channel #puppet
[2010/05/29 05:58:50] @ Quit: Brownoxford: Ping timeout: 240 seconds
[2010/05/29 06:01:00] <ohadlevy> any videos from puppetcamp yet?
[2010/05/29 06:02:12] * blkperl is playing with facter on windows at 3 in the morning
[2010/05/29 06:03:16] @ thegcat joined channel #puppet
[2010/05/29 06:17:40] <gepetto> ::redmine:: Wiki edit: Wiki (#22) @ http://projects.reductivelabs.com/projects/1/wiki/Wiki?version=22 (by Jeff McCune)
[2010/05/29 06:22:22] @ Quit: themurph: Ping timeout: 264 seconds
[2010/05/29 06:26:36] @ Quit: _^Sarge^_: Remote host closed the connection
[2010/05/29 06:29:40] <gepetto> ::redmine:: Wiki edit: Bug_Submission_Guide (#1) @ http://projects.reductivelabs.com/projects/1/wiki/Bug_Submission_Guide?version=1 (by Jeff McCune)
[2010/05/29 06:40:07] @ shenson joined channel #puppet
[2010/05/29 06:45:36] @ Quit: alban2: Quit: Leaving.
[2010/05/29 06:49:34] @ jel joined channel #puppet
[2010/05/29 06:51:20] <jel> How can I call something like firewall::accept_tcp(80) and later pass something like $tcp_ports = all_accepted_tcp() to a template. Is there a better approach?
[2010/05/29 06:58:50] @ jab_doa joined channel #puppet
[2010/05/29 07:08:50] @ jense joined channel #puppet
[2010/05/29 07:16:49] @ adrian_broher joined channel #puppet
[2010/05/29 07:31:09] @ cliff-hm joined channel #puppet
[2010/05/29 07:45:17] @ Quit: giskard: Remote host closed the connection
[2010/05/29 07:45:29] @ Quit: thegcat: Quit: Leaving.
[2010/05/29 08:03:45] @ Quit: jel:
[2010/05/29 08:10:18] @ yure joined channel #puppet
[2010/05/29 08:20:43] @ IronChef_ is now known as IronChef
[2010/05/29 08:25:13] @ Quit: Chiku: Read error: Connection reset by peer
[2010/05/29 08:25:29] @ Chiku joined channel #puppet
[2010/05/29 08:36:23] <gepetto> ::redmine:: Wiki edit: Bug_Submission_Guide (#2) @ http://projects.reductivelabs.com/projects/1/wiki/Bug_Submission_Guide?version=2 (by James Turnbull)
[2010/05/29 08:36:23] <gepetto> ::redmine:: Wiki edit: Wiki (#23) @ http://projects.reductivelabs.com/projects/1/wiki/Wiki?version=23 (by James Turnbull)
[2010/05/29 08:36:23] <gepetto> ::redmine:: Wiki edit: Wiki (#24) @ http://projects.reductivelabs.com/projects/1/wiki/Wiki?version=24 (by James Turnbull)
[2010/05/29 08:40:09] @ Quit: Chiku: Read error: Connection reset by peer
[2010/05/29 08:40:23] @ pinoyskull joined channel #puppet
[2010/05/29 08:40:26] @ Chiku joined channel #puppet
[2010/05/29 08:40:49] @ pinoyskull is now known as Guest76820
[2010/05/29 08:42:22] @ Quit: Guest76820: Client Quit
[2010/05/29 08:42:45] @ pinoyskull- joined channel #puppet
[2010/05/29 08:47:58] @ jaigouk joined channel #puppet
[2010/05/29 08:48:06] @ Quit: Roksteady: Ping timeout: 240 seconds
[2010/05/29 08:48:10] @ Quit: jaigouk: Remote host closed the connection
[2010/05/29 08:50:49] @ Roksteady joined channel #puppet
[2010/05/29 08:51:54] @ Quit: m1nish: Quit: Leaving
[2010/05/29 08:52:18] @ Quit: benoit__: Ping timeout: 240 seconds
[2010/05/29 08:53:16] @ Quit: gaveen: Quit: Leaving
[2010/05/29 08:53:40] @ _^Sarge^_ joined channel #puppet
[2010/05/29 08:58:04] @ Quit: Roksteady: Ping timeout: 260 seconds
[2010/05/29 09:02:00] @ gaveen joined channel #puppet
[2010/05/29 09:20:38] @ Quit: adrian_broher: Ping timeout: 240 seconds
[2010/05/29 09:24:06] @ adrian_broher joined channel #puppet
[2010/05/29 09:25:51] @ Quit: xerxas: Quit: Leaving.
[2010/05/29 09:28:48] @ emarshall joined channel #puppet
[2010/05/29 09:30:06] @ ciupicri joined channel #puppet
[2010/05/29 09:41:31] @ Quit: davea1: Quit: Leaving
[2010/05/29 09:42:24] @ Roksteady joined channel #puppet
[2010/05/29 09:42:56] @ herdingcat joined channel #puppet
[2010/05/29 09:43:22] <ashp> i HATE commerical software _SO MUCH_
[2010/05/29 09:43:34] <Tonnerre> Good.
[2010/05/29 09:43:49] <ashp> The reason my attempt to move this piece of shit CMS didn't work
[2010/05/29 09:43:57] <ashp> is because you have to _hex edit_ a file to change a path
[2010/05/29 09:44:18] <ohadlevy> ashp: makes a lot of sense
[2010/05/29 09:44:30] <ohadlevy> ashp: i usualy put all of my config values with sha1 ;)
[2010/05/29 09:44:47] <ashp> the instructions (not public) casually throw out "open blah in an editor that can read binary files"
[2010/05/29 09:46:51] <ashp> Oh well, it still doesn't work - you'd think moving from one path to another wouldn't be so hard :/
[2010/05/29 09:48:29] @ Quit: Roksteady: Ping timeout: 260 seconds
[2010/05/29 09:58:13] @ Roksteady joined channel #puppet
[2010/05/29 10:16:57] @ Quit: fbe_: Read error: Connection reset by peer
[2010/05/29 10:19:31] @ p3rror joined channel #puppet
[2010/05/29 10:20:28] @ fbe_ joined channel #puppet
[2010/05/29 10:20:40] @ toi joined channel #puppet
[2010/05/29 10:21:36] <gepetto> ::redmine:: Wiki edit: Using_Mongrel_On_Enterprise_Linux (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Using_Mongrel_On_Enterprise_Linux?version=3 (by Ricky Zhou)
[2010/05/29 10:26:00] <gepetto> ::redmine:: Wiki edit: Using_Mongrel (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Using_Mongrel?version=5 (by Ricky Zhou)
[2010/05/29 10:26:09] @ Quit: adrian_broher: Ping timeout: 260 seconds
[2010/05/29 10:26:36] @ adrian_broher joined channel #puppet
[2010/05/29 10:39:16] @ thegcat joined channel #puppet
[2010/05/29 10:41:47] @ Quit: ciupicri: Quit: Leaving
[2010/05/29 10:51:09] @ Quit: adrian_broher: Ping timeout: 258 seconds
[2010/05/29 10:51:39] @ adrian_broher joined channel #puppet
[2010/05/29 10:58:03] @ Quit: pinoyskull-: Ping timeout: 258 seconds
[2010/05/29 10:59:30] @ rcrowley joined channel #puppet
[2010/05/29 11:01:38] @ Quit: jense: Quit: Verlassend
[2010/05/29 11:08:50] @ Quit: emarshall: Quit: emarshall
[2010/05/29 11:11:10] @ pinoyskull- joined channel #puppet
[2010/05/29 11:18:27] @ emarshall joined channel #puppet
[2010/05/29 11:25:02] @ Quit: emarshall: Quit: emarshall
[2010/05/29 11:32:04] @ emarshall joined channel #puppet
[2010/05/29 11:35:06] @ gui1ty joined channel #puppet
[2010/05/29 11:40:24] @ flakrat joined channel #puppet
[2010/05/29 11:40:47] <duritong> ohadlevy: you mean sha1 compression?
[2010/05/29 11:41:04] <ohadlevy> duritong: it was a joke
[2010/05/29 11:41:34] @ docelic_ joined channel #puppet
[2010/05/29 11:45:07] @ Quit: docelic__: Ping timeout: 276 seconds
[2010/05/29 11:46:21] <duritong> ohadlevy: there is a joke around from a guy claiming that he used md5 to compress all his files. but now he's looking for a way to uncompress them ;)
[2010/05/29 11:46:30] <duritong> ohadlevy: http://blog.fefe.de/?ts=b50c591b
[2010/05/29 11:46:49] <ohadlevy> :)
[2010/05/29 11:47:07] <ohadlevy> sehr gut
[2010/05/29 11:48:21] @ Quit: gaveen: Ping timeout: 245 seconds
[2010/05/29 11:49:01] @ Quit: mizzy: Excess Flood
[2010/05/29 11:49:01] <duritong> s/uncompress/decompress/
[2010/05/29 11:49:40] @ mizzy joined channel #puppet
[2010/05/29 11:50:41] <ohadlevy> duritong: I wish i could uncompress md5sum, I could put the entire google storage on my phone memory
[2010/05/29 11:51:51] <matti> ;]]
[2010/05/29 11:59:20] <duritong> ohadlevy: :)
[2010/05/29 12:00:20] <gui1ty> i'm trying to put puppet-dashboard behind a reverse proxy (apache)
[2010/05/29 12:01:06] @ gaveen joined channel #puppet
[2010/05/29 12:01:06] <gui1ty> all i'm getting so far is "[error] [client 127.0.0.1] Invalid Content-Length"
[2010/05/29 12:01:27] @ Quit: emarshall: Quit: emarshall
[2010/05/29 12:01:41] <gui1ty> connecting directly on port 3000 works fine, though
[2010/05/29 12:02:02] <gui1ty> what am i missing?
[2010/05/29 12:06:46] @ Quit: gaveen: Ping timeout: 264 seconds
[2010/05/29 12:13:46] @ Quit: jaredrhine: Quit: Leaving.
[2010/05/29 12:30:31] @ artista_frustrad joined channel #puppet
[2010/05/29 12:30:38] @ Quit: gui1ty: Ping timeout: 265 seconds
[2010/05/29 12:37:09] @ Quit: adrian_broher: Ping timeout: 272 seconds
[2010/05/29 12:37:33] @ adrian_broher joined channel #puppet
[2010/05/29 12:38:26] @ Quit: bug: Quit: bug
[2010/05/29 12:48:06] @ Quit: rcrowley: Quit: rcrowley
[2010/05/29 12:59:06] @ Quit: flakrat: Ping timeout: 240 seconds
[2010/05/29 13:05:59] @ Quit: thegcat: Quit: Leaving.
[2010/05/29 13:06:05] @ Quit: pinoyskull-: Ping timeout: 258 seconds
[2010/05/29 13:10:43] @ Quit: adrian_broher: Ping timeout: 272 seconds
[2010/05/29 13:23:29] @ adrian_broher joined channel #puppet
[2010/05/29 13:33:55] <blood> joschi: i documented the entire setup of installing/configuring puppet/puppet-dashboard on ubuntu 10.04 =)
[2010/05/29 13:44:30] <blood> is there a way i can add a puppet client to a dashboard group other than from GUI?
[2010/05/29 13:46:41] @ Quit: Beens: Quit: Lost terminal
[2010/05/29 14:00:51] @ emarshall joined channel #puppet
[2010/05/29 14:01:56] <ReinH> blood: there's a rake task iirc
[2010/05/29 14:02:04] <ReinH> blood: I'm working on a CLI
[2010/05/29 14:02:53] @ gaveen joined channel #puppet
[2010/05/29 14:05:01] @ Quit: Eghie: Read error: Connection reset by peer
[2010/05/29 14:17:51] <hacim> blood: did you put your documentation somewhere?
[2010/05/29 14:21:48] @ beens joined channel #puppet
[2010/05/29 14:24:11] @ gui1ty joined channel #puppet
[2010/05/29 14:25:27] @ Quit: mellen: Ping timeout: 252 seconds
[2010/05/29 14:44:27] @ Quit: bgupta: Quit: bgupta
[2010/05/29 14:48:28] @ davea1 joined channel #puppet
[2010/05/29 14:52:57] <blood> nope not yet
[2010/05/29 14:53:03] <blood> its in a txt file atm
[2010/05/29 14:54:57] <davea1> I have a custom resource called mysql_grant- I have it in my configs but the puppet client seems to ignore it
[2010/05/29 14:55:03] @ mellen joined channel #puppet
[2010/05/29 14:55:46] <davea1> I didnt create the code for this resource so I am learning how to use to create a user on my mysql server for backups
[2010/05/29 14:56:08] <davea1> I need no errors but I also get no user
[2010/05/29 14:56:16] @ Quit: gaveen: Quit: Leaving
[2010/05/29 14:57:22] <davea1> my config is http://isi.pastebin.com/TKFug0FN
[2010/05/29 14:58:45] <davea1> I mean here http://isi.pastebin.com/zvQ8Z0Mk
[2010/05/29 15:00:05] <agaffney> davea1: do you have 'include zrm-setup'?
[2010/05/29 15:00:19] <davea1> yes
[2010/05/29 15:00:41] <agaffney> add some debugging to the mysql:: stuff
[2010/05/29 15:00:47] <agaffney> to make sure it's actually working
[2010/05/29 15:00:51] @ flakrat joined channel #puppet
[2010/05/29 15:01:13] <davea1> agaffney, ok
[2010/05/29 15:01:41] <agaffney> davea1: if you look at localconfig.yaml on the client, do you see 'zrm-setup' in it anywhere?
[2010/05/29 15:01:48] <davea1> agaffney, for debugging, do you just put log statments like debug(message) ?
[2010/05/29 15:02:04] <agaffney> I've typically had various commands dump output to logfiles
[2010/05/29 15:02:16] <agaffney> I know there's some sort of tracing in puppet itself, but I haven't used it
[2010/05/29 15:02:45] <davea1> agaffney, most of my debugging has been trial and error
[2010/05/29 15:03:49] <davea1> agaffney, zrm-setup is there in the yaml file
[2010/05/29 15:05:13] <agaffney> then your mysql_grant stuff is probably failing
[2010/05/29 15:06:12] <davea1> I see no action at all on the client- does the lib dir of my mysql module need to get to the client somehow? as it contains the ruby code that defines the resource?
[2010/05/29 15:06:35] <agaffney> I've never done custom types
[2010/05/29 15:06:43] <davea1> me either
[2010/05/29 15:06:45] <agaffney> for anything "custom" like that, I've always done it with exec magic
[2010/05/29 15:08:01] <davea1> exec magic?
[2010/05/29 15:08:31] <agaffney> exec resources with crazy shell one-liners in 'unless', 'onlyif', and 'command'
[2010/05/29 15:08:40] <davea1> ah ok
[2010/05/29 15:20:22] @ Quit: f3ew: Read error: Connection reset by peer
[2010/05/29 15:25:03] <davea1> agaffney, w00t!
[2010/05/29 15:25:18] <davea1> http://docs.puppetlabs.com/guides/plugins_in_modules.html#usage_for_server_custom_functions
[2010/05/29 15:26:45] <agaffney> so your custom provider wasn't being loaded properly?
[2010/05/29 15:27:03] <davea1> yes- the files dont yet exist on the client
[2010/05/29 15:27:37] <davea1> so I am working through that now- I have the files being put in the correct place when I run puppet on the puppetmaster
[2010/05/29 15:28:09] <davea1> so the next step is just to get them to the puppet client on a remote host- prob a puppet.conf setting
[2010/05/29 15:29:18] <davea1> yes!!!
[2010/05/29 15:29:45] <davea1> agaffney, and my new mysql user is created !!!! thanks for your help
[2010/05/29 15:30:35] <agaffney> I just pointed out to you that it wasn't working :P
[2010/05/29 15:31:15] @ Quit: gui1ty: Ping timeout: 240 seconds
[2010/05/29 15:32:07] <davea1> yes I know- but you got me thinking ...
[2010/05/29 15:32:17] <davea1> we all need a sounding board sometimes
[2010/05/29 15:35:55] <agaffney> indeed
[2010/05/29 15:36:10] <agaffney> sometimes all it takes is explaining the problem to someone else to allow me to figure it out
[2010/05/29 15:37:01] * davea1 nods
[2010/05/29 15:39:36] @ f3ew joined channel #puppet
[2010/05/29 15:43:40] @ Quit: allsystemsarego: Quit: Leaving
[2010/05/29 15:44:11] @ drags_ is now known as drags
[2010/05/29 15:49:11] @ Mick27 joined channel #puppet
[2010/05/29 15:50:06] @ Quit: flakrat: Ping timeout: 240 seconds
[2010/05/29 15:50:09] @ Quit: mellen: Ping timeout: 252 seconds
[2010/05/29 15:50:34] @ Quit: f3ew: Ping timeout: 264 seconds
[2010/05/29 15:52:38] @ f3ew joined channel #puppet
[2010/05/29 15:57:43] @ Quit: f3ew: Read error: Connection reset by peer
[2010/05/29 15:57:48] @ Quit: noyb: Quit: No, it's not Winblows... I actually *wanted* to quit.
[2010/05/29 16:07:48] @ gui1ty joined channel #puppet
[2010/05/29 16:10:15] @ Alagar joined channel #puppet
[2010/05/29 16:10:42] <robinbowes> Anyone remind me how to suppress this warning:
[2010/05/29 16:10:44] <robinbowes> warning: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml)
[2010/05/29 16:11:47] @ mellen joined channel #puppet
[2010/05/29 16:15:33] <Volcane> you cant
[2010/05/29 16:15:39] <Volcane> dont run it in verbose
[2010/05/29 16:16:10] @ f3ew joined channel #puppet
[2010/05/29 16:21:25] @ hephaestus_ is now known as miah
[2010/05/29 16:23:40] @ miah is now known as hephaestus_
[2010/05/29 16:29:04] @ hephaestus_ is now known as miah
[2010/05/29 16:29:15] @ miah is now known as hephaestus_
[2010/05/29 16:32:17] @ flakrat joined channel #puppet
[2010/05/29 16:33:58] @ hephaestus_ is now known as miah
[2010/05/29 16:34:19] @ miah is now known as hephaestus_
[2010/05/29 16:44:01] @ cmatheson joined channel #puppet
[2010/05/29 16:44:38] <cmatheson> i'm trying to define some nagios_services in puppet 0.24.5. it seems that i can't have two services with the same service_description. is that true?
[2010/05/29 16:45:11] @ Quit: setient: Ping timeout: 264 seconds
[2010/05/29 16:46:06] @ Quit: flakrat: Quit: Leaving
[2010/05/29 16:50:08] @ Quit: nexx: Quit: quit
[2010/05/29 16:57:06] <tuv> does puppet have access to the host names (all, as in a list) of nodes it's configuring? or maybe nodes whose certs have been signed by puppetca?
[2010/05/29 16:58:10] <ckdake> tuv: `puppetca —list —all` or `puppetlast` might be of help
[2010/05/29 17:01:07] @ Quit: ezmobius: Remote host closed the connection
[2010/05/29 17:02:34] @ giskard joined channel #puppet
[2010/05/29 17:06:07] <tuv> ckdake: i need that information in a template. is it wise/possible to run puppetca from there? i was hoping for a facter-like variable that makes such a list available to puppet
[2010/05/29 17:06:21] <ckdake> stored configs are what you're looking for then
[2010/05/29 17:06:46] <ckdake> http://projects.puppetlabs.com/projects/puppet/wiki/Exported_Resources
[2010/05/29 17:08:44] @ hephaestus_ is now known as miah
[2010/05/29 17:09:43] <tuv> ckdake: 404. Using_stored_configuration works though. but i can always define my own variable as a last resort. is stored config worth the trouble if, AFAICT, this is only use for it?
[2010/05/29 17:10:32] <ckdake> what is the actual usage scenario here? i can't tell you if its worth it without knowing what you're trying to acomplish :)
[2010/05/29 17:14:20] <tuv> ckdake: a network monitoring package needs a list of host names to monitor
[2010/05/29 17:14:35] <ckdake> yeah, stored configs are the way to go then
[2010/05/29 17:14:36] <tuv> in its conf file, deployed by puppet
[2010/05/29 17:14:53] <ckdake> unless every time you add a new server or change something, you want to also update something in puppet manually which kinda defeats the point
[2010/05/29 17:15:27] @ giskard_ joined channel #puppet
[2010/05/29 17:15:28] <ckdake> configuring nagios is the defacto example of using stored configs, which is in line with what you're up to
[2010/05/29 17:16:32] <tuv> i probably should make sure there isn't a way around a list of host names in the conf file in question (munin, btw)
[2010/05/29 17:16:58] <ckdake> all the playing with munin i've done needs a list of everything
[2010/05/29 17:17:07] <ckdake> stored configs and exported resources really aren't that hard
[2010/05/29 17:17:43] <ckdake> as long as you have the hw for the mysql load
[2010/05/29 17:17:52] @ Quit: giskard: Ping timeout: 265 seconds
[2010/05/29 17:18:02] <tuv> do i need anything besides: [puppetmasterd] storeconfigs = true, dbadapter = sqlite3, dblocation = /var/lib/puppet/storeconfigs.sqlite ?
[2010/05/29 17:18:23] <ckdake> if you have more than just a few handfuls of servers, you'll need to use mysql
[2010/05/29 17:18:33] <ckdake> sqlite definitely can't handle 100 puppet clients
[2010/05/29 17:18:43] <tuv> ~10
[2010/05/29 17:18:43] <ckdake> if you're more liek ~20, you might get by
[2010/05/29 17:18:49] <ckdake> yeah, should be fine :)
[2010/05/29 17:18:51] @ giskard joined channel #puppet
[2010/05/29 17:19:26] <tuv> are these 3 lines in puppet.conf all i need to get this working? or is there something else?
[2010/05/29 17:19:39] <ckdake> http://projects.puppetlabs.com/projects/puppet/wiki/Using_Stored_Configuration explains it all
[2010/05/29 17:19:49] <ckdake> you'll also need prerequisites like rais
[2010/05/29 17:19:52] <ckdake> er rails
[2010/05/29 17:20:19] @ Quit: giskard_: Ping timeout: 260 seconds
[2010/05/29 17:21:13] <tuv> ckdake: i was reading that page. besides the packages (sqlite3, rails) and these puppet.conf additions, any further configuration needed?
[2010/05/29 17:21:40] <tuv> (sqlite-ruby pkg too)
[2010/05/29 17:21:42] <ckdake> try it out and see. i use mysql and haven't looked at the setup in 6+ months
[2010/05/29 17:22:21] <tuv> so where do i read about exported resources? how do i access that list of nodes?
[2010/05/29 17:22:30] <ckdake> http://projects.puppetlabs.com/projects/puppet/wiki/Exported_Resources
[2010/05/29 17:23:55] @ Quit: Alagar: Quit: Leaving.
[2010/05/29 17:25:38] <agaffney> mmm...I love bring things under "full control" of puppet
[2010/05/29 17:25:52] <agaffney> instead of just "install package and start service"
[2010/05/29 17:26:07] <ckdake> you might find yourself replaced by a small puppet class if you aren't careful :)
[2010/05/29 17:26:27] <tuv> :)
[2010/05/29 17:28:51] <agaffney> wouldn't be the first time I've done it
[2010/05/29 17:29:02] <agaffney> not with puppet, but the replacing part ;)
[2010/05/29 17:29:13] <agaffney> I'm the release engineering lead for Gentoo Linux
[2010/05/29 17:29:27] <agaffney> I automated the entire process producing weekly builds for 6 or so architectures that build and upload
[2010/05/29 17:29:31] <agaffney> about a year ago
[2010/05/29 17:29:39] <agaffney> I haven't done anything in about 8 months ;)
[2010/05/29 17:30:21] <ckdake> Ah nice! I cut my Linux teeth on Gentoo in 2003 and still use it on all of my 'personal' servers
[2010/05/29 17:30:32] <agaffney> if the stuff I write is good enough to replace a person (even if it's myself), I've done it right
[2010/05/29 17:30:59] <agaffney> the best sysadmin is a lazy sysadmin
[2010/05/29 17:31:11] <agaffney> but only if they're smart enough to be lazy properly ;)
[2010/05/29 17:31:14] <|Mike|> agaffney: noway.
[2010/05/29 17:31:18] <ckdake> heh
[2010/05/29 17:31:47] <agaffney> and I don't mean "doesn't do anything". I mean "automated everything so that everything gets done without them having to do anything"
[2010/05/29 17:31:53] * ckdake is furiously working to automate away a lot of the behind-the-scenes stuff for ondemand customers at SugarCRM
[2010/05/29 17:32:14] <|Mike|> ckdake: you don't have sugarcrm packaged for debian / :P
[2010/05/29 17:32:18] <|Mike|> (by accident...)
[2010/05/29 17:33:27] <ckdake> |Mike|: i'm in ops so not sure the details of how packages go out
[2010/05/29 17:33:37] <ckdake> but we do have .tgz/.zip!
[2010/05/29 17:34:04] <|Mike|> okay, I did notice that there aren't any debian packages from SugarCRM tho
[2010/05/29 17:34:13] <|Mike|> (would be nice to have those tho :P )
[2010/05/29 17:35:11] <ckdake> would having a .deb for it really make things any easier though?
[2010/05/29 17:35:16] <ckdake> i'm also the project manager over at Gallery… keeping all of the various OS package manager things updated is a serious PITA when users can just tar -zxf and run the installer
[2010/05/29 17:35:43] <|Mike|> ckdake: o crap, i forgot that it's an licensed program. My excuse!
[2010/05/29 17:35:55] <ckdake> SugarCRM CE is GPL
[2010/05/29 17:36:10] <ckdake> so even debial legal would let it in
[2010/05/29 17:36:30] <ckdake> they do have some funky requirements with providing backports of security fixes for older versions though
[2010/05/29 17:37:21] <tuv> do i need to explicitly export the host names? or do they become available automatically in the db?
[2010/05/29 17:37:52] <ckdake> tuv: you could explicitly export them, but the right thing is probably to set up an exported resource like munin_monitor and have it applied to each host
[2010/05/29 17:38:13] * tuv is not following
[2010/05/29 17:39:17] <tuv> ckdake: are you referring to the nagios_target class in the Exported_resources wiki page?
[2010/05/29 17:39:17] <agaffney> tuv: export them where? for what?
[2010/05/29 17:39:27] <ckdake> tuv: yeah, that is a great example
[2010/05/29 17:39:46] <tuv> agaffney: i need a list of host names of puppet-configured nodes
[2010/05/29 17:40:21] <ckdake> tuv: perhaps a better description of what you need is: "automatically generate a config file for munin based on other nodes that are managed by puppet"
[2010/05/29 17:44:48] <tuv> ckdake: that example uses the nagios-specific types. should i export, e.g., the munin-node service resource? hmm.. still the host name is not there
[2010/05/29 17:45:15] <ckdake> you can include $fqdn in your export
[2010/05/29 17:46:15] <tuv> ckdake: as an additional parameter to the service resource?
[2010/05/29 17:46:47] <ckdake> tuv: check out the @@nagios_service part of the xample on that page
[2010/05/29 17:46:52] <ckdake> they use host_name => "$fqdn"
[2010/05/29 17:48:10] <tuv> ckdake: but host_name is an actual parameter to the nagios_service puppet resource type
[2010/05/29 17:49:10] <ckdake> tuv: right. you'll need to make a munin_node resource type which you then export everywhere and collect in your munin class
[2010/05/29 17:49:26] <tuv> define?
[2010/05/29 17:50:56] <ckdake> im not really sure how to explain it much more clearly, and it's dinner time here. Play around with it and im sure you'll figure it out
[2010/05/29 18:09:41] @ Guest24975 joined channel #puppet
[2010/05/29 18:10:22] <blood> anyone know how i can silently install a pkg? or dmg?
[2010/05/29 18:10:46] <agaffney> silently?
[2010/05/29 18:10:50] <blood> i know how to send my pkg to clients but then the gui pops up
[2010/05/29 18:11:03] <blood> meaning it installs without any user interaction
[2010/05/29 18:11:04] <|Mike|> heh
[2010/05/29 18:11:13] <|Mike|> refering to preseed?
[2010/05/29 18:11:51] <blood> preseed works with pkg?
[2010/05/29 18:12:00] <|Mike|> In debian, yep :)
[2010/05/29 18:12:09] <blood> ah my client is OSX
[2010/05/29 18:12:18] <|Mike|> I'm not sure about other distro's / OS
[2010/05/29 18:12:31] <blood> pkg is such crap
[2010/05/29 18:12:37] <blood> wish it was like apt
[2010/05/29 18:12:45] <|Mike|> blablabla, install ubuntu / debian ? :P
[2010/05/29 18:12:53] <blood> my master is running ubuntu 10.04
[2010/05/29 18:13:00] <blood> clients have to run OSX, no way around that
[2010/05/29 18:13:25] <|Mike|> you're doing desktop management with puppet?
[2010/05/29 18:13:33] <blood> testing atm
[2010/05/29 18:13:42] <blood> i may use puppet to deploy apps/updates
[2010/05/29 18:13:49] <|Mike|> blood: you might want to contact Jeff McCune
[2010/05/29 18:13:52] <blood> and mcx files
[2010/05/29 18:14:12] <blood> he works with desktop management?
[2010/05/29 18:14:13] <|Mike|> He is quite experienced with managing OSX desktops with puppet :)
[2010/05/29 18:14:16] <blood> nice=)
[2010/05/29 18:14:18] <|Mike|> he's an developer
[2010/05/29 18:14:19] <blood> where can i find him
[2010/05/29 18:14:28] <|Mike|> jeff@puppetlabs.com :)
[2010/05/29 18:14:31] <blood> thanks
[2010/05/29 18:14:37] <|Mike|> I'm not sure if he's in this channel tho
[2010/05/29 18:19:21] @ Quit: Guest24975: Ping timeout: 260 seconds
[2010/05/29 18:22:42] <|Mike|> blood: you're e-mailing jeff? :)
[2010/05/29 18:22:47] <blood> yup as we speak
[2010/05/29 18:22:48] <blood> =)
[2010/05/29 18:25:26] <|Mike|> Okay :)
[2010/05/29 18:28:47] <blood> sent
[2010/05/29 18:28:48] <blood> =)
[2010/05/29 18:31:20] @ Quit: gui1ty: Quit: Ex-Chat
[2010/05/29 18:32:26] @ Quit: adrian_broher: Quit: Verlassend
[2010/05/29 18:33:50] <|Mike|> blood: okay :)
[2010/05/29 18:34:07] <|Mike|> Jeff is quite an amazing guy
[2010/05/29 18:34:25] <blood> he hop in here at times?
[2010/05/29 18:34:36] @ comprehensive joined channel #puppet
[2010/05/29 18:34:39] @ comprehensive left channel #puppet ()
[2010/05/29 18:35:29] <|Mike|> blood: as far as i heard in the pupple room on puppetcamp, he should
[2010/05/29 18:38:03] @ bgupta joined channel #puppet
[2010/05/29 18:38:29] <blkperl> Facter: Feature #3502 & Feature #2270 look like duplicates
[2010/05/29 18:38:30] <gepetto> blkperl: Facter: #3502 is http://projects.puppetlabs.com/issues/show/3502 "Facter - Feature #3502: Make facter more ipv6 friendly - PuppetLabs.com"
[2010/05/29 18:38:30] <gepetto> blkperl: Facter: #2270 is http://projects.puppetlabs.com/issues/show/2270 "Facter - Feature #2270: IPv6 support - PuppetLabs.com"
[2010/05/29 18:38:52] <matti> IPv6 is for whimps ;p
[2010/05/29 18:42:06] <blood> sweet figured it out
[2010/05/29 18:42:14] <blood> now to figure out how to write the puppet code to do what i want
[2010/05/29 18:42:44] <blood> i'm sure someone can help me here=) i have a file i want to copy to my clients and once the file has been copied, i want to run a command. How can i go about doing this?
[2010/05/29 18:43:47] <blkperl> use File & Exec
[2010/05/29 18:43:55] <blood> ah thanks=)
[2010/05/29 18:44:04] <blood> let me test that now, i remember reading about Exec
[2010/05/29 18:45:15] <blkperl> blood: http://docs.puppetlabs.com/references/0.25.4/type.html#exec
[2010/05/29 18:46:05] <blood> thanks
[2010/05/29 18:46:18] <blkperl> your welcome :)
[2010/05/29 18:52:09] <blood> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Mac_Osx under pkgdmg code, which line actually executes the file?
[2010/05/29 18:54:07] <blood> i was thinking i can store all my packages via HTTP link then have clients copy it all over but instead of executing the file directly, use Exec to run my commands
[2010/05/29 18:54:07] <blood> just curious on which line i need to remove to avoid it running the files
[2010/05/29 18:54:56] <blood> guessing this is the line "ensure => installed"
[2010/05/29 18:56:42] <|Mike|> ensure installed is like apt-get install $package
[2010/05/29 18:56:43] <agaffney> what does yumhelper.py actually do when initially called by puppet?
[2010/05/29 18:57:09] <|Mike|> agaffney: puppetdoc it ? :)
[2010/05/29 18:59:46] @ Quit: nb: Quit: ZNC - http://znc.sourceforge.net
[2010/05/29 19:00:53] @ nb joined channel #puppet
[2010/05/29 19:01:09] <blood> |Mike|: ah ok
[2010/05/29 19:02:04] @ Quit: bgupta: Quit: bgupta
[2010/05/29 19:02:09] <agaffney> |Mike|: that might work if it was a ruby file
[2010/05/29 19:03:21] <blood> def self.installpkg(source, name, orig_source) , see that in the pkgdeploy ruby file
[2010/05/29 19:03:26] <blood> wonder how i call that
[2010/05/29 19:03:31] <agaffney> looking at the code, it looks like it retrieves a list of packages available to update via yum
[2010/05/29 19:04:38] <|Mike|> i'm quite unfamilair with yum tbh.
[2010/05/29 19:06:01] <agaffney> I'm trying to figure out if yum will access RHN on every invocation of that script
[2010/05/29 19:06:20] <agaffney> I've had several RHEL systems banned from RHN for "abuse"
[2010/05/29 19:08:28] @ Quit: the|herbivore: Read error: Operation timed out
[2010/05/29 19:16:14] @ Quit: giskard: Ping timeout: 276 seconds
[2010/05/29 19:16:25] @ the|herbivore joined channel #puppet
[2010/05/29 19:22:06] @ giskard joined channel #puppet
[2010/05/29 19:22:37] <|Mike|> agaffney: i would blame the RHEL guys :P
[2010/05/29 19:23:30] @ Quit: giskard: Remote host closed the connection
[2010/05/29 19:28:19] <ohadlevy> tuv: you can use Foreman query interface
[2010/05/29 19:28:42] <blood> hrmm
[2010/05/29 19:28:55] <blood> i'm trying to use pkgdeploy to deploy my dmg but it doesn't seem to be working
[2010/05/29 19:29:06] <blood> following http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Mac_Osx
[2010/05/29 19:29:11] @ giskard joined channel #puppet
[2010/05/29 19:29:40] <blood> ah i think i see what i did
[2010/05/29 19:31:30] @ Quit: giskard: Remote host closed the connection
[2010/05/29 19:32:28] <agaffney> what runinterval do people generally use?
[2010/05/29 19:32:42] <ohadlevy> agaffney: your problem with yum gave me an idea for my package inventory system :)
[2010/05/29 19:32:42] <agaffney> I've got mine way down to 600
[2010/05/29 19:32:49] <agaffney> ohadlevy: oh?
[2010/05/29 19:33:07] <ohadlevy> agaffney: I use 3600 on a few thousand nodes
[2010/05/29 19:33:15] <agaffney> it looks like a system gets flagged as abusive if it checks in with RHN more than 100 times in a day
[2010/05/29 19:33:54] <agaffney> with a runinterval of 600, that's 144 check-ins a day
[2010/05/29 19:33:55] <ohadlevy> agaffney: i made a small webapp to show all packages on all hosts (maybe similiar to spacewalk)
[2010/05/29 19:34:07] <agaffney> bring it back to 15 minutes would put it at 96
[2010/05/29 19:34:14] <agaffney> although, I should probably just do 20 or 30
[2010/05/29 19:34:29] <ohadlevy> agaffney: using yum plugin might be handy for updating, but ideally i would like to tie it into puppet
[2010/05/29 19:34:35] <agaffney> for any "immediate" changes I need, I force a run anyway
[2010/05/29 19:35:32] <ohadlevy> agaffney: i dont find it that useful to run more then every 30 minutes, esp if you run it manually(or semi) upon a change
[2010/05/29 19:36:20] <AngryParsley> I don't know much about redhat, but why not use puppet to create a cron job on all machines that runs the RH equivalent of apt-get update/upgrade?
[2010/05/29 19:36:33] <AngryParsley> and that cron job can be run once a day or something
[2010/05/29 19:36:46] <AngryParsley> that way you aren't hammering redhat's servers needlessly
[2010/05/29 19:37:17] <ohadlevy> AngryParsley: puppet run's yum, which has a plugin to contact rh regardless
[2010/05/29 19:37:42] <agaffney> ohadlevy: yeah, I only had it set at 10m from when I originally set it up and was making lots of changes
[2010/05/29 19:37:45] <agaffney> I jus never changed it back
[2010/05/29 19:38:31] <AngryParsley> every time you run yum, you hit redhat's servers? there's got to be some command line option you can pass to have it not do that
[2010/05/29 19:38:46] <agaffney> I can't verify that for sure, but it certainly appears that way
[2010/05/29 19:39:07] <agaffney> it doesn't work that way with CentOS, because it caches the yum repo metadata
[2010/05/29 19:39:19] <agaffney> but the rhnplugin doesn't work through normal yum repos
[2010/05/29 19:39:53] <ohadlevy> agaffney: disable the plugin? :)
[2010/05/29 19:40:36] <agaffney> unfortunately, that leaves me unable to install new packages that come from RH's repos
[2010/05/29 19:40:50] <agaffney> I'd considered putting the CentOS yum repo configs on my RHEL boxes ;)
[2010/05/29 19:40:56] <blood> anyone use pkg_deploy?
[2010/05/29 19:41:18] <blood> if i use provider "appdmg" it works but if i use provider "pkgdmg" it does nothing
[2010/05/29 19:41:59] <ohadlevy> agaffney: there is no way to configure it? e.g. in /etc/sysconfig/rhn
[2010/05/29 19:42:41] <agaffney> I didn't see an option that configures caching
[2010/05/29 19:42:57] <agaffney> but if just changing my runinterval from 600 to 1200 will bring it below the threshold, that's good enough for me
[2010/05/29 19:43:36] <ohadlevy> agaffney: yeah, that make most sense :)
[2010/05/29 19:44:12] <agaffney> I thought of doing 15m, which would put me at 96 runs/day, but doing a few manual runs could put me over that limit
[2010/05/29 19:44:25] <agaffney> and I really have no reason to have it run that often
[2010/05/29 19:45:50] <agaffney> I'm impatient ;)
[2010/05/29 19:46:11] <AngryParsley> why so often? if you want to push stuff quickly, pssh/fabric/whatever can HUP puppet on all your machines
[2010/05/29 19:47:29] <agaffney> yeah, that's what I end up doing
[2010/05/29 19:48:04] <agaffney> I have a user pushed by puppet with a particular SSH key in authorized_keys and the ability to do a one-time puppet run via sudo :P
[2010/05/29 19:49:06] @ Quit: \ask_: Ping timeout: 272 seconds
[2010/05/29 19:50:22] @ Quit: nnec: Quit: Page closed
[2010/05/29 20:12:51] @ bgupta joined channel #puppet
[2010/05/29 20:17:23] @ Quit: bgupta: Client Quit
[2010/05/29 20:17:56] <blood> hrmm no matter what i do, i cannot get pkg_deploy to send any pkg/dmg
[2010/05/29 20:18:05] <blood> with provider 'pkgdmg'
[2010/05/29 20:19:55] @ setient joined channel #puppet
[2010/05/29 20:35:44] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/05/29 20:48:43] <blood> seems like pkgdmg.rb is never called
[2010/05/29 21:02:11] <blood> finally got it to work
[2010/05/29 21:02:17] <blood> and it installed silently=)
[2010/05/29 21:02:22] <blood> pkgdmg does that automatically
[2010/05/29 21:02:25] <blood> thanks to Jeff's code
[2010/05/29 21:21:28] @ Quit: jab_doa: Quit: Verlassend
[2010/05/29 21:36:05] @ \ask joined channel #puppet
[2010/05/29 21:40:56] @ marut joined channel #puppet
[2010/05/29 21:46:06] @ Quit: greglu: Read error: No route to host
[2010/05/29 21:58:54] @ ezmobius joined channel #puppet
[2010/05/29 22:04:31] <blood> hrmm, i noticed that pkgdmg creates a file under /var/db/.puppet_pkgdmg_installed_appname. The issue i have is let's say a client deletes the app, it won't be reinstalled since .puppet_pkgdmg_installed_appname still exists. Anyway around this?
[2010/05/29 22:10:12] @ Quit: yakub: Quit: leaving
[2010/05/29 22:32:57] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/05/29 22:49:24] @ p3rror joined channel #puppet
[2010/05/29 23:02:46] <blood> anhone around, i'm trying to setup the puppet fileserver
[2010/05/29 23:03:03] <blood> i already edited my fileserver.conf on server but clients dont seem to copy the files
[2010/05/29 23:07:25] @ Quit: nahamu: Ping timeout: 260 seconds
[2010/05/29 23:11:15] @ bgupta joined channel #puppet
[2010/05/29 23:13:22] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/05/29 23:15:20] @ bgupta_ joined channel #puppet
[2010/05/29 23:17:56] @ Bass10 joined channel #puppet
[2010/05/29 23:17:57] @ Quit: bgupta: Ping timeout: 265 seconds
[2010/05/29 23:19:21] @ Quit: Bass10: Max SendQ exceeded
[2010/05/29 23:19:57] @ Bass10 joined channel #puppet
[2010/05/29 23:26:32] @ weizhang joined channel #puppet
[2010/05/29 23:26:44] @ Quit: weizhang: Read error: Connection reset by peer
[2010/05/29 23:38:29] @ comprehensive joined channel #puppet

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