Friday, 2010-03-26

[2010/03/26 00:15:49] @ Log started by gepetto
[2010/03/26 00:15:49] @ Quit: AimanA: Remote host closed the connection
[2010/03/26 00:18:12] @ DrHouseMD joined channel #puppet
[2010/03/26 00:19:31] @ Quit: n9986: Excess Flood
[2010/03/26 00:20:06] @ n9986 joined channel #puppet
[2010/03/26 00:27:57] @ thekad joined channel #puppet
[2010/03/26 00:37:10] @ DrHouseMD is now known as AimanA
[2010/03/26 00:40:50] @ AimanA is now known as HouseAway
[2010/03/26 00:51:10] @ bodepd joined channel #puppet
[2010/03/26 01:05:55] <gepetto> ::redmine:: Wiki edit: Exported_Resources (#4) @ http://projects.reductivelabs.com/projects/1/wiki/Exported_Resources?version=4 (by James Turnbull)
[2010/03/26 01:07:30] @ Quit: bug: Quit: bug
[2010/03/26 01:15:54] @ bug joined channel #puppet
[2010/03/26 01:37:55] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/03/26 01:59:39] @ Quit: blahdeblah: Ping timeout: 240 seconds
[2010/03/26 02:08:01] @ Quit: pugnacity: Ping timeout: 245 seconds
[2010/03/26 02:10:09] @ Quit: thekad: Quit: thekad
[2010/03/26 02:17:20] @ blahdeblah joined channel #puppet
[2010/03/26 02:25:07] @ m1nish joined channel #puppet
[2010/03/26 02:25:44] @ pugnacity joined channel #puppet
[2010/03/26 02:26:37] @ Quit: bug: Quit: bug
[2010/03/26 02:32:24] @ bodepd_ joined channel #puppet
[2010/03/26 02:32:50] @ Quit: bodepd: Read error: Connection reset by peer
[2010/03/26 02:33:07] @ bodepd joined channel #puppet
[2010/03/26 02:37:34] @ Quit: ahoang: Quit: ahoang
[2010/03/26 02:37:37] @ Quit: bodepd_: Ping timeout: 276 seconds
[2010/03/26 02:44:25] @ Quit: alexine_dsouza: Ping timeout: 264 seconds
[2010/03/26 02:44:38] @ alexine_dsouza joined channel #puppet
[2010/03/26 02:49:11] @ ahoang joined channel #puppet
[2010/03/26 02:50:43] @ Quit: pting: Quit: Ex-Chat
[2010/03/26 02:55:20] @ Brownoxford_ joined channel #puppet
[2010/03/26 02:57:26] @ Quit: Brownoxford: Ping timeout: 265 seconds
[2010/03/26 02:57:26] @ Brownoxford_ is now known as Brownoxford
[2010/03/26 03:00:12] @ Quit: kolla: Remote host closed the connection
[2010/03/26 03:05:39] @ Quit: ahuman: Remote host closed the connection
[2010/03/26 03:12:14] @ nexx joined channel #puppet
[2010/03/26 03:15:58] @ Quit: n9986: Excess Flood
[2010/03/26 03:16:45] @ n9986 joined channel #puppet
[2010/03/26 03:19:59] @ elementai joined channel #puppet
[2010/03/26 03:22:14] @ hy is now known as _hy
[2010/03/26 03:25:59] @ bodepd_ joined channel #puppet
[2010/03/26 03:29:25] @ Quit: bodepd: Ping timeout: 264 seconds
[2010/03/26 03:30:09] @ Quit: russell_h: Ping timeout: 240 seconds
[2010/03/26 03:30:18] @ bodepd_ is now known as bodepd
[2010/03/26 03:30:25] @ russell_h joined channel #puppet
[2010/03/26 03:31:45] @ JJA joined channel #puppet
[2010/03/26 03:35:08] @ willemb joined channel #puppet
[2010/03/26 03:35:13] <willemb> Greetings.
[2010/03/26 03:35:39] <willemb> Once I create a directory in a class, can i refer to it as part of the name of new file resources later?
[2010/03/26 03:36:22] <willemb> ie, have file with a name like $installdir/foo.bar
[2010/03/26 03:36:34] @ Quit: JJA: Ping timeout: 265 seconds
[2010/03/26 03:38:48] @ Quit: giskard: Remote host closed the connection
[2010/03/26 03:53:06] @ kubicek joined channel #puppet
[2010/03/26 03:54:43] @ verwilst joined channel #puppet
[2010/03/26 03:55:06] @ marcus_ joined channel #puppet
[2010/03/26 03:55:23] <marcus_> hi all. just wanted to know if oS zypper is already supported in puppet?
[2010/03/26 03:57:48] <elementai> hi, folks, just for clarification, only http://theforeman.org/ is currently the only active puppet-speaking inventory system, or not ?
[2010/03/26 03:58:35] <elementai> I've seen http://nventory.sourceforge.net/ but it seems that it's not actively developed now
[2010/03/26 03:59:30] @ Ramonster joined channel #puppet
[2010/03/26 04:00:49] @ Quit: elementai: Quit: Lost terminal
[2010/03/26 04:03:59] <ohadlevy> elementai: nventory looks interesting :)
[2010/03/26 04:08:09] @ pinoyskull_ joined channel #puppet
[2010/03/26 04:08:33] @ Quit: pinoyskull_: Client Quit
[2010/03/26 04:09:15] @ DavidS joined channel #puppet
[2010/03/26 04:10:11] @ pinoyskull joined channel #puppet
[2010/03/26 04:11:01] @ Quit: yure: Read error: Connection reset by peer
[2010/03/26 04:13:11] @ Quit: garet: Quit: Quitte
[2010/03/26 04:20:24] <jamesturnbull> marcus_: not yet - next release
[2010/03/26 04:20:43] <marcus_> the oS version seems to include a zypper.rb package
[2010/03/26 04:20:58] <marcus_> https://build.opensuse.org/package/view_file?file=puppet.changes&package=puppet&project=openSUSE%3A11.2
[2010/03/26 04:21:27] <marcus_> it seems to be contributed by Leo Eraly
[2010/03/26 04:21:27] <jamesturnbull> marcus_: then it's a downstream one
[2010/03/26 04:21:32] <marcus_> yes
[2010/03/26 04:21:44] <jamesturnbull> marcus_: it's not present upstream is what I am saying
[2010/03/26 04:21:57] <marcus_> that's what i thought :)
[2010/03/26 04:22:15] @ Quit: ahoang: Quit: ahoang
[2010/03/26 04:24:07] @ Quit: kubicek: Quit: kubicek
[2010/03/26 04:24:44] <nico> marcus_: can you tell me if the pkgin.rb that I submitted wil be included ?
[2010/03/26 04:24:51] <jamesturnbull> marcus_: #1223
[2010/03/26 04:24:52] <gepetto> jamesturnbull: marcus_: #1223 is http://projects.reductivelabs.com/issues/show/1223 "Puppet - Bug #1223: rug not on OpenSuSE 10.3 anymore - PuppetLabs.com"
[2010/03/26 04:25:35] <marcus_> thanks
[2010/03/26 04:25:44] <jamesturnbull> nico: #3304
[2010/03/26 04:25:45] <gepetto> jamesturnbull: nico: #3304 is http://projects.reductivelabs.com/issues/show/3304 "Puppet - Feature #3304: Add pkgin support to the package provider - PuppetLabs.com"
[2010/03/26 04:26:09] @ pting joined channel #puppet
[2010/03/26 04:26:11] <nico> jamesturnbull: that's why I ask "need design decision"
[2010/03/26 04:26:36] <nico> jamesturnbull: but I realize marcus_ may not be the one of the ticket :D
[2010/03/26 04:26:52] <marcus_> yup :)
[2010/03/26 04:26:55] <nico> haha
[2010/03/26 04:26:59] <nico> spank me
[2010/03/26 04:27:30] <nico> \o/
[2010/03/26 04:27:31] <jamesturnbull> nico: it needs a code review - I sugget reading http://projects.puppetlabs.com/projects/puppet/wiki/Development_Development_Lifecycle - and sedning code to the dev list
[2010/03/26 04:27:45] <nico> jamesturnbull:
[2010/03/26 04:27:51] <nico> jamesturnbull: ok, gonna read this
[2010/03/26 04:28:18] @ themroc_pala is now known as themroc_sayhello
[2010/03/26 04:28:19] <jamesturnbull> nico: if you're not git aufaux then feel free to mail as a unified diff (inline so it can be read rather than attachment) to puppet-dev mailing list
[2010/03/26 04:28:20] @ themroc_sayhello is now known as themroc
[2010/03/26 04:28:34] <nico> jamesturnbull: yup, still using SVN here
[2010/03/26 04:28:34] @ Quit: bodepd: Quit: bodepd
[2010/03/26 04:28:34] <jamesturnbull> nico: don't forget to cite the ticket too :)
[2010/03/26 04:29:02] <jamesturnbull> nico: and generally we expect rSpec tests too - there are examples in the current tarball
[2010/03/26 04:29:13] <jamesturnbull> but happy to help people write those
[2010/03/26 04:29:44] @ MattyM joined channel #puppet
[2010/03/26 04:30:10] * jamesturnbull is off for the night later
[2010/03/26 04:31:53] <nico> night jamesturnbull
[2010/03/26 04:42:43] @ giskard joined channel #puppet
[2010/03/26 04:44:44] @ elementai joined channel #puppet
[2010/03/26 04:46:14] @ kolla joined channel #puppet
[2010/03/26 04:50:59] @ kubicek joined channel #puppet
[2010/03/26 04:51:03] @ spawnyd joined channel #puppet
[2010/03/26 04:58:43] @ Quit: kolla: Remote host closed the connection
[2010/03/26 04:59:54] @ jab_doa joined channel #puppet
[2010/03/26 05:06:46] @ tim|macbook joined channel #puppet
[2010/03/26 05:07:51] @ Quit: is0dvil: Read error: Connection timed out
[2010/03/26 05:08:43] @ is0dvil joined channel #puppet
[2010/03/26 05:15:13] <masterzen> nico: still using SVN? really?
[2010/03/26 05:16:25] <nico> masterzen: yup
[2010/03/26 05:16:36] <nico> masterzen: I have few requirements
[2010/03/26 05:16:56] <nico> and moreover, making people works on VCS here was a huge work
[2010/03/26 05:17:21] * nico said "If you don't put thing is the repo, they will be deleted from server"
[2010/03/26 05:17:50] <nico> this was a lie, but it worked
[2010/03/26 05:18:07] <nico> now they like using this
[2010/03/26 05:20:27] <masterzen> nico: :-)
[2010/03/26 05:20:46] <masterzen> nico: I'm so glad I moved to git... after years of CVS, SVN, and SVK...
[2010/03/26 05:21:38] <nico> :)
[2010/03/26 05:22:01] * nico run git format-patch and got 4838 new files
[2010/03/26 05:22:12] <nico> not really what I expected :D
[2010/03/26 05:22:29] <masterzen> nico :-)
[2010/03/26 05:22:45] <masterzen> nico: you run against master, certainly
[2010/03/26 05:22:46] @ cosimo joined channel #puppet
[2010/03/26 05:22:49] <nico> yup
[2010/03/26 05:23:04] <nico> following wiki:Development_Development_Lifecycle
[2010/03/26 05:23:05] <gepetto> nico: wiki:Development_Development_Lifecycle is http://projects.reductivelabs.com/projects/puppet/wiki/Development_Development_Lifecycle "Puppet - Development Development Lifecycle - PuppetLabs.com"
[2010/03/26 05:23:36] <masterzen> nico: git format-patch ... reductivelabs/0.25.x..tickets/0.25.x/branch
[2010/03/26 05:24:19] <masterzen> nico: you can also use rake mail_patch but I find it way too automatic. So if you fail you might end up pushing 4838 mails to puppet-dev :-D
[2010/03/26 05:24:32] <nico> haha
[2010/03/26 05:25:10] <nico> got my first patch \o/
[2010/03/26 05:29:05] <masterzen> nico: cool
[2010/03/26 05:29:10] <masterzen> nico: does it have tests?
[2010/03/26 05:30:02] <ohadlevy> svn has one plus, which is ACL per directory
[2010/03/26 05:30:53] @ TREllis joined channel #puppet
[2010/03/26 05:31:26] @ Quit: biertie: Ping timeout: 260 seconds
[2010/03/26 05:32:55] <nico> masterzen: not yet, reading existing ones (and kicking out tickets from our RT)
[2010/03/26 05:33:49] <masterzen> ohadlevy: I never used this feature, so I'm not missing it. I really like git power and speed.
[2010/03/26 05:33:52] @ Quit: elementai: Quit: Lost terminal
[2010/03/26 05:34:18] @ Quit: blahdeblah: Ping timeout: 252 seconds
[2010/03/26 05:34:58] <masterzen> ohadlevy: BTW, did you solve your certificate issue you had the other day?
[2010/03/26 05:45:34] <cosimo> hi everyone
[2010/03/26 05:45:42] @ LinuxCode joined channel #puppet
[2010/03/26 05:45:47] <cosimo> i'm looking at this, http://git.puppetmanaged.org/?p=munin;a=blob;f=manifests/init.pp;h=d8dd90e504207fdb237aa2a56662d70842cf3442;hb=HEAD
[2010/03/26 05:45:53] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/03/26 05:46:03] @ cedric_b joined channel #puppet
[2010/03/26 05:46:13] <cosimo> particularly where it says 'if !defined (File["blah"])'
[2010/03/26 05:46:18] @ alexine_dsouza joined channel #puppet
[2010/03/26 05:46:32] <cosimo> can that even work? i'm using 0.24.x
[2010/03/26 05:47:14] <masterzen> cosimo: yes that works, but only with 0.24.7 and greater
[2010/03/26 05:47:52] <cosimo> masterzen: thanks. I guess I have to lookup the .x then :)
[2010/03/26 05:48:19] <cosimo> v0.24.5
[2010/03/26 05:48:50] <masterzen> cosimo: so you're no good.
[2010/03/26 05:48:58] <masterzen> cosimo: for this syntax
[2010/03/26 05:49:09] @ Quit: fujin: Quit: Leaving.
[2010/03/26 05:49:25] <cosimo> that could really help me with my quest for "wildcard" munin plugins
[2010/03/26 05:49:38] <nico> hmm ? munin ?
[2010/03/26 05:49:49] * nico lifts a ear
[2010/03/26 05:49:57] <cosimo> you know the "xxx_" plugins?
[2010/03/26 05:50:17] @ gebi joined channel #puppet
[2010/03/26 05:50:42] <cosimo> I was trying to use this http://git.black.co.at/?p=module-munin;a=summary as a base
[2010/03/26 05:50:54] * nico used this
[2010/03/26 05:51:10] <nico> works fine
[2010/03/26 05:51:16] <cosimo> *and* export my own munin plugins to /usr/share/munin/plugins
[2010/03/26 05:52:04] <cosimo> so I'd define a file { "/usr/share/.../mem_" } and file { "/etc/munin/plugins/mem_apache2" } f.ex.
[2010/03/26 05:52:31] <cosimo> ofc when you use "mem_" twice, the 1st one is already defined
[2010/03/26 05:52:57] @ blahdeblah joined channel #puppet
[2010/03/26 05:53:05] @ Quit: asenchi: Quit: Leaving...
[2010/03/26 05:53:38] <nico> that's how munin plugin work, with black magic voodoo
[2010/03/26 05:54:11] <cosimo> nico: afaik, it doesn't define a file { "/usr/share/..." } anywhere. does it?
[2010/03/26 05:54:38] <cosimo> can you point me to it? i've been looking for that bit but couldn't find it
[2010/03/26 05:54:40] <nico> cosimo: look at the remoteplugin definition
[2010/03/26 05:55:29] <nico> it takes the file from the master's filebucket
[2010/03/26 05:56:54] @ Quit: kubicek: Quit: kubicek
[2010/03/26 05:56:54] @ bodepd joined channel #puppet
[2010/03/26 05:57:01] @ fujin joined channel #puppet
[2010/03/26 05:59:20] <cosimo> nico: and you use it by explicitly declaring munin::remoteplugin in your manifests?
[2010/03/26 06:00:17] <nico> I rewrote it
[2010/03/26 06:00:31] <nico> to fit some personal needs
[2010/03/26 06:00:31] <cosimo> ok
[2010/03/26 06:05:30] @ mikepea joined channel #puppet
[2010/03/26 06:06:30] @ kubicek joined channel #puppet
[2010/03/26 06:07:19] <henk> any clever ideas how to make sure 'ipv6' is in /etc/modules? exec an 'echo ipv6 >> /etc/modules' unless 'grep ipv6 /etc/modules'?
[2010/03/26 06:09:53] <DavidS> henk: use the line define from my common module.
[2010/03/26 06:10:14] <DavidS> (PS: all file-edit defines suck, this one is just one of the more widely used ones)
[2010/03/26 06:11:47] <henk> DavidS: what i thought... thanks anyway. i'll probably just place files in /etc/network/if-pre-up.d/
[2010/03/26 06:12:07] @ Quit: Demosthenes: Ping timeout: 276 seconds
[2010/03/26 06:24:43] * nico lost in the unit tests
[2010/03/26 06:25:44] * masterzen waits for tests to run, so can help nico find its way
[2010/03/26 06:26:37] <nico> masterzen: mainly because existing one cannot be accomplished with pkgin, it's a rather simple tool
[2010/03/26 06:27:23] <masterzen> nico: ?
[2010/03/26 06:28:17] <nico> all the "it should blah" are merely irrelevant
[2010/03/26 06:29:18] <nico> looking a different tests to see if I can find a way to do it
[2010/03/26 06:36:46] @ Quit: ericlee: Read error: Connection reset by peer
[2010/03/26 06:37:28] <masterzen> nico: look to other package provider tests
[2010/03/26 06:38:34] <nico> masterzen: that's what I do
[2010/03/26 06:39:46] <masterzen> nico: basically you should test that it launches the correct commands on the correct actions
[2010/03/26 06:39:58] @ asenchi joined channel #puppet
[2010/03/26 06:40:10] <masterzen> nico: or test that your code parses correctly what the commands returns
[2010/03/26 06:40:50] <mikepea> is it possible to use thin stored configs with 0.24.x clients (and a 0.25.4 master, naturally)
[2010/03/26 06:41:39] @ inveratulo joined channel #puppet
[2010/03/26 06:44:34] <masterzen> mikepea: yes I think it is possible
[2010/03/26 06:44:49] <masterzen> mikepea: storeconfig and thin storeconfig are a master only thing
[2010/03/26 06:45:20] <mikepea> masterzen: ta, it looks that way from the storeconfig wiki page, but tis a bit ambiguous.
[2010/03/26 06:45:38] <mikepea> i'll test anyway, and confirm.
[2010/03/26 06:48:19] <masterzen> mikepea: yes, please report success or failure.
[2010/03/26 06:48:25] * nico runs his first "rake spec"
[2010/03/26 06:48:36] * masterzen congratulates nico
[2010/03/26 06:49:57] <nico> erm
[2010/03/26 06:50:15] <nico> masterzen: which version of the sqlite3 gem do you use ?
[2010/03/26 06:51:15] <masterzen> nico: I don't thing I'm using a sqlite3 gem (sorry I code on my mac, which is at home)
[2010/03/26 06:51:26] <nico> :)
[2010/03/26 06:51:41] * nico wants a shiny MBP 13"
[2010/03/26 06:55:40] @ JJA joined channel #puppet
[2010/03/26 06:59:29] <nico> masterzen: how can I test the return code of something not present on my box ?
[2010/03/26 06:59:50] <masterzen> nico: like?
[2010/03/26 06:59:57] <nico> the pkgin command
[2010/03/26 07:00:03] * masterzen also wants a MBP 13"
[2010/03/26 07:00:13] <nico> it is present on my solaris boxens but not on my linux
[2010/03/26 07:00:31] <masterzen> nico: you mock/stubs the commands so that they are never run. Then you return whatever you want and you check your code conform
[2010/03/26 07:00:38] <masterzen> nico: that's for unit tests
[2010/03/26 07:00:38] @ _hy is now known as hty
[2010/03/26 07:00:43] @ hty is now known as hy
[2010/03/26 07:00:55] <masterzen> nico: for integration test you "confine" the test to platform that have the pkgin command
[2010/03/26 07:01:28] <nico> it starts being weird for me :)
[2010/03/26 07:01:42] <nico> gonna send the patch first, will see tests later
[2010/03/26 07:02:10] @ Quit: gilesw: Ping timeout: 264 seconds
[2010/03/26 07:05:10] <masterzen> nico: if I have some time, I'll contribute a few tests for your patch so that you see how it works
[2010/03/26 07:05:21] <nico> masterzen: thanks !
[2010/03/26 07:05:22] @ Quit: JJA: Ping timeout: 265 seconds
[2010/03/26 07:06:30] @ biertie joined channel #puppet
[2010/03/26 07:07:40] <nico> masterzen: I must say that this rebase/merge/branching system is quite awesome
[2010/03/26 07:07:55] <masterzen> nico: oh yeah
[2010/03/26 07:08:10] <masterzen> nico: I (ab)use rebase almost every single day
[2010/03/26 07:09:04] <masterzen> nico: regarding your patch, you should use "git send-email" to send patches, so that they"re inline
[2010/03/26 07:09:53] <masterzen> nico: comments about your patch: make sure you use a 4 spaces tabs, there seems to be some inline tab characters
[2010/03/26 07:10:52] <nico> ho
[2010/03/26 07:11:01] * nico changes his editor settings
[2010/03/26 07:12:00] @ Demosthenes joined channel #puppet
[2010/03/26 07:12:32] <marcus_> ok. i am now trying to use this extension: http://projects.reductivelabs.com/attachments/393
[2010/03/26 07:12:44] <marcus_> but operating system is detected as OpenSuSE not suse
[2010/03/26 07:12:52] <marcus_> is there a way to override this?
[2010/03/26 07:15:37] <nico> marcus_: modify zypper.rb ?
[2010/03/26 07:15:55] <marcus_> then i have to push a new package
[2010/03/26 07:16:09] <marcus_> as it's part of the 'official' oS puppet rpm
[2010/03/26 07:16:21] <nico> but it (zypper.rb) will be included it the next release iirc, so you might file a bug against facter
[2010/03/26 07:16:43] @ cliff-hm joined channel #puppet
[2010/03/26 07:19:31] <marcus_> okay
[2010/03/26 07:19:47] <nico> check with someone experienced before :)
[2010/03/26 07:20:02] <marcus_> so there is no way (nor does it make sense) to override the distro variable?
[2010/03/26 07:20:17] <nico> in facter config I think
[2010/03/26 07:20:48] <marcus_> could that have negative influence on other tasks?
[2010/03/26 07:20:51] @ Quit: willemb: Quit: leaving
[2010/03/26 07:21:49] <nico> grep for your fact value
[2010/03/26 07:21:56] <nico> time for food !
[2010/03/26 07:21:58] * nico &
[2010/03/26 07:34:26] <inveratulo> hrm... dashboard keeps trying to access my db as 'root'@'localhost' despite having it configured in confg/database.yaml as something else.
[2010/03/26 07:38:16] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/03/26 07:49:30] @ Quit: pinoyskull: Ping timeout: 268 seconds
[2010/03/26 07:54:46] <inveratulo> figured it out
[2010/03/26 07:56:19] @ loupgaroublond left channel #puppet ()
[2010/03/26 08:01:12] @ Quit: nareshov: Read error: Connection reset by peer
[2010/03/26 08:01:12] @ Quit: f3ew: Read error: Connection reset by peer
[2010/03/26 08:01:52] @ Quit: gebi: Ping timeout: 260 seconds
[2010/03/26 08:08:38] @ kolla joined channel #puppet
[2010/03/26 08:11:04] @ [GuS] joined channel #puppet
[2010/03/26 08:28:58] @ f3ew joined channel #puppet
[2010/03/26 08:29:47] @ nareshov joined channel #puppet
[2010/03/26 08:34:23] @ Bass10 joined channel #puppet
[2010/03/26 08:35:57] @ Quit: Demosthenes: Quit: leaving
[2010/03/26 08:41:38] @ Quit: Dyresen: Ping timeout: 248 seconds
[2010/03/26 08:41:42] <Disconnect> ok this is killing me. i have a custom provider/type that works fine inside the same module. how do i use it from a diff't module? getting "Could not find a default provider for mysql_grant"
[2010/03/26 08:44:11] <DavidS> Disconnect: should work without problems
[2010/03/26 08:44:57] <Disconnect> i know it works in general because i'm using it inside the mysql module (to set up replication accounts and permissions). but its not working from an application module :/
[2010/03/26 08:47:48] <ohadlevy> masterzen: no - i had to finish a few things before I could get back to it, I'll try to fiddle with it some more on monday
[2010/03/26 08:49:30] @ ahoang joined channel #puppet
[2010/03/26 08:50:16] @ Quit: hamish: Remote host closed the connection
[2010/03/26 08:50:21] @ hamish joined channel #puppet
[2010/03/26 08:52:49] <Disconnect> is there anything i can check?
[2010/03/26 08:53:01] <Disconnect> the server logs just say it compiles in under 5 seconds
[2010/03/26 08:53:49] @ gebi joined channel #puppet
[2010/03/26 08:55:27] @ bug joined channel #puppet
[2010/03/26 09:02:41] @ Quit: vzctl_: Read error: Operation timed out
[2010/03/26 09:03:10] @ vzctl_ joined channel #puppet
[2010/03/26 09:03:35] @ uphillian joined channel #puppet
[2010/03/26 09:04:22] <jamesturnbull> Disconnect: is the type and provider synced to the client?
[2010/03/26 09:04:41] <Disconnect> should be magic, right? or am i missing something?
[2010/03/26 09:04:52] <jamesturnbull> Disconnect: it works for one module but NOT another???
[2010/03/26 09:05:03] <jamesturnbull> Disconnect: on the same client?
[2010/03/26 09:05:11] <Disconnect> it works inside the mysql module but not in a separate module. different clients.
[2010/03/26 09:05:30] <ohadlevy> Disconnect: pluginsync is enabled right?
[2010/03/26 09:05:58] <Disconnect> ohadlevy: yah
[2010/03/26 09:06:43] <jamesturnbull> Disconnect: and you can find the type/provider in /var/lib/puppet/lib/etc/etc/type ?
[2010/03/26 09:06:49] @ Quit: mark: Excess Flood
[2010/03/26 09:06:53] @ mark joined channel #puppet
[2010/03/26 09:06:57] <Disconnect> it works from the mysql module (where it is created) both as a creator and consumer (used it to create replication accounts and such, that worked fine - all the servers got all the accounts declared by the other servers) but trying to use it from a pure-creator module (jira) it fails
[2010/03/26 09:07:45] <Disconnect> its in /var/lib/puppet/lib/puppet/type (and provider)
[2010/03/26 09:08:41] <Disconnect> oooh hang on. the bug might be about error reporting. this provider might require the mysql client to be installed..
[2010/03/26 09:09:20] <jamesturnbull> Disconnect: ah ha! :)
[2010/03/26 09:09:42] <Disconnect> but --trace --debug doesn't give any info
[2010/03/26 09:10:18] <Disconnect> ok could not prefetch, thats ok. its running :)
[2010/03/26 09:10:34] <Disconnect> so definitely an error-reporting bug, not a pluginsync bug :/
[2010/03/26 09:13:26] @ ahasenack joined channel #puppet
[2010/03/26 09:14:38] @ joe-mac joined channel #puppet
[2010/03/26 09:15:29] <Disconnect> hmm. this plugin doesn't seem to work the way i thought it did. and i wasn't smart enough to check in the url, doh.
[2010/03/26 09:32:28] @ Quit: bkero: Excess Flood
[2010/03/26 09:36:19] @ pheezy joined channel #puppet
[2010/03/26 09:38:02] @ Quit: bodepd: Quit: bodepd
[2010/03/26 09:44:12] @ docelic__ joined channel #puppet
[2010/03/26 09:44:21] @ Quit: docelic_: Read error: Operation timed out
[2010/03/26 10:02:09] @ Quit: jmccune: Quit: leaving
[2010/03/26 10:07:37] @ bobbyz joined channel #puppet
[2010/03/26 10:09:33] @ koomi joined channel #puppet
[2010/03/26 10:09:35] <koomi> hej
[2010/03/26 10:10:08] <koomi> has anyone figured a way to restart services that are managed by (ubuntu's) upstart?
[2010/03/26 10:10:30] <koomi> with puppet 0.24.8 the status isn't determined correctly
[2010/03/26 10:10:53] <SyTonnerre> 0.24.8 is also terribly old
[2010/03/26 10:10:56] <joe-mac> not rly
[2010/03/26 10:11:04] <joe-mac> .24.8 is 'stable' i'd say
[2010/03/26 10:11:23] <SyTonnerre> joe-mac, that would be 0.24.9
[2010/03/26 10:11:36] <joe-mac> anyways, koomi you have to use the 'pattern' parameter for the service resource if it can't determine stratus from the init scrupt
[2010/03/26 10:11:38] <joe-mac> script**
[2010/03/26 10:12:04] <joe-mac> SyTonnerre: which is .24.8-2 or something in debian/ubuntu isn't it?
[2010/03/26 10:12:23] <koomi> joe-mac: thanks, i'll give it a shot
[2010/03/26 10:12:52] <joe-mac> np
[2010/03/26 10:13:44] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2010/03/26 10:14:07] <koomi> joe-mac: i'm trying to restart ufw (ubuntu firewall) which is just a wrapper for iptables
[2010/03/26 10:14:18] @ jmccune joined channel #puppet
[2010/03/26 10:14:19] <koomi> so there's no entry in the process table
[2010/03/26 10:14:39] <gepetto> ::redmine:: Wiki edit: Puppet_Best_Practice (#6) @ http://projects.reductivelabs.com/projects/1/wiki/Puppet_Best_Practice?version=6 (by Michael DeHaan)
[2010/03/26 10:15:16] <joe-mac> then you're kind of SOL... alternative is to put something together that uses exec resources to determine if it's running
[2010/03/26 10:15:43] <Dominic> koomi: in the service, status => "/bin/true" ? Then it thinks it's always running and you can just trigger it with a notify
[2010/03/26 10:16:31] @ Quit: TREllis: Quit: leaving
[2010/03/26 10:16:57] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/03/26 10:18:00] @ Quit: nono: Quit: Page closed
[2010/03/26 10:22:15] <koomi> Dominic: thanks for the hint
[2010/03/26 10:26:04] @ Welsh_Dwarf joined channel #puppet
[2010/03/26 10:27:10] @ JJA joined channel #puppet
[2010/03/26 10:29:38] <koomi> if you've got a moment: http://pastebin.ca/1852881 is my current ufw module. any thoughts on it?
[2010/03/26 10:30:03] @ Quit: JJA: Client Quit
[2010/03/26 10:33:31] @ cemerick joined channel #puppet
[2010/03/26 10:34:08] @ labrown joined channel #puppet
[2010/03/26 10:34:17] @ koomi_ joined channel #puppet
[2010/03/26 10:34:44] <cemerick> is this a reasonable venue for total noob questions?
[2010/03/26 10:34:51] <barn> I ask them all the time
[2010/03/26 10:34:53] <barn> so why not (:
[2010/03/26 10:34:57] <cemerick> stellar :-)
[2010/03/26 10:35:28] <cemerick> Right now, we're using the maven cargo plugin to deploy java web apps to a couple of fixed environments.
[2010/03/26 10:36:14] @ Quit: koomi: Ping timeout: 252 seconds
[2010/03/26 10:36:35] @ Quit: blahdeblah: Ping timeout: 265 seconds
[2010/03/26 10:36:46] <cemerick> This needs to change: we're in the latter stages of changing our architecture to be (almost) entirely distributed -- one or two front-end webapps + N compute nodes. So, I've been doing a pile of reading on puppet, chef, fabric, etc.
[2010/03/26 10:37:44] <cemerick> However, I've not seen a lot of material anywhere talking about how best to use these tools to deploy java artifacts. Some pointers would be helpful.
[2010/03/26 10:38:12] <cemerick> In particular, doing hot redeploys to app servers is a concern -- e.g. we don't want to bounce our app servers every time a "release" rolls through.
[2010/03/26 10:38:14] <Disconnect> puppet isn't so much about deployment as it is about system state.
[2010/03/26 10:38:44] @ rmiller4pi8 joined channel #puppet
[2010/03/26 10:38:45] <Disconnect> there's a thread on the ML about it right now though. (fwiw we're using a homegrown threaded shell solution. not ideal but it works, and it lets us tune the restart speeds)
[2010/03/26 10:38:47] <cemerick> Disconnect: Right, totally idempotent. That's nifty, but problematic w.r.t. hot redployments, it would seem. :-/
[2010/03/26 10:38:50] <Dominic> cemerick: you'd end up writing a lot of glue to do that with Puppet... wrong tool for the job I think
[2010/03/26 10:39:58] <cemerick> Disconnect: the google group, or other?
[2010/03/26 10:40:06] <Disconnect> if you can wrap your app in a package puppet can handle it by magic. and you could do a custom provider that handles war deployment, for example, but otherwise its not necessarily the right tool
[2010/03/26 10:40:25] <Disconnect> afaik there is only one set of official lists. don't recall if its google-backed or not
[2010/03/26 10:40:26] <cemerick> Disconnect: package, as in, a deb or somesuch?
[2010/03/26 10:40:32] <Disconnect> yep
[2010/03/26 10:41:00] <cemerick> yuck :-P
[2010/03/26 10:41:01] @ Quit: m1nish: Quit: Leaving
[2010/03/26 10:41:20] <cemerick> Looks like Dominic's got it on this one. :-)
[2010/03/26 10:42:14] <Disconnect> didn't say it was the right way to do it (although it could be considered that way, since its an app just like any other..) but its a way.
[2010/03/26 10:42:16] <jamesturnbull> Dominic: I use Puppet to manage Hudson - update and distribute .war files
[2010/03/26 10:42:32] <Disconnect> (in fact, i said specifically we did something else and puppet wasn't a great fit :) ..)
[2010/03/26 10:43:22] <nico> jamesturnbull: finally made my first patch following your instructions \o/
[2010/03/26 10:43:34] <jamesturnbull> nico: yeah saw that - excellent
[2010/03/26 10:43:59] @ lwhalen joined channel #puppet
[2010/03/26 10:44:06] <Dominic> jamesturnbull: do you mean to manage the Hudson build service, or you push artifacts from Hudson into Puppet for distribution?
[2010/03/26 10:44:08] <cemerick> jamesturnbull: any details you can share?
[2010/03/26 10:44:49] <jamesturnbull> Dominic: I manage Hudson itself
[2010/03/26 10:45:11] <Dominic> ah ok
[2010/03/26 10:45:25] <jamesturnbull> cemerick: I suspect I have different SLAs to you? if you're talking hot deployment? (for certain values of "hot" I guess)
[2010/03/26 10:45:28] <pheezy> anyone familiar with puppet-dashboard? I can't get the rake task to install: http://pastie.org/888334
[2010/03/26 10:45:50] <hajile> i just went through that yesterday :)
[2010/03/26 10:45:58] <hajile> luckily, I fixed it!
[2010/03/26 10:46:01] <pheezy> o_O
[2010/03/26 10:46:05] <pheezy> do tell!
[2010/03/26 10:46:07] @ benlovell joined channel #puppet
[2010/03/26 10:46:13] <cemerick> jamesturnbull: Right now, we deploy nearly daily to production, multiple times a day to test environments.
[2010/03/26 10:46:14] <hajile> what does your database.yaml file look like?
[2010/03/26 10:46:23] <hajile> sanitized, of course
[2010/03/26 10:46:40] <jamesturnbull> cemerick: and your looking to automate that?
[2010/03/26 10:46:43] <cemerick> jamesturnbull: the maven cargo plugin does hot deployments just fine, but only to fixed destinations.
[2010/03/26 10:46:48] <pheezy> hajile: http://pastie.org/888339
[2010/03/26 10:47:22] <hajile> does the use you're using have permissions to create a database?
[2010/03/26 10:47:27] <cemerick> jamesturnbull: that's already automated. The key now is to be able to deploy to N environments (i.e. however many we have humming), not just the fixed set that we configure ahead of time.
[2010/03/26 10:47:28] <pheezy> yeah
[2010/03/26 10:47:30] <jamesturnbull> cemerick: really? I didn't think cargo did ... maybe it's the fixed bit that was the limitation I thought
[2010/03/26 10:47:30] <hajile> ok
[2010/03/26 10:47:35] <hajile> try removing the host line completely
[2010/03/26 10:48:01] <cemerick> jamesturnbull: yup, hot redeployment to jetty 6.x
[2010/03/26 10:50:23] <inveratulo> pheezy: how did you grant tha tuser permissions on your db? 'user'@'127.0.0.1' ?
[2010/03/26 10:51:06] <markl_> Failed to generate additional resources using 'eval_generate': certificate verify failed
[2010/03/26 10:51:31] <pheezy> i did grant all on *.* to 'user'@'127.0.0.1';
[2010/03/26 10:51:34] <pheezy> removing the host line didn't work :-/
[2010/03/26 10:52:18] <hajile> ok, let me go back through what i did
[2010/03/26 10:52:22] <hajile> 1 sec
[2010/03/26 10:52:44] <jamesturnbull> cemerick: so I (personally) don't know of any specific tools that allow that - I've always scripted stuff in ant
[2010/03/26 10:53:08] <jamesturnbull> cemerick: but there must be something out there you'd think
[2010/03/26 10:53:36] <cemerick> jamesturnbull: heh, yeah, that's what I figured. Haven't found the treasure trove yet tho, so I'm not hopeful. :-/
[2010/03/26 10:53:40] @ Quit: is0dvil: Ping timeout: 258 seconds
[2010/03/26 10:53:48] <inveratulo> pheezy: hajile this may be a dumb observation since i come from the python world, but should your db parameters be indented?
[2010/03/26 10:53:55] <markl_> in the puppetmaster server logs, I am seeing this:
[2010/03/26 10:53:56] <markl_> [2010-03-26 08:54:04] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca
[2010/03/26 10:53:57] <hajile> mine are
[2010/03/26 10:54:02] <hajile> but i dunno if it matters
[2010/03/26 10:54:32] <jamesturnbull> it's a YAML file so format matters
[2010/03/26 10:54:34] <inveratulo> mine are too, that's really the only different I see, other than packages.. ruby-dev et al installed at the os level
[2010/03/26 10:54:46] <pheezy> hmm
[2010/03/26 10:54:47] <hajile> i did have to install another gem
[2010/03/26 10:55:16] <cemerick> jamesturnbull: I was thinking about writing a very small java webapp shell that would ping our maven repo periodically, and auto-deploy new releases from within the jetty container. Seems a little nutty, but simple enough.
[2010/03/26 10:55:20] @ spencert joined channel #puppet
[2010/03/26 10:55:22] <hajile> but i was able unfortunately, i can't remember which one it was
[2010/03/26 10:55:41] <hajile> but i was able to use all the default packages on centos5
[2010/03/26 10:55:43] <hajile> other than that
[2010/03/26 10:56:00] <jamesturnbull> pheezy: http://pastie.org/888356
[2010/03/26 10:56:15] <jamesturnbull> pheezy: that's what your file should look like - if it's not indetned it's not correct YAML
[2010/03/26 10:56:24] <pheezy> well indenting it got a different error: http://pastie.org/888357
[2010/03/26 10:56:42] <inveratulo> pheezy: now you gotta satisfy lib requirest, gem install mysql
[2010/03/26 10:56:50] <jamesturnbull> pheezy: tabs or spaces?
[2010/03/26 10:57:17] <jamesturnbull> cemerick: that sounds like a reasonable approach
[2010/03/26 10:58:09] <pheezy> ahh it was tabs, changed to spaces worked, thanks; now just need to isntall gem has_scope
[2010/03/26 10:58:10] <pheezy> thanks!
[2010/03/26 10:58:17] <hajile> has_scope, that's the one
[2010/03/26 10:58:32] <hajile> i'm gonna work on an updated doc
[2010/03/26 10:58:39] @ Quit: seanos: Read error: Operation timed out
[2010/03/26 10:58:43] <hajile> maybe you only run into these things on centos
[2010/03/26 10:59:04] <jamesturnbull> hajile: that's vendored if you pull down the latest HEAD
[2010/03/26 10:59:14] <jamesturnbull> pheezy: ^^
[2010/03/26 10:59:15] <hajile> this is the latest head
[2010/03/26 10:59:26] <hajile> unless something changed since yesterday afternoon
[2010/03/26 10:59:29] <jamesturnbull> hajile: got vendored in one of the last couple of commits
[2010/03/26 10:59:34] <hajile> ohh
[2010/03/26 10:59:35] <hajile> nice
[2010/03/26 10:59:38] <pheezy> i don't understand what that means, "vendored"
[2010/03/26 10:59:46] <jamesturnbull> I am also building packages over the next few days
[2010/03/26 10:59:56] <jamesturnbull> hopefulyl have debs and RPMss sometime next week
[2010/03/26 11:00:02] <hajile> awesome!
[2010/03/26 11:00:03] <jamesturnbull> pheezy: means its bundled with the app
[2010/03/26 11:00:07] <jamesturnbull> pheezy: instead of installing it
[2010/03/26 11:00:09] <markl_> hmm now getting: Neither PUB key nor PRIV key:: nested asn1
[2010/03/26 11:00:09] <markl_> fun
[2010/03/26 11:00:12] <pheezy> ohhhh ok, sweet
[2010/03/26 11:00:55] @ is0dvil joined channel #puppet
[2010/03/26 11:01:00] <jamesturnbull> cemerick: maybe have a look at SmartFrog? Someone said to me ages ago that it might do something i nthe ballpark - but not sure since I never got around to testing it
[2010/03/26 11:01:39] @ Quit: bobbyz: Ping timeout: 240 seconds
[2010/03/26 11:02:09] <hajile> so am I right in that you have to set puppet to fail if it can't retrive it's catalog?
[2010/03/26 11:02:09] <jamesturnbull> markl_: time in sync between master and client? DNS right?
[2010/03/26 11:02:31] <jamesturnbull> hajile: otherwise it will use cached configuration
[2010/03/26 11:02:33] <hajile> otherwise it just uses the cached entry, thereby reporting a success back to puppetmaster/puppet_dashboard
[2010/03/26 11:02:34] <hajile> ok
[2010/03/26 11:02:54] <hajile> I couldn't figure out why I wasn't seeing failures in dashboard
[2010/03/26 11:02:57] @ gilesw joined channel #puppet
[2010/03/26 11:02:58] <hajile> that would be why
[2010/03/26 11:03:03] <gilesw> elo puppetiers
[2010/03/26 11:03:10] @ Quit: biertie: Ping timeout: 265 seconds
[2010/03/26 11:03:13] <jamesturnbull> hajile: you can turn that off
[2010/03/26 11:03:14] <gilesw> anyone had this?
[2010/03/26 11:03:16] <gilesw> Could not render to pson: invalid utf8 byte: 'รพ'
[2010/03/26 11:03:28] <gilesw> doesn't give me a line
[2010/03/26 11:03:30] <jamesturnbull> gilesw: you got some odd characters in your manifests somewhere?
[2010/03/26 11:03:48] <jamesturnbull> gilesw: you conv iconv your manifest files?
[2010/03/26 11:03:53] <jamesturnbull> s/conv/could/
[2010/03/26 11:06:09] * jamesturnbull has checked the time and discovered it's 2am here and is hence going to retire to sleep
[2010/03/26 11:06:16] <jamesturnbull> night all
[2010/03/26 11:06:34] <hajile> night!
[2010/03/26 11:07:04] <cemerick> Disconnect: is this "puppet for app deployment" thread the one you were talking about? http://groups.google.com/group/puppet-users/browse_frm/thread/303a4336370e8e79
[2010/03/26 11:07:23] <Disconnect> yah looks like it
[2010/03/26 11:07:33] @ Quit: LinuxCode: Quit: Connection Closed
[2010/03/26 11:11:51] @ Quit: is0dvil: Remote host closed the connection
[2010/03/26 11:13:00] <gilesw> jamesturnbull: looks like one of the dmidecode facts
[2010/03/26 11:13:01] @ Quit: RageLink: Ping timeout: 258 seconds
[2010/03/26 11:13:34] <gilesw> lsbrelease looks a bit screwy too : lsbrelease => :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
[2010/03/26 11:14:29] @ RageLink joined channel #puppet
[2010/03/26 11:15:01] <markl_> jamesturnbull: yes those are all ok
[2010/03/26 11:15:03] @ TREllis joined channel #puppet
[2010/03/26 11:15:17] * chrisg slaps TREllis
[2010/03/26 11:15:34] <markl_> is there a way to tell puppetmaster to be less strict about the CA?
[2010/03/26 11:15:41] <TREllis> chrisg: yo
[2010/03/26 11:15:50] <chrisg> TREllis: word
[2010/03/26 11:16:53] @ kaptk2 joined channel #puppet
[2010/03/26 11:17:37] * Dominic slaps TREllis too
[2010/03/26 11:17:37] <markl_> i do a puppetd --test and the client makes a new key, then i sign it on the server, then when i run the client again it gives me:
[2010/03/26 11:17:41] <markl_> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': certificate verify failed
[2010/03/26 11:18:15] <TREllis> Dominic: afternoon
[2010/03/26 11:19:07] @ is0dvil joined channel #puppet
[2010/03/26 11:19:27] <markl_> and the server log says: [2010-03-26 09:20:20] ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca
[2010/03/26 11:20:44] <markl_> anyone have a clue here what I can try for this?
[2010/03/26 11:25:04] <ashp> so what's the benefit of this new caching catalog stuff
[2010/03/26 11:25:17] <ashp> is this for people who have static confs, so they roll out a cached copy and speed up puppet runs dramatically?
[2010/03/26 11:25:27] @ Quit: bug: Quit: bug
[2010/03/26 11:26:58] <hajile> so uh
[2010/03/26 11:27:11] <hajile> even when puppet fails to update properly, puppet-dashboard doesn't register a failure
[2010/03/26 11:27:30] * hajile scratches head
[2010/03/26 11:28:03] @ bobbyz joined channel #puppet
[2010/03/26 11:29:59] <hajile> haha ok, so.. it doesn't even send a report in if it can't get it's catalog
[2010/03/26 11:30:14] <hajile> i'm really confused by this.. how will it ever register a failure
[2010/03/26 11:35:55] <rmiller4pi8> well, if the problem is that the server isn't able to compile the catalog, you'd get an error in the server log
[2010/03/26 11:36:19] <hajile> right, but i assumed that it should still be able to transmit the report back to the puppet server
[2010/03/26 11:36:23] <hajile> if the puppet server was available
[2010/03/26 11:36:39] <hajile> since the report = true option indicates that a report is generated after every transaction
[2010/03/26 11:37:19] @ siezer joined channel #puppet
[2010/03/26 11:38:39] @ Quit: DavidS: Read error: Connection reset by peer
[2010/03/26 11:38:44] <siezer> hello. a while ago I saw a blog post about a tool that would kind of "record" a series of shell commands and attempt to assemble a puppet manifest from them.... I can't remember what it was called and am having trouble googling for it. can somebody tell me what the name of it was?
[2010/03/26 11:39:28] @ n9986 left channel #puppet ()
[2010/03/26 11:39:33] @ bkero joined channel #puppet
[2010/03/26 11:39:35] @ Quit: bkero: Excess Flood
[2010/03/26 11:41:23] @ hajile is now known as elijah
[2010/03/26 11:41:26] <elijah> bah
[2010/03/26 11:41:28] @ elijah is now known as hajile
[2010/03/26 11:42:04] @ lutter joined channel #puppet
[2010/03/26 11:42:36] <markl_> anyone here familiar with puppetmaster and CA functionality?
[2010/03/26 11:42:43] @ bkero joined channel #puppet
[2010/03/26 11:44:02] <siezer> markl_ I am, what's up
[2010/03/26 11:44:43] <markl_> trying to figure out why my server is rejecting clients with this error: ERROR OpenSSL::SSL::SSLError: tlsv1 alert unknown ca
[2010/03/26 11:45:16] <rmiller4pi8> hajile: if the catalog doesn't compile, there is no transaction
[2010/03/26 11:45:30] <markl_> the client generated its own certs normally, and i signed with puppetca --sign
[2010/03/26 11:45:59] <markl_> at this point i am just wondering if i can disable the strict CA check or something
[2010/03/26 11:47:19] <markl_> the annoying thing is that other hosts connect to the server just fine
[2010/03/26 11:47:29] <markl_> all use the same rpm's
[2010/03/26 11:49:29] @ inveratulo left channel #puppet ()
[2010/03/26 11:50:49] <hajile> rmiller4pi8: got it.. so the 'failure' that's being referred to would be some problem on the system in terms of applying the compiled catalog
[2010/03/26 11:51:06] <hajile> s/system/client
[2010/03/26 11:51:55] <markl_> blowing away the client rpm, /etc/puppet, and /var/lib/puppet seems to have cleared up the problem
[2010/03/26 11:53:08] @ seanos joined channel #puppet
[2010/03/26 11:53:27] <nDuff> /var/lib/puppet would have been enough
[2010/03/26 11:53:54] <markl_> i was getting quite frustrated; i almost just did rm -rf /
[2010/03/26 11:54:01] <pheezy> Hmm puppet-dashboard doesn't seem to read reports when puppetmaster is running under passenger/apache
[2010/03/26 11:55:58] @ Quit: taihen: Ping timeout: 276 seconds
[2010/03/26 11:58:21] @ Quit: MattyM: Quit: ta ta
[2010/03/26 12:00:03] @ Quit: ahoang: Quit: ahoang
[2010/03/26 12:00:11] @ Quit: russell_h: Changing host
[2010/03/26 12:00:11] @ russell_h joined channel #puppet
[2010/03/26 12:01:05] @ Quit: marcus_: Quit: Verlassend
[2010/03/26 12:01:33] @ Syn`work joined channel #puppet
[2010/03/26 12:02:50] @ Quit: TREllis: Quit: leaving
[2010/03/26 12:04:44] @ tonyskapunk joined channel #puppet
[2010/03/26 12:07:19] @ shenson joined channel #puppet
[2010/03/26 12:16:30] @ Quit: gebi: Ping timeout: 260 seconds
[2010/03/26 12:24:30] @ Quit: verwilst: Quit: Ex-Chat
[2010/03/26 12:26:13] @ S3RGJS joined channel #puppet
[2010/03/26 12:26:51] @ S3RGJS left channel #puppet ()
[2010/03/26 12:30:40] @ pinoyskull joined channel #puppet
[2010/03/26 12:32:36] @ bug joined channel #puppet
[2010/03/26 12:32:53] @ ipl31 joined channel #puppet
[2010/03/26 12:32:59] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/03/26 12:33:17] <ipl31> anyone able to answer a question about puppet dashboard?
[2010/03/26 12:36:16] @ Quit: cosimo: Ping timeout: 260 seconds
[2010/03/26 12:37:12] <agaffney> ipl31: just ask the question
[2010/03/26 12:40:12] <chrisg> hmmm
[2010/03/26 12:40:25] <chrisg> ohadlevy: could i use foreman to also make cobbler configs?
[2010/03/26 12:41:55] @ Quit: tim|macbook: Quit: tim|macbook
[2010/03/26 12:43:22] @ cosimo joined channel #puppet
[2010/03/26 12:43:34] @ ahoang joined channel #puppet
[2010/03/26 12:44:05] @ mpdehaan joined channel #puppet
[2010/03/26 12:44:05] @ Mode +v mpdehaan by ChanServ
[2010/03/26 12:47:37] <ipl31> agaffney: thanks
[2010/03/26 12:47:47] <ipl31> So I have dashboard set up as an external node source
[2010/03/26 12:48:01] <ipl31> and reporting from puppetmasterd to dashboard works great
[2010/03/26 12:48:18] <ipl31> but when I add a class to a node on the dashboard
[2010/03/26 12:48:32] @ thekad joined channel #puppet
[2010/03/26 12:48:33] <ipl31> that class does not take affect on the nodes next puppet run
[2010/03/26 12:48:55] <ipl31> so I guess I really need to figure out how to confirm puppet is loading the external node data when it runs
[2010/03/26 12:49:12] <ipl31> ran puppetmasterd and puppetd in debug
[2010/03/26 12:50:05] @ rcrowley joined channel #puppet
[2010/03/26 12:50:39] @ bipolar_away is now known as bipolar
[2010/03/26 12:51:04] @ countskm joined channel #puppet
[2010/03/26 12:52:38] @ Quit: cemerick: Quit: cemerick
[2010/03/26 12:53:09] <countskm> compiling ruby and puppet on aix - moral support appreciated ;-)
[2010/03/26 12:53:19] <stahnma> countskm: what issues are you having?
[2010/03/26 12:53:26] <stahnma> I recently completed that
[2010/03/26 12:53:29] <barn> countskm: start drinking?
[2010/03/26 12:53:31] <countskm> so far nothing that goodle hasn't helped
[2010/03/26 12:53:33] <countskm> heh
[2010/03/26 12:53:36] <stahnma> I could probably get you packages
[2010/03/26 12:53:41] <countskm> just got ruby compiled so thats good
[2010/03/26 12:53:43] <countskm> homestretch
[2010/03/26 12:54:04] <stahnma> I had a weird issue with rubygems on aix
[2010/03/26 12:54:14] <stahnma> like it wouldn't read $HOME/.gemrc
[2010/03/26 12:54:21] <stahnma> outside of that it went fairly ok
[2010/03/26 12:54:36] <countskm> cool - i am using gcc4 from perzl.org/aix
[2010/03/26 12:54:38] <stahnma> and i couldn't get all the make doc stuff to work
[2010/03/26 12:54:40] <stahnma> ah
[2010/03/26 12:54:44] <countskm> that has seemd to to the grick
[2010/03/26 12:54:49] <countskm> yeah - docs are optional
[2010/03/26 12:54:54] <countskm> my master will be solaris or redhat
[2010/03/26 12:55:03] <stahnma> countskm: yeah, I was only trying for client
[2010/03/26 12:55:13] <countskm> what flavors do you have under puppet?
[2010/03/26 12:55:25] <stahnma> rhel, aix, fedora
[2010/03/26 12:55:30] <countskm> cool
[2010/03/26 12:55:39] <stahnma> we just dropped solaris and hpux
[2010/03/26 12:55:40] <stahnma> happy days
[2010/03/26 12:55:44] <stahnma> less is more
[2010/03/26 12:55:58] <countskm> heh - i had to refresh a couple of solaris boxes - still have a bit of oracle on it
[2010/03/26 12:55:59] <mpdehaan> stahnma, I had someone else asking me about Puppet on AIX the other day
[2010/03/26 12:56:14] <countskm> we have redhat/aix/solaris
[2010/03/26 12:56:15] <mpdehaan> it seems to be the thing everyone (who is using Puppet and AIX) wants :)
[2010/03/26 12:56:19] @ WALoeIII joined channel #puppet
[2010/03/26 12:56:40] <countskm> i haven't used puppet before but i used to do isconf (ever heard of that) config in the past
[2010/03/26 12:56:50] <stahnma> countskm: we used to use isconf too
[2010/03/26 12:56:51] @ Quit: Welsh_Dwarf: Remote host closed the connection
[2010/03/26 12:56:57] <countskm> thats where i originally met Kanies years ago at LISA
[2010/03/26 12:57:05] <stahnma> we went Isconf --> cfengine --> puppet
[2010/03/26 12:57:09] <countskm> we were both using it - but he wasn't satisfied - hence puppet
[2010/03/26 12:57:10] <stahnma> also due to luke
[2010/03/26 12:57:38] <countskm> the author of isconf is from my hometown, tampa bay, fl - small world!
[2010/03/26 12:59:04] <countskm> how much have you swallowed the pill so to speak?
[2010/03/26 12:59:13] @ Quit: cedric_b: Quit: Ex-Chat
[2010/03/26 12:59:17] <stahnma> not sure exactly what you mean there
[2010/03/26 12:59:37] @ Quit: benlovell: Quit: benlovell
[2010/03/26 13:00:09] <countskm> just how much do you use puppet for config versus local spot configs
[2010/03/26 13:00:23] <stahnma> ah, well, not as much as we should be overall
[2010/03/26 13:00:35] <stahnma> we're still in the process of moving legacy cfe stuff
[2010/03/26 13:00:39] <stahnma> to puppet managed stuff
[2010/03/26 13:00:41] <countskm> i can see it being a great supplement at first - even if not for everything
[2010/03/26 13:00:56] <countskm> gotcha - certain servers not managed - new builds with it?
[2010/03/26 13:01:17] <stahnma> everything is manged to some extent, but I might be only a few resources that the same across all systems
[2010/03/26 13:01:27] <stahnma> we started with things we can apply to the whole fleet
[2010/03/26 13:01:36] <countskm> nice
[2010/03/26 13:01:46] <stahnma> and then we'll break it into smaller environments and one-offs after that
[2010/03/26 13:01:52] <countskm> got a couple admins working w/ me that are anti-automation so i have a fight ahead
[2010/03/26 13:02:09] @ lak joined channel #puppet
[2010/03/26 13:02:19] <stahnma> if you have an admin that is anti automation, how do they work?
[2010/03/26 13:02:39] <stahnma> that's kind of the point of computers
[2010/03/26 13:02:44] <countskm> like a mechanic - there is a pattern referenced by SAGE for that type of person
[2010/03/26 13:03:01] <countskm> the other guy automates but doesn't like the idea of not hitting the button each time to kick off automation
[2010/03/26 13:03:18] <countskm> there is some merit in that fear - but he is absolute
[2010/03/26 13:03:29] <countskm> a for server in $list; ssh do something; done guy
[2010/03/26 13:03:56] <stahnma> I've been that guy, but only because I didn't have a better way at the time
[2010/03/26 13:05:59] @ Quit: pting: Quit: Ex-Chat
[2010/03/26 13:06:05] <countskm> nim# ruby install.rb
[2010/03/26 13:06:05] <countskm> no rst2man.py in
[2010/03/26 13:06:17] <countskm> got facter installed but puppet is giving me that
[2010/03/26 13:06:22] <countskm> bet thats the docs
[2010/03/26 13:06:34] <countskm> flag to leave them out?
[2010/03/26 13:06:47] <stahnma> yeah, you can specify --no-rdoc on the CLI
[2010/03/26 13:07:22] <stahnma> also --no-ri
[2010/03/26 13:07:37] <countskm> like ruby install.rb --no-rdoc
[2010/03/26 13:07:52] <stahnma> are you not installing via gems?
[2010/03/26 13:07:59] <countskm> nah - was going straight
[2010/03/26 13:08:02] <countskm> maybe i should install gems
[2010/03/26 13:08:06] <stahnma> I used gems
[2010/03/26 13:08:18] <stahnma> either way is probably ok
[2010/03/26 13:08:22] <barn> that's so a line from a rehab programme
[2010/03/26 13:08:36] <barn> "I used Ruby gems, but now I'm okay"
[2010/03/26 13:09:06] <stahnma> if your starting point is AIX, it's all downhill :)
[2010/03/26 13:09:26] <countskm> you said it brother
[2010/03/26 13:16:29] @ Quit: themroc: Remote host closed the connection
[2010/03/26 13:18:45] @ taihen joined channel #puppet
[2010/03/26 13:24:14] @ Quit: vzctl_: Quit: vzctl_
[2010/03/26 13:27:45] @ Quit: kolla: Remote host closed the connection
[2010/03/26 13:27:59] @ kolla joined channel #puppet
[2010/03/26 13:28:44] <Phibs> http://ike.egr.msu.edu/pub/nexenta/NexentaStor-ISO-Community-3.0.0.iso
[2010/03/26 13:29:57] @ vzctl_ joined channel #puppet
[2010/03/26 13:31:01] @ Quit: kubicek: Ping timeout: 258 seconds
[2010/03/26 13:33:37] @ okonomiyaki joined channel #puppet
[2010/03/26 13:33:47] @ Quit: [GuS]: Remote host closed the connection
[2010/03/26 13:33:49] @ mao joined channel #puppet
[2010/03/26 13:34:13] @ kubicek joined channel #puppet
[2010/03/26 13:34:23] <mao> greetings
[2010/03/26 13:35:31] <mao> for a handful of services, puppet doesn't seem to know that the service is already set to running
[2010/03/26 13:35:52] <mao> and i get messages like this:
[2010/03/26 13:35:54] <mao> notice: //Node[freduipwweb01]/ipw/base::nfs/Service[nfslock]/ensure: ensure changed 'stopped' to 'running'
[2010/03/26 13:36:22] <mao> and i get these messages each time the catalog runs
[2010/03/26 13:37:09] @ Quit: giskard: Remote host closed the connection
[2010/03/26 13:37:51] @ Quit: gilesw: Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100202165920]
[2010/03/26 13:37:52] <mao> does anyone know what could be causing this?
[2010/03/26 13:39:03] <tonyskapunk> mao: does your OS has the status option for that service?
[2010/03/26 13:39:16] <mao> it does
[2010/03/26 13:39:36] <mao> tonyskapunk: you're about to tell me to add hasstatus => true, aren't you
[2010/03/26 13:39:43] <mao> :-)
[2010/03/26 13:39:47] <tonyskapunk> that's correct
[2010/03/26 13:40:00] * mao sighs
[2010/03/26 13:40:05] <mao> thank you, kind sir
[2010/03/26 13:40:29] <mao> i knew that...just been a while since i worked on these manifests :-/
[2010/03/26 13:53:33] @ benkevan joined channel #puppet
[2010/03/26 13:57:25] @ allsystemsarego joined channel #puppet
[2010/03/26 13:58:03] @ ahuman joined channel #puppet
[2010/03/26 14:01:27] @ natebc joined channel #puppet
[2010/03/26 14:02:35] @ Quit: natebc: Client Quit
[2010/03/26 14:03:54] @ natebc joined channel #puppet
[2010/03/26 14:08:26] @ pting joined channel #puppet
[2010/03/26 14:08:52] @ jwaters joined channel #puppet
[2010/03/26 14:08:55] @ Quit: mikepea: Quit: mikepea
[2010/03/26 14:15:06] <hajile> Could not run Puppet configuration client: Parameter require failed: No title provided and "Group[]" is not a valid resource reference
[2010/03/26 14:15:09] <hajile> bizarre.
[2010/03/26 14:18:22] <mpdehaan> example to puppet.pastebin.com ?
[2010/03/26 14:18:45] * mpdehaan takes off for a bit, but other folks could help... would need to see it in context to tell you what you needed to do
[2010/03/26 14:19:12] <hajile> that's an initial run
[2010/03/26 14:19:14] <hajile> fresh install
[2010/03/26 14:19:19] <hajile> works great on all my other clients
[2010/03/26 14:20:12] @ plathrop-away is now known as plathrop
[2010/03/26 14:32:18] <shenson> I'd suspect that a variable that you think is defined in a context isn't
[2010/03/26 14:32:35] <shenson> so you end up with a reference to an empty object
[2010/03/26 14:32:49] <shenson> e.g foo isn't defined and you are referencing Group[foo]
[2010/03/26 14:33:08] <hajile> ok
[2010/03/26 14:33:23] <hajile> it just didn't really give me any sort of context as far as where it was hitting the problem
[2010/03/26 14:33:26] <hajile> wildly confusing
[2010/03/26 14:34:53] <beelzebob> I'm running puppetd from cron (with -o), and I want to disable puppetd from running as a daemon
[2010/03/26 14:35:20] <beelzebob> but ensuring that the puppet service is stopped, causes puppet to kill itself halfway through the run
[2010/03/26 14:35:23] @ francois joined channel #puppet
[2010/03/26 14:35:50] <beelzebob> how can I ensure that puppetd is not running as a long running process?
[2010/03/26 14:39:20] <plathrop> hajile: I have good luck tracking these down by looking at the catalog in /var/lib/puppet/client_yaml/catalog/
[2010/03/26 14:39:32] <beelzebob> maybe something in /etc/sysconfig/puppet ?
[2010/03/26 14:39:50] <hajile> oh nice
[2010/03/26 14:40:12] <hajile> :require: Group[]
[2010/03/26 14:40:23] <hajile> well that makes it slightly more obvious
[2010/03/26 14:40:38] <hajile> thanks for the suggestion.. i see what's going on now
[2010/03/26 14:43:36] @ Quit: rellis: Read error: Connection reset by peer
[2010/03/26 14:51:45] @ giskard joined channel #puppet
[2010/03/26 14:52:54] @ Alagar joined channel #puppet
[2010/03/26 14:55:08] @ benlovell joined channel #puppet
[2010/03/26 15:02:46] @ Quit: benlovell: Quit: benlovell
[2010/03/26 15:13:19] @ Quit: beata-:
[2010/03/26 15:17:03] @ cemerick joined channel #puppet
[2010/03/26 15:32:03] @ rgsteele joined channel #puppet
[2010/03/26 15:44:20] @ Quit: bug: Quit: bug
[2010/03/26 15:44:48] @ Pirate_Hunter joined channel #puppet
[2010/03/26 15:45:44] @ webx joined channel #puppet
[2010/03/26 15:47:00] <webx> I'm installing the puppet dashboard, and wondering if there's anything I'm missing in terms of speed of importing my existing reports
[2010/03/26 15:47:53] <webx> I have a week's worth of reports I want to load and only about 500 servers (total yaml files is ~91k)
[2010/03/26 15:49:45] <webx> it's been going almost an hour so far, and it's only 25% done. the ETA on the progress bar has stayed at ~ 1hr 40m from the time I started it, so I don't trust the accuracy. I'm curious if that's an expected speed
[2010/03/26 15:50:35] <webx> (dual quad core, 16gb ram, lightly loaded with avg less than 4 even while doing this import)
[2010/03/26 15:53:15] <Volcane> its a pretty big tak to do the import and it doesnt happen in parallel
[2010/03/26 15:53:29] <webx> hmm
[2010/03/26 15:53:48] <webx> what about when it's live ?
[2010/03/26 15:54:13] <Volcane> then afaik it happens as and when they come in
[2010/03/26 15:54:17] <Volcane> but not used dashboard
[2010/03/26 15:54:25] @ jeffmoss joined channel #puppet
[2010/03/26 15:54:35] @ Quit: bobbyz: Ping timeout: 258 seconds
[2010/03/26 15:54:49] <jeffmoss> I've got a bunch of services that depend on git being installed, whats the best way to handle this? they're on different nodes and everything
[2010/03/26 15:55:09] <jeffmoss> I have had this question for a long time
[2010/03/26 15:55:13] <webx> can you just use yum/apt/whatever ?
[2010/03/26 15:55:15] <jeffmoss> and none of the docs I've read ddress it
[2010/03/26 15:55:24] <jeffmoss> no
[2010/03/26 15:55:33] <webx> (to install git)
[2010/03/26 15:55:42] <jeffmoss> I have a git module and I want to make that a dependency in say, apache
[2010/03/26 15:56:02] <jeffmoss> so that I can just say "include apache"
[2010/03/26 15:56:09] <jeffmoss> and that'll include git
[2010/03/26 15:56:20] <jeffmoss> or "include postfix"
[2010/03/26 15:56:20] <webx> ah
[2010/03/26 15:56:26] <jeffmoss> and that'll include git if it's not already included
[2010/03/26 15:56:57] <jeffmoss> without having git definitions in both apache and postfix modules
[2010/03/26 15:57:06] <jeffmoss> just a reference to another module
[2010/03/26 15:57:17] <jeffmoss> is that supported somehow?
[2010/03/26 15:57:28] <webx> and by include git you don't mean include the git package, but actually pull down something from a git repo
[2010/03/26 15:57:43] <jeffmoss> well no
[2010/03/26 15:57:55] <jeffmoss> the git module would download make and make install git
[2010/03/26 15:58:06] <webx> oh
[2010/03/26 15:58:08] <jeffmoss> and then, apache would require git, then use exec to create a git repositor
[2010/03/26 15:58:22] <webx> why can't you install git from rpm/deb/etc.?
[2010/03/26 15:58:25] @ Quit: ahoang: Quit: ahoang
[2010/03/26 15:58:29] <jeffmoss> not available
[2010/03/26 15:58:39] <jeffmoss> I just have it as a tarball
[2010/03/26 15:58:42] <webx> ah
[2010/03/26 15:59:07] <jeffmoss> but this is not the first time I've wanted to do this
[2010/03/26 15:59:10] <jeffmoss> like
[2010/03/26 15:59:12] <natebc> you could cobble together a bunch of exec statements in your git class
[2010/03/26 15:59:19] <webx> personally, I'd suggest either downloading the package or creating one and then installing it that way.
[2010/03/26 15:59:21] <jeffmoss> make a module for a certain vhost, then require apache before doing that vhost module
[2010/03/26 15:59:29] <webx> nateb: it sounds like he needs to actually install git
[2010/03/26 15:59:42] <webx> natebc*
[2010/03/26 15:59:42] <jeffmoss> I can do all that installing, the only problem I have is organizational
[2010/03/26 15:59:56] <natebc> Exec["get git"], Exec["extract git"], etc
[2010/03/26 15:59:57] <jeffmoss> I want to write all the installation code in a module and reference that in other modules
[2010/03/26 16:00:07] <plathrop> jeffmoss: Why not just "include git"
[2010/03/26 16:00:13] <plathrop> if it has already been included, this is a noop
[2010/03/26 16:00:48] <jeffmoss> is there a way to do the include git in the other module?
[2010/03/26 16:01:03] <jeffmoss> and then reference it in a require?
[2010/03/26 16:01:27] <jeffmoss> so, in the apache module
[2010/03/26 16:01:30] <jeffmoss> include git
[2010/03/26 16:01:48] <natebc> you could require => Exec["install git"]
[2010/03/26 16:01:52] <plathrop> yes
[2010/03/26 16:01:58] <webx> make whatever magic you're doing with git a class, then include that class wherever
[2010/03/26 16:02:08] <jeffmoss> Exec{ ... require => Module['git']
[2010/03/26 16:02:20] <webx> (or require)
[2010/03/26 16:02:21] <plathrop> require => Class['git']
[2010/03/26 16:02:36] <plathrop> though I never do this, and it seems to violate many people's expectations on how it should work
[2010/03/26 16:02:40] <plathrop> FWIW
[2010/03/26 16:02:46] <natebc> very true
[2010/03/26 16:02:55] <jeffmoss> why is that?
[2010/03/26 16:03:04] <jeffmoss> what's the proper thing?
[2010/03/26 16:03:41] <Volcane> plathrop: hmm, what expectation does a class require violate? except when virtual resources is involved
[2010/03/26 16:03:54] <jeffmoss> I just don't want "include apache" to require that I do a "include git" just before
[2010/03/26 16:04:04] <jeffmoss> I want all that to happen inside the "include apache"
[2010/03/26 16:04:15] <plathrop> Volcane: I don't know, I don't use it. Just saying I see a fair number of people in here cmoplaining because it doesn't work the way they expect
[2010/03/26 16:04:19] <Volcane> jeffmoss: so in your apache class just 'include git'
[2010/03/26 16:04:43] <jeffmoss> Volcane: "include git" and then require => what goes here?
[2010/03/26 16:04:55] <Volcane> plathrop: hmm, interesting, no idea how people thinks it works then cos it does exactly what seems logical to me :)
[2010/03/26 16:05:05] <jeffmoss> when I include git, does git get installed right there before anything else ?
[2010/03/26 16:05:07] <Volcane> jeffmoss: require => Class["git"]
[2010/03/26 16:05:21] <jeffmoss> ok
[2010/03/26 16:05:30] <jeffmoss> thanks
[2010/03/26 16:05:46] <Volcane> jeffmoss: or if you're on recent 0.25.x just do 'require git' in place of 'include git'
[2010/03/26 16:09:02] <Volcane> plathrop: the only problem with class includes are that if you have in say foo::install realize(Package["foo"]) doing a require => Class["foo::install"] doesnt make sure the package gets done correctly first, but thats an accepted bug
[2010/03/26 16:09:55] @ HouseAway is now known as AimanA
[2010/03/26 16:10:11] <plathrop> i have yet to find a class include useful/necessary :-)
[2010/03/26 16:10:26] <plathrop> s/include/require
[2010/03/26 16:10:33] * Volcane thinks its the best way to go :)
[2010/03/26 16:11:02] @ bug joined channel #puppet
[2010/03/26 16:11:08] <plathrop> I'm sure it's handy when you want it, I just haven't wanted it yet.
[2010/03/26 16:11:09] @ Quit: majeru: Ping timeout: 240 seconds
[2010/03/26 16:11:14] <Volcane> plathrop: so you want to start a service and you have 15 files it has to depend on, how do you do that?
[2010/03/26 16:11:35] @ [GuS] joined channel #puppet
[2010/03/26 16:11:39] <plathrop> Volcane: but I don't.
[2010/03/26 16:12:07] <plathrop> I'm not saying it is bad, I'm saying I don't use it.
[2010/03/26 16:12:17] @ majeru joined channel #puppet
[2010/03/26 16:12:46] <Volcane> k, well just curious how you structure things that this hasnt become needed yet since by all indications you have a very complex set of modules etc
[2010/03/26 16:13:20] <plathrop> Haven't found anything that required that many things at once I guess
[2010/03/26 16:13:30] <Volcane> k
[2010/03/26 16:13:37] @ Quit: spawnyd: Ping timeout: 246 seconds
[2010/03/26 16:13:56] <plathrop> Also, we're pretty tolenrant of eventual consistency in my environment. If it takes 2 puppet runs, we don't worry too much. As a personal challenge I try to reduce that, but it may be a factor
[2010/03/26 16:14:09] <Volcane> ah
[2010/03/26 16:14:50] <plathrop> AFAIK, none of our manifests take more than 2 runs to apply now, and that will be fixed once I use the pre-transaction hook stuff that was recently added
[2010/03/26 16:15:08] <Volcane> hmm, how will you use those hooks?
[2010/03/26 16:15:35] <plathrop> aptitude update.
[2010/03/26 16:15:44] <Volcane> ah
[2010/03/26 16:16:12] <Volcane> those hooks seem of limited use, would be much more sane to say run this class first/last
[2010/03/26 16:20:02] <plathrop> *shrug* I dunno. "First" and "Last" are simple enough to say until you start adding complexity within that.
[2010/03/26 16:20:05] <plathrop> http://aturingmachine.com/
[2010/03/26 16:20:51] <Volcane> yeah i think the sanest approach/suggestion was two hook classes
[2010/03/26 16:21:17] <Volcane> that by default sits first/last, and say apt stuff can just be before => <hook class> or whatever
[2010/03/26 16:21:33] <Volcane> so it doesnt make this hard anchor but more a helper
[2010/03/26 16:23:09] <plathrop> Seems reasonable. I'll be more knowledgeable when I try to actually use what is there :-D
[2010/03/26 16:23:42] <Volcane> whats there now just runs some shell command before/after it seems a rather odd approach
[2010/03/26 16:25:47] <plathrop> If I had to guess it was probably "let's get *something* out there since it is clearly needed" rather than "this is definitely the best way to do this"
[2010/03/26 16:27:08] <Volcane> it doesnt really achieve much, i mean most people would probably want to setup apt repos first before running apt-get update
[2010/03/26 16:27:15] <Volcane> and they'd want to do that in manifests
[2010/03/26 16:30:27] @ Quit: lak: Quit: lak
[2010/03/26 16:40:23] @ Quit: asenchi: Quit: Leaving...
[2010/03/26 16:41:28] <Phibs> how do I require a package, but have it called a different name depending on the distro?
[2010/03/26 16:41:31] @ unix_monkey joined channel #puppet
[2010/03/26 16:41:33] <Phibs> like redhat is net-snmp, debian is snmpd
[2010/03/26 16:42:51] <plathrop> Phibs: check out selectors. wiki:LanguageTutorial
[2010/03/26 16:43:00] @ jeffmoss left channel #puppet ()
[2010/03/26 16:43:02] <plathrop> ugh. the magic links no longer work, 1 sec
[2010/03/26 16:43:16] <Phibs> kk
[2010/03/26 16:43:20] <plathrop> http://projects.reductivelabs.com/projects/puppet/wiki/Language_Tutorial
[2010/03/26 16:43:36] @ plathrop is now known as plathrop-afk
[2010/03/26 16:43:39] <Phibs> thx sir
[2010/03/26 16:46:47] <Phibs> so... still not getting how to do it ;0
[2010/03/26 16:53:19] @ Quit: uphillian: Quit: Leaving.
[2010/03/26 16:57:02] <nDuff> How stable is puppet's AST between releases?
[2010/03/26 16:57:03] @ Quit: labrown: Quit: Leaving
[2010/03/26 17:00:08] @ Quit: jwaters: Quit: Leaving
[2010/03/26 17:02:29] <gepetto> ::redmine:: Wiki edit: Getting_Started (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Getting_Started?version=3 (by Michael DeHaan)
[2010/03/26 17:02:29] <gepetto> ::redmine:: Wiki edit: Language_Tutorial (#23) @ http://projects.reductivelabs.com/projects/1/wiki/Language_Tutorial?version=23 (by Michael DeHaan)
[2010/03/26 17:03:31] @ natebc left channel #puppet ()
[2010/03/26 17:03:58] @ Quit: nevyn: Ping timeout: 264 seconds
[2010/03/26 17:04:56] @ henk left channel #puppet ()
[2010/03/26 17:05:27] @ nevyn joined channel #puppet
[2010/03/26 17:08:35] <gepetto> ::redmine:: Wiki edit: Documentation_Start (#6) @ http://projects.reductivelabs.com/projects/1/wiki/Documentation_Start?version=6 (by Michael DeHaan)
[2010/03/26 17:08:44] <mpdehaan> pointing a few things back at the doc site, pardon the spam
[2010/03/26 17:10:26] @ Quit: kaptk2: Quit: Leaving.
[2010/03/26 17:11:22] <weaselkeeper> anyone have an idea how I can make puppet's package ensure latest directive only install the correct arch package? I have x86_64 systems, and I don't want the latest i386 packages of app foo. to be installed, just the latest x84_64.
[2010/03/26 17:12:47] @ Quit: markl_: Quit: leaving
[2010/03/26 17:12:53] @ markl_ joined channel #puppet
[2010/03/26 17:13:07] @ plathrop-afk is now known as plathrop
[2010/03/26 17:13:07] <mpdehaan> name the package including the arch name?
[2010/03/26 17:13:29] <plathrop> Phibs: there's an example (albeit using file) right away on that page.
[2010/03/26 17:13:36] <plathrop> Phibs: Like this:
[2010/03/26 17:13:37] <mpdehaan> weaselkeeper, ^
[2010/03/26 17:14:21] @ Quit: markl_: Client Quit
[2010/03/26 17:14:26] @ markl_ joined channel #puppet
[2010/03/26 17:14:47] <plathrop> $pkg_name = $operatingsystem ? { "Debian" => "apache", "somedistro": "somename"}
[2010/03/26 17:14:54] <weaselkeeper> I can do that, but trying to future proof, it's not out of the realm of possibilities that we will have ia32 or even PPC packages (the latter won't be an issue, as long as I don't specify ia32/x64)
[2010/03/26 17:14:57] <plathrop> package { $pkgname }
[2010/03/26 17:15:25] <weaselkeeper> plathrop: hm, that might work, with the $architecture fact
[2010/03/26 17:16:02] <plathrop> weaselkeeper: heh, maybe. I was actually talking to Phibs about his earlier issue.
[2010/03/26 17:17:08] <weaselkeeper> something like lol.
[2010/03/26 17:17:16] <weaselkeeper> er, mistel :P lol
[2010/03/26 17:18:08] @ Quit: rmiller4pi8: Ping timeout: 260 seconds
[2010/03/26 17:18:44] @ svend joined channel #puppet
[2010/03/26 17:23:17] @ Djelibeybi joined channel #puppet
[2010/03/26 17:23:43] <Phibs> plathrop: oh ok thx
[2010/03/26 17:24:41] @ LukeL_ joined channel #puppet
[2010/03/26 17:24:41] @ Quit: robinbowes: Ping timeout: 245 seconds
[2010/03/26 17:30:11] @ Demosthenes joined channel #puppet
[2010/03/26 17:33:34] @ Quit: cemerick: Quit: cemerick
[2010/03/26 17:37:17] @ Quit: allsystemsarego: Quit: Leaving
[2010/03/26 17:39:01] @ robinbowes joined channel #puppet
[2010/03/26 17:40:06] @ Quit: lwhalen: Ping timeout: 245 seconds
[2010/03/26 17:41:55] @ Quit: ahasenack: Quit: Leaving
[2010/03/26 17:47:46] <eric0> eric shamow here?
[2010/03/26 17:48:59] @ Quit: rgsteele: Remote host closed the connection
[2010/03/26 17:49:27] @ Quit: LukeL_: Quit: Good bye
[2010/03/26 17:50:06] @ Quit: jmccune: Ping timeout: 245 seconds
[2010/03/26 17:51:53] @ rmiller4pi8 joined channel #puppet
[2010/03/26 17:55:51] @ Quit: [GuS]: Remote host closed the connection
[2010/03/26 17:56:25] @ Quit: benkevan: Remote host closed the connection
[2010/03/26 17:57:58] @ Quit: thekad: Read error: Connection reset by peer
[2010/03/26 17:57:58] @ thekad_ joined channel #puppet
[2010/03/26 17:57:58] @ thekad_ is now known as thekad
[2010/03/26 18:00:48] @ lak joined channel #puppet
[2010/03/26 18:01:44] <gepetto> ::redmine:: Wiki edit: Module_Organisation (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Module_Organisation?version=3 (by Michael DeHaan)
[2010/03/26 18:02:49] @ Quit: rmiller4pi8: Ping timeout: 246 seconds
[2010/03/26 18:06:02] <gepetto> ::redmine:: Wiki edit: Puppet_Executables (#4) @ http://projects.reductivelabs.com/projects/1/wiki/Puppet_Executables?version=4 (by Michael DeHaan)
[2010/03/26 18:08:50] <gepetto> ::redmine:: Wiki edit: Development_Creating_Custom_Types (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Development_Creating_Custom_Types?version=5 (by Michael DeHaan)
[2010/03/26 18:09:22] <svend> Is there a good way to test if Puppet is disabled? The lockfile exists when puppet is disabled OR puppet is in the middle of a run, AFACT.
[2010/03/26 18:11:25] @ sijis joined channel #puppet
[2010/03/26 18:11:57] <sijis> when i try to revoke a server, i get this errror "err: Could not call revoke: Cannot convert into OpenSSL::BN
[2010/03/26 18:11:57] <gepetto> ::redmine:: Wiki edit: Plugins_In_Modules (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Plugins_In_Modules?version=3 (by Michael DeHaan)
[2010/03/26 18:13:11] <sijis> am i missing a packaged or something?
[2010/03/26 18:16:02] <unix_monkey> .
[2010/03/26 18:16:11] <sijis> nvm, i put in the full path of the system. weird i thought i was able to without needing "domain.local".
[2010/03/26 18:16:21] @ Quit: pheezy: Remote host closed the connection
[2010/03/26 18:16:22] <sijis> err. put fqdn or system
[2010/03/26 18:22:50] @ Quit: unix_monkey: Ping timeout: 260 seconds
[2010/03/26 18:25:22] @ spencert left channel #puppet ()
[2010/03/26 18:26:43] @ unix_monkey joined channel #puppet
[2010/03/26 18:29:57] @ lwhalen joined channel #puppet
[2010/03/26 18:33:09] @ Quit: shenson: Quit: /me taps out
[2010/03/26 18:33:23] <eshamow> eric0: ping
[2010/03/26 18:40:27] @ JJA joined channel #puppet
[2010/03/26 18:44:06] <eric0> hi
[2010/03/26 18:46:21] @ blahdeblah joined channel #puppet
[2010/03/26 18:48:21] <eric0> eshamow: glad that worked for you! i agree there might be something wrong w/puppet not checking 'path' if it exists, 'name' if not. good chance to dig in a little deeper
[2010/03/26 18:52:08] @ Quit: lwhalen: Quit: Where'd my controlling terminal go?!?
[2010/03/26 18:54:34] @ mackn joined channel #puppet
[2010/03/26 18:55:31] @ Quit: JJA: Ping timeout: 245 seconds
[2010/03/26 18:56:09] @ Quit: Demosthenes: Quit: leaving
[2010/03/26 18:57:09] @ Quit: mackn: Client Quit
[2010/03/26 18:57:39] @ todd_dsm joined channel #puppet
[2010/03/26 18:57:42] @ mackn joined channel #puppet
[2010/03/26 19:02:10] @ Quit: flakrat: Quit: Leaving
[2010/03/26 19:04:28] <eshamow> eric0: sorry I missed your ping -- yep, I will dig and amend my ticket as well -- thank you for the pointer, I need to get more comfortable digging through the ruby code.
[2010/03/26 19:07:48] @ biertie joined channel #puppet
[2010/03/26 19:08:19] @ Quit: bug: Quit: bug
[2010/03/26 19:18:02] @ ezmobius joined channel #puppet
[2010/03/26 19:24:16] @ Quit: mpdehaan: Ping timeout: 258 seconds
[2010/03/26 19:31:37] @ Quit: nexx: Quit: quit
[2010/03/26 19:33:21] <eric0> yup. probably not at 1630 on friday afternoon though :)
[2010/03/26 19:36:33] @ Quit: mao: Quit: Page closed
[2010/03/26 19:48:38] @ Quit: joe-mac: Quit: Leaving.
[2010/03/26 19:51:47] @ tonyskapunk left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/03/26 19:59:29] @ cemerick joined channel #puppet
[2010/03/26 20:07:34] @ Quit: nigelk: Quit: nigelk
[2010/03/26 20:18:08] @ Quit: wakko666: Remote host closed the connection
[2010/03/26 20:19:12] @ Quit: cemerick: Quit: cemerick
[2010/03/26 20:21:04] @ wakko666 joined channel #puppet
[2010/03/26 20:22:25] @ Quit: svend: Read error: Operation timed out
[2010/03/26 20:38:48] @ Quit: vinci: Ping timeout: 260 seconds
[2010/03/26 20:39:23] @ sebas891 joined channel #puppet
[2010/03/26 20:40:15] @ Quit: blahdeblah: Quit: Leaving.
[2010/03/26 20:41:45] @ vinci joined channel #puppet
[2010/03/26 20:41:53] @ Quit: lak: Quit: lak
[2010/03/26 20:43:03] @ linux2000in joined channel #puppet
[2010/03/26 20:43:21] <linux2000in> hi room
[2010/03/26 20:43:44] <linux2000in> i have question about 1 thing in puppet
[2010/03/26 20:44:31] <linux2000in> let's if i want to replace the file through puppet ( i have class written ) .. what to do if same file is there on destination then 2nd time puppetrun it wont replace the file
[2010/03/26 20:44:48] @ rmiller4pi8 joined channel #puppet
[2010/03/26 20:46:08] <agaffney> linux2000in: it will replace if the content isn't the same
[2010/03/26 20:53:01] @ Quit: rmiller4pi8: Ping timeout: 245 seconds
[2010/03/26 20:54:12] <linux2000in> but if it is same
[2010/03/26 20:54:16] <linux2000in> then ?
[2010/03/26 20:54:21] <mackn> then why replace? :)
[2010/03/26 20:54:38] <mackn> do you want it to replace?
[2010/03/26 20:55:12] <linux2000in> so do i need to write any thing exta in class to check if file is same then dont replace or it is default behaviour of puppet ?
[2010/03/26 20:55:28] <mackn> default behavior is to replace if it's not the same
[2010/03/26 20:55:36] <mackn> if it's the same it won't do anything
[2010/03/26 20:55:49] <linux2000in> ok
[2010/03/26 20:56:19] <linux2000in> 1 more thing Can i define dyanmic class for host classification ?
[2010/03/26 20:56:42] <mackn> if i say yes will you ask more questions? :)
[2010/03/26 20:58:36] @ Quit: jab_doa: Quit: Verlassend
[2010/03/26 21:00:21] <mackn> you..can ask more questions..
[2010/03/26 21:01:58] @ Quit: wakko666: Quit: Leaving
[2010/03/26 21:09:18] @ Quit: ptman: Ping timeout: 258 seconds
[2010/03/26 21:10:12] @ Quit: f3ew: Read error: Connection reset by peer
[2010/03/26 21:10:12] @ Quit: nareshov: Read error: Connection reset by peer
[2010/03/26 21:10:16] @ wakko666 joined channel #puppet
[2010/03/26 21:13:28] @ Quit: Djelibeybi: Quit: Leaving
[2010/03/26 21:14:59] @ Quit: WALoeIII: Quit: Bai.
[2010/03/26 21:16:11] @ ptman joined channel #puppet
[2010/03/26 21:17:21] @ asenchi joined channel #puppet
[2010/03/26 21:18:13] <linux2000in> i m fan of puppet
[2010/03/26 21:18:27] <linux2000in> i could not meet author when he came to San Franscisco
[2010/03/26 21:18:36] <linux2000in> i was only few miles aways from him but i could not do it
[2010/03/26 21:20:39] @ Quit: okonomiyaki: Quit: okonomiyaki
[2010/03/26 21:29:00] @ nareshov joined channel #puppet
[2010/03/26 21:31:13] @ plathrop is now known as plathrop-away
[2010/03/26 21:34:05] @ f3ew joined channel #puppet
[2010/03/26 21:41:53] @ bug joined channel #puppet
[2010/03/26 21:42:03] @ Quit: asenchi: Quit: Leaving...
[2010/03/26 21:45:56] @ Quit: realist: Ping timeout: 245 seconds
[2010/03/26 21:50:43] @ Quit: Bass10: Ping timeout: 276 seconds
[2010/03/26 21:51:38] @ Quit: linux2000in: Ping timeout: 252 seconds
[2010/03/26 21:57:24] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/03/26 21:58:12] <jamesturnbull> Volcane: he does work at CA ... :P
[2010/03/26 21:58:44] @ Quit: nxvl: Quit: leaving
[2010/03/26 22:02:56] @ Quit: pting: Quit: Ex-Chat
[2010/03/26 22:03:01] @ Quit: Alagar: Ping timeout: 245 seconds
[2010/03/26 22:10:14] @ alexine_dsouza joined channel #puppet
[2010/03/26 22:20:13] @ Quit: Edgan: Ping timeout: 258 seconds
[2010/03/26 22:34:54] @ Quit: \ask: Remote host closed the connection
[2010/03/26 22:35:17] @ \ask joined channel #puppet
[2010/03/26 22:43:41] @ Quit: \ask: Quit: Leaving...
[2010/03/26 22:59:21] @ Quit: thekad: Quit: thekad
[2010/03/26 23:13:00] @ Quit: jrojas: Remote host closed the connection
[2010/03/26 23:24:25] @ Quit: kubicek: Quit: kubicek
[2010/03/26 23:28:08] @ Quit: QMan: Read error: Connection reset by peer
[2010/03/26 23:28:15] @ QMan joined channel #puppet
[2010/03/26 23:30:29] @ Edgan joined channel #puppet
[2010/03/26 23:55:16] @ Quit: rcrowley: Quit: rcrowley

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