Sunday, 2010-05-30

[2010/05/30 00:14:28] @ Log started by gepetto
[2010/05/30 00:14:28] @ Quit: p3rror: Ping timeout: 272 seconds
[2010/05/30 00:15:37] @ p3rror joined channel #puppet
[2010/05/30 00:15:45] @ rcrowley joined channel #puppet
[2010/05/30 00:16:42] @ Quit: rcrowley: Client Quit
[2010/05/30 00:20:10] @ Quit: p3rror: Excess Flood
[2010/05/30 00:24:33] <blood> finally got it working
[2010/05/30 00:25:07] <blood> one of the docs i read was completely wrong, found the correct way in a google book =)
[2010/05/30 00:25:14] @ Quit: ezmobius: Quit: Leaving...
[2010/05/30 00:25:25] <blood> how do i have file create a dir if it does not exist?
[2010/05/30 00:30:44] <blood> http://projects.puppetlabs.com/projects/puppet/wiki/File_Serving_Configuration has wrong info
[2010/05/30 00:31:07] <blood> source => "puppet://server/modules/module_name/file" should be source => "puppet://server/module_name/file"
[2010/05/30 00:32:17] <blood> figured out how to create dir=)
[2010/05/30 00:32:31] @ Quit: herdingcat: Remote host closed the connection
[2010/05/30 00:33:21] @ comprehensive joined channel #puppet
[2010/05/30 00:46:22] @ Quit: emarshall: Quit: emarshall
[2010/05/30 00:51:24] @ emarshall joined channel #puppet
[2010/05/30 01:00:30] @ comprehensive left channel #puppet ()
[2010/05/30 01:02:53] @ comprehensive joined channel #puppet
[2010/05/30 01:02:58] @ Quit: comprehensive: Client Quit
[2010/05/30 01:14:05] @ mboyd_ joined channel #puppet
[2010/05/30 01:14:05] @ Quit: mboyd: Disconnected by services
[2010/05/30 01:14:10] @ Quit: andypea: Remote host closed the connection
[2010/05/30 01:15:12] @ Quit: emarshall: Quit: emarshall
[2010/05/30 01:16:24] @ mboyd_ is now known as mboyd
[2010/05/30 01:19:29] @ Alagar joined channel #puppet
[2010/05/30 01:21:14] @ Quit: Alagar: Client Quit
[2010/05/30 01:23:53] @ nawty joined channel #puppet
[2010/05/30 01:24:32] @ themurph joined channel #puppet
[2010/05/30 01:31:52] @ weizhang joined channel #puppet
[2010/05/30 01:34:16] <blood> anyone alive? =)
[2010/05/30 01:37:08] @ Quit: themurph: Quit: themurph
[2010/05/30 01:38:36] <blkperl> im alive :)
[2010/05/30 01:39:18] <blkperl> although i don't know how to create a dir if it doesn't exist :(
[2010/05/30 01:42:53] @ lak joined channel #puppet
[2010/05/30 01:43:32] <blood> hehe i can show u
[2010/05/30 01:43:59] <blood> you got the puppet fileserver up?
[2010/05/30 01:44:34] @ Quit: lak: Client Quit
[2010/05/30 01:44:36] @ comprehensive joined channel #puppet
[2010/05/30 01:44:41] <blood> i'm trying to get my puppet client to check server more frequently. according to docs you add runinterval=seconds in puppet.conf
[2010/05/30 01:44:46] @ Quit: comprehensive: Client Quit
[2010/05/30 01:44:46] <blood> but doesn't seem to be working
[2010/05/30 01:48:29] <joschi> blood: actually it is working pretty fine ;)
[2010/05/30 01:48:50] <joschi> blood: have you placed it in the correct section ([puppetd]) in your puppet.conf?
[2010/05/30 01:52:34] <blood> i just realized what was wrong
[2010/05/30 01:52:45] <blood> my client is on wireless and on reboot it joined another ssid
[2010/05/30 01:52:46] <blood> go figure
[2010/05/30 01:53:15] @ comprehensive joined channel #puppet
[2010/05/30 01:53:16] <blood> to create puppetd logs, i use logdir under [main] right?
[2010/05/30 01:53:20] <blood> atm i have no logs for my puppetd
[2010/05/30 02:04:12] @ Quit: comprehensive: Quit: Leaving.
[2010/05/30 02:06:27] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/05/30 02:12:48] <nawty> anyone using ubuntu 10.04 + puppet (package) + libapache2-mod-passenger (package) with a working config.ru?
[2010/05/30 02:13:23] <nawty> it'd be puppet 0.25.4, and passenger 2.2.6
[2010/05/30 02:15:21] <blood> i got puppet master setup on 10.04
[2010/05/30 02:15:30] <blood> not using passenger
[2010/05/30 02:15:54] <blood> plus i upgraded everything to 0.25.5
[2010/05/30 02:19:33] <blood> sweet got my script working on osx when user isn't logged on
[2010/05/30 02:19:56] <blood> joschi: runinterval works now=)
[2010/05/30 02:25:17] @ Quit: mellen: Ping timeout: 260 seconds
[2010/05/30 02:32:34] @ p3rror joined channel #puppet
[2010/05/30 02:45:11] @ \ask_ joined channel #puppet
[2010/05/30 02:46:08] @ Quit: \ask: Read error: Connection reset by peer
[2010/05/30 02:47:44] @ Determinist joined channel #puppet
[2010/05/30 02:59:29] <blkperl> for facter is the use of ENV['FOO'] / Enviromental variables frowned upon?
[2010/05/30 03:07:27] @ mellen joined channel #puppet
[2010/05/30 03:08:36] <blood> i haven't started to use facter variables yet
[2010/05/30 03:08:40] <blood> only been working with puppet for 2 days
[2010/05/30 03:09:25] <blood> and already have some good documentation written up for ubuntu
[2010/05/30 03:11:22] <blkperl> facter variables are awesome :)
[2010/05/30 03:11:54] <blood> yup
[2010/05/30 03:12:03] <blood> it's going to allow me to group my clients the way i want
[2010/05/30 03:14:19] <ohadlevy> blkperl: yeah, kind of cool :)
[2010/05/30 03:14:45] <blkperl> ohadlevy: kind of cool?
[2010/05/30 03:14:58] <ohadlevy> facts :)
[2010/05/30 03:15:11] <ohadlevy> blkperl: make a real nice inventory
[2010/05/30 03:15:12] <blkperl> :)
[2010/05/30 03:15:32] <ohadlevy> and then you can query based on your inventory, so really useful )
[2010/05/30 03:16:14] * blkperl has custom windows facts, but doesn't know if the facter devs like enviromental variables
[2010/05/30 03:16:46] <ohadlevy> yeah you can
[2010/05/30 03:16:47] <blood> ohadlevy: how would i group clients? can i add my own variable
[2010/05/30 03:16:57] <ohadlevy> blood: sure you can
[2010/05/30 03:17:04] <blood> where would i add it
[2010/05/30 03:17:32] <ohadlevy> blood: wiki:AddingFacts
[2010/05/30 03:17:37] <blkperl> although ENV['APPDATA'] is the only one that actually notices that the path was redirected
[2010/05/30 03:17:37] <blood> thanks
[2010/05/30 03:17:56] <ohadlevy> blood: hmm.. no bot -- http://projects.puppetlabs.com/projects/puppet/wiki/Adding_Facts
[2010/05/30 03:18:21] <ohadlevy> blood: and if you use something like Foreman, than you can browse your facts in a web gui and use it to query it (e.g. groups)
[2010/05/30 03:18:42] <ohadlevy> blkperl: what do you mean?
[2010/05/30 03:19:58] <ohadlevy> blkperl: try FACTER_xyz=hello facter xyz
[2010/05/30 03:20:40] <blkperl> i was talking about the RUBY ENV object
[2010/05/30 03:21:53] @ Mick27 joined channel #puppet
[2010/05/30 03:22:05] <blood> whats foreman?
[2010/05/30 03:22:13] * blkperl was thinking facter on windows would be useful if it had userhomedir, userprofile, and user app data, but ENV only correctly the location of appdata
[2010/05/30 03:22:43] <ohadlevy> blkperl: ah, i missunderstood, in general facter will look in the ENV first if there is a fact called facter_factname
[2010/05/30 03:22:52] <ohadlevy> blood: theforeman.org
[2010/05/30 03:26:32] <ohadlevy> blkperl: so you are asking about a way to fetch the homedir in windows?
[2010/05/30 03:26:36] <blkperl> yes
[2010/05/30 03:27:03] <blood> wow nice
[2010/05/30 03:27:08] <blood> foreman is basically a gui for puppet?
[2010/05/30 03:27:28] <blood> time to install=)
[2010/05/30 03:27:29] <blood> thanks for tip
[2010/05/30 03:29:33] <ohadlevy> blood: i'll recommend you to use the nightly snapshot (or via git), as a new release is just around the corner
[2010/05/30 03:29:52] <joschi> with many new, exciting and amazing features ;)
[2010/05/30 03:30:16] <blood> i already used git recently
[2010/05/30 03:30:27] <blood> was able to upgrade puppet easily with it=)
[2010/05/30 03:30:33] <blood> really?
[2010/05/30 03:30:38] <blood> 0.25.6?
[2010/05/30 03:30:48] <ohadlevy> joschi: :)
[2010/05/30 03:31:08] <ohadlevy> joschi: on which versions of debian did you give it a try? (just updating the wiki)
[2010/05/30 03:31:18] <blkperl> ohadlevy: so facter uses ENV['PATH'] to grab the path on all operating systems, could i add a windows.rb that uses ENV to grab APPDATA, HOMEDIR, and USERPROFILE
[2010/05/30 03:31:40] <ohadlevy> joschi: I guess I need to update the screenshots too
[2010/05/30 03:31:58] <blood> puppet works with windows as well?
[2010/05/30 03:32:05] <ohadlevy> blood: no - just facter
[2010/05/30 03:32:08] <blood> ah k
[2010/05/30 03:32:15] <ohadlevy> or not yet :
[2010/05/30 03:32:15] <ohadlevy> :)
[2010/05/30 03:32:31] <blkperl> blood: and like half the facts havn't been implemented yet either
[2010/05/30 03:33:25] <joschi> ohadlevy: debian lenny, ubuntu 9.10 and ubuntu 10.04
[2010/05/30 03:33:43] <ohadlevy> joschi: thanks, I got my slug built via foreman too ;)
[2010/05/30 03:37:22] <blkperl> ohadlevy: http://pastie.org/984021
[2010/05/30 03:37:47] <ohadlevy> blkperl: looking food
[2010/05/30 03:38:54] <blkperl> should each one have its own file? or just one file called windows.rb, (theres already a macosx.rb file)
[2010/05/30 03:42:05] <blkperl> ohadlevy: thanks for the help i think i'm going to ask the mailing list :)
[2010/05/30 03:45:28] <ohadlevy> blkperl: i didnt check, but maybe there are some guidelines in the wiki
[2010/05/30 03:45:31] @ Quit: kaos01: Ping timeout: 276 seconds
[2010/05/30 03:47:21] <ohadlevy> joschi: did I ask you for your feedback about the package inventory support?
[2010/05/30 03:47:26] <blkperl> there is a guidline page but i don't think it mentions it :(
[2010/05/30 03:56:48] <joschi> ohadlevy: yes you did, but I didn't have time to install & test it yet
[2010/05/30 04:07:37] <blood> where can i find the new features upcoming for next puppet release?
[2010/05/30 04:09:03] <joschi> blood: http://projects.puppetlabs.com/projects/puppet/roadmap
[2010/05/30 04:09:22] @ Quit: mellen: Ping timeout: 252 seconds
[2010/05/30 04:12:01] <joschi> is there any best practice for creating/managing /etc/network/interfaces (debian, ubuntu) containing more than one interface definition with puppet?
[2010/05/30 04:12:08] <joschi> besides using the concat module?
[2010/05/30 04:12:20] @ alban2 joined channel #puppet
[2010/05/30 04:13:53] <blkperl> joschi: well im working on a network type for GSOC but i just started :)
[2010/05/30 04:14:26] <joschi> blkperl: yes, I've seen that one. but I need it right now[tm], as always ;)
[2010/05/30 04:15:03] <ohadlevy> joschi: why not the contact module?
[2010/05/30 04:15:25] <blkperl> joschi: :)
[2010/05/30 04:15:43] <blood> wow real nice, puppet knows if a file is different and writes the changes
[2010/05/30 04:16:01] <blood> i read some old docs where it used to not be this way
[2010/05/30 04:16:44] <blood> going to setup fortran tomorrow
[2010/05/30 04:16:47] <blood> err
[2010/05/30 04:16:49] <blood> foreman lol
[2010/05/30 04:16:51] <blood> wow im tired
[2010/05/30 04:17:01] <ohadlevy> blood - its a oneliner ;)
[2010/05/30 04:17:14] <blood> sudo apt-get install foreman i assume lol
[2010/05/30 04:17:28] <blood> i meant the configuration
[2010/05/30 04:17:34] <blood> unless that is easy too
[2010/05/30 04:17:39] <ohadlevy> blood: hmm.. thats true for redhat hosts - but no need :) see http://github.com/ohadlevy/puppet-foreman
[2010/05/30 04:17:47] <blood> ah nice
[2010/05/30 04:17:50] <blood> so use git
[2010/05/30 04:17:50] <blood> k
[2010/05/30 04:17:58] <ohadlevy> blood: it uses puppet to configure itself
[2010/05/30 04:18:05] <blood> real nice
[2010/05/30 04:18:14] <blood> so basically this is a gui for facter inventory?
[2010/05/30 04:18:33] <blood> i guess ill find out=)
[2010/05/30 04:18:48] <ohadlevy> blood: not only, also for reports, kickstart/preseed and many others - see http://theforeman.org/projects/foreman/wiki/Features
[2010/05/30 04:20:55] @ allsystemsarego joined channel #puppet
[2010/05/30 04:20:59] <blood> any other guis besides foreman/dashboard?
[2010/05/30 04:21:54] <ohadlevy> blood: not that I'm aware of
[2010/05/30 04:28:58] @ Quit: Lunar_Lamp: Ping timeout: 260 seconds
[2010/05/30 04:29:00] @ Lunar_Lamp joined channel #puppet
[2010/05/30 04:29:00] @ Quit: Lunar_Lamp: Changing host
[2010/05/30 04:29:00] @ Lunar_Lamp joined channel #puppet
[2010/05/30 04:31:25] <joschi> ohadlevy: the concat module is working fine but I don't find it very elegant. would be nice if puppet supported nested hashes instead of only arrays ;)
[2010/05/30 04:31:47] <joschi> ohadlevy: using the concat module for building the interfaces file, that is...
[2010/05/30 04:34:00] <ohadlevy> joschi: well.. .we'll have to wait to 2.6
[2010/05/30 04:34:03] @ Quit: fbe_: Ping timeout: 240 seconds
[2010/05/30 04:34:11] <ohadlevy> and then I'll probably use the ruby dsl
[2010/05/30 04:35:27] @ dbruce joined channel #puppet
[2010/05/30 04:41:15] <blood> finally got my osx software update script working perfectly
[2010/05/30 04:41:18] <blood> time for sleep
[2010/05/30 04:41:20] <blood> thanks again guys for help
[2010/05/30 04:45:11] @ Quit: MarkN1: Ping timeout: 264 seconds
[2010/05/30 04:50:06] * blkperl didn't realize ENV had some much useful information
[2010/05/30 04:50:41] * blkperl plots to transfer it most of it to facter :)
[2010/05/30 04:51:10] <ohadlevy> blkperl: note that ENV is tricky, maybe different if you use it as a service / daemon
[2010/05/30 04:52:28] <blkperl> tricky in what way? besides not being the same on all operating systems
[2010/05/30 04:57:31] @ MarkN joined channel #puppet
[2010/05/30 05:04:34] @ adrian_broher joined channel #puppet
[2010/05/30 05:05:12] @ giskard joined channel #puppet
[2010/05/30 05:12:18] @ nexx joined channel #puppet
[2010/05/30 05:14:17] @ Quit: weizhang: Quit: Leaving
[2010/05/30 05:23:12] @ noyb joined channel #puppet
[2010/05/30 05:25:51] @ giskard_ joined channel #puppet
[2010/05/30 05:26:49] @ Quit: giskard: Ping timeout: 248 seconds
[2010/05/30 05:30:07] @ faridcmi joined channel #puppet
[2010/05/30 05:30:42] @ giskard joined channel #puppet
[2010/05/30 05:32:15] @ Quit: giskard_: Ping timeout: 240 seconds
[2010/05/30 05:52:43] @ Quit: giskard: Ping timeout: 265 seconds
[2010/05/30 06:00:20] @ Guest24975 joined channel #puppet
[2010/05/30 06:03:05] @ giskard joined channel #puppet
[2010/05/30 06:03:10] @ Quit: allsystemsarego: Quit: Leaving
[2010/05/30 06:03:12] @ jense joined channel #puppet
[2010/05/30 06:04:19] @ Quit: \ask_: Remote host closed the connection
[2010/05/30 06:07:45] @ Quit: Guest24975: Remote host closed the connection
[2010/05/30 06:09:37] @ gaveen joined channel #puppet
[2010/05/30 06:21:40] @ Quit: noyb: Quit: noyb
[2010/05/30 06:26:59] @ mellen joined channel #puppet
[2010/05/30 06:27:29] @ Quit: yure: Remote host closed the connection
[2010/05/30 06:27:37] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/05/30 06:41:25] @ Quit: giskard: Ping timeout: 258 seconds
[2010/05/30 06:45:26] @ giskard joined channel #puppet
[2010/05/30 06:51:38] @ ezmobius joined channel #puppet
[2010/05/30 06:52:01] @ Quit: ezmobius: Remote host closed the connection
[2010/05/30 06:52:19] @ Quit: giskard: Ping timeout: 260 seconds
[2010/05/30 07:02:18] @ giskard joined channel #puppet
[2010/05/30 07:06:04] @ Quit: nb: Remote host closed the connection
[2010/05/30 07:06:07] <ohadlevy> blkperl: i just meant that things you get while on a shell (cmd) might not be the same if you run them as a service
[2010/05/30 07:07:07] @ Quit: foobar___: Ping timeout: 245 seconds
[2010/05/30 07:07:43] @ foobar___ joined channel #puppet
[2010/05/30 07:08:45] @ nb joined channel #puppet
[2010/05/30 07:09:14] @ Quit: giskard: Ping timeout: 260 seconds
[2010/05/30 07:14:07] @ Quit: nb: Read error: Connection reset by peer
[2010/05/30 07:15:37] @ nb joined channel #puppet
[2010/05/30 07:15:45] @ giskard joined channel #puppet
[2010/05/30 07:28:15] @ omry|work joined channel #puppet
[2010/05/30 07:35:37] @ Quit: mellen: Ping timeout: 252 seconds
[2010/05/30 07:37:45] @ Quit: stahnma: Quit: Disconnecting from stoned server.
[2010/05/30 07:37:54] @ stahnma joined channel #puppet
[2010/05/30 07:37:54] @ Quit: stahnma: Changing host
[2010/05/30 07:37:54] @ stahnma joined channel #puppet
[2010/05/30 07:38:11] @ Quit: aaronky: Read error: No route to host
[2010/05/30 07:38:13] @ aaronky joined channel #puppet
[2010/05/30 07:39:37] @ Quit: DmosEmp_: Ping timeout: 245 seconds
[2010/05/30 07:40:27] @ Quit: Mandus: Ping timeout: 245 seconds
[2010/05/30 07:40:27] @ Quit: rodjek: Ping timeout: 245 seconds
[2010/05/30 07:40:27] @ Quit: angrox: Ping timeout: 245 seconds
[2010/05/30 07:40:27] @ Quit: kjetilho: Ping timeout: 245 seconds
[2010/05/30 07:40:28] @ Quit: miah: Ping timeout: 245 seconds
[2010/05/30 07:40:36] @ rellis joined channel #puppet
[2010/05/30 07:40:52] @ Quit: cz8s: Ping timeout: 245 seconds
[2010/05/30 07:40:52] @ Quit: cmoates: Ping timeout: 245 seconds
[2010/05/30 07:40:52] @ Quit: samppah_: Ping timeout: 245 seconds
[2010/05/30 07:41:22] @ angrox joined channel #puppet
[2010/05/30 07:41:31] @ cz8s joined channel #puppet
[2010/05/30 07:41:36] @ Mandus joined channel #puppet
[2010/05/30 07:41:39] @ miah joined channel #puppet
[2010/05/30 07:41:39] @ cmoates joined channel #puppet
[2010/05/30 07:41:42] @ Quit: ReinH: Ping timeout: 245 seconds
[2010/05/30 07:41:51] @ rodjek joined channel #puppet
[2010/05/30 07:41:57] @ samppah joined channel #puppet
[2010/05/30 07:42:05] @ Quit: rellis__: Remote host closed the connection
[2010/05/30 07:42:16] @ ReinH joined channel #puppet
[2010/05/30 07:45:19] @ cliff-hm joined channel #puppet
[2010/05/30 07:47:46] @ Quit: Determinist: Ping timeout: 260 seconds
[2010/05/30 07:49:16] @ Quit: gaveen: Ping timeout: 258 seconds
[2010/05/30 07:51:18] @ Quit: nb: Remote host closed the connection
[2010/05/30 07:51:31] @ kjetilho joined channel #puppet
[2010/05/30 07:53:42] @ mellen joined channel #puppet
[2010/05/30 08:01:06] @ Whoop_ joined channel #puppet
[2010/05/30 08:01:57] @ gaveen joined channel #puppet
[2010/05/30 08:03:38] @ nb joined channel #puppet
[2010/05/30 08:04:49] @ jab_doa joined channel #puppet
[2010/05/30 08:11:05] @ Quit: foobar___: Ping timeout: 260 seconds
[2010/05/30 08:11:44] @ Bass10 joined channel #puppet
[2010/05/30 08:11:50] @ Quit: nb: Quit: ZNC - http://znc.sourceforge.net
[2010/05/30 08:12:02] @ Quit: Bass10: Read error: Connection reset by peer
[2010/05/30 08:16:49] @ foobar___ joined channel #puppet
[2010/05/30 08:22:09] @ nb joined channel #puppet
[2010/05/30 08:36:36] @ Quit: bgupta_: Quit: bgupta_
[2010/05/30 08:38:14] @ bgupta joined channel #puppet
[2010/05/30 08:41:26] <davea1> I am having a problem with a client and the ssl setup- I have removed and resintalled the client but I can never get it to work right
[2010/05/30 08:41:34] @ kenneho joined channel #puppet
[2010/05/30 08:41:59] @ cocoin joined channel #puppet
[2010/05/30 08:42:18] <davea1> the message I get in debugmode on the client is: Could not retrieve catalog from remote server: hostname not match with the server certificate
[2010/05/30 08:42:30] <davea1> I have recreated the cert 3 times
[2010/05/30 08:42:47] <davea1> uninstalled and reinstalled the puppet client on this machine
[2010/05/30 08:42:51] <davea1> still no joy
[2010/05/30 08:42:53] <davea1> ;(
[2010/05/30 08:43:37] <Volcane> are you running it with --server or server= in the config?
[2010/05/30 08:45:02] <davea1> yes
[2010/05/30 08:45:19] <davea1> wait one
[2010/05/30 08:45:31] <Volcane> you should just make it talk to 'puppet'
[2010/05/30 08:45:56] <davea1> aha!
[2010/05/30 08:46:12] <davea1> I have the puppet server in /etc/sysconfig/puppet
[2010/05/30 08:46:22] <davea1> but that is only used when running in daemon mode
[2010/05/30 08:46:32] <davea1> I was doing one-shot for debugging
[2010/05/30 08:46:37] <Volcane> yes, its a bad idea to configure it there
[2010/05/30 08:46:45] <kenneho> Hi all. I have a quick question about the Puppet Dashboard bug tracker. If I add a comment to a ticket that has status "Need more information", will the bug tracker tool automatically notify someone at puppet labs about the ticket update, or will I have to to this manually myself?
[2010/05/30 08:46:46] <davea1> without the --server
[2010/05/30 08:46:56] <Volcane> davea1: just put server=foo in puppet.conf
[2010/05/30 08:47:13] <davea1> Volcane, gotcha! Thanks!
[2010/05/30 08:47:46] @ Quit: cocoin: Read error: Connection reset by peer
[2010/05/30 08:49:20] <Volcane> kenneho: it will notify them
[2010/05/30 08:50:15] <kenneho> volcane: Ok, so if the ticket remains in status "Need more information", this is because the guys at puppet labs just haven't reviewed the update yet?
[2010/05/30 08:50:38] <Volcane> kenneho: if there's no comment after yours then i yes
[2010/05/30 08:51:20] <kenneho> volcane: Thanks.
[2010/05/30 08:59:22] <ohadlevy> Volcane: did you go to puppetcamp?
[2010/05/30 09:16:46] @ Whoop_ is now known as Whoop
[2010/05/30 09:16:51] @ Quit: Whoop: Changing host
[2010/05/30 09:16:51] @ Whoop joined channel #puppet
[2010/05/30 09:26:52] @ p3rror joined channel #puppet
[2010/05/30 09:29:30] @ Quit: mellen: Ping timeout: 260 seconds
[2010/05/30 09:29:37] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/05/30 09:31:23] @ mellen joined channel #puppet
[2010/05/30 09:31:37] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/05/30 09:35:46] @ DmosEmp_ joined channel #puppet
[2010/05/30 09:37:33] @ herdingcat joined channel #puppet
[2010/05/30 09:48:16] @ Quit: faridcmi: Quit: Quitte
[2010/05/30 09:58:50] @ Quit: kuh: Read error: Connection reset by peer
[2010/05/30 10:04:03] @ kuh joined channel #puppet
[2010/05/30 10:07:54] @ pinoyskull joined channel #puppet
[2010/05/30 10:21:46] @ emarshall joined channel #puppet
[2010/05/30 10:32:37] @ kenneho left channel #puppet ()
[2010/05/30 10:37:57] @ Quit: giskard: Ping timeout: 260 seconds
[2010/05/30 10:43:50] <blood> ohadlevy: u around? i'm trying to install foreman on ubuntu
[2010/05/30 10:44:02] <ohadlevy> blood: yep?
[2010/05/30 10:44:10] <blood> how do i go about installing it? i downloaded the tar
[2010/05/30 10:44:53] @ giskard joined channel #puppet
[2010/05/30 10:44:57] <ohadlevy> blood: you can use puppet to set it up, or follow the instructions in the wiki
[2010/05/30 10:45:08] <blood> am, not working
[2010/05/30 10:45:13] <ohadlevy> which part?
[2010/05/30 10:45:20] <blood> echo include foreman | puppet --verbose --modulepath /path_to/tarball
[2010/05/30 10:45:23] <blood> errors out
[2010/05/30 10:45:32] <ohadlevy> with what? :)
[2010/05/30 10:45:35] <blood> sec
[2010/05/30 10:46:21] <blood> could not retrieve fact fqdn
[2010/05/30 10:46:32] <blood> could not find class foreman for ubuntu
[2010/05/30 10:46:54] <blood> could not find class foreman at line 1 on node ubuntu
[2010/05/30 10:46:56] <blood> those 3
[2010/05/30 10:47:07] <ohadlevy> blood: hmm... that doesnt make a lot of sense.. did you run puppetd or puppet?
[2010/05/30 10:47:31] <blood> this gets installed on clients only?
[2010/05/30 10:48:10] <ohadlevy> no, this sets up foreman itself, not the clients
[2010/05/30 10:48:15] <blood> k
[2010/05/30 10:48:33] <ohadlevy> you can use it with puppetd as a normal module, or with puppet as a standalone setup
[2010/05/30 10:48:53] <blood> if i use it with puppetd, i can add it to the puppet.conf?
[2010/05/30 10:49:39] <blood> ok i ran it with puppetd this time, no error
[2010/05/30 10:49:42] <ohadlevy> blood: i'm not sure I follow, puppetd is the puppet daemon, puppet binary is a standalone puppet (which doesnt require anything besides the modules to run)
[2010/05/30 10:51:14] <ohadlevy> blood: does it work now?
[2010/05/30 10:51:18] <blood> echo include foreman | puppetd --verbose --modulepath /path_to/tarball gave no error
[2010/05/30 10:51:24] <blood> not sure what to do next
[2010/05/30 10:51:32] <ohadlevy> blood: you should run:
[2010/05/30 10:51:44] <ohadlevy> cho include foreman | puppet --verbose --modulepath /path_...
[2010/05/30 10:51:46] <ohadlevy> not puppetd
[2010/05/30 10:51:56] <ohadlevy> /scho/echo
[2010/05/30 10:52:05] <blood> let me try
[2010/05/30 10:52:39] <ohadlevy> blood: btw: I'll recommend you to use the latest develop version
[2010/05/30 10:52:48] <ohadlevy> which should be a simple change in your manifest to use
[2010/05/30 10:53:31] <blood> i'm using 0.25.5
[2010/05/30 10:53:41] <ohadlevy> blood: i mean foreman develop version
[2010/05/30 10:53:44] <blood> ah ok
[2010/05/30 10:54:03] <blood> i'll try that then
[2010/05/30 10:54:12] <ohadlevy> i've update the repo, can you fetch the tar again?
[2010/05/30 10:54:40] <ohadlevy> blood: http://github.com/ohadlevy/puppet-foreman/tarball/master
[2010/05/30 10:55:17] <blood> ok i got the old stuff working
[2010/05/30 10:55:21] <blood> but i had error
[2010/05/30 10:55:26] @ giskard_ joined channel #puppet
[2010/05/30 10:55:30] <blood> it autoloads stuff then gives this error
[2010/05/30 10:56:00] <blood> parameter user failed: only root can execute commands
[2010/05/30 10:56:04] @ Quit: giskard: Ping timeout: 272 seconds
[2010/05/30 10:56:19] <ohadlevy> blood: yeah, you need to run it as root, or with sudo
[2010/05/30 10:56:23] <blood> did
[2010/05/30 10:56:41] <ohadlevy> blood: can you pastie the entire error message?
[2010/05/30 10:56:49] <blood> sure if i could copy this damn text from the VM
[2010/05/30 10:56:54] <ohadlevy> :)
[2010/05/30 10:56:56] <blood> let me log in as root and try again
[2010/05/30 10:57:03] <ohadlevy> ok
[2010/05/30 10:57:45] <blood> it's fine to have foreman package in /tmp right?
[2010/05/30 10:58:24] <ohadlevy> which package?
[2010/05/30 10:58:29] <blood> the tarball
[2010/05/30 10:58:30] <ohadlevy> the tar ?
[2010/05/30 10:58:32] <ohadlevy> sure
[2010/05/30 10:58:32] <blood> yea
[2010/05/30 10:58:33] <blood> k
[2010/05/30 10:58:39] <ohadlevy> its just puppet manifests
[2010/05/30 10:58:41] <blood> ok with sudo i got error but when i logged in with root
[2010/05/30 10:58:43] <blood> it worked
[2010/05/30 10:58:49] <blood> except i get a new error now=)
[2010/05/30 10:58:52] <ohadlevy> you need to echo ... | sudo puppet :)
[2010/05/30 10:59:14] <blood> failed to call refresh Exec[db_migrate]
[2010/05/30 10:59:30] <blood> rake db migrate returned 1 instead of 0
[2010/05/30 10:59:34] <ohadlevy> blood: yeah, I just fixed that now - fetch the tar again (I've updated it)
[2010/05/30 10:59:37] <blood> k
[2010/05/30 10:59:39] <ohadlevy> and rm -rf /usr/share/foreman
[2010/05/30 10:59:42] <ohadlevy> and try again :)
[2010/05/30 10:59:44] <blood> ok
[2010/05/30 11:00:37] <ohadlevy> blood: is that your machine is your puppetmaster too?
[2010/05/30 11:02:14] <blood> same error
[2010/05/30 11:02:14] <blood> yes
[2010/05/30 11:02:22] @ Quit: emarshall: Quit: emarshall
[2010/05/30 11:02:31] <ohadlevy> do you have rubygems installed?
[2010/05/30 11:02:41] <blood> yea
[2010/05/30 11:02:52] <ohadlevy> did it try to install some packages?
[2010/05/30 11:02:56] <blood> let me check
[2010/05/30 11:03:29] <ohadlevy> you should see it in the puppet output
[2010/05/30 11:04:34] <ohadlevy> what I've just added to the tar was to install the rack gem, so if you dont have it thats probably the reason it fails
[2010/05/30 11:05:02] <blood> it gets stuff from tftp
[2010/05/30 11:05:16] <blood> starts executing a bunch of stuff
[2010/05/30 11:05:20] <blood> which are all successful
[2010/05/30 11:05:36] <ohadlevy> anything fails? any packages?
[2010/05/30 11:05:49] <blood> install_from_source.pp:43
[2010/05/30 11:05:50] <blood> that line
[2010/05/30 11:06:03] <blood> db migrate returned 1 instead of 0
[2010/05/30 11:06:13] <blood> thats the only error i get in entire process
[2010/05/30 11:06:15] <ohadlevy> ok, lets try and see why :) cd /usr/share/foreman
[2010/05/30 11:06:18] <blood> k
[2010/05/30 11:06:28] <ohadlevy> export RAILS_ENV=production
[2010/05/30 11:06:30] <ohadlevy> rake db:migrate
[2010/05/30 11:06:35] <ohadlevy> should give you the error
[2010/05/30 11:06:44] <blood> sec
[2010/05/30 11:07:15] <blood> cant convert nil into string
[2010/05/30 11:07:33] <ohadlevy> rake db:migrate --trace ?
[2010/05/30 11:08:08] <blood> bunch of stuff poppetd up
[2010/05/30 11:08:11] <blood> popped up
[2010/05/30 11:08:16] <ohadlevy> can you pastie it?
[2010/05/30 11:08:26] <blood> i wish if vmware tools wasnt broken in ubuntu 10.04
[2010/05/30 11:08:30] <blood> i need to get it fixed
[2010/05/30 11:08:36] <ohadlevy> or just the first couple of lines
[2010/05/30 11:08:51] <blood> ok here is the last line before the nil error
[2010/05/30 11:09:19] <blood> add_column(:hosts, :owner_type, :string)
[2010/05/30 11:09:22] <blood> it doesnt like that line
[2010/05/30 11:09:34] <blood> cant convert nil to string
[2010/05/30 11:09:37] <ohadlevy> let me see
[2010/05/30 11:09:39] <ohadlevy> one sce
[2010/05/30 11:09:40] <ohadlevy> sec
[2010/05/30 11:10:53] <ohadlevy> does it say a line number ?
[2010/05/30 11:11:04] <ohadlevy> i guess its in the add_owners_to_hosts file
[2010/05/30 11:11:06] <blood> ok with trace, the last line is
[2010/05/30 11:11:18] <blood> ./usr/bin/rake:28
[2010/05/30 11:11:26] <blood> err
[2010/05/30 11:11:29] <blood> let me go back a few lines
[2010/05/30 11:11:49] <blood> rake.rb:1998 in 'run'
[2010/05/30 11:11:59] <ohadlevy> does facter domain gives out any output on your machine?
[2010/05/30 11:12:24] <blood> ok databases.rake:116
[2010/05/30 11:12:48] <blood> let me check
[2010/05/30 11:13:07] <blood> nope
[2010/05/30 11:13:26] <ohadlevy> ok, that explains it :), lets try to workaround it, edit config/settings.yaml
[2010/05/30 11:13:54] <blood> yea this is a test machine, i have everything in my local hosts=)
[2010/05/30 11:13:57] <blood> k
[2010/05/30 11:13:58] <blood> sec
[2010/05/30 11:13:58] <ohadlevy> and have a line like this: (including the leading ':')
[2010/05/30 11:14:46] <ohadlevy> :administrator: your@email
[2010/05/30 11:15:33] <blood> done
[2010/05/30 11:15:36] <blood> try again?
[2010/05/30 11:15:46] <ohadlevy> yes
[2010/05/30 11:16:15] <blood> worked
[2010/05/30 11:16:34] <ohadlevy> ok ;)
[2010/05/30 11:16:44] <blood> so what caused that? not being on a domain?
[2010/05/30 11:17:05] <ohadlevy> it tries to auto assign a default user to the hosts, so if you want foreman to send you email notifications, it will know where to
[2010/05/30 11:17:13] <ohadlevy> it defaults to root@domain if no users are defined
[2010/05/30 11:17:15] <blood> ah
[2010/05/30 11:17:28] <ohadlevy> i guess I should add something that skips it if no domain is defined :)
[2010/05/30 11:17:31] <blood> which fails since i'm not on a domain hehe
[2010/05/30 11:17:48] <ohadlevy> blood: thanks for troubleshooting :)
[2010/05/30 11:17:50] <blood> ok so now whats next step?
[2010/05/30 11:17:51] <blood> np
[2010/05/30 11:18:25] <ohadlevy> ./script/server -e production
[2010/05/30 11:18:41] <blood> i have dashboard running as well, this uses same port right?
[2010/05/30 11:18:45] <blood> i'll need to change it
[2010/05/30 11:18:46] <ohadlevy> yeah, so just do
[2010/05/30 11:18:53] <ohadlevy> ./script/server -e production - p 4000
[2010/05/30 11:18:55] <blood> k
[2010/05/30 11:19:15] <ohadlevy> but you might need to change a couple of importrs
[2010/05/30 11:19:22] <ohadlevy> e.g.
[2010/05/30 11:19:39] <blood> do i need dashboard if i use this?
[2010/05/30 11:19:53] <ohadlevy> <no comment>
[2010/05/30 11:19:56] <blood> hehe
[2010/05/30 11:20:05] @ Quit: gaveen: Quit: Leaving
[2010/05/30 11:20:11] <ohadlevy> edit /etc/puppet/push_facts.rb file
[2010/05/30 11:20:15] <ohadlevy> to update the port
[2010/05/30 11:20:34] <ohadlevy> there is a url line
[2010/05/30 11:20:47] <ohadlevy> should probably be changed to "http://localhost:4000"
[2010/05/30 11:20:56] <blood> i'm just going to use this over dashboard
[2010/05/30 11:20:58] <blood> seems better
[2010/05/30 11:21:35] <ohadlevy> do you see your hosts already? :)
[2010/05/30 11:21:44] <blood> nope
[2010/05/30 11:21:54] <blood> let me run it on port 3000 now
[2010/05/30 11:22:25] <blood> i setup my client to send reports to the puppet dashboard
[2010/05/30 11:22:31] <blood> how do i set it to send to foreman now?
[2010/05/30 11:22:50] <ohadlevy> how did you configure the reporting? in puppet.conf?
[2010/05/30 11:22:56] <blood> yea
[2010/05/30 11:23:05] <blood> report=puppet_dashboard i believe , let me check
[2010/05/30 11:23:30] <ohadlevy> ok, so you need to add/change this to foreman
[2010/05/30 11:23:46] <blood> nope just did report=true
[2010/05/30 11:24:09] <ohadlevy> report=true is on the client, on the puppetmaster you need to have reports=
[2010/05/30 11:24:11] <blood> on puppet master i did this
[2010/05/30 11:24:11] <blood> [puppetmasterd]
[2010/05/30 11:24:12] <blood> reports=puppet_dashboard
[2010/05/30 11:24:20] <blood> so change that to foreman?
[2010/05/30 11:24:22] <ohadlevy> so you can add/change it to reports=foreman
[2010/05/30 11:24:24] <ohadlevy> yep
[2010/05/30 11:24:29] <blood> ok
[2010/05/30 11:24:31] @ Quit: kuh: Ping timeout: 240 seconds
[2010/05/30 11:24:40] <ohadlevy> but you need to update the urls a bit
[2010/05/30 11:24:46] <ohadlevy> can you go to the place you had the tarball?
[2010/05/30 11:24:50] <blood> sure sec
[2010/05/30 11:24:56] <ohadlevy> goto foreman/files
[2010/05/30 11:24:57] <blood> ok there
[2010/05/30 11:24:59] <ohadlevy> there are 3 files in there
[2010/05/30 11:25:25] <ohadlevy> just edit each one of them, and put the right url
[2010/05/30 11:25:31] <ohadlevy> e.g. http://localhost:3000
[2010/05/30 11:25:33] <ohadlevy> or whatever
[2010/05/30 11:25:52] <blood> k
[2010/05/30 11:26:00] <ohadlevy> than run the puppet command again
[2010/05/30 11:26:06] <ohadlevy> it will update the files in your system
[2010/05/30 11:26:40] <blood> now that i think about it, i could of just added foreman to my hosts file
[2010/05/30 11:26:41] <blood> o well
[2010/05/30 11:26:47] <blood> ok let me run command agian
[2010/05/30 11:26:48] <ohadlevy> :)
[2010/05/30 11:28:09] <blood> ok restart puppetmasterd now'?
[2010/05/30 11:28:22] <ohadlevy> yep
[2010/05/30 11:28:47] <ohadlevy> if you have the server running, hopefully you can already see your hosts by now
[2010/05/30 11:29:05] @ kuh joined channel #puppet
[2010/05/30 11:30:17] <blood> hrmm page cant be displayed
[2010/05/30 11:30:22] <blood> let me check something
[2010/05/30 11:31:35] <blood> We're sorry, but something went wrong.
[2010/05/30 11:31:35] <blood> We've been notified about this issue and we'll take a look at it shortly.
[2010/05/30 11:31:37] <blood> lol
[2010/05/30 11:33:37] <blood> i think i added the wrong url in one of those files
[2010/05/30 11:33:55] <ohadlevy> do see any error message ?
[2010/05/30 11:34:03] <ohadlevy> on the server console??
[2010/05/30 11:38:31] @ Quit: giskard_: Ping timeout: 240 seconds
[2010/05/30 11:38:33] <blood> where can i check log
[2010/05/30 11:38:39] @ giskard joined channel #puppet
[2010/05/30 11:38:54] <ohadlevy> blood: either on the console you started script/server or in /usr/share/foreman/log/production
[2010/05/30 11:39:58] <blood> fixed it
[2010/05/30 11:40:08] <blood> problem was, i only changed 1 entry in each of those rb files
[2010/05/30 11:40:12] <blood> but there seems to be other spots
[2010/05/30 11:40:20] <ohadlevy> in which file?
[2010/05/30 11:40:25] <blood> let me check
[2010/05/30 11:40:33] <blood> but basically once i kept foreman and added it to hosts, it worked
[2010/05/30 11:40:35] <blood> let me check now
[2010/05/30 11:41:40] <blood> ok i know what happened
[2010/05/30 11:41:50] <blood> push_facts.rb i added foreman:3000
[2010/05/30 11:41:56] <blood> when it should of been just foreman
[2010/05/30 11:42:02] <blood> not sure why but it works this way
[2010/05/30 11:42:10] <ohadlevy> hm.. that should not fail the server
[2010/05/30 11:42:15] <ohadlevy> hmm.. and I think you need the 3000
[2010/05/30 11:42:17] <blood> let me add it back to 3000
[2010/05/30 11:42:42] <ohadlevy> brb
[2010/05/30 11:44:44] <blood> works now, there is something using foreman though
[2010/05/30 11:44:52] <blood> when you run the echo include foreman command
[2010/05/30 11:45:09] @ Quit: docelic_: Ping timeout: 260 seconds
[2010/05/30 11:45:12] <blood> so not sure what scripts that calls but i see ://foreman in there when i changed it in those 3 files
[2010/05/30 11:48:47] @ Quit: Chiku: Quit: Quitte
[2010/05/30 11:48:55] @ rcrowley joined channel #puppet
[2010/05/30 11:49:14] <ohadlevy> so do you finally see some data ?:)
[2010/05/30 11:52:02] @ Quit: rcrowley: Client Quit
[2010/05/30 11:56:24] <nawty> anyone using ubuntu 10.04 + puppet (package) + libapache2-mod-passenger (package) with a working config.ru?
[2010/05/30 11:56:26] <nawty> it'd be puppet 0.25.4, and passenger 2.2.6
[2010/05/30 11:58:13] @ docelic_ joined channel #puppet
[2010/05/30 11:58:14] <ohadlevy> blood: any luck?
[2010/05/30 12:00:02] @ giskard_ joined channel #puppet
[2010/05/30 12:01:09] @ Quit: giskard: Ping timeout: 276 seconds
[2010/05/30 12:02:43] @ giskard joined channel #puppet
[2010/05/30 12:04:07] <ohadlevy> nawty: do you get any error?
[2010/05/30 12:05:22] @ Quit: giskard_: Ping timeout: 276 seconds
[2010/05/30 12:06:48] @ verwilst joined channel #puppet
[2010/05/30 12:07:38] <nawty> it seems that passenger is burping: Could not prepare for execution: Got 1 failure(s) while initializing: change from absent to file failed: Could not set file on ensure: Permission denied - /var/log/puppet/masterhttp.log
[2010/05/30 12:08:03] <ohadlevy> whos the owner of config.nu?
[2010/05/30 12:08:40] <nawty> root, but w:r
[2010/05/30 12:09:01] <nawty> and in frustration, i set 777 on the masterhttp.log
[2010/05/30 12:09:03] <hacim> you want it to be owned by the user running the application
[2010/05/30 12:09:23] <hacim> nawty: the newer puppet package in debian sorts all of this out
[2010/05/30 12:10:23] <nawty> hacim: by the look of things the passenger process(es) are all running as root
[2010/05/30 12:10:43] <blood> back
[2010/05/30 12:10:43] <nawty> hacim: is there any easy way I can find out who the owner user would be ?
[2010/05/30 12:10:48] <blood> ohadlevy: yes my client showed up
[2010/05/30 12:11:17] <blood> i can see all the facts
[2010/05/30 12:11:18] <blood> etc
[2010/05/30 12:11:30] <hacim> nawty: it should be puppet:puppet
[2010/05/30 12:12:08] <blood> thanks for the help ohadlevy=)
[2010/05/30 12:12:24] <hacim> nawty: have you followed the instructions on the wiki for puppet+passenger?
[2010/05/30 12:12:47] <nawty> hacim: yes, although I suppose I may have missed something if it's not working :P
[2010/05/30 12:13:03] <nawty> hacim: also, now it's 'seemingly' working, but burps at : The environment must be purely alphanumeric, not ''
[2010/05/30 12:13:39] <hacim> what is your environment set to?
[2010/05/30 12:14:13] <blood> pretty nice, i can see the logs each client has with puppetmaster
[2010/05/30 12:15:08] <hacim> blood: using foreman?
[2010/05/30 12:15:56] <nawty> ah, i just found the line I missed (chown puppet)
[2010/05/30 12:16:13] <ohadlevy> blood: great, next step is to use it to manage your classes
[2010/05/30 12:16:26] <nawty> hacim: at the moment I'm not directly specifying it.
[2010/05/30 12:17:39] <ohadlevy> blood: you might want to look at http://theforeman.org/projects/foreman/wiki/Howtos
[2010/05/30 12:18:43] <nawty> ohadlevy: any specific one?
[2010/05/30 12:19:02] <ohadlevy> nawty: for what?
[2010/05/30 12:19:12] @ allsystemsarego joined channel #puppet
[2010/05/30 12:19:24] <nawty> ohadlevy: sorry, it's early, and I s/blood/nawty/g
[2010/05/30 12:19:45] <ohadlevy> nawty: check your syslog, you might find some more info there
[2010/05/30 12:22:51] <nawty> ohadlevy: not much.
[2010/05/30 12:23:16] <nawty> ohadlevy: http://pastebin.com/rsyHqjv1
[2010/05/30 12:24:18] <ohadlevy> nawty: sounds like permissions problems to resolve your ip
[2010/05/30 12:24:31] @ giskard_ joined channel #puppet
[2010/05/30 12:24:31] <ohadlevy> and or namespace.conf settings (if you have any)
[2010/05/30 12:24:44] <ohadlevy> anyway, I'm off now - cya
[2010/05/30 12:24:48] @ Quit: giskard: Ping timeout: 265 seconds
[2010/05/30 12:25:44] @ Quit: alban2: Ping timeout: 264 seconds
[2010/05/30 12:26:04] @ alban2 joined channel #puppet
[2010/05/30 12:28:28] <Volcane> ohadlevy: yeah
[2010/05/30 12:28:32] <Volcane> ohadlevy: was good
[2010/05/30 12:29:07] @ cz8s left channel #puppet ()
[2010/05/30 12:30:45] @ Quit: verwilst: Quit: Ex-Chat
[2010/05/30 12:33:34] @ omry_|work joined channel #puppet
[2010/05/30 12:35:14] @ Quit: omry|work: Ping timeout: 258 seconds
[2010/05/30 12:40:27] <blood> hacim: yes
[2010/05/30 12:40:33] <blood> hacim: just set it up
[2010/05/30 12:43:34] @ Mick27 joined channel #puppet
[2010/05/30 12:48:32] <blood> nice had no idea about storeconfigs
[2010/05/30 12:48:41] <blood> nice feature=)
[2010/05/30 12:48:51] <blood> i need to enable it
[2010/05/30 12:49:57] <blood> ah reading that it will slow puppet down
[2010/05/30 12:50:04] <blood> is this still true with latest version?
[2010/05/30 12:50:56] <Volcane> it does _lots_ of database work
[2010/05/30 12:51:01] <hacim> i dont know if 'slow puppet' down is really that much of a discouraging criteria, if you benefit from what it gets you
[2010/05/30 12:51:29] <hacim> the 'slow down' may be reasonable trade-off
[2010/05/30 12:51:36] <nawty> ohadlevy: it doesn't actually 'fail' with that error, it still carry's on working, it's just annoying ;)
[2010/05/30 12:51:38] <blood> well if it allows me to see all my client configs, i think its a good trade off
[2010/05/30 12:51:52] <blood> since it will help for troubleshooting
[2010/05/30 12:51:57] <hacim> its not like a huge slow-down, just cuts off the top of the scaling
[2010/05/30 12:52:04] <blood> gotcha
[2010/05/30 12:52:24] <blood> need to add this to my puppet ubuntu config then i'll continue to setup more features
[2010/05/30 12:52:32] <blood> puppet ubuntu documentation i mean
[2010/05/30 12:52:50] <blood> so i dont forget next time i set all this up
[2010/05/30 12:53:04] <hacim> ie. if you are running puppetmaster on a particular server with X resources, you are going to be able to serve Y puppet clients (which is going to be a function of the complexity of their manifests), but it might be reduced to Z clients with storedconfigs
[2010/05/30 12:53:52] <hacim> and the difference between Y and Z is sort of unknown
[2010/05/30 12:53:54] <blood> well if i put this into production , it will be for roughly 350 mac clients
[2010/05/30 12:54:26] <hacim> you will have to deal with scaling with or without storedconfigs then
[2010/05/30 12:55:11] <blood> i guess i wont really need storedconfigs since all my clients *should* have the same exact config
[2010/05/30 12:55:27] <blood> the clients are in a lab environment for students
[2010/05/30 12:56:19] <blood> and i will be rolling out a thin image to all of them
[2010/05/30 13:02:45] <blood> just got a puppet book, hopefully it will help me get a better hand on stuff=)
[2010/05/30 13:10:52] <blood> "Pulling Strings With Puppet", good book to start
[2010/05/30 13:10:52] <blood> ?
[2010/05/30 13:11:20] <kjetilho> yes, but it's a bit outdated.
[2010/05/30 13:11:26] <kjetilho> the concepts are still valid, though
[2010/05/30 13:11:28] <blood> whats the latest book?
[2010/05/30 13:12:13] <kjetilho> I don't know of any others
[2010/05/30 13:13:11] <blood> yea just checked, thats the only one i see
[2010/05/30 13:19:42] <blood> jeff mccune in this channel? anyone know what nick he uses?
[2010/05/30 13:22:44] @ Quit: walrus: Ping timeout: 264 seconds
[2010/05/30 13:35:22] @ \ask joined channel #puppet
[2010/05/30 13:37:35] @ Quit: telmich: Quit: Changing server
[2010/05/30 13:49:01] @ adsadad joined channel #puppet
[2010/05/30 13:50:33] @ sebas891 joined channel #puppet
[2010/05/30 13:52:17] @ Quit: Mick27: Ping timeout: 265 seconds
[2010/05/30 13:55:33] @ Quit: \ask: Remote host closed the connection
[2010/05/30 14:02:13] @ verwilst joined channel #puppet
[2010/05/30 14:03:28] <blood> is there a munki type for puppet?
[2010/05/30 14:05:46] @ Quit: omry_|work: Ping timeout: 248 seconds
[2010/05/30 14:07:15] @ omry_|work joined channel #puppet
[2010/05/30 14:07:19] @ Quit: adsadad: Quit: Leaving
[2010/05/30 14:11:37] @ thegcat joined channel #puppet
[2010/05/30 14:15:35] @ emarshall joined channel #puppet
[2010/05/30 14:17:22] <hacim> i have never heard of munki
[2010/05/30 14:19:23] @ Quit: adrian_broher: Ping timeout: 264 seconds
[2010/05/30 14:19:45] @ Quit: shenson: Quit: /me taps out
[2010/05/30 14:19:55] @ adrian_broher joined channel #puppet
[2010/05/30 14:21:57] @ giskard joined channel #puppet
[2010/05/30 14:23:32] @ Quit: giskard_: Ping timeout: 240 seconds
[2010/05/30 14:29:04] @ giskard_ joined channel #puppet
[2010/05/30 14:29:31] @ Quit: herdingcat: Quit: Leaving
[2010/05/30 14:30:34] @ Quit: giskard: Ping timeout: 240 seconds
[2010/05/30 14:38:46] @ \ask joined channel #puppet
[2010/05/30 14:40:17] @ Quit: \ask: Remote host closed the connection
[2010/05/30 14:41:03] @ gebi joined channel #puppet
[2010/05/30 14:42:15] @ Quit: verwilst: Quit: Ex-Chat
[2010/05/30 14:45:12] <blood> sec
[2010/05/30 14:45:21] <blood> http://code.google.com/p/munki/
[2010/05/30 14:53:49] <blood> looks like i may use this with puppet
[2010/05/30 14:54:14] <blood> munki is strictly for managing osx software installations
[2010/05/30 14:58:14] @ comprehensive joined channel #puppet
[2010/05/30 14:59:57] @ Quit: alban2: Ping timeout: 265 seconds
[2010/05/30 15:03:16] @ Quit: omry_|work: Ping timeout: 240 seconds
[2010/05/30 15:06:52] @ omry_|work joined channel #puppet
[2010/05/30 15:15:30] <Tonnerre> Is there a way to have Puppet defines in LDAP?
[2010/05/30 15:18:46] @ benoit__ joined channel #puppet
[2010/05/30 15:21:40] @ Mick27 joined channel #puppet
[2010/05/30 15:22:27] @ alban2 joined channel #puppet
[2010/05/30 15:22:44] @ verwilst joined channel #puppet
[2010/05/30 15:28:23] <agaffney> Tonnerre: you can have node information in ldap
[2010/05/30 15:32:23] <Tonnerre> agaffney, yes, class includes and variables
[2010/05/30 15:35:20] @ ezmobius joined channel #puppet
[2010/05/30 15:37:51] @ Chiku joined channel #puppet
[2010/05/30 15:38:04] <Tonnerre> agaffney, but what about defines?
[2010/05/30 15:40:22] @ rcrowley joined channel #puppet
[2010/05/30 15:41:46] @ Quit: emarshall: Quit: emarshall
[2010/05/30 15:46:19] @ fbe_ joined channel #puppet
[2010/05/30 15:55:41] @ Quit: verwilst: Quit: Ex-Chat
[2010/05/30 16:03:39] @ Quit: toi: Quit: Ex-Chat
[2010/05/30 16:20:35] <Volcane> Tonnerre: no
[2010/05/30 16:24:56] @ Quit: taihen: Read error: Operation timed out
[2010/05/30 16:26:52] @ Quit: fbe_: Ping timeout: 240 seconds
[2010/05/30 16:30:48] <nico> is it planned to publish puppetcamp slides for the infortunate ones who couldn't attend ?
[2010/05/30 16:31:25] <nico> blood: create a new provider then
[2010/05/30 16:31:42] <Tonnerre> Volcane, is this by intention?
[2010/05/30 16:31:51] <Volcane> Tonnerre: yes
[2010/05/30 16:32:00] @ \ask joined channel #puppet
[2010/05/30 16:32:08] <Tonnerre> Volcane, what's the intention?
[2010/05/30 16:32:08] <Volcane> Tonnerre: you can though file a feature request
[2010/05/30 16:32:23] <nico> code has nothing to do in the classification tool (to me)
[2010/05/30 16:32:43] <Tonnerre> Defines aren't necessarily code
[2010/05/30 16:33:17] <Volcane> resource creation doesnt belong there
[2010/05/30 16:33:23] <nico> Tonnerre: you mean when they're only aggregation of classes ?
[2010/05/30 16:33:58] <Tonnerre> I mean things like apache_vhost("www.blah.ch")
[2010/05/30 16:34:23] <Volcane> Tonnerre: you'd put that in a class so you can easily move the exact resource between nodes surely
[2010/05/30 16:34:45] <Tonnerre> Volcane, but that means I have to edit files
[2010/05/30 16:34:47] <nico> +1, I don't want to to be outside a class
[2010/05/30 16:35:04] <Volcane> Tonnerre: if you dont want to edit files, perhaps give microsoft a call?
[2010/05/30 16:35:13] <nico> Tonnerre: you could also rely on an external data tool
[2010/05/30 16:35:22] <Tonnerre> nico, how so?
[2010/05/30 16:35:33] @ Quit: allsystemsarego: Quit: Leaving
[2010/05/30 16:35:50] <Volcane> $websites = extlookup("websites")
[2010/05/30 16:35:53] <Volcane> include websites
[2010/05/30 16:35:54] <nico> through a function that will lookup what data needs to be used by your class ?
[2010/05/30 16:36:03] <Tonnerre> Volcane, if the details aren't managed manually, Microsoft would not like to help me, nor would I want to edit files
[2010/05/30 16:36:05] <nico> exactly like this
[2010/05/30 16:36:11] <Volcane> class website { apache::vhost{$websites: } ]
[2010/05/30 16:36:15] <Volcane> s/]/}
[2010/05/30 16:36:20] <Tonnerre> Hmmm ok
[2010/05/30 16:37:05] <nico> Volcane's extlookup reads CSV but you can easily (~10 minutes I'd say) add another source of data
[2010/05/30 16:37:17] <Volcane> problem comes when you want to make slight mods to some vhost
[2010/05/30 16:38:13] <nico> that's where cleverness is needed
[2010/05/30 16:38:17] @ fbe_ joined channel #puppet
[2010/05/30 16:38:30] <Tonnerre> I guess I'll find a way to pull that data out of ldap
[2010/05/30 16:42:11] @ fbe__ joined channel #puppet
[2010/05/30 16:42:32] @ Quit: fbe_: Ping timeout: 245 seconds
[2010/05/30 16:54:22] @ Quit: gebi: Quit: leaving
[2010/05/30 17:01:23] @ ken_barber joined channel #puppet
[2010/05/30 17:03:24] <blood> nico: i would if i knew how=)
[2010/05/30 17:03:34] <blood> got to do some reading
[2010/05/30 17:03:41] <blood> currently messing with munki
[2010/05/30 17:03:44] <blood> docs are very vague
[2010/05/30 17:09:35] @ comprehensive left channel #puppet ()
[2010/05/30 17:12:16] @ andrew1 joined channel #puppet
[2010/05/30 17:21:48] @ ezmobius_ joined channel #puppet
[2010/05/30 17:25:27] @ Quit: ezmobius: Ping timeout: 245 seconds
[2010/05/30 17:25:49] @ Quit: adrian_broher: Quit: Verlassend
[2010/05/30 17:25:59] @ fredden joined channel #puppet
[2010/05/30 17:26:29] @ Quit: ezmobius_: Ping timeout: 276 seconds
[2010/05/30 17:35:52] @ ezmobius joined channel #puppet
[2010/05/30 17:39:33] @ noyb joined channel #puppet
[2010/05/30 17:40:08] @ emarshall joined channel #puppet
[2010/05/30 17:41:17] @ Quit: emarshall: Client Quit
[2010/05/30 17:47:52] @ emarshall joined channel #puppet
[2010/05/30 17:50:35] @ Quit: ezmobius: Remote host closed the connection
[2010/05/30 17:55:09] @ rodnet joined channel #puppet
[2010/05/30 17:56:12] @ Quit: emarshall: Quit: emarshall
[2010/05/30 17:59:07] @ Quit: thegcat: Quit: Leaving.
[2010/05/30 18:00:37] @ emarshall joined channel #puppet
[2010/05/30 18:05:12] @ Quit: emarshall: Client Quit
[2010/05/30 18:12:23] @ Quit: Mick27: Quit: Leaving
[2010/05/30 18:19:43] <davea1> I am setting up mysql-zrm for backups
[2010/05/30 18:20:12] <ashp> it's sunday, you don't want to do that :)
[2010/05/30 18:20:23] <davea1> with one server as the backup server and the other as the mysql db server(zrm client)
[2010/05/30 18:20:32] <davea1> ashp, :)
[2010/05/30 18:21:24] <davea1> is it possible to configure puppet to create the configs for both servers- on the client, I have to create a backup user- on the zrm server, I have to create a config file
[2010/05/30 18:22:33] <davea1> from a single setup- that is, when I add my zrm_client class to the client server, the backup server gets its setup as well?
[2010/05/30 18:23:40] @ MarkN left channel #puppet ()
[2010/05/30 18:24:09] <davea1> I know that I can create both by creating the separate classes and poking in the correct values. But I thought maybe there was some better way to accomplish this
[2010/05/30 18:24:51] <davea1> ashp, I wish I didnt have to work today ;)
[2010/05/30 18:24:59] <tuvwx> i'm trying to document the steps i just automated using puppet. boy are they too many!
[2010/05/30 18:26:50] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 18:26:52] @ rodnet_ joined channel #puppet
[2010/05/30 18:27:53] <ken_barber> tuvwx: lol. it does grow once you start relying on it doesn't it :-).
[2010/05/30 18:28:26] @ Quit: nexx: Quit: quit
[2010/05/30 18:28:32] <tuvwx> ken_barber: grow?! it's a freaking genetic mutation
[2010/05/30 18:28:41] @ Quit: zirpu: Ping timeout: 258 seconds
[2010/05/30 18:28:41] <matti> Meh.
[2010/05/30 18:28:55] <matti> Documentation is for whimps.
[2010/05/30 18:28:57] <matti> ;]
[2010/05/30 18:29:24] <ken_barber> tuvwx: are you documenting it in your puppetdocs?
[2010/05/30 18:29:27] <tuvwx> documentation dictates the life span of your product
[2010/05/30 18:29:51] @ zirpu joined channel #puppet
[2010/05/30 18:30:04] <tuvwx> ken_barber: what is puppetdocs? i'm handwriting an org-mode bullet-form document
[2010/05/30 18:30:20] <matti> One can't make a joke nowadays... ;/
[2010/05/30 18:31:33] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/05/30 18:31:34] @ rodnet joined channel #puppet
[2010/05/30 18:31:35] <ken_barber> tuvwx: its a way of documenting your puppet code in comments in your code, and generating html output
[2010/05/30 18:31:45] <ken_barber> hang on - let me find a link for you
[2010/05/30 18:32:47] <ken_barber> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Manifest_Documentation
[2010/05/30 18:33:51] <ken_barber> I have a tool that pulls down my puppet code from git and producing the html output regularly ... saves me having to keep the docs separately.
[2010/05/30 18:35:44] <tuvwx> ken_barber: got a link for a sample output
[2010/05/30 18:36:01] <ken_barber> hmm - let me find it
[2010/05/30 18:37:06] <ken_barber> tuvwx: http://puppet.bob.sh/puppetdoc/api/
[2010/05/30 18:37:06] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 18:37:10] @ rodnet joined channel #puppet
[2010/05/30 18:37:43] <ken_barber> tuvwx: that link is not recent though. my automated script is for a company I work for.
[2010/05/30 18:38:09] <ken_barber> tuvwx: but good enough for a sample :-).
[2010/05/30 18:38:36] <ken_barber> tuvwx: the source for that is at http://code.bob.sh/hg/bpl/
[2010/05/30 18:38:38] <tuvwx> ken_barber: that does not look like what i'm after. good to know it exists though
[2010/05/30 18:39:34] <tuvwx> ken_barber: i'm writing the manual steps that you would have to do: commands to run, files to edit...etc. if you do not choose puppet - to get to the same final state
[2010/05/30 18:39:54] <matti> tuvwx: Sounds like a lot of work.
[2010/05/30 18:39:55] <matti> ;]
[2010/05/30 18:40:07] <matti> tuvwx: "Type ls; press ENTER"
[2010/05/30 18:40:07] <matti> ;D
[2010/05/30 18:40:16] <ken_barber> tuvwx: aaah. you need a tool that parses your catalog into manual instructions :-).
[2010/05/30 18:40:23] <tuvwx> i'm starting to thing so, especially after describing it ;)
[2010/05/30 18:40:28] <tuvwx> think*
[2010/05/30 18:41:35] <tuvwx> my motivation was to make non-sufficiently-technical people to appreciate the amount of work that is automatically performed by puppet
[2010/05/30 18:41:36] <ken_barber> tuvwx: such a tool would be awesome
[2010/05/30 18:42:02] <matti> tuvwx: There is quicker solution ;]
[2010/05/30 18:42:05] <matti> tuvwx: Quit ;]
[2010/05/30 18:42:06] <matti> ;p
[2010/05/30 18:42:28] <tuvwx> matti: care to share some of your crack?!
[2010/05/30 18:43:12] <ken_barber> tuvwx: the catalog is yaml ... so in theory it could be done programmatically ... iteration across a big hash basically, and printing human descriptions
[2010/05/30 18:43:26] <matti> tuvwx: Sorry, I have vey sarcastic sense of humour.
[2010/05/30 18:43:43] <tuvwx> matti: no worries. i'm enjoying it
[2010/05/30 18:43:45] <ken_barber> matti: while your sharing crack - send some my way
[2010/05/30 18:43:52] <matti> No problem.
[2010/05/30 18:44:07] <matti> I can also bake some cookies -- good Amsterdam style.
[2010/05/30 18:44:14] <matti> ;D
[2010/05/30 18:44:22] <Volcane> http://github.com/ripienaar/puppet-parselocalconfig can print the compiled catalog
[2010/05/30 18:44:34] <matti> Hi Volcane
[2010/05/30 18:44:39] <Volcane> lo :)
[2010/05/30 18:44:48] <ken_barber> Volcane :-)
[2010/05/30 18:47:51] <ken_barber> Volcane: we lost you guys at brussels station - hope you had a good journey.
[2010/05/30 18:48:22] <Volcane> yeah all good, 2nd last carriage. mostly empty
[2010/05/30 18:51:40] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 18:52:04] @ rodnet joined channel #puppet
[2010/05/30 18:52:30] <ken_barber> Volcane: I was fine until the walk home from the station. I gave the couch a good work-out once there though.
[2010/05/30 18:54:03] <Volcane> heh, why walk?
[2010/05/30 18:54:41] <ken_barber> Volcane: not much of a taxi service in my village
[2010/05/30 18:54:47] <Volcane> ah sux
[2010/05/30 18:57:17] <matti> ken_barber: We can start camel service ;]
[2010/05/30 18:57:28] <matti> ken_barber: And charge for hop in and out ;]
[2010/05/30 19:00:18] @ OpenMedia joined channel #puppet
[2010/05/30 19:05:09] <ken_barber> for those interested vote for programmatic quality ratings in forge: http://projects.puppetlabs.com/issues/3914
[2010/05/30 19:11:55] @ Djelibeybi joined channel #puppet
[2010/05/30 19:12:21] @ Quit: ken_barber: Quit: Leaving
[2010/05/30 19:21:56] @ Quit: jab_doa: Quit: Verlassend
[2010/05/30 19:24:33] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 19:24:48] @ rodnet joined channel #puppet
[2010/05/30 19:27:12] @ Quit: _^Sarge^_: Ping timeout: 264 seconds
[2010/05/30 19:27:14] <tuv> how do replace 'dpkg-reconfigure <pkgname>' and the associated debconf inputs with a puppet resource(s)?
[2010/05/30 19:28:57] @ RageLink joined channel #puppet
[2010/05/30 19:28:57] <bob2> do you really need dpkg-reconfigure?
[2010/05/30 19:29:12] <bob2> http://projects.puppetlabs.com/projects/puppet/wiki/Debian_Preseed_Patterns is a way to control debconf
[2010/05/30 19:33:46] @ _^Sarge^_ joined channel #puppet
[2010/05/30 19:42:50] @ Quit: chadh: Ping timeout: 248 seconds
[2010/05/30 19:43:12] @ Quit: giskard_: Remote host closed the connection
[2010/05/30 19:43:26] @ chadh joined channel #puppet
[2010/05/30 19:47:21] @ Quit: achester_: Ping timeout: 264 seconds
[2010/05/30 19:47:51] @ Quit: achester: Ping timeout: 276 seconds
[2010/05/30 19:49:09] @ giskard joined channel #puppet
[2010/05/30 19:53:00] <tuv> bob2: yes, but that only works if i'm installing a new package. anyway, i found out i can edit a file and run a program to have deconf's effect in this instance, so that's what i'm gonna do. but this is not always the cas
[2010/05/30 19:53:35] <bob2> hm, I suspect preseeding + running dpkg-reconfigure would work
[2010/05/30 19:55:41] @ herdingcat joined channel #puppet
[2010/05/30 19:56:52] @ Quit: Djelibeybi: Quit: Leaving
[2010/05/30 19:59:03] @ alrs joined channel #puppet
[2010/05/30 19:59:38] @ Quit: giskard: Remote host closed the connection
[2010/05/30 20:00:40] @ achester joined channel #puppet
[2010/05/30 20:06:13] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 20:06:14] @ rodnet_ joined channel #puppet
[2010/05/30 20:10:16] <tuv> using a nodes.pp file, how can i include a class in all but one node (preferrably without having to list all but one nodes)?
[2010/05/30 20:13:43] @ Quit: achester: Remote host closed the connection
[2010/05/30 20:14:25] @ achester joined channel #puppet
[2010/05/30 20:14:58] <showy> you can define the node firts , and the define the default class
[2010/05/30 20:20:39] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/05/30 20:20:39] @ rodnet joined channel #puppet
[2010/05/30 20:25:24] @ Quit: \ask: Remote host closed the connection
[2010/05/30 20:26:52] <tuv> if i call a define in the default node, what happens if i call it again on a node that inherits default?
[2010/05/30 20:27:13] <tuv> if i call it again with another parameter, that is
[2010/05/30 20:30:32] <tuv> showy: if i define the node first, i will have to repeat all the common classes
[2010/05/30 20:30:41] @ Quit: achester: Remote host closed the connection
[2010/05/30 20:32:21] <tuv> basically, i have quite a few classes common to all my nodes, and one class with two mutually exclusive subclasses: one subclass for one node, the other for all other nodes
[2010/05/30 20:33:45] <rodnet> tuv: create a base class that all but that one node extends ?
[2010/05/30 20:35:40] <tuv> rodnet: 2 problems: 1) i will have to repeat all my common classes twice: once for the base node, and once for the different node. 2) i'll have to list all my nodes to make them inherit the base node
[2010/05/30 20:36:28] <rodnet> tuv: ok then how about not having a per host nodes file and in the default.pp putting
[2010/05/30 20:36:52] <rodnet> if tagged('specific.server') { include specific-server } else { include generic-server } or something ?
[2010/05/30 20:36:59] @ Quit: showy: Quit: Lost terminal
[2010/05/30 20:38:03] <rodnet> tuv: you will probably have to adjust the condition in the if to suit though
[2010/05/30 20:38:15] @ p3rror joined channel #puppet
[2010/05/30 20:38:15] @ Quit: p3rror: Quit: أستودعكم الله
[2010/05/30 20:39:34] <tuv> rodnet: can i test for the hostname in the condition?
[2010/05/30 20:40:11] <rodnet> tuv: im not 100% sure ... maybe something like if $fqdn == "specific.myhost.com" {} ?
[2010/05/30 20:40:31] <tuv> rodnet: that could work!
[2010/05/30 20:40:34] <rodnet> i think ive only ever used tags in if's myself though
[2010/05/30 20:41:07] <tuv> so what happens if i call the same default twice on the same node, with different parameters?
[2010/05/30 20:41:07] <rodnet> and im not sure if that host will get tagged with the fqdn if you dont have a specific node file for it
[2010/05/30 20:41:23] <rodnet> the same default ?
[2010/05/30 20:41:25] <tuv> ooops
[2010/05/30 20:41:29] <tuv> the same define
[2010/05/30 20:42:15] <rodnet> you mean an actual define() ? It should be fine assuming the define is setup to work like that which they usually are
[2010/05/30 20:42:30] <tuv> if the default node has: define class1(), and node1 inherits default has: define class1(true)
[2010/05/30 20:42:43] <rodnet> oh
[2010/05/30 20:42:48] <rodnet> i dont think that will work
[2010/05/30 20:43:03] <rodnet> cause the defines will class because they have the same names
[2010/05/30 20:43:34] <rodnet> wouldnt you just put the define in an include and then call it from the nodes ?
[2010/05/30 20:43:48] * tuv is on the phone
[2010/05/30 20:46:18] @ mezgani joined channel #puppet
[2010/05/30 20:48:12] @ Djelibeybi joined channel #puppet
[2010/05/30 20:48:13] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 20:48:24] @ rodnet joined channel #puppet
[2010/05/30 20:49:16] * tuv is back
[2010/05/30 20:49:29] <tuv> rodnet: actually, i miss expressed what i meant
[2010/05/30 20:49:47] <tuv> i have a define in the class with the two mutual subclasses
[2010/05/30 20:50:20] <tuv> calling the define with no parameter defaults to the first subclass, and with a true parameter chooses the second
[2010/05/30 20:51:21] <tuv> my intention was that, in the default node, i call the define with no parameters, and then in node1, which inherits default, call it with parameter true
[2010/05/30 20:53:18] <rodnet> ah ok then yeah that should be ok ... you just define it in like manifests/class1.pp and then in your node include class1 if (confidtion) { class() } else { class1(true) } or whatever
[2010/05/30 20:56:05] <tuv> rodnet: well i'm trying to avoid the if in the nodes. i'm assuming inheritance will allow overriding inherited resources
[2010/05/30 20:57:38] <rodnet> tuv: i wouldnt rely on that ... from memory ive had problems with that
[2010/05/30 20:57:48] <rodnet> i thought u only had 2 cases globally ?
[2010/05/30 20:58:22] @ Quit: mezgani: Ping timeout: 272 seconds
[2010/05/30 21:03:31] @ achester joined channel #puppet
[2010/05/30 21:05:35] <tuv> hmm.. the define did not work indeed
[2010/05/30 21:05:44] <tuv> so there is no way around the if?
[2010/05/30 21:07:19] <tuv> how then would one override inheritance?
[2010/05/30 21:07:38] <tuv> i mean, override an inherited resource or define?
[2010/05/30 21:08:58] <blood> hrmm anyway to have apache treat .pkg on ubuntu as a single file rather than folder?
[2010/05/30 21:09:20] <blood> trying to grab it via a GET
[2010/05/30 21:09:31] <blood> i guess i can just zip it
[2010/05/30 21:09:46] <proton> it has to be zipped, you can't GET a directory...
[2010/05/30 21:10:31] @ mezgani joined channel #puppet
[2010/05/30 21:12:44] <proton> tuv: you can use this trick: http://docs.puppetlabs.com/guides/exported_resources.html#exported_resources_override
[2010/05/30 21:15:20] @ Quit: mezgani: Excess Flood
[2010/05/30 21:16:37] @ mezgani joined channel #puppet
[2010/05/30 21:20:42] @ Quit: mezgani: Max SendQ exceeded
[2010/05/30 21:30:14] @ Quit: jhunter: Ping timeout: 276 seconds
[2010/05/30 21:30:31] @ jhunter joined channel #puppet
[2010/05/30 21:42:26] <tuv> proton: that is overriding inheritance, just for exported resources. i'm having trouble with good old inheritance overriding, without exported resources
[2010/05/30 21:43:36] <ohadlevy> tuv: I would avoid node inheritance
[2010/05/30 21:44:01] <tuv> rodnet: the if works. i just added: if hostname != differentnode { include commonclass }, i kept "include differentclass" in differentnode
[2010/05/30 21:44:47] <tuv> ohadlevy: i'm gettint to that same conclusion, although it would look neater in the code
[2010/05/30 21:45:10] <ohadlevy> tuv: why not use on of the many nice external node tools?
[2010/05/30 21:46:07] <tuv> ohadlevy: i'm implementing additional features that i could do without, and not really prepared to do any drastic changes to my setup
[2010/05/30 21:46:35] <ohadlevy> tuv: the nice thing about external nodes, that it can live next to your current node setup, and you can slowly migrate (if it make sense)
[2010/05/30 21:46:54] <ohadlevy> e.g. define a node in the external nodes classifier, and remove it from your nodes setup
[2010/05/30 21:47:09] <tuv> ohadlevy: i'll probably consider using ldap, if that's an optioin
[2010/05/30 21:47:32] <ohadlevy> tuv: it is, but I would recommend against it too (IMHO)
[2010/05/30 21:48:14] <tuv> ohadlevy: any particular reason?
[2010/05/30 21:49:00] <ohadlevy> tuv: for one, it doesnt solve the parameter inheritance in a nice way, secondly, its not widely use (AFAIK)
[2010/05/30 21:49:11] <ohadlevy> tuv: and you dont get shiny web interfaces ;)
[2010/05/30 21:50:04] <tuv> ohadlevy: well, shiny webinterfaces with puppet tend to be another ruby server. i'm not thrilled by the total memory consumptions with running all these ruby daemons
[2010/05/30 21:50:45] <ohadlevy> tuv: in my setup, (I use foreman) it takes about 50mb of ram
[2010/05/30 21:51:08] <tuv> ohadlevy: of course you use foreman ;)
[2010/05/30 21:51:56] <tuv> ohadlevy: is there any chance that foreman will make it into debian repo's any time soon, or at least become available as a deb?
[2010/05/30 21:52:17] @ Quit: OpenMedia: Remote host closed the connection
[2010/05/30 21:52:27] <ohadlevy> tuv: my debfoo is not that great, there is an rpm, which is fairly good, I'm guessing its not a lot of hard work to make a deb out of it
[2010/05/30 21:52:38] <ohadlevy> tuv: in the meanwhile, you can use the puppet module which configures it :)
[2010/05/30 21:53:44] <tuv> ohadlevy: i tried that. it got most things done, but had a problem with a missing gem that i had to install manually, although a matching debian package (not gem though) was installed
[2010/05/30 21:53:59] <ohadlevy> tuv: yeah, I fixed that
[2010/05/30 21:54:12] <ohadlevy> tuv: the rack gem right?
[2010/05/30 21:54:14] <tuv> when? this all happened to me yesterday
[2010/05/30 21:55:03] <ohadlevy> tuv: about 12 hours ago :)
[2010/05/30 21:55:29] <ohadlevy> tuv: I also switched to the newer version, which is way nicer (IMHO again;))
[2010/05/30 21:56:45] <tuv> hmm.. tempting. but there still isn't a nice way of automatically running the server on boot, is there?
[2010/05/30 21:57:17] <ohadlevy> tuv: there is a startup script for RH/fedora, probably not much of work to get it automated too (or just use it with passenger)
[2010/05/30 22:00:09] @ andypea joined channel #puppet
[2010/05/30 22:00:11] @ themurph joined channel #puppet
[2010/05/30 22:00:32] <ohadlevy> tuv: did you had a question about getting facts from other hosts?
[2010/05/30 22:01:34] @ Quit: themurph: Client Quit
[2010/05/30 22:03:39] <blood> w00t got munki fully working. pretty neat management tool for osx
[2010/05/30 22:03:58] <blood> still nowhere near as powerful as puppet but handles softwareupdates quite well for osx
[2010/05/30 22:04:25] <andypea> I want my clients to only reboot if I run "puppetrun --host foo.bar.com --tags reboot"
[2010/05/30 22:04:28] @ alexine_dsouza joined channel #puppet
[2010/05/30 22:04:41] <andypea> But I'm having problems setting up my manifest
[2010/05/30 22:04:49] @ themurph joined channel #puppet
[2010/05/30 22:07:28] @ Quit: themurph: Client Quit
[2010/05/30 22:08:11] @ Quit: herdingcat: Quit: Leaving
[2010/05/30 22:09:37] <andypea> Does anyone know why 'if tagged(reboot) {exec { 'reboot-cmd': command => "/bin/date >> /puppet-test", } }' doesn't execute?
[2010/05/30 22:10:32] @ Quit: alrs: Ping timeout: 240 seconds
[2010/05/30 22:10:55] <blood> is puppetmaster still using WEBrick? i know dashboard/foreman uses it so i assume puppet does
[2010/05/30 22:11:07] <blood> book i'm reading talked about migrating to Mongrel
[2010/05/30 22:11:20] <ohadlevy> blood: you probably want to look at passenger instead
[2010/05/30 22:11:32] <blood> that will handle the load better?
[2010/05/30 22:11:51] <ohadlevy> blood: its easier to setup IMHO and much less maintenance
[2010/05/30 22:11:54] <blood> i'm going to have roughly 350 machines
[2010/05/30 22:12:04] <ohadlevy> blood: plus, foreman / dashboard can use it too
[2010/05/30 22:12:10] <blood> is there documentation on how to get it running?
[2010/05/30 22:12:15] <blood> i already have apache2 installed
[2010/05/30 22:12:19] <tuv> ohadlevy: yes. list of hostnames
[2010/05/30 22:13:09] <ohadlevy> tuv: you can use Foreman query interface then - http://theforeman.org/projects/foreman/wiki/Query_Interface
[2010/05/30 22:13:33] <ohadlevy> blood: on ubuntu, you need to install libapache2-mod-passenger
[2010/05/30 22:13:56] <ohadlevy> blood: wiki:Using_passenger
[2010/05/30 22:13:56] <gepetto> ohadlevy: blood: wiki:Using_passenger is http://projects.puppetlabs.com/projects/puppet/wiki/Using_passenger "Puppet - Using Passenger - PuppetLabs.com"
[2010/05/30 22:13:59] <blood> thanks
[2010/05/30 22:14:38] <blood> ah already got it installed apparently
[2010/05/30 22:16:05] <blood> nice doc=)
[2010/05/30 22:16:08] <blood> i'll go through it later
[2010/05/30 22:16:57] * tuv wishes there was a passanger for lighttpd, or nginx
[2010/05/30 22:17:22] * tuv prefers lighttpd
[2010/05/30 22:19:12] <blood> this puppet book is quite good even if its outdated
[2010/05/30 22:19:57] <ohadlevy> tuv: passenger works with nginx
[2010/05/30 22:21:37] @ \ask joined channel #puppet
[2010/05/30 22:41:53] @ themurph joined channel #puppet
[2010/05/30 22:45:12] @ Quit: themurph: Client Quit
[2010/05/30 23:02:22] @ Quit: \ask: Remote host closed the connection
[2010/05/30 23:03:58] @ p3rror joined channel #puppet
[2010/05/30 23:08:42] @ Quit: Roksteady: Ping timeout: 248 seconds
[2010/05/30 23:09:32] @ gaveen joined channel #puppet
[2010/05/30 23:10:23] @ Roksteady joined channel #puppet
[2010/05/30 23:15:49] @ \ask joined channel #puppet
[2010/05/30 23:23:30] @ LinuxCode joined channel #puppet
[2010/05/30 23:26:33] @ Quit: p3rror: Ping timeout: 240 seconds
[2010/05/30 23:32:47] @ Quit: cliff-hm: Ping timeout: 260 seconds
[2010/05/30 23:37:53] @ Quit: \ask: Remote host closed the connection
[2010/05/30 23:43:20] @ MarkN joined channel #puppet
[2010/05/30 23:45:22] @ Quit: rodnet: Read error: Connection reset by peer
[2010/05/30 23:45:23] @ rodnet_ joined channel #puppet
[2010/05/30 23:56:24] @ Karan joined channel #puppet
[2010/05/30 23:56:58] @ AimanA is now known as HouseAway
[2010/05/30 23:58:00] @ jens_ joined channel #puppet

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