Tuesday, 2009-06-30

[2009/06/30 00:08:00] @ Log started by gepetto
[2009/06/30 00:08:00] @ Quit: rmiller4pi8: Read error: 60 (Operation timed out)
[2009/06/30 00:09:06] @ Quit: WALoeIII: "Bai."
[2009/06/30 00:10:55] @ Quit: alex2: Read error: 104 (Connection reset by peer)
[2009/06/30 00:11:02] @ alex2 joined channel #puppet
[2009/06/30 00:13:06] @ maxagaz_ joined channel #puppet
[2009/06/30 00:13:16] @ Quit: maxagaz_: Read error: 104 (Connection reset by peer)
[2009/06/30 00:24:52] @ Quit: mfoster: "Leaving."
[2009/06/30 00:53:41] @ lak joined channel #puppet
[2009/06/30 01:05:36] @ Quit: joe-mac2: Client Quit
[2009/06/30 01:11:28] @ Quit: lak:
[2009/06/30 01:15:16] @ bobbyz_ joined channel #puppet
[2009/06/30 01:16:59] @ joe-mac1 joined channel #puppet
[2009/06/30 01:17:12] @ joe-mac1 left channel #puppet ()
[2009/06/30 01:18:05] @ joe-mac1 joined channel #puppet
[2009/06/30 01:19:26] @ joe-mac1 left channel #puppet ()
[2009/06/30 01:21:12] @ schwagal1 joined channel #puppet
[2009/06/30 01:24:08] @ Quit: schwagala: Read error: 60 (Operation timed out)
[2009/06/30 01:26:25] @ Quit: hessmll: Client Quit
[2009/06/30 01:32:04] @ vblando_ joined channel #puppet
[2009/06/30 01:33:13] @ Quit: vblando_: Client Quit
[2009/06/30 01:34:34] @ D-CoDe joined channel #puppet
[2009/06/30 01:39:42] @ tuf_ joined channel #puppet
[2009/06/30 01:45:32] @ vblando_ joined channel #puppet
[2009/06/30 01:45:55] @ Quit: vblando_: Read error: 104 (Connection reset by peer)
[2009/06/30 01:46:04] @ pleemans joined channel #puppet
[2009/06/30 01:52:07] @ pinoyskull- joined channel #puppet
[2009/06/30 01:59:15] @ jtimberman joined channel #puppet
[2009/06/30 02:04:24] @ hessmll joined channel #puppet
[2009/06/30 02:09:42] @ Quit: fujin:
[2009/06/30 02:11:02] @ jtimberman_ joined channel #puppet
[2009/06/30 02:11:31] @ Quit: Shazburg: Remote closed the connection
[2009/06/30 02:18:34] @ kibaho1 joined channel #puppet
[2009/06/30 02:19:31] @ Quit: claymation:
[2009/06/30 02:25:47] @ kibahop left channel #puppet ()
[2009/06/30 02:25:51] @ Quit: jtimberman: Read error: 110 (Connection timed out)
[2009/06/30 02:26:36] @ Quit: PhabX: "Leaving..."
[2009/06/30 02:29:05] @ Quit: stevenjenkins: Read error: 110 (Connection timed out)
[2009/06/30 02:33:35] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/06/30 02:36:03] @ Quit: tuf_:
[2009/06/30 02:36:20] @ Quit: alban2: "A bientot"
[2009/06/30 02:39:35] @ ezmobius joined channel #puppet
[2009/06/30 02:40:23] @ Quit: pinoyskull:
[2009/06/30 02:41:33] @ Quit: D-CoDe: "Leaving."
[2009/06/30 02:42:52] @ Quit: bobbyz_: Read error: 110 (Connection timed out)
[2009/06/30 02:43:21] @ stevenjenkins joined channel #puppet
[2009/06/30 02:44:33] @ mattock joined channel #puppet
[2009/06/30 02:45:49] @ saurabhverma joined channel #puppet
[2009/06/30 02:51:35] @ Quit: QMan: "."
[2009/06/30 02:52:25] @ jesserobbins joined channel #puppet
[2009/06/30 02:54:34] @ Quit: andrewcshafer:
[2009/06/30 02:55:57] @ Quit: Djelibeybi: "Leaving"
[2009/06/30 03:00:38] @ Quit: hessmll: Read error: 60 (Operation timed out)
[2009/06/30 03:02:27] @ DerekW joined channel #puppet
[2009/06/30 03:08:43] @ madrescher joined channel #puppet
[2009/06/30 03:09:07] @ sheldonh joined channel #puppet
[2009/06/30 03:10:21] @ MattyM joined channel #puppet
[2009/06/30 03:12:24] @ Innocenti joined channel #puppet
[2009/06/30 03:12:30] @ Quit: tecto: Read error: 110 (Connection timed out)
[2009/06/30 03:14:23] @ Quit: poison: Remote closed the connection
[2009/06/30 03:15:24] @ francois1 joined channel #puppet
[2009/06/30 03:18:32] @ Quit: drmikecrowe: Read error: 104 (Connection reset by peer)
[2009/06/30 03:19:34] @ jtimberman_ is now known as jtimberman
[2009/06/30 03:21:05] @ rmiller4pi8 joined channel #puppet
[2009/06/30 03:23:34] @ pugnacity1 joined channel #puppet
[2009/06/30 03:24:52] @ Quit: pugnacity1: Client Quit
[2009/06/30 03:29:46] @ pugnacity1 joined channel #puppet
[2009/06/30 03:30:22] @ Quit: pugnacity1: Remote closed the connection
[2009/06/30 03:31:27] @ Quit: pugnacity: "Leaving."
[2009/06/30 03:32:04] @ pugnacity joined channel #puppet
[2009/06/30 03:32:55] @ Quit: pugnacity: Remote closed the connection
[2009/06/30 03:33:05] @ Quit: jesserobbins:
[2009/06/30 03:40:09] @ tim|macbook joined channel #puppet
[2009/06/30 03:41:56] @ verwilst joined channel #puppet
[2009/06/30 03:44:51] @ Robbie_ joined channel #puppet
[2009/06/30 03:47:34] @ pugnacity joined channel #puppet
[2009/06/30 03:58:38] @ tuf_ joined channel #puppet
[2009/06/30 04:01:53] @ Quit: bgupta: Read error: 60 (Operation timed out)
[2009/06/30 04:01:58] @ bgupta joined channel #puppet
[2009/06/30 04:02:24] @ Quit: mgk: Read error: 54 (Connection reset by peer)
[2009/06/30 04:13:26] @ Quit: phantez: "leaving"
[2009/06/30 04:14:14] @ tecto joined channel #puppet
[2009/06/30 04:14:36] @ alex___ joined channel #puppet
[2009/06/30 04:20:36] @ poison joined channel #puppet
[2009/06/30 04:24:42] @ phantez joined channel #puppet
[2009/06/30 04:34:49] @ pluesch0r joined channel #puppet
[2009/06/30 04:35:36] @ Djelibeybi joined channel #puppet
[2009/06/30 04:36:00] <Djelibeybi> gepetto: seen masterzen
[2009/06/30 04:36:00] <gepetto> Djelibeybi: masterzen was last seen 16 hours, 13 minutes and 50 seconds ago, quitting IRC ("Leaving")
[2009/06/30 04:36:45] @ Quit: alex2: Read error: 54 (Connection reset by peer)
[2009/06/30 04:36:57] @ alex2 joined channel #puppet
[2009/06/30 04:37:26] @ Quit: ezmobius:
[2009/06/30 04:38:18] @ Quit: madrescher: "Leaving."
[2009/06/30 04:42:51] @ tecto_ joined channel #puppet
[2009/06/30 04:43:17] <sheldonh> we're using an autocert that i guess ultimately uses frcdns for initial authentication when allocating the certificate the first time. can't i just get puppet to use fcrdns for authentication every time, and do away with the hassle of client certs?
[2009/06/30 04:48:49] @ Quit: tuf_:
[2009/06/30 04:57:55] @ Quit: tecto: Read error: 110 (Connection timed out)
[2009/06/30 05:00:06] @ friendly12345 joined channel #puppet
[2009/06/30 05:05:05] <nico> a friend asked me if there were an other way to do this : http://pastie.org/529137
[2009/06/30 05:05:26] <nico> here $name is "iterated" implicitely
[2009/06/30 05:05:41] <nico> is there a way to make the loop explicit ?
[2009/06/30 05:07:08] <pluesch0r> when writing erb templates .. how do i check if a parameter is an array?
[2009/06/30 05:07:24] <pluesch0r> neither param.is_a? nor is_a?(param) work.
[2009/06/30 05:07:41] @ masterzen joined channel #puppet
[2009/06/30 05:07:46] @ alban2 joined channel #puppet
[2009/06/30 05:07:52] <nico> masterzen: \o
[2009/06/30 05:07:55] <nico> alban2: o/
[2009/06/30 05:07:59] <masterzen> Hi
[2009/06/30 05:08:08] <alban2> hello
[2009/06/30 05:08:32] <nico> pluesch0r: refer to http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html to know chat you can do with templates
[2009/06/30 05:08:39] <pluesch0r> thanks
[2009/06/30 05:09:02] <nico> pluesch0r: the puppet wiki gives a trick about debugging too
[2009/06/30 05:09:09] <pluesch0r> great, thanks.
[2009/06/30 05:09:19] <masterzen> quick question: I have a node with a real domain of "wrongdomain.com". When using puppetd --fqdn server.realdomain.com, I though the facts domain and fqdn would use this new value, but in fact this isn't the case... Bug or feature?
[2009/06/30 05:10:00] <nico> hum... feature ?
[2009/06/30 05:10:13] @ melopt joined channel #puppet
[2009/06/30 05:10:22] <nico> I think facter is not aware that you passed --fqdn to puppetd, but I may be wrong
[2009/06/30 05:10:24] <masterzen> I mean I can't really override the fqdn on the command-line, arghh
[2009/06/30 05:10:39] @ Quit: melopt: Client Quit
[2009/06/30 05:15:12] @ D-CoDe joined channel #puppet
[2009/06/30 05:25:03] @ omry__|work joined channel #puppet
[2009/06/30 05:25:46] <masterzen> so there is no mean of overriding fqdn facts from the client... <g>
[2009/06/30 05:25:47] @ kolla joined channel #puppet
[2009/06/30 05:28:59] @ pawalls joined channel #puppet
[2009/06/30 05:29:43] @ Quit: pawalls: Client Quit
[2009/06/30 05:30:19] @ pawalls joined channel #puppet
[2009/06/30 05:31:27] @ Quit: pawalls: Client Quit
[2009/06/30 05:31:42] @ pawalls joined channel #puppet
[2009/06/30 05:34:07] @ pinoyskull- is now known as pinoyskull
[2009/06/30 05:39:30] @ Quit: omry_|work: Read error: 110 (Connection timed out)
[2009/06/30 05:47:15] @ apbarrett joined channel #puppet
[2009/06/30 05:49:23] <duritong> masterzen: do you have an idea where the autofilling of puppet:/// to puppet://$server/ happens ? I have an idea and like to look at this piece of code, however currently grepping through various files... but maybe simply give me some more time...
[2009/06/30 05:50:11] <masterzen> duritong: hhmmm, no I don't really know. Maybe deep in the indirection file_server?
[2009/06/30 05:50:19] <masterzen> you mean in 0.25 or 0.24?
[2009/06/30 05:50:41] <duritong> I would do the change for 0.25
[2009/06/30 05:50:58] <duritong> and if we already talk about it, here is my idea:
[2009/06/30 05:52:19] <duritong> if puppet:/// is defined AND there is fileserver set in the puppet config, use the value of $fileserver and not $server, if no $fileserver is set try to use $server as currently
[2009/06/30 05:52:48] <duritong> this would give the possibility to split server and fileserver by default
[2009/06/30 05:53:03] <duritong> otherwise you need now a seperate variable everywhere
[2009/06/30 05:53:19] <duritong> and for many public modules puppet:/// is default
[2009/06/30 05:54:03] <masterzen> yes, this is a really good change
[2009/06/30 05:54:48] <pluesch0r> i don't use the fileserver anymore.
[2009/06/30 06:02:14] <apbarrett> given two virtual resources foo and bar, can I express the requirement "if both foo and bar are realized, then bar must be handled after foo"? It's two solaris packages that overwrite some of each other's files, and it's OK if only one package is installed, but if both are installed then I want to ensure that the correct one is installed last.
[2009/06/30 06:02:20] <Dyresen> Is it possible to nest stuff in defines (or in general) eg: if $var { case $othervar { case_stuff_here ?
[2009/06/30 06:02:38] <Dyresen> This is 24.4
[2009/06/30 06:02:53] <duritong> Dyresen: yes
[2009/06/30 06:03:04] <Dyresen> duritong: great, thanks
[2009/06/30 06:06:36] <verwilst> hello
[2009/06/30 06:06:45] <verwilst> im trying to run puppet 0.25beta1
[2009/06/30 06:06:51] <verwilst> but i get /usr/local/lib/site_ruby/1.8/puppet/util/cacher.rb:91:in `cached_value': stack level too deep (SystemStackError)
[2009/06/30 06:06:56] <verwilst> any ideas?
[2009/06/30 06:14:00] <masterzen> verwilst: while I don't have any idea about your issue, you should run with --trace (master and/or client) to have a better idea of the issue.
[2009/06/30 06:24:34] @ Quit: Innocenti: "leaving"
[2009/06/30 06:28:55] <verwilst> oh
[2009/06/30 06:28:57] * verwilst tries
[2009/06/30 06:29:15] @ n0ts_____ joined channel #puppet
[2009/06/30 06:32:36] @ Quit: D-CoDe: "Leaving."
[2009/06/30 06:35:09] <verwilst> --trace doesnt do anything different
[2009/06/30 06:38:43] @ aroth joined channel #puppet
[2009/06/30 06:41:16] @ niczar1 joined channel #puppet
[2009/06/30 06:41:28] @ Quit: n0ts____: Read error: 110 (Connection timed out)
[2009/06/30 06:42:10] @ niczar3 joined channel #puppet
[2009/06/30 06:50:05] @ nd33r joined channel #puppet
[2009/06/30 06:54:59] <jamesturnbull> verwilst: how'd you install Puppet?
[2009/06/30 06:55:19] <jamesturnbull> verwilst: also you should use beta2 if you're testimng
[2009/06/30 06:57:29] @ Quit: niczar2: Remote closed the connection
[2009/06/30 06:58:21] @ Quit: niczar1: Remote closed the connection
[2009/06/30 06:58:35] @ Quit: zeroXten: "leaving"
[2009/06/30 06:58:46] @ zeroXten joined channel #puppet
[2009/06/30 07:01:00] @ bajan joined channel #puppet
[2009/06/30 07:06:29] @ nasrat joined channel #puppet
[2009/06/30 07:13:27] @ Quit: mattock: "Leaving."
[2009/06/30 07:20:02] @ martha joined channel #puppet
[2009/06/30 07:20:11] @ Quit: pinoyskull: "Ex-Chat"
[2009/06/30 07:20:13] @ Quit: friendly12345: "Leaving."
[2009/06/30 07:33:51] @ Quit: aroth: "Going..."
[2009/06/30 07:37:25] <verwilst> jamesturnbull: i used the url from the topic
[2009/06/30 07:38:45] @ Quit: nd33r:
[2009/06/30 07:40:25] <jamesturnbull> verwilst: did you install on top of another puppet installation?
[2009/06/30 07:41:14] @ Quit: alex2: Read error: 104 (Connection reset by peer)
[2009/06/30 07:42:52] <verwilst> well i apt-get removed it first
[2009/06/30 07:43:01] <verwilst> did the config change?
[2009/06/30 07:45:31] <jamesturnbull> verwilst: did you check the old version was fully removed?
[2009/06/30 07:45:43] <jamesturnbull> verwilst: that error looks like two versions installed on top of one another
[2009/06/30 07:45:51] <verwilst> i can do a dpkg --purge if you want :)
[2009/06/30 07:46:40] <jamesturnbull> verwilst: well just suggesting what the issue might be
[2009/06/30 07:47:02] @ mattock joined channel #puppet
[2009/06/30 07:47:14] <Djelibeybi> masterzen: ping?
[2009/06/30 07:47:28] <masterzen> Djelibeybi: pong
[2009/06/30 07:47:40] <Djelibeybi> masterzen: do you have time for a quick question about puppetdoc?
[2009/06/30 07:47:47] <masterzen> yes, go ahead
[2009/06/30 07:48:11] <eythian_> how can I use 'if' to determine if a variable is not set? will 'if ! $variable { ... }' work?
[2009/06/30 07:48:12] <Djelibeybi> Thanks. I've got the --type rdoc stuff working, but when I use --type pdf, it seems to work, but I don't know where the pdf file is created. :)
[2009/06/30 07:48:15] @ eythian_ is now known as eythian
[2009/06/30 07:48:27] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/30 07:49:17] <jamesturnbull> eythian: in 0.24.7 onwards you can do that
[2009/06/30 07:49:40] <jamesturnbull> eythian: but inherently before that if $variable only tests the existance of the variable
[2009/06/30 07:50:08] <masterzen> Djelibeybi: --type is used only when using a different mode than rdoc. the rdoc mode generates only html.
[2009/06/30 07:50:12] @ Innocenti joined channel #puppet
[2009/06/30 07:50:36] <Djelibeybi> masterzen: yes, I know. I'm trying to use --type pdf to generate PDF output, but I don't know how to specify the file to create
[2009/06/30 07:50:51] <Djelibeybi> I was just saying that the rdoc stuff, i.e. the html, works just fine.
[2009/06/30 07:51:12] <eythian> jamesturnbull: ta
[2009/06/30 07:51:14] <masterzen> Djelibeybi: puppetdoc is used for two different things: generating manifests embedded doc (mode rdoc), and source documentation (ie puppet types are functions)
[2009/06/30 07:51:34] <masterzen> Djelibeybi: ah, OK, sorry.
[2009/06/30 07:51:36] <Djelibeybi> Oh, I see.
[2009/06/30 07:51:47] <Djelibeybi> So it won't create PDFs from my manifest documentation?
[2009/06/30 07:51:52] <masterzen> correct
[2009/06/30 07:51:58] <Djelibeybi> Ah, poo.
[2009/06/30 07:51:59] <Djelibeybi> :)
[2009/06/30 07:52:22] * Djelibeybi is going to have to do lots of cut and pasting from the HTML then. :)
[2009/06/30 07:52:44] <Djelibeybi> Also, I logged a bug about inconsistent formatting in labeled lists.
[2009/06/30 07:53:12] @ Quit: elijahwright: "Leaving."
[2009/06/30 07:53:34] <Djelibeybi> I can provide you with some sample comment blocks privately, but I can't paste some of this stuff into the bug report.
[2009/06/30 07:54:11] <verwilst> jamesturnbull: well it works now :)
[2009/06/30 07:54:13] <masterzen> Djelibeybi: I see the bug, I'll check that later this week. I'm afraid it is something I don't control. You know, in fact all the markup is done by RDoc (the ruby javadoc). So if there is a bug there, then there is not a lot I can do...
[2009/06/30 07:54:14] <verwilst> warning: DEPRECATION NOTICE: Found module 'puppet' without using the 'modules' mount; please prefix path with 'modules/'
[2009/06/30 07:54:15] <verwilst> hm
[2009/06/30 07:54:39] <verwilst> anything to do with modulepath = /usr/share/puppet/env/stable/services?
[2009/06/30 07:54:47] <Djelibeybi> masterzen: ah, ok.
[2009/06/30 07:54:54] <verwilst> do i have to rename services to modules?
[2009/06/30 07:54:55] <Djelibeybi> masterzen: I can work around it. :)
[2009/06/30 07:55:04] @ drmikecrowe joined channel #puppet
[2009/06/30 07:55:11] <masterzen> Djelibeybi: I'll ping you if I need more information for this bug.
[2009/06/30 07:55:29] <Djelibeybi> masterzen: ok. I'll try and paste some real sample code tomorrow.
[2009/06/30 07:55:37] <Djelibeybi> I should be able to sanitize it appropriately
[2009/06/30 07:55:55] <masterzen> ok, thanks.
[2009/06/30 07:56:50] <jamesturnbull> verwilst: it's a deprecation notice - it'll still work - add "modules"
[2009/06/30 07:57:51] <verwilst> what do you mean, add "modules"?
[2009/06/30 07:58:02] <jamesturnbull> verwilst: to the file path in your modules
[2009/06/30 07:58:12] <verwilst> $modulepath/modules should exist you mea
[2009/06/30 07:58:13] <verwilst> n
[2009/06/30 07:58:20] <jamesturnbull> verwilst: puppet:///modules/$file
[2009/06/30 07:58:56] @ d3vilb0x joined channel #puppet
[2009/06/30 07:59:02] <verwilst> so puppet:///bleh/myfile.conf becomes puppet://modules/bleh/myfile.conf?
[2009/06/30 07:59:14] <jamesturnbull> verwilst: yep
[2009/06/30 07:59:21] <jamesturnbull> verwilst: the old way sitll works
[2009/06/30 07:59:26] <jamesturnbull> verwilst: it's just a warning
[2009/06/30 07:59:30] <verwilst> jamesturnbull: yeah i know
[2009/06/30 07:59:35] <verwilst> i dont like warnings ;)
[2009/06/30 07:59:48] <verwilst> are there performance improvements in 0.25?
[2009/06/30 07:59:59] <verwilst> and do the storedconfigs work better?
[2009/06/30 08:00:03] <jamesturnbull> verwilst: significant ones
[2009/06/30 08:00:26] @ Innocent1 joined channel #puppet
[2009/06/30 08:00:37] <jamesturnbull> verwilst: depends on what you mean by better :P
[2009/06/30 08:01:54] @ Quit: arubdesu:
[2009/06/30 08:02:34] <jamesturnbull> verwilst: but yes it's more stable in my testing and I haven't had any issues
[2009/06/30 08:04:05] <verwilst> jamesturnbull: what about the performance of storedconfigs?
[2009/06/30 08:04:17] <verwilst> we had a lot of timeouts when they were enabled
[2009/06/30 08:04:31] <verwilst> /usr/local/lib/site_ruby/1.8/puppet/indirector/rest.rb:53:in `deserialize': Server returned 405: Method Not Allowed (Net::HTTPError) hm :P
[2009/06/30 08:04:58] <jamesturnbull> verwilst: masterzen madec a lot of improvements in 0.24.8 and there is the queuing capability in 0.25.0 so I'd say yes
[2009/06/30 08:05:13] <verwilst> we are running 0.24.8 :)
[2009/06/30 08:06:24] <masterzen> verwilst: if you are using storedconfigs you need to be prepared to a lots of insert query the first time a node knocks on the door of the master... So you have to scale your RDBMS accordingly or use the queuing system.
[2009/06/30 08:06:41] <verwilst> it wasnt only the first time
[2009/06/30 08:06:51] <verwilst> puppetruns were failing all over the place
[2009/06/30 08:06:56] @ fujin joined channel #puppet
[2009/06/30 08:06:59] <verwilst> fileserver.describes that timed out and such
[2009/06/30 08:07:12] <verwilst> i disabled storedconfigs and everything was fine again
[2009/06/30 08:07:23] <masterzen> how many clients, what kind of puppetmaster deployement?
[2009/06/30 08:07:30] <masterzen> what kind of database?
[2009/06/30 08:07:31] <verwilst> apache/mongrel
[2009/06/30 08:07:33] <verwilst> mysql
[2009/06/30 08:07:40] <verwilst> a few hundreds of clients
[2009/06/30 08:07:40] <masterzen> on a dedicated host?
[2009/06/30 08:07:47] <verwilst> yeah
[2009/06/30 08:07:53] <verwilst> the mysql you mean?
[2009/06/30 08:07:55] <masterzen> I mean the mysql
[2009/06/30 08:07:59] <verwilst> no, on the same machine
[2009/06/30 08:08:03] <Djelibeybi> That reminds me, I really have to try getting storeconfigs to work with Oracle someday.
[2009/06/30 08:08:10] <masterzen> is your mysql tuned?
[2009/06/30 08:08:11] @ pleemans joined channel #puppet
[2009/06/30 08:08:18] <verwilst> masterzen: yip
[2009/06/30 08:08:19] <sheldonh> jy! mysql! watchit!
[2009/06/30 08:08:23] <sheldonh> your mysql is tuned
[2009/06/30 08:09:15] * jamesturnbull looks at sheldonh very strangely
[2009/06/30 08:09:54] <sheldonh> yeah, it was a joke targeted at less than a thousandth of a percent of the global population :)
[2009/06/30 08:10:05] <sheldonh> over here, if you tune someone, you're giving them shit :)
[2009/06/30 08:10:23] <sheldonh> well, giving them attitude :)
[2009/06/30 08:10:38] <macbar> pleemans: !
[2009/06/30 08:10:45] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/06/30 08:11:08] <verwilst> the inuits have arrived :P
[2009/06/30 08:11:21] @ mattock left channel #puppet ()
[2009/06/30 08:11:21] <macbar> verwilst: apparently :-)
[2009/06/30 08:11:35] <macbar> macbar: but I've never been one :p
[2009/06/30 08:11:53] <jamesturnbull> sheldonh: where is "over here"
[2009/06/30 08:12:10] <verwilst> macbar: now you're talking to yourself :P
[2009/06/30 08:12:44] <macbar> verwilst: "the only way I can be assured of intelligent conversation" ;-)
[2009/06/30 08:12:51] <Djelibeybi> sheldonh: is jy in Suid Afrika?
[2009/06/30 08:13:23] * Djelibeybi used to tune okes some grief back in the day.
[2009/06/30 08:13:24] <abien> OT question: is it generally considered "best practice" to operate ones servers with UTC timezone instead of the regional/local time?
[2009/06/30 08:13:37] * jamesturnbull sighs ... if this is going to become a SAffer channel I'm out of here
[2009/06/30 08:13:52] <macbar> jamesturnbull: :-)
[2009/06/30 08:13:55] * Djelibeybi pulls out the biltong and boerewors and makes himself comfortable.
[2009/06/30 08:14:07] <abien> ah come on ;/
[2009/06/30 08:14:11] <jamesturnbull> Djelibeybi: why don't you go BBQ something ... :)
[2009/06/30 08:14:20] <jamesturnbull> abien: hmmm I tend to work on local time
[2009/06/30 08:14:23] <Djelibeybi> Though, considering I'm technically an Australian now, I should be tossing a shrimp on the barbie.
[2009/06/30 08:14:24] <proton> abien: don't see why it would be, Unix keeps the system clock at UTC and translates via the timezone files anyway
[2009/06/30 08:14:42] <Djelibeybi> abien: I don't. I keep my system clock in UTC and use timezones
[2009/06/30 08:15:03] <jack-_-> abien: i guess the nice thing about utc is nu summer/winter time .. or am i wrong? :)
[2009/06/30 08:15:59] <abien> jack: correct. theres no daylight saving stuff.
[2009/06/30 08:16:07] <Dominic> abien: I much prefer UTC.. having cronjobs going off twice or not at all at 1/2am twice a year is a pain. Also some software logs seem to report UTC, others local time and so that makes life difficult.
[2009/06/30 08:16:32] <Djelibeybi> Anyhoo, time for bed.
[2009/06/30 08:16:48] @ Quit: Djelibeybi: "Leaving"
[2009/06/30 08:17:35] <proton> Dominic: new cron daemons don't do that though
[2009/06/30 08:17:44] @ Quit: d3vilb0x:
[2009/06/30 08:17:54] <Dominic> proton: ah, luxury! :)
[2009/06/30 08:18:04] <jack-_-> we had some pay per minute things doing weird stuff :)
[2009/06/30 08:20:03] <proton> don't worry, i found today that a couple of my storage arrays don't switch between standard time and DST
[2009/06/30 08:20:08] <proton> have had the time out for a while :)
[2009/06/30 08:24:33] @ lak joined channel #puppet
[2009/06/30 08:25:23] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2009/06/30 08:29:36] <apbarrett> class myclass { import myfile } and class myclass { insert actual contents of myfile.pp here } seem not to work the same. what does import really do if it's not just like #include in C?
[2009/06/30 08:31:31] @ nd33r joined channel #puppet
[2009/06/30 08:31:49] @ niczar1 joined channel #puppet
[2009/06/30 08:32:25] @ niczar2 joined channel #puppet
[2009/06/30 08:33:33] @ Quit: n0ts_____: Read error: 60 (Operation timed out)
[2009/06/30 08:34:13] @ bajan left channel #puppet ()
[2009/06/30 08:35:17] <sheldonh> apbarrett == apb? :)
[2009/06/30 08:35:19] @ n0ts_____ joined channel #puppet
[2009/06/30 08:35:30] <apbarrett> hi sheldon
[2009/06/30 08:35:37] <sheldonh> *wave*
[2009/06/30 08:35:54] @ lludwig joined channel #puppet
[2009/06/30 08:35:59] <sheldonh> i've never seen imports in classes, so i'm no help
[2009/06/30 08:37:48] <apbarrett> I have a class with a lot of stuff that I want to split into separate files, so "class myclass { import file1; import file2; import file3 }" seemed natural, but I can't make it work
[2009/06/30 08:38:10] @ Quit: lak:
[2009/06/30 08:38:44] <maxagaz> i get this message when running puppet on a client for the first time :
[2009/06/30 08:38:46] <maxagaz> $ sudo puppetd --no-daemonize --logdest console --onetime
[2009/06/30 08:38:46] <maxagaz> warning: peer certificate won't be verified in this SSL session
[2009/06/30 08:38:46] <maxagaz> notice: Did not receive certificate
[2009/06/30 08:38:47] <maxagaz> notice: Set to run 'one time'; exiting with no certificate
[2009/06/30 08:38:47] <sheldonh> right. well, i'm not sure if you'll run into load-order dependency problems, but maybe you could declare all that stuff in separate classes, and then include (not import) those classes?
[2009/06/30 08:39:17] <apbarrett> maxagaz: that'
[2009/06/30 08:39:46] <apbarrett> s normal.. now go to the pupeptmaster and run "puppetca --list" followed by "puppetca --sign node.name.here"
[2009/06/30 08:40:30] <jamesturnbull> apbarrett: use include not import
[2009/06/30 08:40:39] <apbarrett> sheldonh: that would insert an extra level of class naming that I don't want.
[2009/06/30 08:40:46] @ Quit: tecto_:
[2009/06/30 08:41:34] <jamesturnbull> apbarrett: import loads manifests - it doesn't include the classes
[2009/06/30 08:41:49] <maxagaz> apbarrett, it works! :) but that was what i did just before... i don't understand what happended...
[2009/06/30 08:42:58] <sheldonh> apbarrett: then i think you're SOL
[2009/06/30 08:43:12] <sheldonh> i often wish "the puppet language" was just ruby :)
[2009/06/30 08:43:41] <sheldonh> apbarrett: use make(1)? :) :) :)
[2009/06/30 08:46:33] @ Bass10 joined channel #puppet
[2009/06/30 08:47:48] @ Quit: niczar3: Remote closed the connection
[2009/06/30 08:48:26] @ Quit: niczar1: Remote closed the connection
[2009/06/30 08:49:54] @ Quit: niczar2: "Leaving."
[2009/06/30 08:50:09] @ niczar1 joined channel #puppet
[2009/06/30 08:51:14] @ d3vilb0x joined channel #puppet
[2009/06/30 08:53:11] @ Quit: d3vilb0x: Client Quit
[2009/06/30 08:56:32] @ UncleEbenezer joined channel #puppet
[2009/06/30 08:57:17] @ lak joined channel #puppet
[2009/06/30 08:59:35] @ D-CoDe joined channel #puppet
[2009/06/30 09:00:52] @ Quit: D-CoDe: Client Quit
[2009/06/30 09:02:27] @ Quit: maxagaz: "Leaving"
[2009/06/30 09:04:02] @ kngus joined channel #puppet
[2009/06/30 09:06:53] @ d3vilb0x joined channel #puppet
[2009/06/30 09:08:57] <pluesch0r> what's the best way to define what host may access an snmpd? i've written a definition for that, but according to the wiki, those should only be used if it's aimed to be used multiple times on one host (which is not the case). how do i keep this clean, then? i don't want the definition of allow_from to be defined on the host level, as that would require me to rewrite the name to snmpd_allow_from to keep this somewhat consistent. how do you guys handle
[2009/06/30 09:10:00] @ UncleEbenezer left channel #puppet ()
[2009/06/30 09:12:11] <sheldonh> pluesch0r: where is your definition currently?
[2009/06/30 09:12:25] <pluesch0r> sheldonh: what do you mean?
[2009/06/30 09:12:40] @ nd33r_ joined channel #puppet
[2009/06/30 09:12:52] <sheldonh> pluesch0r: you said you'd already written the definition, and it sounds like you're not happy with its location. what is its current location?
[2009/06/30 09:13:23] <pluesch0r> sheldonh: i'm just not sure if the definition is the right way to do this.
[2009/06/30 09:13:35] @ Quit: nd33r: Read error: 104 (Connection reset by peer)
[2009/06/30 09:13:42] <pluesch0r> sheldonh: right now, i'm defining the properties for the definition at node level.
[2009/06/30 09:14:07] <pluesch0r> my question is .. should i create a class snmpd_whatever which inherits from snmpd and just overwrites the allowed_from properties?
[2009/06/30 09:14:15] <sheldonh> pluesch0r: well if everything inherits default, you could declare it as a variable in default. otherwise, a definition doesn't sound too bad
[2009/06/30 09:14:28] <pluesch0r> hm
[2009/06/30 09:14:36] <sheldonh> pluesch0r: but if it doesn't change _at_ _all_ across your network, i don't see the value in parametizing it
[2009/06/30 09:14:43] <pluesch0r> it does.
[2009/06/30 09:14:53] <pluesch0r> i've got three different snmpd.conf files right now.
[2009/06/30 09:15:00] <sheldonh> pluesch0r: perhaps it varies by class?
[2009/06/30 09:15:12] <pluesch0r> yeah. maybe i'll split that up class-wise.
[2009/06/30 09:15:15] <sheldonh> pluesch0r: sorry, i meant by node
[2009/06/30 09:15:32] <pluesch0r> create a base-class and let the other ones inherit (and set the properties).
[2009/06/30 09:15:41] <pluesch0r> and include the different classes in the nodes themselves.
[2009/06/30 09:15:48] <sheldonh> pluesch0r: i think we're both talking about nodes :)
[2009/06/30 09:16:08] <sheldonh> but classes support inheritance too, so it's up to you
[2009/06/30 09:16:16] <pluesch0r> we're talking classes. i know i am. :)
[2009/06/30 09:16:25] <sheldonh> ah, so it was just me then ;)
[2009/06/30 09:17:47] <pluesch0r> snmpd::whatever expects whatever to be a subclass of snmpd, right?
[2009/06/30 09:18:12] <pluesch0r> does a subclass automatically include the properties of the parent class then? and how does that differ to the inherits keyword?
[2009/06/30 09:18:16] <pluesch0r> s/to/from/
[2009/06/30 09:19:21] @ niczar2 joined channel #puppet
[2009/06/30 09:20:21] @ niczar3 joined channel #puppet
[2009/06/30 09:20:29] @ arubdesu joined channel #puppet
[2009/06/30 09:22:01] @ Quit: arubdesu: Client Quit
[2009/06/30 09:22:25] @ fzzzt joined channel #puppet
[2009/06/30 09:28:11] <apbarrett> pluesch0r: subclasses do not automatically inherit anything. You might want something like "class snmp::special inherits snmp::base { ... }"
[2009/06/30 09:28:40] <pluesch0r> okay. that might work.
[2009/06/30 09:29:18] @ Quit: d3vilb0x:
[2009/06/30 09:29:48] <sheldonh> sheesh, could ubuntu trash the screen utility any more?
[2009/06/30 09:29:53] <joe-mac> saomeone should update the subject to point to b2
[2009/06/30 09:30:50] @ erm_ joined channel #puppet
[2009/06/30 09:33:10] <pluesch0r> apbarrett: somehow, the stuff inside of snmp::base that it expects for template generation etc (and that is set in snmp::special) doesn't get over there. neither does it get overwritten. what's the correct way to do this?
[2009/06/30 09:33:14] <apbarrett> will I be happy or unhappy if I use 0.25beta for a new deployment? only a few nodes, but hundreds of classes with complex dependencies.
[2009/06/30 09:34:08] <joe-mac> apbarrett: i would stick with .24.8 right now
[2009/06/30 09:34:13] <joe-mac> it's pretty solid
[2009/06/30 09:34:34] @ kambiz_away is now known as kambiz
[2009/06/30 09:35:33] <apbarrett> pluesch0r: are both snmp::base and snmp::special defined in modules/snmp/manifests/init.pp? does the node simply "include snmp::special" ?
[2009/06/30 09:35:48] <pluesch0r> yes. yes.
[2009/06/30 09:35:56] @ Quit: niczar2: Remote closed the connection
[2009/06/30 09:36:24] <apbarrett> maybe you also need "include snmp"
[2009/06/30 09:36:53] <pluesch0r> no. actually, i need to not use inherit, apparently.
[2009/06/30 09:37:08] <pluesch0r> and i need to define the variable names before doing the include snmp::base inside of my snmp::special
[2009/06/30 09:37:14] <pluesch0r> *sigh*
[2009/06/30 09:37:29] @ Quit: niczar1: Remote closed the connection
[2009/06/30 09:37:50] <pluesch0r> thanks for your time.
[2009/06/30 09:38:01] <apbarrett> joe-mac: thanks
[2009/06/30 09:38:12] <joe-mac> np
[2009/06/30 09:38:50] <joe-mac> sheldonh: you mean the new bar th ey make by default?
[2009/06/30 09:39:16] <joe-mac> i don't mind it, and it gives you a choice ont he first trun anyways
[2009/06/30 09:41:03] <sheldonh> joe-mac: no, the way they bastardized multiuser mode in the screen(1) utility :)
[2009/06/30 09:41:10] <sheldonh> joe-mac: like debian, but worse
[2009/06/30 09:41:38] <joe-mac> i used to use kibitz when i needed multi user sessions li ke that
[2009/06/30 09:43:01] @ Quit: Innocent1: Read error: 113 (No route to host)
[2009/06/30 09:45:09] <fzzzt> yay my bug report seems to have helped
[2009/06/30 09:45:52] @ Quit: nd33r_: Read error: 60 (Operation timed out)
[2009/06/30 09:47:24] @ nd33r joined channel #puppet
[2009/06/30 09:47:34] @ bendsu joined channel #puppet
[2009/06/30 09:48:46] @ jesserobbins joined channel #puppet
[2009/06/30 09:57:58] @ happymcplaksin joined channel #puppet
[2009/06/30 09:58:33] @ Quit: sheldonh: "Ex-Chat"
[2009/06/30 10:01:00] @ bobbyz_ joined channel #puppet
[2009/06/30 10:01:12] <Telmo> duritong: are you awake? :)
[2009/06/30 10:01:22] <duritong> why?
[2009/06/30 10:01:43] <Telmo> I have a question about immerda's nagios module
[2009/06/30 10:01:55] <Telmo> the one from your github repo
[2009/06/30 10:03:16] @ Quit: lak:
[2009/06/30 10:03:32] @ kibaho1 left channel #puppet ()
[2009/06/30 10:04:44] @ Quit: rmiller4pi8: "Leaving."
[2009/06/30 10:05:41] @ fujin_ joined channel #puppet
[2009/06/30 10:06:30] @ Quit: fujin: Read error: 60 (Operation timed out)
[2009/06/30 10:08:22] @ Quit: pleemans: Remote closed the connection
[2009/06/30 10:09:29] @ Innocenti joined channel #puppet
[2009/06/30 10:15:20] @ Quit: yure_: Client Quit
[2009/06/30 10:15:57] @ Quit: jesserobbins:
[2009/06/30 10:16:23] @ alfism joined channel #puppet
[2009/06/30 10:17:08] <pluesch0r> how do i disable the puppetmaster file server?
[2009/06/30 10:19:07] @ Quit: fujin_:
[2009/06/30 10:19:12] <joe-mac> by not having a fileserver.conf would do it i am guessing
[2009/06/30 10:19:21] <pluesch0r> awesome.
[2009/06/30 10:19:23] <joe-mac> or having one with a deny * in the files section
[2009/06/30 10:19:53] @ Quit: nd33r: Read error: 110 (Connection timed out)
[2009/06/30 10:21:05] @ Quit: malraid: Read error: 110 (Connection timed out)
[2009/06/30 10:21:07] @ Quit: masterzen: Read error: 104 (Connection reset by peer)
[2009/06/30 10:21:59] @ masterzen joined channel #puppet
[2009/06/30 10:22:52] @ lludwig left channel #puppet ()
[2009/06/30 10:23:31] @ notbrien joined channel #puppet
[2009/06/30 10:25:01] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2009/06/30 10:25:37] <apbarrett> I don't have a fileserver.conf, and source => "puppet:///mymodule/myfile" works
[2009/06/30 10:26:34] @ pleemans joined channel #puppet
[2009/06/30 10:29:29] @ Quit: kolla: Read error: 110 (Connection timed out)
[2009/06/30 10:30:11] @ kolla joined channel #puppet
[2009/06/30 10:30:44] @ rmiller4pi8 joined channel #puppet
[2009/06/30 10:31:27] @ Quit: drmikecrowe: "Leaving."
[2009/06/30 10:34:40] @ arubdesu_ joined channel #puppet
[2009/06/30 10:35:51] <joe-mac> apbarrett: you have a modules mount/
[2009/06/30 10:36:02] @ Quit: notbrien:
[2009/06/30 10:36:50] <apbarrett> I suppose so, but it's not explicitly configured
[2009/06/30 10:38:26] @ arubdesu__ joined channel #puppet
[2009/06/30 10:39:09] @ fujin joined channel #puppet
[2009/06/30 10:39:43] <joe-mac> try creating the fileserver.conf with deny * in the files section
[2009/06/30 10:40:32] @ drmikecrowe joined channel #puppet
[2009/06/30 10:42:09] @ tecto joined channel #puppet
[2009/06/30 10:43:25] @ d3vilb0x joined channel #puppet
[2009/06/30 10:43:43] @ saurabhverma1 joined channel #puppet
[2009/06/30 10:44:48] @ Quit: tim|macbook:
[2009/06/30 10:51:20] @ drmikecrowe1 joined channel #puppet
[2009/06/30 10:52:29] @ Quit: kolla: Remote closed the connection
[2009/06/30 10:52:59] @ kolla joined channel #puppet
[2009/06/30 10:54:21] @ Quit: drmikecrowe1: Client Quit
[2009/06/30 10:59:01] @ arubdesu joined channel #puppet
[2009/06/30 10:59:04] @ Quit: arubdesu__: Read error: 104 (Connection reset by peer)
[2009/06/30 10:59:30] @ Quit: arubdesu_: Read error: 104 (Connection reset by peer)
[2009/06/30 11:00:04] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/30 11:01:06] @ Quit: Innocenti: "leaving"
[2009/06/30 11:01:28] @ Quit: saurabhverma: No route to host
[2009/06/30 11:01:39] @ edmondlo joined channel #puppet
[2009/06/30 11:02:42] @ pleemans joined channel #puppet
[2009/06/30 11:02:48] @ lak joined channel #puppet
[2009/06/30 11:04:13] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/06/30 11:05:03] <riddley> what does this mean? warning: Got an event from invalid vertex File[/usr/local/sbin/direct-update.sh]
[2009/06/30 11:07:16] <apbarrett> I think "invalid" just means "not in the correct state". If you are recursively managing a directory, then files with incorrect permissions cause messages like that.
[2009/06/30 11:07:18] @ Quit: verwilst: "Ex-Chat"
[2009/06/30 11:07:25] @ jesserobbins joined channel #puppet
[2009/06/30 11:08:20] <riddley> what does "incorrect" mean with regard to permissions?
[2009/06/30 11:08:26] @ Quit: drmikecrowe: Read error: 110 (Connection timed out)
[2009/06/30 11:10:05] <apbarrett> file on disk has owner/group/mode different from what the puppet manifest says it should be
[2009/06/30 11:10:45] @ Quit: jesserobbins: Client Quit
[2009/06/30 11:10:45] <riddley> the source file? is that a new thing for .25? we've never tried to match souce files to destination files in terms of perms
[2009/06/30 11:11:10] <lak> riddley: are you getting that in 0.25?
[2009/06/30 11:11:20] <riddley> yea 25b2 on both ends
[2009/06/30 11:11:22] @ andrewcshafer joined channel #puppet
[2009/06/30 11:11:26] <lak> that means that the internal graphing system is messing up somehow
[2009/06/30 11:11:43] <lak> you should never see that message
[2009/06/30 11:12:06] <riddley> I'm just lucky I guess :) we got several in a recent --noop run
[2009/06/30 11:12:47] @ rhutchison joined channel #puppet
[2009/06/30 11:12:47] <riddley> 17 in the noop run I just ran
[2009/06/30 11:14:23] <riddley> btw, I ran with --debug --trace last night on one of our bigger machines while trying to track down a problem and I noticed that after it sends the report, it spent a really long time auto-requiring stuff... but it was already done... bug or just output ordering weirdness?
[2009/06/30 11:15:07] <apbarrett> lak: I see that message in 0.24.8 when I have file { "/somedir": recurse => inf, owner => root } in the manifest, then create a file /somedir/foo with a non-root owner on the client, then run puppetd. it is followed by an info message about the owner getting fixed. (At least, I think that's what I did to cause the message.)
[2009/06/30 11:15:58] <riddley> fwiw, we have tons of recursion and completely nonsense owners/perms and I've never seen that msg
[2009/06/30 11:16:48] @ fujin joined channel #puppet
[2009/06/30 11:17:32] <rhutchison> http://www.pastebin.ca/1479612
[2009/06/30 11:18:31] @ BMDan joined channel #puppet
[2009/06/30 11:18:39] @ Quit: tecto: Read error: 113 (No route to host)
[2009/06/30 11:20:31] @ Quit: pluesch0r: "aus."
[2009/06/30 11:24:04] @ rhutchison is now known as ryguy
[2009/06/30 11:24:39] @ Quit: edmondlo: Read error: 110 (Connection timed out)
[2009/06/30 11:26:00] <ryguy> Did anybody check out my pastebin post? I am new to puppet and I can't figure out how to get it to portupgrade correctly
[2009/06/30 11:27:21] <joe-mac> ryguy: i don't see a pastie from you in my buffer
[2009/06/30 11:27:48] <agaffney> joe-mac: he changed nicks...look a few lines above
[2009/06/30 11:28:02] <agaffney> ryguy: not all package providers support "latest"
[2009/06/30 11:28:22] <joe-mac> yea exactly
[2009/06/30 11:28:32] * agaffney checks TypeReference#package
[2009/06/30 11:28:44] <agaffney> nope
[2009/06/30 11:28:51] <agaffney> freebsd is only installable/uninstallable
[2009/06/30 11:28:53] <agaffney> no upgradeable
[2009/06/30 11:29:01] <joe-mac> ryguy: there is a matrix on the page agaffney is talking about, worth che4cking out wiki:TypeReference
[2009/06/30 11:29:44] <gepetto> joe-mac: ryguy: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/06/30 11:29:44] <ryguy> it executes portupgrade though...?
[2009/06/30 11:29:45] <riddley> lak: should I file a bug or you already got it or ?
[2009/06/30 11:29:45] <agaffney> http://reductivelabs.com/trac/puppet/wiki/TypeReference#package
[2009/06/30 11:29:45] <agaffney> although, it does show 'ports'
[2009/06/30 11:29:54] <agaffney> ryguy: it shows that puppet runs the command
[2009/06/30 11:30:02] <agaffney> ryguy: what happens if you run '/usr/local/sbin/portupgrade -N -M BATCH=yes sudo' by hand?
[2009/06/30 11:30:03] <lak> riddley: if you can consistently reproduce it, then yeah, file it with steps to reproduce
[2009/06/30 11:30:18] <ryguy> when I execute the portupgrade line and remove -M BATCH=yes from the line it works, when I run it as is, it doesn't work
[2009/06/30 11:30:26] <ryguy> I'm assuming because it changes the ENV variables
[2009/06/30 11:30:37] <riddley> lak, it happens every time w/ this host, but I have no idea why
[2009/06/30 11:30:43] <lak> only that host?
[2009/06/30 11:30:50] <lak> same code on other hosts doesn't do that?
[2009/06/30 11:30:55] <riddley> it's the only one we're running 25b2 client on
[2009/06/30 11:31:06] <ryguy> [root@grid9 /usr/ports/sysutils/puppet/]# /usr/local/sbin/portupgrade -N -M BATCH=yes sudo
[2009/06/30 11:31:06] <ryguy> ** Found already installed package(s) of 'security/sudo': sudo-1.6.9.14
[2009/06/30 11:31:16] <joe-mac> gotta be a force or something...
[2009/06/30 11:31:59] <ryguy> sorry, it's the -N variable that it doesn't like
[2009/06/30 11:32:00] <ryguy> [root@grid9 /usr/ports/sysutils/puppet/]# /usr/local/sbin/portupgrade -M BATCH=yes sudo
[2009/06/30 11:32:00] <ryguy> ---> Upgrading 'sudo-1.6.9.14' to 'sudo-1.6.9.20' (security/sudo)
[2009/06/30 11:32:01] <ryguy> ---> Building '/usr/ports/security/sudo'
[2009/06/30 11:32:01] <ryguy> ===> Cleaning for sudo-1.6.9.20
[2009/06/30 11:32:22] <Zed1> I'm currently trying to convert the chunks of things I originally had dumped into my main manifests and templates directories into modules, but having a little trouble. I've got the configuration and error message up at http://www.pastie.org/529482
[2009/06/30 11:32:33] <agaffney> ryguy: sounds like it's time to file a ticket
[2009/06/30 11:32:33] <ryguy> is there a way to configure the package to remove -N from the parameters?
[2009/06/30 11:32:54] @ Quit: kolla: Read error: 110 (Connection timed out)
[2009/06/30 11:32:54] <joe-mac> ryguy: that's in the provider code
[2009/06/30 11:33:06] <joe-mac> ie, need to submit a diff, or ask RL to fix it
[2009/06/30 11:33:55] <ryguy> thanks
[2009/06/30 11:33:58] <joe-mac> np
[2009/06/30 11:34:06] <lak> riddley: that error would be entirely client-side
[2009/06/30 11:34:44] <riddley> lak, lemme try another test host
[2009/06/30 11:35:03] @ Quit: shood:
[2009/06/30 11:35:13] @ happymcplaksin joined channel #puppet
[2009/06/30 11:36:35] <Zed1> Is there some kind of special magic you have to invoke to get a module to automatically import all of the .pp files in its manifests directory?
[2009/06/30 11:37:10] <joe-mac> import '*'
[2009/06/30 11:37:22] <joe-mac> in the init.pp
[2009/06/30 11:37:54] @ Quit: arubdesu:
[2009/06/30 11:38:13] <riddley> lak, didn't happen on the other host... what do you recommend for further troubleshooting?
[2009/06/30 11:38:35] <lak> that other host does the same recursion?
[2009/06/30 11:38:40] <riddley> yea
[2009/06/30 11:39:07] @ salvor joined channel #puppet
[2009/06/30 11:40:12] <Zed1> Thanks, joe-mac.
[2009/06/30 11:40:53] <joe-mac> np
[2009/06/30 11:41:14] <Zed1> Hm. Now it's not finding my templates... It's still looking in the master /var/lib/puppet/templates directory, instead of the module templates directory.
[2009/06/30 11:41:33] <joe-mac> Zed1: you probably have templatedir set in your config
[2009/06/30 11:43:36] <Zed1> Actually, just found it. I needed to insert the module name in front of the template path.
[2009/06/30 11:44:48] @ claymation joined channel #puppet
[2009/06/30 11:44:59] @ kolla joined channel #puppet
[2009/06/30 11:45:10] <ryguy> removing -N from /usr/local/lib/ruby/site_ruby/1.8/puppet/provider/package/ports.rb works
[2009/06/30 11:45:27] <ryguy> [root@grid9 /usr/ports/sysutils/puppet/]# /usr/local/sbin/portversion -v sudo
[2009/06/30 11:45:27] <ryguy> sudo-1.6.9.20 = up-to-date with port
[2009/06/30 11:45:39] <joe-mac> ryguy: what is -N actually for? don't have an fbsd box here
[2009/06/30 11:46:13] <ryguy> I'll pb
[2009/06/30 11:46:41] @ egerlach_ is now known as egerlach
[2009/06/30 11:46:41] <ryguy> http://www.pastebin.ca/1479643
[2009/06/30 11:47:24] @ nickv joined channel #puppet
[2009/06/30 11:47:29] <lak> riddley: is there maybe another file in the directory being recursed over, where the file exists on the failing host but not the host that doesn't have the warning?
[2009/06/30 11:47:30] <lak> bbl
[2009/06/30 11:47:33] @ Quit: lak:
[2009/06/30 11:47:58] @ Quit: saurabhverma1: Connection reset by peer
[2009/06/30 11:48:00] <nickv> hey all, im having issues with an exec command in one of my classes
[2009/06/30 11:48:41] <nickv> can someone point me to some good documentation? I am gettinga : "change from notrun to 0 failed returned 1 instad of 0" error when i run a --test from a client
[2009/06/30 11:49:37] <joe-mac> nickv: can you pastie your exec? (pastie.org)
[2009/06/30 11:50:40] <pastie> joe-mac: http://pastie.org/529510 by nickv.
[2009/06/30 11:50:59] <nickv> take a look should be there
[2009/06/30 11:51:09] <nickv> thats the error
[2009/06/30 11:51:12] <nickv> this is my exec
[2009/06/30 11:51:12] <joe-mac> shell redirection won't work like this
[2009/06/30 11:51:27] <nickv> i tried an svcadm disable ntp also
[2009/06/30 11:51:29] <joe-mac> command => '/bin/sh -c "echo something > /tmp/whatever"'
[2009/06/30 11:51:30] <nickv> that didn't work either
[2009/06/30 11:51:40] @ arubdesu joined channel #puppet
[2009/06/30 11:52:31] <nickv> hthis is my exec line: exec { "/usr/sbin/svcadm disable ntp": }
[2009/06/30 11:52:36] <nickv> and i get the same error
[2009/06/30 11:52:40] <nickv> what am i doing wrong?
[2009/06/30 11:53:06] <joe-mac> what happens when you run that by hand, and waht is the return code
[2009/06/30 11:53:08] <ryguy> the :
[2009/06/30 11:53:12] <ryguy> ?
[2009/06/30 11:53:22] <joe-mac> if the service is already enabled, i am guessing that svcadm returns 1
[2009/06/30 11:54:24] <nickv> well i am trying to test exec
[2009/06/30 11:54:25] <nickv> this is my class
[2009/06/30 11:54:26] @ hagedorn joined channel #puppet
[2009/06/30 11:54:27] <nickv> http://pastie.org/529519
[2009/06/30 11:54:45] <Zed1> The error you are seeing says that when puppet ran "/usr/bin/svcadm disable ntp", the return value was 1.
[2009/06/30 11:54:52] <nickv> but im testing with svcadm disable ntp to see if ntp.conf is fixed ntp will be disabled, just testing exec
[2009/06/30 11:55:04] <Zed1> If it's *expected* to return 1, you may need to tinker with the command.
[2009/06/30 11:55:06] <nickv> lemme check what echo $? returns
[2009/06/30 11:55:08] <joe-mac> yea, because ntp is probably disabled...
[2009/06/30 11:55:16] <nickv> well its enabled currently
[2009/06/30 11:55:36] <joe-mac> i'm pretty sure theres a provider for svcadm too fyi
[2009/06/30 11:55:58] <joe-mac> and nickv, fyi, unless you set that exec to refreshonly it's going to run every puppet run
[2009/06/30 11:56:34] <joe-mac> if you want it to only run when ntp.conf changes, set the exec to refreshonly, and in the ntp.conf resource, notify => Exec["/usr/bin/svcadm disable ntp"],
[2009/06/30 11:57:22] @ justindossey joined channel #puppet
[2009/06/30 11:57:44] <apbarrett> there's lib/puppet/provider/service/smf.rb which might DTRT
[2009/06/30 11:57:55] @ saurabhverma joined channel #puppet
[2009/06/30 11:57:57] @ Quit: saurabhverma: K-lined
[2009/06/30 11:58:03] <nickv> joe-mac: can you help me write a class for ntp that will restart it using smf in puppet?
[2009/06/30 11:58:39] <joe-mac> i don't have solaris with me but i can help you out, sure
[2009/06/30 12:02:30] @ Quit: alfism: "http://opensolaris.com/"
[2009/06/30 12:04:33] @ Quit: Robbie_: Remote closed the connection
[2009/06/30 12:05:32] @ Quit: alban2: "A bientot"
[2009/06/30 12:09:05] @ Quit: salvor: "Leaving...."
[2009/06/30 12:09:32] @ devicenull joined channel #puppet
[2009/06/30 12:10:31] @ gaveen joined channel #puppet
[2009/06/30 12:10:43] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/30 12:13:10] @ francois1 left channel #puppet ()
[2009/06/30 12:13:53] <apbarrett> "define foo($classname, $otherstuff) { class $classname { ... } }" complains about a syntax error in "class $classname"; it's as if it's not happy with a variable name at that point. How can I fix or work around that?
[2009/06/30 12:16:47] @ Quit: masterzen: "Leaving"
[2009/06/30 12:18:39] @ Quit: proq: Remote closed the connection
[2009/06/30 12:19:48] @ fletch72 joined channel #puppet
[2009/06/30 12:19:51] <joe-mac> a class inside a define?
[2009/06/30 12:19:56] <joe-mac> you just made my brain explode
[2009/06/30 12:20:05] <joe-mac> lol... what's tyhe use case?
[2009/06/30 12:20:24] <joe-mac> i doubt that will work
[2009/06/30 12:22:24] <duritong> apbarrett: you simply can't do that
[2009/06/30 12:22:30] <duritong> what are you trying to achieve?
[2009/06/30 12:23:22] <apbarrett> my workaround for the fact that Require[foo] does nto imply realize[foo]. For each resource that I actually want, I end up with two things: a virtual resource like @package{bar: require => Class[realize_pkg_foo} class realize_pkg_bar {include realize_pkg_foo; realize Package[bar]}. Then users that would have liked to say "realize Package[bar]" say "include realize_pkg_bar" instead.
[2009/06/30 12:23:46] <apbarrett> it all works, but I want to encapsulate the two items in a single define
[2009/06/30 12:25:25] <justindossey> apbarrett: I think that if you want a variable name to translate to a class name, you need to use eval
[2009/06/30 12:26:09] <apbarrett> ah! I overlooked the existence of eval
[2009/06/30 12:26:09] <joe-mac> moot point, since you can't have a class inside a define
[2009/06/30 12:26:28] @ Quit: DerekW: Remote closed the connection
[2009/06/30 12:27:28] @ lak joined channel #puppet
[2009/06/30 12:27:30] @ shood joined channel #puppet
[2009/06/30 12:27:38] @ Quit: poison: Remote closed the connection
[2009/06/30 12:28:36] @ Quit: shood: Remote closed the connection
[2009/06/30 12:28:48] @ shood joined channel #puppet
[2009/06/30 12:31:04] @ Quit: lak: Client Quit
[2009/06/30 12:32:38] <duritong> i doubt that there is an eval, is it?
[2009/06/30 12:33:03] <apbarrett> I can't find eval in the documentation
[2009/06/30 12:33:51] <duritong> apbarrett: I still don't see why you need a hacky setup like that
[2009/06/30 12:35:49] <apbarrett> what I actually want is @package{foo: ...} and @package{bar: ... require Package[foo]}. But that doesnt' work because when some consumer of these virtual resources does "realize Package[bar]", the result is something like "error: package foo is not defined"
[2009/06/30 12:36:13] @ WALoeIII joined channel #puppet
[2009/06/30 12:36:37] <Volcane> duritong: he's trying to map package dependencies using puppet cos his package manager is braindead
[2009/06/30 12:36:47] <duritong> oh
[2009/06/30 12:36:50] <duritong> ok...
[2009/06/30 12:36:59] <Volcane> duritong: = 100s and 100s of classes
[2009/06/30 12:37:00] @ incommon_ike joined channel #puppet
[2009/06/30 12:37:23] @ jmarki joined channel #puppet
[2009/06/30 12:37:33] <joe-mac> the puppets are dead, we poisoned their asses with hundreds of classes
[2009/06/30 12:37:49] <joe-mac> what's that show called? from nz? lol...
[2009/06/30 12:38:19] @ joe-mac left channel #puppet ()
[2009/06/30 12:38:24] <apbarrett> Volcane: configtimeout = 500 sorted out the problem I had on Friday
[2009/06/30 12:38:27] @ joe-mac joined channel #puppet
[2009/06/30 12:38:41] <Volcane> apbarrett: till u have many machines :(
[2009/06/30 12:39:27] <Volcane> its a bad idea, always going to come back to haunt you
[2009/06/30 12:43:10] <CaptianCupcake> i occasionally get "err: Could not retrieve catalog: Could not find class ... at ... on node ..." when I add a module and I can't figure out why. all it does is include a package. /var/log/syslog just says the same thing. not sure what the problem is. anyone have any trouble shooting tips?
[2009/06/30 12:44:10] @ edmondlo joined channel #puppet
[2009/06/30 12:45:38] <joe-mac> CaptianCupcake: ther is a mysterious bug that is sort of how you describe your problem
[2009/06/30 12:45:42] <Zed1> Is there a simple way of saying "this class should always execute before any other"?
[2009/06/30 12:45:58] <CaptianCupcake> ok, this is weird. i removed the include that was including the class. ran puppetd --test --debug ..everything worked. then I uncommented the class include and now it works
[2009/06/30 12:46:01] <joe-mac> Zed1: no, but you can require a class from a resource
[2009/06/30 12:46:07] <joe-mac> CaptianCupcake: exact same bug
[2009/06/30 12:46:16] <CaptianCupcake> lol- joe-mac- ty for the heads up =)
[2009/06/30 12:46:31] <CaptianCupcake> is there a work around to hepl prevent running into it?
[2009/06/30 12:46:33] <joe-mac> yea iran into it when i started testing .25b, but i guess it was already jknown when i started testing
[2009/06/30 12:46:46] <joe-mac> CaptianCupcake: not that i know of, it seems to work fine after you get it going once then move it back though...
[2009/06/30 12:47:29] <apbarrett> CaptainCupcake: could it be the filetimeout in puppet.conf? defaults to 15 seconds.
[2009/06/30 12:47:42] <CaptianCupcake> joe-mac: interesting. thanks again. I've run into it a lot and i've always been confused by it
[2009/06/30 12:48:15] <CaptianCupcake> apbarrett: not sure what filetimeout is. let me check the docs real quick
[2009/06/30 12:48:17] <joe-mac> np
[2009/06/30 12:49:25] <apbarrett> after a file is edited, puppetmasterd might use the old version of the contents for up to filetimeout seconds
[2009/06/30 12:49:54] @ mspo joined channel #puppet
[2009/06/30 12:51:10] <CaptianCupcake> apbarrett: tht is really good to know. I've noticed it takes a second after saving before it'll pickup the new bits. is filetimeout set in puppet.conf?
[2009/06/30 12:51:58] <apbarrett> yes, the [puppetmasterd] section, or [main] I suppose
[2009/06/30 12:52:31] <joe-mac> nice, never saw that
[2009/06/30 12:52:38] <joe-mac> CaptianCupcake: vote this one up! http://projects.reductivelabs.com/issues/2294
[2009/06/30 12:52:49] <CaptianCupcake> sweet thanks
[2009/06/30 12:52:58] <fletch72> hi
[2009/06/30 12:53:09] <CaptianCupcake> joe-mac: will do
[2009/06/30 12:53:17] <fletch72> q: I want to purge all gnome* packages via yum provider
[2009/06/30 12:53:44] <fletch72> eg yum remove "gnome*" on the command line
[2009/06/30 12:53:56] @ apbarrett left channel #puppet ()
[2009/06/30 12:54:17] <fletch72> CentOS: {
[2009/06/30 12:54:17] <fletch72> package { "gnome*":
[2009/06/30 12:54:18] <fletch72> ensure => "purged",
[2009/06/30 12:54:18] <fletch72> provider => "yum"
[2009/06/30 12:54:18] <fletch72> }
[2009/06/30 12:54:25] <fletch72> does not match though...
[2009/06/30 12:55:10] <fletch72> how does puppet handle the wildcards?
[2009/06/30 12:58:11] @ poison joined channel #puppet
[2009/06/30 13:00:39] <CaptianCupcake> fletch72: not sure if you can manage puppet in that way. You should be able to do that with an exec though
[2009/06/30 13:01:10] @ PhatBaja joined channel #puppet
[2009/06/30 13:01:19] @ Quit: nasrat: "Ex-Chat"
[2009/06/30 13:05:10] @ Quit: arubdesu:
[2009/06/30 13:06:38] @ randybias joined channel #puppet
[2009/06/30 13:06:39] @ mspo left channel #puppet ()
[2009/06/30 13:07:13] @ alfism joined channel #puppet
[2009/06/30 13:14:11] @ bob___ joined channel #puppet
[2009/06/30 13:14:14] @ bob___ is now known as ckrouh
[2009/06/30 13:14:17] @ ckrouh is now known as ckrough
[2009/06/30 13:14:18] <Zed1> Hm. Can you arrange the order in which modules run?
[2009/06/30 13:14:31] <riddley> Zed1, with require and before
[2009/06/30 13:15:06] @ Quit: ryguy: "[BX] "I did not have sexual relations with that client, BitchX.""
[2009/06/30 13:15:36] <Zed1> That's per-class, though. Can I guarantee that if I add a new class in a later module, a particular module still always runs first? Or am I trapped into making sure that a before entry is added for every module I may add later?
[2009/06/30 13:15:50] <Zed1> Er, per-type, that is, not per-class.
[2009/06/30 13:16:30] <riddley> Zed1, not that I know of. I tend to think of modules as being complete units... doing all they need to do and ordering things within themselves
[2009/06/30 13:17:13] @ Quit: jmarki: Remote closed the connection
[2009/06/30 13:17:53] <fletch72> exec { "yum remove 'gnome*' -y":
[2009/06/30 13:17:53] <fletch72> path => "/usr/bin:/usr/sbin:/bin",
[2009/06/30 13:17:53] <fletch72> }
[2009/06/30 13:17:54] <fletch72> worked
[2009/06/30 13:17:54] <fletch72> thanks
[2009/06/30 13:18:15] <CaptianCupcake> fletch72: np
[2009/06/30 13:19:20] @ Quit: MattyM: "ta ta"
[2009/06/30 13:21:08] <Zed1> Hm. My general problem is that I have a workflow that involves /etc being placed in version control via etckeeper. On a new system, puppet needs to install etckeeper, init it, make an initial add and commit, but then also check on each subsequent run if any uncommitted changes exist, squawk loudly, commit them, then proceed.
[2009/06/30 13:21:48] @ Quit: Telmo: Read error: 113 (No route to host)
[2009/06/30 13:21:54] <Zed1> And that initial commit needs to be made before puppet changes any additional files.
[2009/06/30 13:23:09] <omry__|work> anyone tried Nexenta?
[2009/06/30 13:23:14] @ omry__|work is now known as omry|work
[2009/06/30 13:29:35] <nickv> hey anyone familiar with puppet service smf restarts?
[2009/06/30 13:29:41] <nickv> i cant find any syntax examples
[2009/06/30 13:32:46] @ mfoster joined channel #puppet
[2009/06/30 13:37:19] @ Quit: BMDan: "Leaving."
[2009/06/30 13:40:35] @ Quit: poison: Remote closed the connection
[2009/06/30 13:46:16] @ saurabhverma joined channel #puppet
[2009/06/30 13:46:24] @ Quit: gaveen: Read error: 60 (Operation timed out)
[2009/06/30 13:47:34] @ tecto joined channel #puppet
[2009/06/30 13:48:10] @ scylla joined channel #puppet
[2009/06/30 13:50:52] @ stahnma left channel #puppet ("Konversation terminated!")
[2009/06/30 13:51:31] @ Quit: cedric_b: Read error: 110 (Connection timed out)
[2009/06/30 13:52:04] @ cedric_b joined channel #puppet
[2009/06/30 13:53:47] @ Quit: erm_: "Lost terminal"
[2009/06/30 13:58:52] @ matty91 joined channel #puppet
[2009/06/30 14:01:19] @ gaveen joined channel #puppet
[2009/06/30 14:03:05] @ jmslagle joined channel #puppet
[2009/06/30 14:03:09] @ malraid joined channel #puppet
[2009/06/30 14:03:30] <jmslagle> Ok, I'm an idiot and now broke things :P
[2009/06/30 14:03:41] <jmslagle> I did puppetca --clean --all with a list of hosts just trying to clean the signed certs for hosts I nuked.
[2009/06/30 14:03:46] <jmslagle> But that didn't do what I intended
[2009/06/30 14:04:07] <jmslagle> So how do I make puppet regenerate the CA cert and stuff
[2009/06/30 14:04:20] <agaffney> jmslagle: heh, I did that myself a week or so ago
[2009/06/30 14:04:32] <agaffney> the CA should still be intact
[2009/06/30 14:04:41] <agaffney> but the local puppetd cert will be gone
[2009/06/30 14:04:45] <agaffney> I had a hell of a time getting it back
[2009/06/30 14:04:53] <jmslagle> Hehehehehe\
[2009/06/30 14:04:58] <jmslagle> Yeah
[2009/06/30 14:05:01] <jmslagle> any tips? :D
[2009/06/30 14:05:09] <agaffney> it kept going in circles for me
[2009/06/30 14:05:11] @ ezmobius joined channel #puppet
[2009/06/30 14:05:24] <jmslagle> Me too so far
[2009/06/30 14:05:29] <agaffney> puppetd on the puppetmaster would create the cert request, I'd sign it with puppetca, and then it would say it didn't match the key
[2009/06/30 14:05:45] <agaffney> I'm not entirely sure what I ended up doing to "fix" it
[2009/06/30 14:05:59] <agaffney> I had to delete a couple of things under /var/lib/puppet/ssl
[2009/06/30 14:06:09] <agaffney> just be sure not to touch the ca/ dir under there
[2009/06/30 14:06:12] <agaffney> then you'll really be screwed
[2009/06/30 14:08:41] <jmslagle> I wonder if I can just puppetca --generate my host cert
[2009/06/30 14:09:09] <agaffney> can't hurt to try
[2009/06/30 14:09:16] <jmslagle> Yeah
[2009/06/30 14:09:18] <jmslagle> that fixed that
[2009/06/30 14:09:25] <jmslagle> Now I have to resign all my client certs :P
[2009/06/30 14:10:23] <jmslagle> Interesting
[2009/06/30 14:10:31] <jmslagle> It seems I *DON'T* have to do that
[2009/06/30 14:10:40] <jmslagle> Thats weird.
[2009/06/30 14:11:23] <agaffney> like I said, it didn't touch the CA stuff
[2009/06/30 14:11:42] <agaffney> that cert/key isn't removed by 'puppetca --clean --all'
[2009/06/30 14:12:14] <jmslagle> Yeajhh
[2009/06/30 14:12:21] <jmslagle> But all the junk in ca/certs is gone
[2009/06/30 14:12:30] @ PhabX joined channel #puppet
[2009/06/30 14:13:05] <jmslagle> ca/signed rather :D
[2009/06/30 14:13:08] @ arubdesu joined channel #puppet
[2009/06/30 14:14:30] @ matty91_ joined channel #puppet
[2009/06/30 14:15:11] <agaffney> that's ok
[2009/06/30 14:15:15] <agaffney> it's the CA cert/key that matter
[2009/06/30 14:16:38] @ saurabhverma1 joined channel #puppet
[2009/06/30 14:16:40] <PhabX> http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/50000/9000/500/59569/59569.strip.print.gif
[2009/06/30 14:16:46] * jmslagle nods
[2009/06/30 14:18:13] <agaffney> PhabX: funny, I just found that and was about to post it to another channel
[2009/06/30 14:18:31] <PhabX> it must be going around
[2009/06/30 14:28:08] @ pleemans joined channel #puppet
[2009/06/30 14:28:46] @ psih0man joined channel #puppet
[2009/06/30 14:29:00] @ Quit: matty91: Read error: 113 (No route to host)
[2009/06/30 14:30:34] <psih0man> hi people! I was wondering if facter can be integrated with LDAP, and if is there already a LDAP schema in place
[2009/06/30 14:30:49] <psih0man> for facter
[2009/06/30 14:31:51] @ Quit: saurabhverma: Connection timed out
[2009/06/30 14:32:08] <psih0man> a quick search on google (10 pages) for 'facter LDAP schema' didn't provide any useful results
[2009/06/30 14:33:24] <ch> I wonder what integration you would think of ...
[2009/06/30 14:33:28] <bpgoldsb> Can someone give me a one(or three)-liner about what the purpose of a module is?
[2009/06/30 14:33:47] <agaffney> organization
[2009/06/30 14:33:54] <psih0man> ch: just for storing data about hosts
[2009/06/30 14:34:06] @ Quit: rsquared: "Leaving"
[2009/06/30 14:34:32] <ch> psih0man: facter is about gathering data, not storing
[2009/06/30 14:34:33] <ch> psih0man
[2009/06/30 14:34:40] <ch> psih0man: you probably want ldapnodes?
[2009/06/30 14:36:38] @ rsquared joined channel #puppet
[2009/06/30 14:36:47] <psih0man> ch: after a network boot of a puppet enabled image, I want to put the new host into a dhcp group based on it's product name, give it an IP and install some services
[2009/06/30 14:37:30] <psih0man> ch: and of course, a tweaked kernel and packages
[2009/06/30 14:38:01] <ch> psih0man: so what's wrong with using wiki:LDAPNodes?
[2009/06/30 14:38:03] <gepetto> ch: psih0man: wiki:LDAPNodes is http://reductivelabs.com/trac/puppet/wiki/LDAPNodes
[2009/06/30 14:41:47] <psih0man> ch: I'll will give it a try :) thanks.
[2009/06/30 14:46:13] @ Quit: alex___: Remote closed the connection
[2009/06/30 14:50:35] <jmslagle> bpgoldsb: You'll eventually end up in modules so you might as well start there. They break the config into autonomous units.
[2009/06/30 14:51:10] <bpgoldsb> jmslagle, thanks.
[2009/06/30 14:54:50] @ Quit: arubdesu:
[2009/06/30 14:55:30] @ Quit: gaveen: Operation timed out
[2009/06/30 14:55:39] @ D-CoDe joined channel #puppet
[2009/06/30 15:03:47] <justindossey> I'm getting "err: Could not retrieve catalog: Could not find resource type ssh_authorized_key" on a client running puppet 0.24.4. Did that resource type get added later?
[2009/06/30 15:04:51] @ arubdesu joined channel #puppet
[2009/06/30 15:04:56] @ Quit: arubdesu: Remote closed the connection
[2009/06/30 15:05:00] @ arubdesu joined channel #puppet
[2009/06/30 15:06:02] <PhatBaja> Is $hostname a variable automatically set by puppet?
[2009/06/30 15:06:24] <justindossey> PhatBaja: basically. It's gathered using facter
[2009/06/30 15:06:36] <PhatBaja> justindossey: Thanks
[2009/06/30 15:06:45] <ch> justindossey: I think 0.24.5 was the first one to ship with that type
[2009/06/30 15:07:05] @ nickv1 joined channel #puppet
[2009/06/30 15:07:33] <justindossey> ch: yup, I just checked the gem and it's not in there. Ah well; such is life on the bleeding edge.
[2009/06/30 15:07:52] <nickv1> hey all im messing with services in one of my class files...whenever i add the service and i test it on my client i report this error (4 times)
[2009/06/30 15:07:54] <nickv1> wrong number of arguments (2 for 1) warning: Service[svc:/network/ntp:default](provider=smf): Could not get status on service svc:/network/ntp:default
[2009/06/30 15:08:22] <nickv1> what does the "wrong number of arguments (2 for 1) mean?
[2009/06/30 15:08:57] @ gaveen joined channel #puppet
[2009/06/30 15:09:26] <ch> justindossey: you can always just deploy a newer puppet version, using puppet ;)
[2009/06/30 15:09:33] <justindossey> nickv1: that's an error thrown by a ruby method somewhere in the service handler. It's receiving two arguments and expects only one.
[2009/06/30 15:10:02] <nickv1> justindossey: ruby method, you mean my raw ruby install is messed up not puppet?
[2009/06/30 15:10:14] <justindossey> nickv1: no, puppet is written in ruby
[2009/06/30 15:10:27] <nickv1> so something is wrong with ruby itself or my puppet class config?
[2009/06/30 15:10:39] <ctso1> do you have hasstatus => true?
[2009/06/30 15:10:42] <justindossey> nickv1: nothing is wrong with ruby
[2009/06/30 15:11:43] <ctso1> nickv1: does your service resource specify hasstatus => true
[2009/06/30 15:11:44] <nickv1> justindossey: Here is my class, its a very simple service, any ideas?
[2009/06/30 15:11:49] <nickv1> justindossey: http://pastie.org/529787
[2009/06/30 15:12:09] <axisys> how do check a file in ~user instead of /export/home/user or /home/user ?
[2009/06/30 15:12:22] @ lak joined channel #puppet
[2009/06/30 15:13:03] <axisys> can I do file { "~user:" } instead of file { "/export/home/user": } ?
[2009/06/30 15:13:26] <justindossey> nickv1: try changing to http://pastie.org/529790
[2009/06/30 15:13:32] <nickv1> ctso1: no it doesn't, take a look at that link, but the real error im worried about are the (4) Wrong number of arguments (2 for 1)
[2009/06/30 15:13:46] <justindossey> axisys: I wouldn't expect that to work because tilde expansion is done in the shell
[2009/06/30 15:14:12] <nickv1> justindossey: trying now
[2009/06/30 15:14:30] <axisys> justindossey: so it has be some ruby function to find the user's home first ?
[2009/06/30 15:14:41] @ alban2 joined channel #puppet
[2009/06/30 15:14:44] <axisys> justindossey: and then assign that as a value ?
[2009/06/30 15:15:49] <nickv1> Justindossey: I tried that new class, same error, here is the exact error im getting on the client
[2009/06/30 15:15:54] <nickv1> Justindossey: http://pastie.org/529792
[2009/06/30 15:16:14] <ctso1> nickv1: it says something is wrong with status, so try to fix just that.
[2009/06/30 15:16:17] <ctso1> try hasstatus => false
[2009/06/30 15:16:25] <justindossey> axisys: that's one way to do it. The ruby to do it is Etc.getpwnam('username').shell (you may have to require 'etc' first)
[2009/06/30 15:16:39] <ctso1> perhaps it is trying to ask the service for its status when the service doesn't actually take the "status" argument
[2009/06/30 15:16:43] <justindossey> axisys: duh, I mean .dir not .shell
[2009/06/30 15:16:51] <nickv1> lemme try the hasstatus => false
[2009/06/30 15:17:45] <nickv1> ctso1: same error
[2009/06/30 15:17:55] <ctso1> dang, lol
[2009/06/30 15:18:00] <nickv1> yea lol
[2009/06/30 15:18:04] <nickv1> im at a total loss
[2009/06/30 15:18:19] <nickv1> i have no idea why its doing this, i even commented out EVERY class and just loaded this one
[2009/06/30 15:18:32] <axisys> justindossey: thanks
[2009/06/30 15:18:37] <nickv1> its definitly somehting in my service block i think
[2009/06/30 15:18:39] @ Quit: lak:
[2009/06/30 15:18:59] <nickv1> Justindossey: what else do you think I should try? documentation is slim on smf puppet services
[2009/06/30 15:19:23] @ psih0man left channel #puppet ()
[2009/06/30 15:20:24] <nickv1> ctso1: ever see this error before?
[2009/06/30 15:20:47] <axisys> how do I add lets say 20 users? can I use useradd ? also can I read the input file (username/full name/uid/gid) from a file .. i am trying to sync up with a host's passwd file
[2009/06/30 15:21:03] @ randybias is now known as randybias|away
[2009/06/30 15:21:23] <justindossey> nickv1: I'd dig into the puppet smf code
[2009/06/30 15:21:48] <ctso1> nickv1: nooo =(
[2009/06/30 15:22:46] <ctso1> though, "svc:/network/ntp:default""
[2009/06/30 15:22:48] @ Traveler joined channel #puppet
[2009/06/30 15:22:50] <ctso1> i have never seen naming like that for a service
[2009/06/30 15:22:53] <ctso1> where did you get that?
[2009/06/30 15:22:54] <nickv1> Justindossey: here is another interesting thing, i also did a simple notify and exec command and the command i issues was a simple "/usr/bin/touch /tmp/testing" and i got the same argument errors
[2009/06/30 15:23:16] <nickv1> ctso1: This is Sun Solaris, sorry i forgot to mention that, its how it names its SMF services
[2009/06/30 15:23:17] <justindossey> nickv1: very strange
[2009/06/30 15:23:58] <nickv1> justindossey: If the service addition gave the same exact argument errors as a simple notify and exec command what do you think the issue would be?
[2009/06/30 15:24:52] <nickv1> justindossey: also this is my version of ruby: ruby 1.8.7 (2008-05-31 patchlevel 0) [i386-solaris2.11]
[2009/06/30 15:25:06] <nickv1> and im running the newest version of puppet
[2009/06/30 15:27:38] @ fafner_nyc joined channel #puppet
[2009/06/30 15:27:53] @ Quit: Traveler: "Java user signed off"
[2009/06/30 15:28:00] @ Quit: saurabhverma1: Connection timed out
[2009/06/30 15:28:53] <nickv1> Justindossey: anymore things to try?
[2009/06/30 15:29:11] <justindossey> nickv1: I'm out of ideas
[2009/06/30 15:30:11] <nickv1> does my syntax look correct for the service section?
[2009/06/30 15:30:57] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/30 15:33:16] @ sazma joined channel #puppet
[2009/06/30 15:33:44] @ matty91 joined channel #puppet
[2009/06/30 15:34:07] @ joe-mac left channel #puppet ()
[2009/06/30 15:41:37] @ joe-mac joined channel #puppet
[2009/06/30 15:42:46] @ lak joined channel #puppet
[2009/06/30 15:44:44] @ mfoster left channel #puppet ()
[2009/06/30 15:47:32] @ crevetor joined channel #puppet
[2009/06/30 15:47:45] <crevetor> hi there, I have a problem
[2009/06/30 15:48:05] <crevetor> I'm on an ubuntu system and I have a package resource with an ensure => latest
[2009/06/30 15:48:24] <crevetor> but when I run puppet it doesn't upgrade the package (even though when I do apt=get upgrade it wants to upgrade it)
[2009/06/30 15:49:03] <crevetor> any ideas ?
[2009/06/30 15:49:10] <crevetor> #win 3
[2009/06/30 15:49:32] @ Quit: matty91_: Read error: 110 (Connection timed out)
[2009/06/30 15:56:48] @ randybias|away is now known as randybias
[2009/06/30 15:57:43] <jrojas> crevetor: is your provider set to apt?
[2009/06/30 15:57:53] <sazma> lak wrt #2373 we're not sure how to get more info out of the server
[2009/06/30 15:57:54] <gepetto> sazma: #2373 is http://projects.reductivelabs.com/issues/show/2373 "Puppet - Bug #2373: 25b2 client to 25b2 server reporting error - ReductiveLabs.com"
[2009/06/30 15:59:48] <lak> sazma: hmm, yeah, it looks like that ticket's a dupe of #2367, as you guessed
[2009/06/30 15:59:49] <gepetto> lak: sazma: #2367 is http://projects.reductivelabs.com/issues/show/2367 "Puppet - Bug #2367: reporting fails on .25.0b2, possibly apache/mongrel's fault - ReductiveLabs.com"
[2009/06/30 15:59:52] <lak> it should tell you what's failing, tho
[2009/06/30 15:59:58] <lak> that should be enough info
[2009/06/30 16:00:01] <lak> i'll get it fixed, thanks
[2009/06/30 16:00:08] <lak> i'm going to mark the other one as a dupe
[2009/06/30 16:00:13] <sazma> ok
[2009/06/30 16:00:35] @ matty91_ joined channel #puppet
[2009/06/30 16:00:36] <sazma> 2372 didn't have any more info either
[2009/06/30 16:00:42] <crevetor> jrojas: isn't that automatic ?
[2009/06/30 16:01:21] <jrojas> well, yes, but how does it know to use apt over anything else?
[2009/06/30 16:01:57] <crevetor> jrojas: from the fact that it's ubuntu
[2009/06/30 16:02:11] <jrojas> doesnt ubuntu also use dpkg and stuff?
[2009/06/30 16:03:13] <crevetor> apt-get uses dpkg
[2009/06/30 16:03:28] @ Quit: tecto: Read error: 104 (Connection reset by peer)
[2009/06/30 16:03:44] <jrojas> hmm..
[2009/06/30 16:04:20] <jrojas> add tag => testing to the package { declaration and do puppetd -vt --tags testing and see what it says
[2009/06/30 16:05:31] @ Quit: PhabX: "Leaving..."
[2009/06/30 16:08:08] @ PhabX joined channel #puppet
[2009/06/30 16:09:22] <ctso1> crevetor: puppetd -vdt, then look at the exact command it is executing to install it, should tell you (unless it just isn't being triggered at all)
[2009/06/30 16:09:27] <crevetor> jrojas: http://pastebin.com/m28620857
[2009/06/30 16:10:02] <bpgoldsb> If I want to manage a file one way on most nodes(a, b, c), and a different way on node(d), and yet another way on node(e), how should I look to do this?
[2009/06/30 16:10:12] <ctso1> huh, your catalog runs don't even look like they're trying to do anything at all
[2009/06/30 16:12:13] <crevetor> ctso1: this one doesn't but if I don't run it with the --tags testing options it does things
[2009/06/30 16:12:46] <ctso1> bpgoldsb: if you don't mind having separate files, you could do a case statement to set the content/source parameter of the file resource, with the default setting being the one applied to a, b, c. then overrides could be based on something like $hostname in your case statement
[2009/06/30 16:16:21] @ tecto joined channel #puppet
[2009/06/30 16:16:49] @ Quit: matty91: Read error: 110 (Connection timed out)
[2009/06/30 16:18:19] @ martha left channel #puppet ()
[2009/06/30 16:19:44] <bpgoldsb> ctso1, that sounds like a interesting idea.
[2009/06/30 16:20:05] @ Quit: fletch72:
[2009/06/30 16:20:47] @ Quit: gaveen: Success
[2009/06/30 16:22:46] @ gaveen joined channel #puppet
[2009/06/30 16:23:40] @ Quit: nickv1: "Java user signed off"
[2009/06/30 16:23:51] @ nickv5 joined channel #puppet
[2009/06/30 16:26:03] <jrojas> crevetor: notice: Ignoring cache
[2009/06/30 16:26:14] <jrojas> crevetor: your manifest is broken, so its not completing a run it looks like
[2009/06/30 16:26:59] <crevetor> jrojas: how do I know where it is broken ?
[2009/06/30 16:27:36] <jrojas> crevetor: warning: /File[/var/lib/puppet/lib]/source: No specified sources exist
[2009/06/30 16:27:51] <jrojas> err: /File[/var/lib/puppet/lib]/source: Could not describe /plugins: Cannot access mount[plugins]
[2009/06/30 16:28:27] <jrojas> its wherever you are referencing plugins, or that specific dir, what does it do when you run it with tags testing?
[2009/06/30 16:29:03] <crevetor> jrojas: what I pasted
[2009/06/30 16:29:23] <jrojas> ah i see.
[2009/06/30 16:29:29] <jrojas> i misread the above.
[2009/06/30 16:30:11] <jrojas> you could always do: puppetd -vtd |grep -i packagename
[2009/06/30 16:30:19] <jrojas> and see what it does for that package.
[2009/06/30 16:31:41] @ Quit: nwp_: Read error: 110 (Connection timed out)
[2009/06/30 16:31:54] @ mfoster joined channel #puppet
[2009/06/30 16:34:22] <crevetor> jrojas: OK I think I had sytax errors that weren't show because of the plugins problem
[2009/06/30 16:34:24] @ Quit: nickv5: Read error: 104 (Connection reset by peer)
[2009/06/30 16:34:26] @ Quit: nickv: Read error: 104 (Connection reset by peer)
[2009/06/30 16:34:31] <crevetor> It's fixed now :)
[2009/06/30 16:34:34] <crevetor> jrojas: thanks
[2009/06/30 16:34:57] @ mfoster left channel #puppet ()
[2009/06/30 16:35:18] @ Quit: PhabX: "Leaving..."
[2009/06/30 16:35:20] @ pleemans joined channel #puppet
[2009/06/30 16:36:56] @ Quit: themurph: Read error: 104 (Connection reset by peer)
[2009/06/30 16:45:13] @ fzzzt left channel #puppet ()
[2009/06/30 16:49:10] @ cwebber joined channel #puppet
[2009/06/30 16:49:30] @ Quit: fafner_nyc: "Leaving"
[2009/06/30 16:49:36] @ Quit: omry|work: Read error: 110 (Connection timed out)
[2009/06/30 16:53:19] @ Quit: bendsu: "Leaving."
[2009/06/30 16:55:21] @ dsch04 joined channel #puppet
[2009/06/30 16:56:30] @ fbe joined channel #puppet
[2009/06/30 16:57:42] @ Quit: fsweetser: Remote closed the connection
[2009/06/30 16:58:16] @ Quit: fbe: Client Quit
[2009/06/30 16:58:18] @ randybias is now known as randybias|away
[2009/06/30 16:58:19] @ fbe joined channel #puppet
[2009/06/30 16:58:23] @ Quit: crevetor: "leaving"
[2009/06/30 17:00:27] @ mfoster joined channel #puppet
[2009/06/30 17:02:59] @ Quit: D-CoDe: "Leaving."
[2009/06/30 17:07:23] @ JD___ is now known as JD
[2009/06/30 17:07:43] <JD> are there debian packages for 0.25.0b2?
[2009/06/30 17:07:51] <JD> also, shouldn't someone update the topic?
[2009/06/30 17:08:56] @ randybias|away is now known as randybias
[2009/06/30 17:16:32] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/30 17:18:58] @ Quit: lak:
[2009/06/30 17:21:07] @ matty91 joined channel #puppet
[2009/06/30 17:23:27] @ Quit: incommon_ike: "Leaving"
[2009/06/30 17:23:28] @ squiddle joined channel #puppet
[2009/06/30 17:24:33] <squiddle> Hi, i was wondering if it is possible to reference the value for a parameter which was used in a definition? like SomeDefinition["name"]::paramname i couldn
[2009/06/30 17:24:39] <squiddle> 't find sth. in the docs
[2009/06/30 17:35:50] <squiddle> ok i found a message on the mailing list 12.06. "[Puppet Users] Re: Variables in definitions" stating it is not possible :(
[2009/06/30 17:36:56] <Zed1> JD: According to http://packages.debian.org/puppet the latest is 0.24.8-2 in unstable. I don't know about any unofficial packages.
[2009/06/30 17:37:03] @ Quit: matty91_: Read error: 110 (Connection timed out)
[2009/06/30 17:39:51] <ctso1> anyone around do a multi-master setup before?
[2009/06/30 17:40:19] @ Quit: Demosthenes: "leaving"
[2009/06/30 17:40:50] @ Djelibeybi joined channel #puppet
[2009/06/30 17:41:23] @ Demosthenes joined channel #puppet
[2009/06/30 17:42:37] @ gileswwwrk joined channel #puppet
[2009/06/30 17:42:43] <gileswwwrk> evenin puppetiers
[2009/06/30 17:51:07] @ mvn071 joined channel #puppet
[2009/06/30 17:51:40] @ Quit: gileswwwrk: "ChatZilla 0.9.85 [Firefox 3.0.11/2009060215]"
[2009/06/30 17:51:54] @ Quit: hagedorn: "Ex-Chat"
[2009/06/30 17:58:25] @ Quit: gaveen: Connection timed out
[2009/06/30 17:58:56] @ Mode +o jamesturnbull by ChanServ
[2009/06/30 17:59:09] @ gaveen joined channel #puppet
[2009/06/30 18:00:35] @ Quit: kngus: "Leaving."
[2009/06/30 18:01:15] @ jamesturnbull set topic "Puppet 0.25.0beta2 released! http://tinyurl.com/puppet0250b2 | Tickets, bugs and features at http://tinyurl.com/46ryk7"
[2009/06/30 18:04:28] @ Quit: mvn071: "Leaving"
[2009/06/30 18:09:44] @ Quit: flakrat: "Leaving"
[2009/06/30 18:30:11] @ nd33r joined channel #puppet
[2009/06/30 18:31:24] <nd33r> Ok, I have installed PUPPETMASTER (debian) and PUPPET (debian), configured /etc/hosts and exchanged certificates successfully. However, I am now encountering some issues beyond my understanding. Any help is appreciated...
[2009/06/30 18:31:59] <jrojas> nd33r: well, from what you said, no one knows where to start helping you.
[2009/06/30 18:32:19] <nd33r> I have completed the "simplest puppet recipe" where you check and change permissions on the /etc/sudoers file
[2009/06/30 18:32:44] <jrojas> k...
[2009/06/30 18:33:29] <jrojas> does it work?
[2009/06/30 18:33:29] <nd33r> First of all, I'm curious... does the puppetmasterd daemon autmatically "push" out changes to the clients? Please forgive me if my terminology is bad. i'm new to puppet
[2009/06/30 18:33:57] <nd33r> On the client, i get sudo puppetd --verbose
[2009/06/30 18:33:57] <nd33r> sudo: /etc/sudoers is mode 0740, should be 0440
[2009/06/30 18:34:09] <jrojas> no, puppetmaster does no pushing, it is just a standard daemon that is polled by other daemons (clients)
[2009/06/30 18:34:10] <nd33r> I changed the permissions on the file just to test
[2009/06/30 18:34:19] <nd33r> ahh, I see
[2009/06/30 18:34:50] @ Quit: happymcplaksin: Read error: 104 (Connection reset by peer)
[2009/06/30 18:34:55] <nd33r> so, since I changed the permissions on the file, shouldn't it have changed them or is there something I have to do to have this happen.
[2009/06/30 18:34:59] @ happymcplaksin joined channel #puppet
[2009/06/30 18:35:07] <jrojas> is the puppetd daemon running
[2009/06/30 18:35:10] <jrojas> on the client?
[2009/06/30 18:35:17] <nd33r> hmm... let me see
[2009/06/30 18:35:25] <jrojas> can you check syslog for puppet messages?
[2009/06/30 18:36:15] <nd33r> yes, it is running: sudo /etc/init.d/puppet restart
[2009/06/30 18:36:16] <nd33r> sudo: /etc/sudoers is mode 0740, should be 0440
[2009/06/30 18:36:25] <nd33r> ok, checking syslog
[2009/06/30 18:37:49] @ joe-mac left channel #puppet ()
[2009/06/30 18:38:52] @ Quit: Demosthenes: "Lost terminal"
[2009/06/30 18:39:42] <nd33r> puppetd[18496]: Could not request certificate: Certificate retrieval failed: Certificate request does not match existing certificate; run 'puppetca --clean
[2009/06/30 18:40:00] <nd33r> this is from syslog on the client
[2009/06/30 18:41:39] @ matty91_ joined channel #puppet
[2009/06/30 18:42:39] <nd33r> This is also odd... when I restart puppetmaster and run sudo puppetmasterd --verbose
[2009/06/30 18:42:55] <nd33r> i get the following: Could not start WEBrick: Address already in use - bind(2)
[2009/06/30 18:44:38] @ Demosthenes joined channel #puppet
[2009/06/30 18:45:16] <jrojas> nd33r: sounds like puppetmaster is still running, is this all on the same host?
[2009/06/30 18:45:29] <nd33r> no, I have two hosts
[2009/06/30 18:45:35] <nd33r> one a puppetmaster, and one a puppet
[2009/06/30 18:45:39] <jrojas> k
[2009/06/30 18:46:04] <jrojas> the cert message means that either the hostname is showing up differently to puppetmaster, or the cert on puppetmaster changed.
[2009/06/30 18:46:22] <jrojas> on the client do, /etc/init.d/puppet stop
[2009/06/30 18:46:25] <jrojas> make sure it stopped.
[2009/06/30 18:46:39] <jrojas> on the puppetmaster do, puppetca --clean hostname_of_client
[2009/06/30 18:47:24] <jrojas> if that is successful do, puppetd -vt on the client, should just run it once, it wont daemonize.
[2009/06/30 18:47:32] <jrojas> and it will print out all sorts of good logging and such
[2009/06/30 18:48:03] <nd33r> ok, that worked. By the way, on the puppetmaster server, should I have both "puppet" and "puppetmaster" running?
[2009/06/30 18:49:26] <nd33r> member:jrojas: on the client, it did not do any logging, just the same "sudo: /etc/sudoers is mode 0740, should be 0440"
[2009/06/30 18:49:26] <jrojas> depends on what changes you want happening on the puppetmaster.
[2009/06/30 18:49:37] <jrojas> hmm
[2009/06/30 18:49:42] <jrojas> weird.
[2009/06/30 18:50:14] <nd33r> jrojas: remember, I changed the permissions on that file, so the client is recognizing there is a permission issue, which is good i think
[2009/06/30 18:50:30] <jrojas> yes.
[2009/06/30 18:50:48] <nd33r> but, it is not changing it
[2009/06/30 18:51:38] @ Quit: bobbyz_: Read error: 110 (Connection timed out)
[2009/06/30 18:51:44] <jrojas> hmm
[2009/06/30 18:51:57] <jrojas> what does your manifest look like? and is puppet running as puppet or as root?
[2009/06/30 18:52:10] <jrojas> err is puppetd running as a non-root user?
[2009/06/30 18:52:41] <nd33r> no, i used sudo to start it
[2009/06/30 18:53:19] <jrojas> hmm.
[2009/06/30 18:53:24] <nd33r> here's the tutorial i'm following: http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe
[2009/06/30 18:53:51] <jrojas> and its not changing it?
[2009/06/30 18:54:27] <jrojas> in the class sudo, add this: file { "/tmp/jrojas.test": owner => root, group => root, mode => 0400 }
[2009/06/30 18:54:36] <jrojas> and re-run puppetd -vt and see what happens
[2009/06/30 18:55:23] @ Quit: randybias: "Leaving..."
[2009/06/30 18:55:42] @ Quit: tecto:
[2009/06/30 18:55:58] <nd33r> ok, when you asked me to run puppetd -vt, i thought you meant on the client
[2009/06/30 18:56:20] <nd33r> on the host, I get port 8140 error
[2009/06/30 18:56:31] <jrojas> no, i mean running puppetd -vt on the client
[2009/06/30 18:56:34] <jamesturnbull> nd33r: he does mean on the client
[2009/06/30 18:56:38] <nd33r> ok
[2009/06/30 18:58:36] @ Quit: matty91: Read error: 110 (Connection timed out)
[2009/06/30 19:00:13] <nd33r> where can i post the results again? that site for temporary code
[2009/06/30 19:00:24] <nd33r> noob to IRC here
[2009/06/30 19:00:27] <jrojas> pastie.org
[2009/06/30 19:00:56] <nd33r> http://pastie.org/530112
[2009/06/30 19:01:14] <jrojas> you have a problem with plugins
[2009/06/30 19:01:22] <jrojas> just like someone earlier did as well
[2009/06/30 19:01:29] <jrojas> can you pastie all of your manifests?
[2009/06/30 19:02:54] <nd33r> sure, here: http://pastie.org/530115
[2009/06/30 19:04:02] <jrojas> http://pastie.org/530116
[2009/06/30 19:04:03] <jrojas> try that
[2009/06/30 19:05:27] <nd33r> jrojas: do i need to restart puppetmasterd or puppet on client?
[2009/06/30 19:06:03] @ Quit: ezmobius:
[2009/06/30 19:06:03] <jrojas> puppet on the client
[2009/06/30 19:06:13] <jrojas> puppetmaster *should* be compiling things when the request comes in
[2009/06/30 19:06:39] <nd33r> same error
[2009/06/30 19:06:43] <jrojas> hmm
[2009/06/30 19:06:59] <jrojas> whats your puppet.conf on puppetmaster and the puppet client look like?
[2009/06/30 19:08:31] @ matty91 joined channel #puppet
[2009/06/30 19:09:55] <nd33r> jrojas: http://pastie.org/530124
[2009/06/30 19:10:28] <jrojas> remove the pluginsync lines in both files, restart puppetmaster, the run puppetd -vt on the client again.
[2009/06/30 19:10:29] @ madrescher joined channel #puppet
[2009/06/30 19:10:59] <jrojas> back in a second
[2009/06/30 19:12:07] <nd33r> http://pastie.org/530132
[2009/06/30 19:12:09] <nd33r> ok
[2009/06/30 19:12:51] <nd33r> sure enough, it updated the permissions on my sudoers file, fixed them
[2009/06/30 19:14:30] @ Quit: shood: Read error: 60 (Operation timed out)
[2009/06/30 19:18:53] <jrojas> :)
[2009/06/30 19:19:09] <jrojas> dont worry about plugins until you get a larger set of manifests running
[2009/06/30 19:19:21] <jrojas> now you should be able to run puppetd on the client as a daemon
[2009/06/30 19:19:43] <jrojas> now im going to the store...need beer.
[2009/06/30 19:19:53] <nd33r> jrojas: ok so now when i change the permissions again, i get the same thing...
[2009/06/30 19:20:05] <nd33r> sudo puppetd -vt
[2009/06/30 19:20:06] <nd33r> sudo: /etc/sudoers is mode 0770, should be 0440
[2009/06/30 19:20:11] <nd33r> I haven't changed anything
[2009/06/30 19:22:14] <nd33r> jrojas: sudo /etc/init.d/puppet stop
[2009/06/30 19:22:14] <nd33r> sudo: /etc/sudoers is mode 0770, should be 0440
[2009/06/30 19:22:28] <nd33r> odd, can't do anything
[2009/06/30 19:25:27] @ Quit: matty91_: Read error: 110 (Connection timed out)
[2009/06/30 19:28:36] @ Quit: Demosthenes: "leaving"
[2009/06/30 19:28:44] @ Demosthenes joined channel #puppet
[2009/06/30 19:30:40] <jrojas> nd33r: rmeove the everything below puppetmaster in your puppet.conf on the client side
[2009/06/30 19:31:04] <jrojas> nd33r: is the file actually 0440? or is it 0770?
[2009/06/30 19:31:11] <jrojas> when puppet is stopped?
[2009/06/30 19:31:26] <nd33r> jrojas: i think i figured out the problem
[2009/06/30 19:31:47] <nd33r> my hostnames in /etc/hosts on both puppetmaster and puppet were inconsistent
[2009/06/30 19:31:57] <jrojas> that would do it
[2009/06/30 19:31:59] <nd33r> i cleaned and redid them all and everything seems to be fine
[2009/06/30 19:31:59] <jrojas> maybe
[2009/06/30 19:32:02] <jrojas> nice
[2009/06/30 19:32:12] <nd33r> now, one more question for ya
[2009/06/30 19:32:31] <jrojas> 42
[2009/06/30 19:32:52] <nd33r> jrojas: now you should be able to run puppetd on the client as a daemon
[2009/06/30 19:33:03] <nd33r> lol... i'm over my 20 questions eh?
[2009/06/30 19:33:27] <nd33r> is it not running by default?
[2009/06/30 19:33:30] <jrojas> running puppetd -vt runs it once,
[2009/06/30 19:33:36] <jrojas> in a "test" mode
[2009/06/30 19:33:49] <nd33r> ok, how do i run as a daemon?
[2009/06/30 19:33:51] <nd33r> again, noob here
[2009/06/30 19:33:59] <jrojas> the init script should start the daemon that will run in the background and log to syslog
[2009/06/30 19:34:14] <nd33r> ohhhh, i see
[2009/06/30 19:34:29] <nd33r> since it's in the /etc/init.d/ directory, it will run right?
[2009/06/30 19:34:35] <jrojas> umm..
[2009/06/30 19:34:58] <jrojas> not sure about ubuntu , not a fan of debian, but if it still is bases on sysV
[2009/06/30 19:35:13] <jrojas> then if you look in /etc/rc3.d/ there should be a S##puppet
[2009/06/30 19:35:21] @ matty91_ joined channel #puppet
[2009/06/30 19:35:22] <jrojas> that will make it start on startup
[2009/06/30 19:35:42] <jrojas> or is it that upstart thing now?
[2009/06/30 19:35:46] <nd33r> yep, it is there
[2009/06/30 19:36:25] <nd33r> "/etc/rc3.d/S21puppet"
[2009/06/30 19:36:28] <jrojas> k, it should run then
[2009/06/30 19:36:43] <jrojas> reboot your system and find out :)
[2009/06/30 19:36:47] <jrojas> the same should go for puppetmaster
[2009/06/30 19:37:39] <nd33r> thanks a lot for your help! This is going to save me a lot of management time when I'm working with dozens of servers
[2009/06/30 19:37:41] <nd33r> good stuff
[2009/06/30 19:42:45] @ Quit: matty91_:
[2009/06/30 19:45:53] <bpgoldsb> I have an 'exec { newaliases: }' which requires and subscribes to 'File["/etc/aliases"]'. Even when /etc/aliases is not updated, the exec gets run. How do I prevent that?
[2009/06/30 19:46:59] <jrojas> hmm
[2009/06/30 19:47:58] <jrojas> refreshonly => true,
[2009/06/30 19:48:15] <bpgoldsb> Er, derp. Thanks.
[2009/06/30 19:48:19] <bpgoldsb> I should have known that :P
[2009/06/30 19:48:25] <jrojas> bpgoldsb: also, there is a mailalias type
[2009/06/30 19:48:57] <nd33r> jrojas: yeah, not sure what the problem was there
[2009/06/30 19:49:15] <jrojas> ie: mailalias { "root": notify => Exec["newaliases"], recipient => "ops@harmonixmusic.com"; }
[2009/06/30 19:49:47] @ Quit: mfoster: "Leaving."
[2009/06/30 19:49:59] <jrojas> then the exec { "newaliases": command => "/sbin/newaliases", refreshonly => true; }
[2009/06/30 19:50:03] <bpgoldsb> Too bad mailalias doesn't support postfix virtuals :)
[2009/06/30 19:50:10] <jrojas> mine does :P
[2009/06/30 19:50:18] <bpgoldsb> ... natively ;)
[2009/06/30 19:50:18] <jrojas> command => "/usr/sbin/postalias hash:/etc/aliases",
[2009/06/30 19:50:44] <bpgoldsb> I'm in my first 15 hours or so of playing with puppet, so I'm keeping it simple for now.
[2009/06/30 19:50:58] <jrojas> :P
[2009/06/30 19:52:01] @ Quit: claymation:
[2009/06/30 19:52:07] @ Quit: matty91: No route to host
[2009/06/30 19:52:47] <jrojas> ha! i just realized that puppet funding article quotes me saying I still work for geni.com hahahah
[2009/06/30 20:10:46] @ Quit: arubdesu:
[2009/06/30 20:18:10] @ Quit: kolla: Remote closed the connection
[2009/06/30 20:24:15] @ Quit: madrescher: "Leaving."
[2009/06/30 20:26:36] <hMz> its better than adultfriendfinder
[2009/06/30 20:26:51] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/06/30 20:27:26] @ gaveen joined channel #puppet
[2009/06/30 20:30:19] @ tecto joined channel #puppet
[2009/06/30 20:30:58] @ mfoster joined channel #puppet
[2009/06/30 20:31:10] @ Quit: jcesario: Read error: 104 (Connection reset by peer)
[2009/06/30 20:31:10] <jrojas> hMz: heh
[2009/06/30 20:31:22] @ jcesario joined channel #puppet
[2009/06/30 20:31:43] @ Quit: wrobel: Read error: 104 (Connection reset by peer)
[2009/06/30 20:31:57] @ wrobel` joined channel #puppet
[2009/06/30 20:32:47] <nd33r> adultfriendfinder works well from what i hear
[2009/06/30 20:32:54] @ Quit: Nigel: Read error: 104 (Connection reset by peer)
[2009/06/30 20:32:57] @ Nigel joined channel #puppet
[2009/06/30 20:35:15] <jrojas> man, why is it so dead today
[2009/06/30 20:36:18] @ Quit: astinus: Read error: 104 (Connection reset by peer)
[2009/06/30 20:36:35] @ Quit: cwebber:
[2009/06/30 20:38:06] @ astinus joined channel #puppet
[2009/06/30 20:45:44] @ shood joined channel #puppet
[2009/06/30 20:57:06] @ Quit: gaveen: No route to host
[2009/06/30 20:58:11] @ gaveen joined channel #puppet
[2009/06/30 20:58:31] @ justindossey left channel #puppet ()
[2009/06/30 20:59:03] @ Quit: d3vilb0x:
[2009/06/30 21:04:50] @ Quit: WALoeIII: "Bai."
[2009/06/30 21:08:37] @ matty91 joined channel #puppet
[2009/06/30 21:09:55] <nd33r> jrojas: so you know, i've learned that "sudo puppetd -vt" on the client doesn't want to run. I have to be root. However, this may be due to the fact that I'm testing this out on the sudoers file. I think that's part of the problem.
[2009/06/30 21:10:43] <nd33r> jrojas: also, I think the plugins error has to do with the fact that there isn't even a plugins directory on the client or server.
[2009/06/30 21:11:26] <nd33r> jrojas: so when it's enabled, causes some errors. Creating a plugins directory then throws some different errors. Anyway, until I get more experience, i guess i don't need plugins.
[2009/06/30 21:12:40] @ Quit: alfism: "http://opensolaris.com/"
[2009/06/30 21:24:37] @ Quit: fujin:
[2009/06/30 21:27:03] @ Quit: PhatBaja:
[2009/06/30 21:27:33] @ Quit: Demosthenes: "leaving"
[2009/06/30 21:27:44] @ Demosthenes joined channel #puppet
[2009/06/30 21:29:26] @ Quit: squiddle: Read error: 110 (Connection timed out)
[2009/06/30 21:33:28] @ Quit: edmondlo: Read error: 110 (Connection timed out)
[2009/06/30 21:35:07] @ matty91_ joined channel #puppet
[2009/06/30 21:35:38] @ Quit: Bass10: Connection timed out
[2009/06/30 21:37:57] @ Quit: gaveen: No route to host
[2009/06/30 21:39:10] @ gaveen joined channel #puppet
[2009/06/30 21:50:49] @ pinoyskull joined channel #puppet
[2009/06/30 21:51:48] @ Quit: matty91: Read error: 110 (Connection timed out)
[2009/06/30 22:00:22] @ Quit: scylla: "Leaving"
[2009/06/30 22:01:59] @ matty91 joined channel #puppet
[2009/06/30 22:04:25] @ Quit: gaveen: Connection timed out
[2009/06/30 22:05:29] @ gaveen joined channel #puppet
[2009/06/30 22:08:17] @ fujin joined channel #puppet
[2009/06/30 22:09:28] <nd33r> anyone have an idea why i'd get "err: Could not retrieve catalog: Could not find template"
[2009/06/30 22:09:35] <nd33r> when trying to use the ClamAV recipe?
[2009/06/30 22:09:57] <nd33r> err: Could not retrieve catalog: Could not find template clamav/clamd.conf at /etc/puppet/......
[2009/06/30 22:13:56] @ Quit: fujin:
[2009/06/30 22:18:34] <nd33r> http://reductivelabs.com/trac/puppet/wiki/Recipes/ClamAV
[2009/06/30 22:18:40] @ Quit: matty91_: Read error: 110 (Connection timed out)
[2009/06/30 22:19:28] <nd33r> There are "template" references, however the recipe says nothing about templates
[2009/06/30 22:21:07] @ Quit: jtimberman:
[2009/06/30 22:25:16] @ alex2 joined channel #puppet
[2009/06/30 22:28:06] @ Quit: gaveen: No route to host
[2009/06/30 22:28:07] @ justindossey joined channel #puppet
[2009/06/30 22:28:18] @ justindossey left channel #puppet ()
[2009/06/30 22:28:49] @ matty91_ joined channel #puppet
[2009/06/30 22:29:38] @ gaveen joined channel #puppet
[2009/06/30 22:38:54] @ drmikecrowe joined channel #puppet
[2009/06/30 22:41:36] @ Quit: nd33r:
[2009/06/30 22:45:36] @ Quit: matty91: Success
[2009/06/30 22:53:13] @ Quit: londo_: Remote closed the connection
[2009/06/30 22:55:41] @ matty91 joined channel #puppet
[2009/06/30 22:56:48] @ Quit: matty91_: Read error: 60 (Operation timed out)
[2009/06/30 23:09:38] @ joe-mac joined channel #puppet
[2009/06/30 23:10:38] @ londo_ joined channel #puppet
[2009/06/30 23:28:38] @ Quit: londo_: Read error: 110 (Connection timed out)
[2009/06/30 23:29:11] @ fujin joined channel #puppet
[2009/06/30 23:31:46] @ Quit: matty91:
[2009/06/30 23:36:49] @ londo_ joined channel #puppet
[2009/06/30 23:38:46] @ ivan joined channel #puppet
[2009/06/30 23:43:19] @ Quit: gaveen: No route to host
[2009/06/30 23:44:11] @ gaveen joined channel #puppet

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