Tuesday, 2011-12-20

[2011/12/20 00:02:40] @ Log started by gepetto
[2011/12/20 00:02:40] @ csanchez joined channel #puppet
[2011/12/20 00:05:13] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/20 00:05:35] @ miche joined channel #puppet
[2011/12/20 00:11:44] @ Quit: miche: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/20 00:13:35] @ mogwai joined channel #puppet
[2011/12/20 00:14:35] @ Quit: mogitux: Ping timeout: 252 seconds
[2011/12/20 00:15:03] @ JayTaph joined channel #puppet
[2011/12/20 00:15:06] @ ckauhaus joined channel #puppet
[2011/12/20 00:16:13] @ stewart joined channel #puppet
[2011/12/20 00:17:02] <stewart> Hi! I'm trying to set up puppet and in the "puppet agent .... --test" line I get "err: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key" and nothing I've tried that's been recommended by the intergoogles has helped resolve it.
[2011/12/20 00:17:14] <stewart> can somebody please help?
[2011/12/20 00:18:09] @ extraordinaire joined channel #puppet
[2011/12/20 00:18:27] @ Quit: csanchez: Ping timeout: 240 seconds
[2011/12/20 00:19:20] @ mogitux joined channel #puppet
[2011/12/20 00:20:05] @ Quit: mogwai: Ping timeout: 252 seconds
[2011/12/20 00:21:49] @ pmorillon joined channel #puppet
[2011/12/20 00:23:18] <nevyn> stewart: on the server run puppetca --clean "hostnameofserver"
[2011/12/20 00:23:36] <nevyn> stewart: you can get the name that puppet thinks the server has using puppetca --list --all
[2011/12/20 00:24:41] <stewart> nevyn, could it be to do with i was trying the '--test' on the same machine as the master?
[2011/12/20 00:25:15] @ csanchez joined channel #puppet
[2011/12/20 00:27:01] @ Razique joined channel #puppet
[2011/12/20 00:27:17] @ Quit: mpdude: Remote host closed the connection
[2011/12/20 00:27:31] @ inecas joined channel #puppet
[2011/12/20 00:28:16] <stewart> nevyn, that seemed to be it - try it on another host and it works
[2011/12/20 00:28:26] @ Ramonster joined channel #puppet
[2011/12/20 00:30:52] @ Holocaine joined channel #puppet
[2011/12/20 00:31:15] @ larstobi joined channel #puppet
[2011/12/20 00:32:27] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/20 00:35:59] @ octane- joined channel #puppet
[2011/12/20 00:38:40] <stewart> okay... so now i have puppet connecting to the master, but nothing happens. i must be missing something?
[2011/12/20 00:38:57] @ trickyf joined channel #puppet
[2011/12/20 00:39:21] <stewart> huh
[2011/12/20 00:39:28] <stewart> something seems to not like a symlink
[2011/12/20 00:40:28] @ Quit: ghanima: Quit: Leaving.
[2011/12/20 00:41:29] @ cirbri joined channel #puppet
[2011/12/20 00:41:39] @ wilmoore joined channel #puppet
[2011/12/20 00:43:23] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 00:45:18] @ csanchez joined channel #puppet
[2011/12/20 00:58:24] @ Vasik|work joined channel #puppet
[2011/12/20 01:00:44] @ mogitaff joined channel #puppet
[2011/12/20 01:01:03] @ sdog joined channel #puppet
[2011/12/20 01:01:10] @ lanky joined channel #puppet
[2011/12/20 01:01:39] @ Quit: sdog: Changing host
[2011/12/20 01:01:39] @ sdog joined channel #puppet
[2011/12/20 01:02:14] @ Quit: Demosthenes: Ping timeout: 248 seconds
[2011/12/20 01:03:51] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 01:05:26] @ csanchez joined channel #puppet
[2011/12/20 01:08:20] @ Quit: extraordinaire: Quit: extraordinaire
[2011/12/20 01:08:40] @ vinoth joined channel #puppet
[2011/12/20 01:09:38] @ Quit: vinoth: Client Quit
[2011/12/20 01:11:44] @ stephenh joined channel #puppet
[2011/12/20 01:12:01] @ larstobi1 joined channel #puppet
[2011/12/20 01:12:36] @ Quit: larstobi: Read error: Connection reset by peer
[2011/12/20 01:14:31] <stephenh> hello
[2011/12/20 01:14:50] <stephenh> i'm trying to distribute a file only if required but can't an option for this
[2011/12/20 01:15:00] @ Meier joined channel #puppet
[2011/12/20 01:15:22] @ Quit: larstobi1: Read error: Connection reset by peer
[2011/12/20 01:15:31] @ larstobi joined channel #puppet
[2011/12/20 01:15:42] <stephenh> basically i've made a module that installs a package from a repository, so would like the .repo downloaded to the client only if the client is going to install the package. i've already made the package require the file, but the file is being pushed to hosts that don't have the package in their node definition
[2011/12/20 01:15:49] @ jonhattan joined channel #puppet
[2011/12/20 01:15:55] @ Quit: KaZeR_W: Read error: Connection reset by peer
[2011/12/20 01:16:33] <codec> can someone hint me how to properly debug a 'failed to apply catalog'?
[2011/12/20 01:16:47] <codec> looking at the module manifest doesnt help at all, nothing that adds up to the error.
[2011/12/20 01:16:48] <ssm> codec: check syslog on both master and node
[2011/12/20 01:16:56] <stephenh> i think i may need to look at the onlyif statement, but not sure?
[2011/12/20 01:17:09] <stephenh> or rather, not sure how i would use it
[2011/12/20 01:17:41] @ extraordinaire joined channel #puppet
[2011/12/20 01:18:18] <mzi> stephenh: you should probably check "defined()"
[2011/12/20 01:18:21] <codec> ssm: syslog on master is useless, applying fails, not compilation.
[2011/12/20 01:18:42] <codec> ssm: and syslog on the client isnt helpful either as the error message doesnt give a clue what is actually going wrong
[2011/12/20 01:19:01] <codec> it's just: Failed to apply catalog: Parameter options failed: Option is not valid. A single option must either be of the form 'option' or 'option="value". Multiple options must be provided as an array
[2011/12/20 01:19:11] <codec> which is fine, but there is no parameter options anywhere in the module
[2011/12/20 01:19:50] <ssm> codec: notice the two spaces after "Option". Something expands to an empty string somewhere.
[2011/12/20 01:19:55] @ omry__ joined channel #puppet
[2011/12/20 01:20:20] @ KaZeR_W joined channel #puppet
[2011/12/20 01:21:19] @ Demosthenes joined channel #puppet
[2011/12/20 01:21:46] <codec> ssm: thats as far as i got. i can't locate the broken "options" parameter in my manifests
[2011/12/20 01:21:58] @ Quit: omry_: Ping timeout: 255 seconds
[2011/12/20 01:22:03] <codec> (as in: there is none)
[2011/12/20 01:22:30] <ssm> codec: that could take time to reproduce. Try applying with "puppet agent --test --noop --tags some_class", and vary the class until you find the culprit.
[2011/12/20 01:22:35] <ssm> there are implicit tags for everything, to help you drill down.
[2011/12/20 01:22:43] <mzi> not even a "from=" or similiar in a ssh_key type?
[2011/12/20 01:22:43] @ brtl joined channel #puppet
[2011/12/20 01:23:10] * ssm assumes, of course, that --tag will make puppet skip parts of the catalog with problems
[2011/12/20 01:23:18] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 01:24:02] @ nan0r joined channel #puppet
[2011/12/20 01:24:02] <mzi> ssm: there are a thread on puppet-users for 2.7.3 if you google for the error message.
[2011/12/20 01:24:15] <ssm> mzi: thanks
[2011/12/20 01:25:37] @ csanchez joined channel #puppet
[2011/12/20 01:26:00] <codec> mzi: doesnt look like it
[2011/12/20 01:27:07] @ Quit: larstobi: Ping timeout: 240 seconds
[2011/12/20 01:27:09] <codec> ssm: and --tags isnt helping as it doesnt even get to the point where it looks for tags
[2011/12/20 01:27:53] @ Quit: nan0r: Read error: Connection reset by peer
[2011/12/20 01:28:11] <ssm> mzi: codec: http://comments.gmane.org/gmane.comp.sysutils.puppet.user/33429 looks like it covers this.
[2011/12/20 01:28:27] <stephenh> mzi: i'll have a look.. was just thinking, perhaps i need to define this file as a virtual resource? i made a class called yum_repos and going to stick .repo files in there and would like them pushed to client only if they are installing a package that requires it
[2011/12/20 01:28:42] <codec> ssm: i'm on 2.7.6
[2011/12/20 01:28:42] <mzi> #9046
[2011/12/20 01:28:42] <gepetto> mzi: #9046 is http://projects.puppetlabs.com/issues/show/9046 "Puppet - Bug #9046: Problem validating options property of the ssh_authorized_key type.. It has a status of Duplicate and is assigned to -"
[2011/12/20 01:28:48] <stephenh> so would a virtual resource be the way to go, or define?
[2011/12/20 01:29:28] @ lkoranda joined channel #puppet
[2011/12/20 01:29:44] <codec> ssm: mzi: but --trace is awsome, it seems to be a problem with an ssh_auth_key resource indeed
[2011/12/20 01:29:48] @ sebnash joined channel #puppet
[2011/12/20 01:29:52] <codec> thanks a lot
[2011/12/20 01:29:54] <stephenh> (think the reason it's being pushed to client at the moment is called in my default class i've included yum_repos which i thought would just be referenced as i didn't put ensure => present)
[2011/12/20 01:32:04] <codec> ssm: mzi: got it, yay \o/ thanks (:
[2011/12/20 01:32:24] @ Quit: mogitaff: Remote host closed the connection
[2011/12/20 01:34:34] @ mogitaff joined channel #puppet
[2011/12/20 01:35:31] @ Quit: mogitaff: Client Quit
[2011/12/20 01:35:56] @ mogitaff joined channel #puppet
[2011/12/20 01:36:25] <mzi> codec: there seems to be a fix in #7114 as well.
[2011/12/20 01:36:26] <gepetto> mzi: codec: #7114 is http://projects.puppetlabs.com/issues/show/7114 "Puppet - Bug #7114: ssh_authorized_key not moving key from one target to another. It has a status of Closed and is assigned to Jacob Helwig"
[2011/12/20 01:36:43] <mzi> so if it's not merged, you can patch it yourself.
[2011/12/20 01:36:51] <codec> mzi: thanks, i'll check that
[2011/12/20 01:37:06] <codec> mzi: it was one of my other manifests that triggered this problem.. gotta see why, works on all other nodes (all running 2.7.6)
[2011/12/20 01:37:41] <mzi> I think it was released in 2.7.4, so 2.7.6 should not be affected.
[2011/12/20 01:39:27] <ssm> :)
[2011/12/20 01:41:07] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/20 01:42:00] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 01:43:42] @ csanchez joined channel #puppet
[2011/12/20 01:50:54] @ Kazuhiro1 joined channel #puppet
[2011/12/20 01:51:14] @ henk joined channel #puppet
[2011/12/20 01:51:18] <henk> hi
[2011/12/20 01:52:17] @ The-Bat joined channel #puppet
[2011/12/20 01:55:58] @ ben_duyujie joined channel #puppet
[2011/12/20 01:57:15] @ ernestas joined channel #puppet
[2011/12/20 01:58:00] @ erthad joined channel #puppet
[2011/12/20 01:58:44] @ Quit: wilmoore: Remote host closed the connection
[2011/12/20 02:00:09] @ nan0r joined channel #puppet
[2011/12/20 02:00:14] @ Quit: nan0r: Read error: Connection reset by peer
[2011/12/20 02:00:21] @ nan0r joined channel #puppet
[2011/12/20 02:00:24] @ ^Majestic^ joined channel #puppet
[2011/12/20 02:01:38] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 02:02:48] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/12/20 02:03:46] @ csanchez joined channel #puppet
[2011/12/20 02:04:49] @ ben_duyujie left channel #puppet ()
[2011/12/20 02:07:36] @ Quit: erthad: Changing host
[2011/12/20 02:07:36] @ erthad joined channel #puppet
[2011/12/20 02:10:46] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 02:10:58] @ The-Bat joined channel #puppet
[2011/12/20 02:10:59] @ dylants joined channel #puppet
[2011/12/20 02:12:06] @ Quit: choonming: Quit: Leaving
[2011/12/20 02:19:06] @ sihil joined channel #puppet
[2011/12/20 02:20:05] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/20 02:21:07] @ thesharp joined channel #puppet
[2011/12/20 02:21:33] @ Quit: sdog: Quit: Leaving.
[2011/12/20 02:21:40] <fim> is there any way to modify file's 'ensure => present' in order to create directory instead of files?
[2011/12/20 02:22:15] <kjetilho> ensure => directory ...
[2011/12/20 02:22:15] @ super71 joined channel #puppet
[2011/12/20 02:22:16] @ Quit: super7: Read error: Connection reset by peer
[2011/12/20 02:22:22] @ sdog joined channel #puppet
[2011/12/20 02:22:32] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 02:23:34] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/20 02:23:49] <fim> kjetilho: I want it to match both links and directories so I'm using ensure => present. The only issue is that if it's not there the default is to create an empty file
[2011/12/20 02:23:53] @ csanchez joined channel #puppet
[2011/12/20 02:24:04] @ jodok joined channel #puppet
[2011/12/20 02:24:05] @ Quit: jodok: Changing host
[2011/12/20 02:24:05] @ jodok joined channel #puppet
[2011/12/20 02:25:14] @ Quit: xjiujiu: Read error: Connection reset by peer
[2011/12/20 02:25:50] @ Quit: sdog: Changing host
[2011/12/20 02:25:50] @ sdog joined channel #puppet
[2011/12/20 02:26:30] <kjetilho> fim: do you want a directory or not?
[2011/12/20 02:27:06] @ danblack joined channel #puppet
[2011/12/20 02:28:14] @ piezo joined channel #puppet
[2011/12/20 02:28:28] @ fronlius joined channel #puppet
[2011/12/20 02:28:28] <fim> kjetilho: yes but sometimes I need a symlink instead. So in short, I want to leave it be if it's a dir or a symlink and if it's not there to create a dir
[2011/12/20 02:29:21] <_flex> fim: replace => false,
[2011/12/20 02:31:04] <fim> _flex: ah, thanks. That makes sense :)
[2011/12/20 02:31:08] @ X99 joined channel #puppet
[2011/12/20 02:34:14] @ larstobi joined channel #puppet
[2011/12/20 02:34:22] @ super71 left channel #puppet ()
[2011/12/20 02:34:54] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/20 02:36:16] <R1ck> can I run puppet agent -t in some kind of a debug mode to see exactly what manifest it is applying and what lines it is processing?
[2011/12/20 02:37:04] <henk> yes
[2011/12/20 02:38:38] @ Quit: piezo: Remote host closed the connection
[2011/12/20 02:39:51] @ piezo joined channel #puppet
[2011/12/20 02:40:14] @ Spads_ joined channel #puppet
[2011/12/20 02:40:16] @ Quit: piezo: Remote host closed the connection
[2011/12/20 02:41:09] @ piezo joined channel #puppet
[2011/12/20 02:41:51] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 02:43:07] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/20 02:43:19] @ Quit: piezo: Remote host closed the connection
[2011/12/20 02:43:26] <R1ck> puppet seems to only partially apply a class :S
[2011/12/20 02:44:00] @ csanchez joined channel #puppet
[2011/12/20 02:44:13] @ mpdude joined channel #puppet
[2011/12/20 02:44:19] @ piezo joined channel #puppet
[2011/12/20 02:44:29] @ Quit: piezo: Remote host closed the connection
[2011/12/20 02:44:51] <henk> R1ck: If you want help, you need to rephrase…
[2011/12/20 02:44:52] @ Quit: ^conner: Ping timeout: 276 seconds
[2011/12/20 02:44:55] @ Quit: Spads_: Client Quit
[2011/12/20 02:45:11] @ Spads joined channel #puppet
[2011/12/20 02:46:05] <R1ck> I know, I'm vague.. I have in my templates.pp "node default { include baseclass }" and "class baseclass { include puppet, ntp, snmpd, apt, ssh, vim, screen, checkraid }"
[2011/12/20 02:46:25] <R1ck> it doesnt apply the apt class, but it does apply the ssh class
[2011/12/20 02:46:59] <R1ck> oh, it doesnt seem to apply checkraid either
[2011/12/20 02:47:06] @ johnston_ joined channel #puppet
[2011/12/20 02:49:13] @ piezo joined channel #puppet
[2011/12/20 02:50:25] @ |Majestic| joined channel #puppet
[2011/12/20 02:50:39] @ erthad left channel #puppet ()
[2011/12/20 02:52:18] <henk> R1ck: What I meant was: Phrase a smart _question_ if you want help. Don’t just state what happens. The people you would want help from don’t react on that mostly…
[2011/12/20 02:52:24] @ ^conner joined channel #puppet
[2011/12/20 02:53:08] @ Quit: ^Majestic^: Ping timeout: 240 seconds
[2011/12/20 02:53:18] <R1ck> "why aren't the other classes applied"
[2011/12/20 02:54:46] @ Quit: piezo: Remote host closed the connection
[2011/12/20 02:55:24] <henk> hm, never mind… I’m trying to change the world again when I should just STFU…
[2011/12/20 02:55:30] @ erthad joined channel #puppet
[2011/12/20 02:55:55] <bd> henk: how's that working for you, changing the world? *scnr*
[2011/12/20 02:56:31] @ Xtrapni left channel #puppet ()
[2011/12/20 02:56:36] @ piezo joined channel #puppet
[2011/12/20 02:56:37] @ Quit: piezo: Excess Flood
[2011/12/20 02:57:06] @ piezo joined channel #puppet
[2011/12/20 02:57:07] <henk> bd: Well, not too good… It doesn’t want me to. At least very big parts of it…
[2011/12/20 03:02:02] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 03:03:04] @ Quit: _flex: Remote host closed the connection
[2011/12/20 03:03:48] @ Quit: erthad: Changing host
[2011/12/20 03:03:48] @ erthad joined channel #puppet
[2011/12/20 03:04:02] @ csanchez joined channel #puppet
[2011/12/20 03:04:50] @ Quit: larstobi: Quit: Leaving.
[2011/12/20 03:08:38] @ larstobi joined channel #puppet
[2011/12/20 03:10:16] @ Quit: larstobi: Remote host closed the connection
[2011/12/20 03:11:10] @ larstobi joined channel #puppet
[2011/12/20 03:12:21] @ larstobi1 joined channel #puppet
[2011/12/20 03:14:35] @ Quit: sdog: Quit: Leaving.
[2011/12/20 03:15:03] <henk> Any recommendations on how to clean the storeconfigs database of expired exported resources? i.e. hosts
[2011/12/20 03:15:20] <henk> that are no longer managed by puppet.
[2011/12/20 03:16:17] @ Quit: larstobi: Ping timeout: 268 seconds
[2011/12/20 03:16:40] @ Quit: Enf: Quit: Leaving
[2011/12/20 03:16:43] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 03:16:54] @ The-Bat joined channel #puppet
[2011/12/20 03:19:33] <duritong> henk: http://projects.puppetlabs.com/issues/1886 - https://github.com/duritong/puppet/tree/tickets/2.7.x/1886
[2011/12/20 03:20:17] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 03:20:21] @ erthad left channel #puppet ()
[2011/12/20 03:20:44] @ erthad joined channel #puppet
[2011/12/20 03:21:23] <henk> duritong: thanks :)
[2011/12/20 03:22:11] @ csanchez joined channel #puppet
[2011/12/20 03:22:29] @ ecolitan joined channel #puppet
[2011/12/20 03:22:30] @ Quit: erthad: Changing host
[2011/12/20 03:22:30] @ erthad joined channel #puppet
[2011/12/20 03:28:53] @ joelio joined channel #puppet
[2011/12/20 03:30:01] <joelio> I'm sure this is a simple answer, but I'm having trouble declating a custom define (append if no such line text pattern). I keep getting 'Invalid resource type line'
[2011/12/20 03:30:18] <joelio> I've even tried to use stages so that the module with the define in is loaded first
[2011/12/20 03:30:21] <joelio> any ideas?
[2011/12/20 03:32:25] <henk> duritong: Does that integrate into puppet or just work with puppet? AFAIU the bug, it’s modifying puppet itself, is that correct?
[2011/12/20 03:35:11] @ Quit: Ratler: Ping timeout: 252 seconds
[2011/12/20 03:35:34] <henk> joelio: Yes: paste.
[2011/12/20 03:36:37] @ Callek joined channel #puppet
[2011/12/20 03:40:13] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 03:40:15] @ choonming joined channel #puppet
[2011/12/20 03:41:55] @ sdog joined channel #puppet
[2011/12/20 03:42:15] @ csanchez joined channel #puppet
[2011/12/20 03:44:35] @ Quit: Holocaine:
[2011/12/20 03:44:38] @ Spads_ joined channel #puppet
[2011/12/20 03:46:12] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/20 03:46:56] <joelio> henk: I've done it with just a straight exec for now, I noticed that the pattern on the webiste is wrong too.. the grep was giving me the wrong exit status, even when text was found.
[2011/12/20 03:47:18] <joelio> grep -qFx content file - always give echo $? == 1
[2011/12/20 03:47:44] <joelio> grep content file - gives echo $? == 0
[2011/12/20 03:49:43] <joelio> muist be some strangeness on my line
[2011/12/20 03:50:47] <henk> joelio: That is not a paste… Just more stuff no one will understand without seeing what you did and what went wrong.
[2011/12/20 03:50:50] @ Quit: johnston_: Quit: Page closed
[2011/12/20 03:51:09] <henk> joelio: http://www.catb.org/~esr/faqs/smart-questions.html maybe that helps
[2011/12/20 03:51:52] <joelio> henk: I don't have time today, it';s working for my use case now
[2011/12/20 03:51:58] <joelio> thanks anyway :)
[2011/12/20 03:54:27] @ _flex joined channel #puppet
[2011/12/20 03:54:50] @ Quit: nan0r: Quit: Leaving.
[2011/12/20 03:55:08] @ carlasouza joined channel #puppet
[2011/12/20 03:57:35] @ slash24 joined channel #puppet
[2011/12/20 03:58:39] @ Quit: Guest53940: Read error: Connection reset by peer
[2011/12/20 04:00:26] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 04:01:25] @ Quit: larstobi1: Remote host closed the connection
[2011/12/20 04:01:34] @ larstobi joined channel #puppet
[2011/12/20 04:01:35] @ nan0r joined channel #puppet
[2011/12/20 04:02:22] @ csanchez joined channel #puppet
[2011/12/20 04:02:32] @ Quit: fronlius: Quit: fronlius
[2011/12/20 04:03:11] @ Quit: larstobi: Remote host closed the connection
[2011/12/20 04:03:38] @ Quit: sdog: Changing host
[2011/12/20 04:03:38] @ sdog joined channel #puppet
[2011/12/20 04:04:09] @ natewalck joined channel #puppet
[2011/12/20 04:13:50] <duritong> henk: it's patch to integrate it with puppet. but you can actually copy the face just to your puppet installation
[2011/12/20 04:13:54] @ Quit: mpdude: Read error: Connection timed out
[2011/12/20 04:14:33] @ mpdude joined channel #puppet
[2011/12/20 04:16:00] @ dylants joined channel #puppet
[2011/12/20 04:16:03] @ kwillaert joined channel #puppet
[2011/12/20 04:20:37] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 04:21:36] @ kermit joined channel #puppet
[2011/12/20 04:22:02] @ kermit is now known as Guest19518
[2011/12/20 04:22:24] @ csanchez joined channel #puppet
[2011/12/20 04:23:13] @ Quit: raphink: Ping timeout: 252 seconds
[2011/12/20 04:23:41] @ ranjibd joined channel #puppet
[2011/12/20 04:26:43] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 04:26:55] @ The-Bat joined channel #puppet
[2011/12/20 04:28:30] @ Quit: Spads_: Quit: lunching with laptop off for a rest
[2011/12/20 04:28:42] @ Quit: __igor__: Remote host closed the connection
[2011/12/20 04:30:45] @ Quit: The-Bat: Client Quit
[2011/12/20 04:30:57] @ The-Bat joined channel #puppet
[2011/12/20 04:31:26] @ blackbull joined channel #puppet
[2011/12/20 04:31:33] @ blackbull left channel #puppet ()
[2011/12/20 04:35:36] @ aslan joined channel #puppet
[2011/12/20 04:36:09] @ aslan is now known as Aslan
[2011/12/20 04:36:17] <jonhattan> is there a way to use arrays in conditionals? ie: hosts=['a', 'b', 'c'] ... if '127.0.0.1' in hosts: ...
[2011/12/20 04:37:29] <duritong> jonhattan: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/member.rb
[2011/12/20 04:37:44] <ohadlevy> jonhattan: or using inline_template
[2011/12/20 04:38:37] <henk> duritong: hm, ok, thanks. I’ll see if I understand how to integrate it :)
[2011/12/20 04:38:37] <jonhattan> thanks both
[2011/12/20 04:38:49] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 04:40:06] <octe> does ensure => link for a file ensure that the file is only a link or that it actually points to the specified target?
[2011/12/20 04:40:28] @ csanchez joined channel #puppet
[2011/12/20 04:40:53] @ niko left channel #puppet ()
[2011/12/20 04:42:36] <henk> octe: strange question, no?
[2011/12/20 04:42:38] @ Quit: X99: Read error: Connection reset by peer
[2011/12/20 04:42:42] <octe> henk, how so?
[2011/12/20 04:43:35] <henk> octe: Because you say that you specify a target?
[2011/12/20 04:43:43] <octe> yes
[2011/12/20 04:44:06] <octe> i have a memory of being bitten by the fact that puppet only ensured it was a symlink to something
[2011/12/20 04:44:13] <octe> but i'm wondering if i'm misremembering
[2011/12/20 04:45:16] <henk> Never ran into that, but it’s not too hard to test that…
[2011/12/20 04:50:44] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 04:50:56] @ The-Bat joined channel #puppet
[2011/12/20 04:51:29] @ Quit: Kazuhiro1: Quit: Leaving.
[2011/12/20 04:51:55] @ Quit: AshishH: Remote host closed the connection
[2011/12/20 04:58:57] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 04:59:39] @ Quit: carlasouza: Quit: WeeChat 0.3.4
[2011/12/20 04:59:54] @ carlasouza joined channel #puppet
[2011/12/20 05:00:36] @ csanchez joined channel #puppet
[2011/12/20 05:07:51] @ Quit: KaZeR_W: Remote host closed the connection
[2011/12/20 05:08:39] @ tmclaugh joined channel #puppet
[2011/12/20 05:13:05] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2011/12/20 05:13:47] @ Quit: jonhattan: Ping timeout: 240 seconds
[2011/12/20 05:16:56] @ Quit: bobra: Ping timeout: 240 seconds
[2011/12/20 05:17:01] @ rly joined channel #puppet
[2011/12/20 05:17:36] @ gniks joined channel #puppet
[2011/12/20 05:18:42] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 05:19:09] <rly> What does simulating a system mean? The website says that like everywhere, but what does it mean here?
[2011/12/20 05:19:11] @ raphink joined channel #puppet
[2011/12/20 05:19:16] @ Quit: swygue: Ping timeout: 240 seconds
[2011/12/20 05:19:34] @ dbgster joined channel #puppet
[2011/12/20 05:19:44] <rly> I don't see it happening that it knows beforehand that a certain package will fail to build or will fail to install for some random reason.
[2011/12/20 05:20:38] <henk> rly: context?
[2011/12/20 05:20:41] @ csanchez joined channel #puppet
[2011/12/20 05:20:48] <rly> henk: http://puppetlabs.com/puppet/how-puppet-works/
[2011/12/20 05:20:56] <rly> henk: for example it says 'simulate and deploy'.
[2011/12/20 05:21:09] <rly> henk: in the picture
[2011/12/20 05:22:25] <joe-mac> rly: it builds the graph and catalog so theoretically you can test that
[2011/12/20 05:22:36] <joe-mac> it's not saying puppet does the testing for you
[2011/12/20 05:22:59] <joe-mac> you can test in a variety of ways
[2011/12/20 05:24:35] @ Quit: dbgster: Quit: dbgster
[2011/12/20 05:26:17] @ Quit: joe-mac: Remote host closed the connection
[2011/12/20 05:26:42] @ Quit: MattyM: Remote host closed the connection
[2011/12/20 05:26:46] @ Spads joined channel #puppet
[2011/12/20 05:26:52] @ Quit: Spads: Changing host
[2011/12/20 05:26:52] @ Spads joined channel #puppet
[2011/12/20 05:26:54] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/12/20 05:27:09] @ Quit: nan0r: Ping timeout: 245 seconds
[2011/12/20 05:27:39] @ krish joined channel #puppet
[2011/12/20 05:28:25] <krish> hi, i have this package resource type with - name => "mypackage-${::architecture}",
[2011/12/20 05:28:52] <krish> it yields to mypackage-x86_64 while running on client
[2011/12/20 05:28:55] @ Quit: gniks: Quit: Leaving.
[2011/12/20 05:29:03] <krish> and fails because package is mypackage-amd64
[2011/12/20 05:29:11] <krish> i have upgraded facter 1.6.3 to 1.6.4
[2011/12/20 05:29:16] <krish> any help here?
[2011/12/20 05:29:41] <henk> With what?
[2011/12/20 05:30:03] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 05:30:08] <krish> facter --puppet | grep '\(archit\|facterv\|operatings\)'
[2011/12/20 05:30:09] @ The-Bat joined channel #puppet
[2011/12/20 05:30:09] <krish> architecture => amd64
[2011/12/20 05:30:09] <krish> facterversion => 1.6.4
[2011/12/20 05:30:16] <krish> shouldn't it be resolving to amd64?
[2011/12/20 05:30:20] @ fronlius joined channel #puppet
[2011/12/20 05:30:23] <krish> henk: with this ^
[2011/12/20 05:30:57] <ssm> krish: did this appear when you upgraded from 1.6.3 to 1.6.4_
[2011/12/20 05:31:04] <krish> nope
[2011/12/20 05:31:10] <krish> it appeared so i upgraded
[2011/12/20 05:31:16] @ Quit: Demosthenes: Quit: leaving
[2011/12/20 05:31:16] <rly> job: how can you test it then?
[2011/12/20 05:31:21] <krish> i read here - http://projects.puppetlabs.com/projects/facter/wiki
[2011/12/20 05:31:34] <krish> that 1.6.3 architecture fact was depending on hardware type
[2011/12/20 05:31:39] <rly> Er, how can you test a graph and catalog?
[2011/12/20 05:31:50] <krish> which resolves to x86_64
[2011/12/20 05:31:55] <krish> so i upgraded to 1.6.4
[2011/12/20 05:31:56] @ Ratler joined channel #puppet
[2011/12/20 05:32:06] <rly> Can you specify a complete server (including kernel version) and really everything in any reasonable amount of time?
[2011/12/20 05:32:13] <krish> my other machines have 1.6.4 and puppetd -t run correctly resolves it to amd64
[2011/12/20 05:32:36] <krish> or it doesnt! i dont know yet.. not checked.. they are prod machines
[2011/12/20 05:32:43] <rly> Or is it common that deploying a puppet configuration takes 10 hours?
[2011/12/20 05:32:45] <krish> i need to finish testing on this machine and then deploy to prod
[2011/12/20 05:32:55] <crayfishx> 10 hours?
[2011/12/20 05:32:56] <ptman> you can use a hash to rewrite that: $arch_hash = { 'x86_64' => 'amd64', 'x86' => 'i386' }, name => "mypackage-${myhash[$architecture]}"
[2011/12/20 05:32:56] <crayfishx> wow
[2011/12/20 05:32:58] <rly> (because Ubuntu upgrades take 15 hours)
[2011/12/20 05:32:58] <ssm> funny - "facter architecture" yields "amd64", while it says "architecture: x86_64" in yaml/facts/foo.example.com.yaml on the master...
[2011/12/20 05:32:59] <ptman> or something similar
[2011/12/20 05:33:02] <crayfishx> I thought ours was slow
[2011/12/20 05:33:24] <rly> crayfishx: I have a lot of stuff installed.
[2011/12/20 05:33:33] <rly> crayfishx: and this was not my high-end machine.
[2011/12/20 05:34:06] <rly> How does puppet handle messages like 'the configuration of foo configuration file has changed'?
[2011/12/20 05:34:30] <rly> In Ubuntu it is _extremely_ annoying that it doesn't list all those changes in one go.
[2011/12/20 05:34:38] @ nan0r joined channel #puppet
[2011/12/20 05:34:46] <ssm> rly: how do you give that message to puppet?
[2011/12/20 05:34:52] @ Quit: The-Bat: Client Quit
[2011/12/20 05:35:04] @ The-Bat joined channel #puppet
[2011/12/20 05:35:12] <ssm> rly: ah, from prompting during package upgrades. Sorry :)
[2011/12/20 05:35:23] <rly> ssm: right, those messages.
[2011/12/20 05:35:30] <rly> ssm: how does puppet solve that?
[2011/12/20 05:35:31] <ssm> rly: puppet runs with a number of options telling dpkg to keep the old files
[2011/12/20 05:35:48] <ssm> er, puppet runs dpkg /apt wit those options
[2011/12/20 05:35:52] <rly> ssm: but how would you know whether it would still run then?
[2011/12/20 05:36:21] <rly> ssm: you test it, I suppose, but perhaps in one of those thousands of packages there is some critical configuration change.
[2011/12/20 05:36:23] @ X99 joined channel #puppet
[2011/12/20 05:36:27] @ kelseyhightower joined channel #puppet
[2011/12/20 05:36:36] <rly> I think the major problem is that packages are not backwards compatible.
[2011/12/20 05:36:40] @ marczak joined channel #puppet
[2011/12/20 05:36:55] @ Quit: The-Bat: Client Quit
[2011/12/20 05:37:13] @ The-Bat joined channel #puppet
[2011/12/20 05:37:14] <bd> well, that is why you have a staging environment where you test that
[2011/12/20 05:37:22] <ssm> rly: you test it, and if there are differences, you can make a fact for the "useless" package with "uselessd_version", and serve different configuration based on that.
[2011/12/20 05:37:55] <rly> bd: but how long does it take to do one test?
[2011/12/20 05:38:14] <ssm> but using puppet to do untested and unattended distribution upgrades on a production system? Please do not.
[2011/12/20 05:38:23] <rly> bd: if it takes literally hours to do a test and make a small change and try again, it seems it is still horrible.
[2011/12/20 05:38:37] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 05:38:51] <ssm> rly: That's a "how long is a piece of string?" type of question :D
[2011/12/20 05:38:54] @ Quit: The-Bat: Client Quit
[2011/12/20 05:39:06] @ The-Bat joined channel #puppet
[2011/12/20 05:39:17] <rly> ssm: how long does a memory write take is "on the order of nanoseconds".
[2011/12/20 05:39:34] <bd> rly: our first run times are something about 500 seconds. and that is on debian stable, where we bootstrap a minimal image that can run puppet e.g. rouglhy 300MB. ang the 500 seconds include setting up a complete gnome environment.
[2011/12/20 05:39:36] <rly> ssm: how long does a change take is "on the order of minutes vs hours vs days".
[2011/12/20 05:39:42] <bd> rly: later changes take normaly < 10 seconds
[2011/12/20 05:39:58] <bd> rly: rolling out java doesn't take a minute
[2011/12/20 05:40:08] <rly> bd: how come the later changes take < 10 seconds?
[2011/12/20 05:40:22] <bd> rly: they just do?
[2011/12/20 05:40:36] <bd> rly: pupept only needs to install the differences?
[2011/12/20 05:40:38] <rly> bd: ok, so you have Debian running in a VM.
[2011/12/20 05:40:42] <bd> no
[2011/12/20 05:40:46] @ csanchez joined channel #puppet
[2011/12/20 05:40:58] <bd> all on good ol' real hardware
[2011/12/20 05:41:13] * bd .oO( you kids and your "virtualization") *scnr*
[2011/12/20 05:41:19] <rly> bd: ok, and is it never the case that for some reason that it decides to drop the connection?
[2011/12/20 05:41:50] <bd> rly: the agent runs every 30 minutes
[2011/12/20 05:42:02] <rly> bd: and does it undo things when it cannot connect?
[2011/12/20 05:42:06] <bd> rly: during a run I have not seen a connection drop
[2011/12/20 05:42:34] @ Quit: X99: Read error: Connection reset by peer
[2011/12/20 05:42:35] <bd> rly: it'dosn't undo anything
[2011/12/20 05:42:43] <bd> rly: at least I haven't seen it ;)
[2011/12/20 05:42:53] @ Quit: The-Bat: Client Quit
[2011/12/20 05:43:01] <rly> bd: do you know NixOS?
[2011/12/20 05:43:05] @ The-Bat joined channel #puppet
[2011/12/20 05:43:08] <bd> rly: nope
[2011/12/20 05:43:20] <rly> It seems that Puppet tries to solve a similar problem.
[2011/12/20 05:43:38] <rly> It just does it by not inventing new package formats.
[2011/12/20 05:43:57] <rly> bd: what happens for example when you try to install a broken package via Puppet?
[2011/12/20 05:44:10] <bd> rly: define broken
[2011/12/20 05:44:12] <bd> "upgrading an entire system is much less reliable than reinstalling from scratch"
[2011/12/20 05:44:21] <bd> *cough*
[2011/12/20 05:44:44] <rly> bd: broken is that one of its install scripts exits with the wrong exit status.
[2011/12/20 05:44:54] @ Quit: The-Bat: Client Quit
[2011/12/20 05:44:54] <rly> bd: the install scripts of for example dpkg.
[2011/12/20 05:45:06] @ The-Bat joined channel #puppet
[2011/12/20 05:45:10] <bd> rly: well then you get an error message in your log and things depending on that package will fail
[2011/12/20 05:45:25] @ Quit: inecas: Quit: Leaving
[2011/12/20 05:45:57] <rly> bd: is there also a way to read in dpkg --get-selection and get a puppet compatible configuration out of that?
[2011/12/20 05:46:22] <bd> rly: awk, sed and perl? seriously, no idea :)
[2011/12/20 05:46:34] <bd> also why would you want that?
[2011/12/20 05:46:35] <rly> Does Puppet even scale to ten thousand packages?
[2011/12/20 05:46:47] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/20 05:46:56] <rly> I don't have that many, but it would be that order of magnitude.
[2011/12/20 05:47:10] <ssm> rly: run "puppet resource package" ?
[2011/12/20 05:47:20] <bd> well I just say "install gnome-desktop-environment"
[2011/12/20 05:47:28] <bd> apt-get takes care of the dependencies
[2011/12/20 05:47:42] <rly> bd: and which version do you get then?
[2011/12/20 05:47:48] <rly> bd: stable?
[2011/12/20 05:47:59] <bd> rly: the one you define in sources.list
[2011/12/20 05:48:04] <ssm> rly: that would depend on your apt sources.
[2011/12/20 05:48:11] <bd> rly: just like on any other debian system
[2011/12/20 05:48:55] <krish> ssm --> ssm: funny - "facter architecture" yields "amd64", while it says "architecture: x86_64" in yaml/facts/foo.example.com.yaml on the master...
[2011/12/20 05:48:59] <krish> same issue here
[2011/12/20 05:49:03] <krish> how do you solve it?
[2011/12/20 05:49:24] @ Quit: hobo: Quit: Page closed
[2011/12/20 05:50:16] <ssm> krish: bugreport? Workaround: case $::architecture, and set $pkgarch to "amd64" if it matches x86_64
[2011/12/20 05:50:28] <rly> Ok, another use case: let's say you want to deploy the exact same server to 1000 nodes. Is there some obvious optimization applied in that case?
[2011/12/20 05:50:48] <ssm> rly: the obvious optimization is to use puppet. :)
[2011/12/20 05:50:56] @ IndyMichaelB joined channel #puppet
[2011/12/20 05:51:03] <rly> ssm: but puppet will do the same computations on all the nodes, right?
[2011/12/20 05:51:13] @ inecas joined channel #puppet
[2011/12/20 05:51:28] <rly> ssm: while since all the nodes are the same, it only needs to compute one image and use that everywhere.
[2011/12/20 05:51:31] <ssm> rly: the computations will be done, and cached, on the master.
[2011/12/20 05:51:37] <bd> rly: for single image systems there are also other tools there, google nows em
[2011/12/20 05:52:14] <rly> ssm: by computations, you mean the computation of the configuration, not the apt-get install executions, right?
[2011/12/20 05:52:43] @ ken_barber joined channel #puppet
[2011/12/20 05:53:06] <mzi> rly: what point are you trying to make?
[2011/12/20 05:53:30] @ kwillaert left channel #puppet ()
[2011/12/20 05:53:35] <bd> rly: just install a puppet master, and play with some howtos
[2011/12/20 05:53:56] <ssm> rly: there's a lot of "it depends" there...
[2011/12/20 05:54:27] <ssm> ...but http://www.catb.org/~esr/faqs/smart-questions.html springs to mind :)
[2011/12/20 05:54:51] <rly> ssm: you said 'the computations', I just asked what you meant.
[2011/12/20 05:55:04] <ssm> it depends...
[2011/12/20 05:55:38] <rly> ssm: that's just a lame answer.
[2011/12/20 05:55:52] <rly> ssm: you meant something, I hope.
[2011/12/20 05:56:59] <krish> ssm: thks :)
[2011/12/20 05:57:06] @ Quit: Razique: Quit: Razique
[2011/12/20 05:58:04] <rly> I will likely play with Puppet. It just seems that having Enterprise supports, means that there is no reason to make the open-source part of it work well.
[2011/12/20 05:58:30] <mzi> puppet is not a remote dd-tool. it does all steps necessary to have a node reach a predefined state.
[2011/12/20 05:58:54] @ abetterlie_away is now known as abetterlie
[2011/12/20 05:58:55] <bd> rly: where did you read that argument? manager magazine?
[2011/12/20 05:58:57] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 05:59:03] <rly> bd: experience.
[2011/12/20 05:59:18] <mzi> rly: from what products?
[2011/12/20 05:59:24] @ Razique joined channel #puppet
[2011/12/20 05:59:31] <rly> mzi: take Bacula for example.
[2011/12/20 05:59:53] @ Quit: axisys_: Quit: leaving
[2011/12/20 06:00:03] <rly> mzi: RedHat's entire business model.
[2011/12/20 06:00:14] <mzi> rly: ? rhel?
[2011/12/20 06:00:24] <rly> mzi: if Linux worked perfectly, there would be no need for them to exist.
[2011/12/20 06:00:54] @ csanchez joined channel #puppet
[2011/12/20 06:00:54] <rly> So, by that logic, the only way for them to continue to exist is produce suboptimal solutions.
[2011/12/20 06:01:08] <bd> stop reading stuff on slashdot
[2011/12/20 06:01:13] <mzi> rly: the reason for opensource is not that it's gratis, you know.
[2011/12/20 06:01:18] @ sduchesneau joined channel #puppet
[2011/12/20 06:01:18] <rly> The only viable model for software is either pay for development or annual subscriptions.
[2011/12/20 06:01:23] <kelseyhightower> rly: or build "Enterprise" bits on top of solid open source ones
[2011/12/20 06:01:25] @ axisys joined channel #puppet
[2011/12/20 06:01:44] <mzi> like.. say bind
[2011/12/20 06:01:50] <kelseyhightower> rly: I work on the engineering team at Puppetlabs
[2011/12/20 06:02:03] <kelseyhightower> rly: so I am a bit biased
[2011/12/20 06:02:12] <rly> kelseyhightower: and are the enterprise clients running towards you like crazy?
[2011/12/20 06:02:30] <mzi> rly: are they?
[2011/12/20 06:02:33] <crayfishx> if you've seen his presentations you'd know bias is an understatement ;-)
[2011/12/20 06:02:47] <crayfishx> hey kelsey
[2011/12/20 06:02:50] <rly> I can imagine that if you are as large as Google, that you would just implement a better version of Puppet.
[2011/12/20 06:02:58] @ xjiujiu joined channel #puppet
[2011/12/20 06:02:58] <mzi> I wish puppetlabs all money they can get but Enterprise has a userbase of what, 200?
[2011/12/20 06:03:07] <mzi> rly: google uses puppet.
[2011/12/20 06:03:27] <rly> mzi: then perhaps they are not as all knowing and powerful as I gave them credit for.
[2011/12/20 06:03:31] <kelseyhightower> crayfishx: what's up? I remember you from the twitter comments
[2011/12/20 06:03:33] * henk .oO( cant tell if troll or ubuntu user… )
[2011/12/20 06:03:37] <rly> Or puppet works really well :)
[2011/12/20 06:03:45] <bd> henk: like reading my mind ;)
[2011/12/20 06:04:24] <rly> Anyway, I think the conversation is over. I will likely configure puppet for some packages to see how it works. Anything I can do to reduce silly maintenance is welcome.
[2011/12/20 06:04:24] <kelseyhightower> rly: I would say that some products can walk the line between paid and free versions, and in Puppet case, there is really only one Puppet
[2011/12/20 06:04:48] <kelseyhightower> rly: and plenty people here to help if you need it
[2011/12/20 06:04:51] <rly> kelseyhightower: so you are saying that someone could buy a competetive product to the enterprise version of Puppet?
[2011/12/20 06:05:04] <rly> er buy/develop
[2011/12/20 06:05:11] <henk> bd: lol :)
[2011/12/20 06:05:17] <mzi> rly: many has.
[2011/12/20 06:05:51] <rly> Ok, so those are other front ends to Puppet and they are in the same playing field? I.e., they can just call puppet code when they want to.
[2011/12/20 06:05:53] <mzi> the enterprise version is a dashboard, reporting and a tight integration to mc.
[2011/12/20 06:05:58] <kelseyhightower> rly: yeah, based on the license, Apache 2.0, you can build on top of Puppet just like a number of others have
[2011/12/20 06:06:19] <rly> Ok, I think that makes it different (when compared to GPL products).
[2011/12/20 06:06:21] @ Deesl joined channel #puppet
[2011/12/20 06:06:34] <bd> really?
[2011/12/20 06:06:38] <mzi> rly: you don't know what you're talking about.
[2011/12/20 06:06:38] <rly> Dual licensed GPL products, that is.
[2011/12/20 06:07:06] <rly> mzi: why do you think that?
[2011/12/20 06:07:24] <rly> For example for MySQL you cannot develop integrated products, because there is a GPL license.
[2011/12/20 06:07:36] <rly> The owner of MySQL is the only one who can do that.
[2011/12/20 06:07:49] <mzi> rly: ?
[2011/12/20 06:07:57] <rly> Sure, you can develop all you want, but you would have to release all source under GPL.
[2011/12/20 06:08:07] <kelseyhightower> rly: it is mainly about the ability to not to share changes that you release
[2011/12/20 06:08:21] <rly> mzi: I think you are the only one who doesn't understand my reasoning.
[2011/12/20 06:08:35] <crayfishx> nope - you can count me in too
[2011/12/20 06:08:45] <rly> Well, kelseyhightower at least understood me.
[2011/12/20 06:08:57] <henk> reasoning?
[2011/12/20 06:09:11] <bd> hrhr
[2011/12/20 06:09:14] <kelseyhightower> rly: in simple terms yes. If you build product X, you may want to keep it closed source
[2011/12/20 06:09:30] <mzi> but you can sell GPL code if you want to. You can develop anything you want derived from both Apache and GPL
[2011/12/20 06:09:43] <rly> mzi: yes, but you can only sell broken GPL code.
[2011/12/20 06:09:51] <kelseyhightower> mzi: it's when you ship that this becomes a "problem"
[2011/12/20 06:09:54] <rly> mzi: broken as in that it 'just requires that one fix".
[2011/12/20 06:10:00] <rly> mzi: and that forever.
[2011/12/20 06:10:05] <rly> It is a broken business model.
[2011/12/20 06:10:34] <mzi> kelseyhightower: it's just the second sale pitch that's harder.
[2011/12/20 06:10:39] <kelseyhightower> mzi: no much a problem, but some would like to have to options of using "Free" software and not releasing the source
[2011/12/20 06:10:57] <mzi> a lot of GPL has been written because some one paid for it.
[2011/12/20 06:11:11] <rly> mzi: I know, I even wrote some of it.
[2011/12/20 06:11:24] <kelseyhightower> mzi: yep, but I do understand why both exists
[2011/12/20 06:11:26] <rly> mzi: GPL works wonders for inhouse applications.
[2011/12/20 06:11:54] <rly> But then there is still no sharing, other than voluntary sharing.
[2011/12/20 06:12:08] <mzi> kelseyhightower: myself, I'm from the BSD camp so I'm with you.
[2011/12/20 06:12:26] @ astrostl joined channel #puppet
[2011/12/20 06:12:35] <rly> People shouldn't have to work for free and there should be long term stability and quality goals.
[2011/12/20 06:12:36] <mzi> I just don't get why rly thinks that you can't write good code with a GPL licence.
[2011/12/20 06:12:59] <mzi> I work for free a lot.
[2011/12/20 06:13:05] <kelseyhightower> mzi: you can, I think these debates always come back to what happens when you ship
[2011/12/20 06:13:15] <mzi> sports, politics, seminars.
[2011/12/20 06:13:34] <rly> mzi: you do that because it is fun.
[2011/12/20 06:13:47] <kelseyhightower> Code is Code, which is a different discussion than how you license it
[2011/12/20 06:13:51] <rly> mzi: the things to make software work really well are not always fun.
[2011/12/20 06:14:16] @ gniks joined channel #puppet
[2011/12/20 06:14:19] <mzi> rly: then don't code on your spare time?
[2011/12/20 06:14:25] <kelseyhightower> rly: all in all, use Puppet without fear of a half-ass product
[2011/12/20 06:14:49] <rly> kelseyhightower: thanks for your time. I will likely use it in the near-future if it doesn't take too much time to setup.
[2011/12/20 06:15:04] <kelseyhightower> rly: what OS are you running?
[2011/12/20 06:15:13] <kelseyhightower> rly: maybe I can point you in the right direction
[2011/12/20 06:15:19] @ Quit: felixnor: Remote host closed the connection
[2011/12/20 06:15:29] <rly> kelseyhightower: FYI, I greatly applaud the general direction Puppet want to go in. Do you know NixOS?
[2011/12/20 06:15:34] <rly> kelseyhightower: Debian Stable.
[2011/12/20 06:15:42] <rly> wants*
[2011/12/20 06:15:43] <mzi> kelseyhightower: i think as of today, Enterprise could have been GPL, BSD or what ever. Right now, it is the customization and support that gives you customers. In a couple of years, the playingfield is a lot different so the Apache license makes sense.
[2011/12/20 06:16:01] <kelseyhightower> rly: http://apt.puppetlabs.com/debian/dists/squeeze/
[2011/12/20 06:16:17] <rly> kelseyhightower: ah, you don't trust what Debian releases itself?
[2011/12/20 06:16:28] <kelseyhightower> rly: there you will find the latest and greatest
[2011/12/20 06:16:53] <kelseyhightower> rly: Debian releases are good too, some just will they had newer versions.
[2011/12/20 06:17:52] <kelseyhightower> rly: puppet dashboard is in that repo as well, not you if Debian has that in their repos
[2011/12/20 06:18:12] @ Quit: wooster: Ping timeout: 268 seconds
[2011/12/20 06:18:13] <kelseyhightower> rly: consider that repo the one stop shop for all things Puppet in the Debian land
[2011/12/20 06:18:49] @ wooster joined channel #puppet
[2011/12/20 06:18:52] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 06:19:19] <rly> kelseyhightower: ok, thanks again.
[2011/12/20 06:19:29] <kelseyhightower> mzi: I agree, I like the paid support model. It's not just about "Call us when it breaks", customers help drive features
[2011/12/20 06:19:33] <kelseyhightower> rly: cool
[2011/12/20 06:19:43] @ Quit: _flex: Remote host closed the connection
[2011/12/20 06:19:44] <mzi> rly: NixOS seems to solve a completly other problem than puppet.
[2011/12/20 06:19:55] <rly> kelseyhightower: where do I get the GPG key, btw?
[2011/12/20 06:20:03] <kelseyhightower> rly: one sec
[2011/12/20 06:20:21] <rly> kelseyhightower: I think I found it already.
[2011/12/20 06:20:29] <kelseyhightower> rly: cool: http://apt.puppetlabs.com/
[2011/12/20 06:20:41] <rly> kelseyhightower: although, that's not the correct way to distribute a key.
[2011/12/20 06:20:54] <kelseyhightower> rly: its on public key servers as well
[2011/12/20 06:20:57] <rly> kelseyhightower: there is no guarantee that the key I see is the the correct one.
[2011/12/20 06:20:57] @ Quit: marczak: Ping timeout: 252 seconds
[2011/12/20 06:20:59] @ csanchez joined channel #puppet
[2011/12/20 06:21:17] <rly> kelseyhightower: do they run over SSL (not that that is great)?
[2011/12/20 06:21:27] <kelseyhightower> rly: I use this command: gpg --recv-key 4BD6EC30
[2011/12/20 06:21:38] <bd> henk: i think we can roule out ubuntu
[2011/12/20 06:21:46] <bd> rule even
[2011/12/20 06:22:14] <rly> kelseyhightower: I still get: NO_PUBKEY 1054B7A24BD6EC30
[2011/12/20 06:22:17] @ lborda joined channel #puppet
[2011/12/20 06:22:24] <mzi> rly: you should do an out of bound check for keys as well (unless they got multiple trusted key signatures.
[2011/12/20 06:22:39] <henk> bd: Yeah, they are usually much easier to tell on…
[2011/12/20 06:23:01] <kelseyhightower> rly: did you add the key?
[2011/12/20 06:23:08] <_zack> is there a why to mimic source=>"puppet:///..." in user-defined resources?
[2011/12/20 06:23:18] <_zack> I've tried with file(), but it beahves differently
[2011/12/20 06:23:45] @ tizzo-afk is now known as tizzo
[2011/12/20 06:23:59] <henk> _zack: What’s a user-defined resource? And what isn’t?
[2011/12/20 06:24:20] <_zack> well, I meant a define foo()
[2011/12/20 06:24:40] <kelseyhightower> rly: I usually run this command, and I am good to go: gpg -a --export 4BD6EC30 | sudo apt-key add -
[2011/12/20 06:24:53] <_zack> I'd like it to have a $source parameter, read like file's $source parameter, but which I'll then use as a regular variable in the resource body
[2011/12/20 06:25:42] <rly> kelseyhightower: ok, my mistake; I don't add keys every single day. More once every few months or so.
[2011/12/20 06:25:58] @ dylants left channel #puppet ()
[2011/12/20 06:25:58] <kelseyhightower> rly: no worries
[2011/12/20 06:26:55] <mzi> _zack: can you paste what's not working to pastie?
[2011/12/20 06:27:02] @ foobar_ joined channel #puppet
[2011/12/20 06:27:03] @ swygue joined channel #puppet
[2011/12/20 06:28:15] @ Bass10 joined channel #puppet
[2011/12/20 06:28:31] <rly> kelseyhightower: and how do I pin 2.7.9-1puppetlabs1 such that it is selected?
[2011/12/20 06:28:40] @ Quit: tmz: Quit: leaving
[2011/12/20 06:29:27] <kelseyhightower> rly: hmm, this sounds like an apt question
[2011/12/20 06:29:48] <henk> man apt_preferences
[2011/12/20 06:29:55] <kelseyhightower> rly: https://help.ubuntu.com/community/PinningHowto
[2011/12/20 06:30:38] <rly> kelseyhightower: I think the question is: why release is it?
[2011/12/20 06:30:41] <rly> which*
[2011/12/20 06:31:38] <_zack> mzi: yup, I'd like to do something like http://pastie.org/3047057
[2011/12/20 06:31:47] @ tmclaugh_ joined channel #puppet
[2011/12/20 06:32:06] <_zack> in essense, file() is no replacement for 'source=>' and I can't find how to mimic it properly
[2011/12/20 06:32:55] <kelseyhightower> rly: I am not sure of your question, do you want to install a specific version? Upgrade? Side by Side?
[2011/12/20 06:33:04] <dotplus> In 2.6, I did puppet apply -v --noop manifests/site.pp and it would give me (among other things) diff output for files that it wanted to change. I don't get that output now I have 2.7. How do I get it back or otherwise see the full results?
[2011/12/20 06:33:44] <rly> kelseyhightower: in the preferences file you have to give precedence to a certain package based on apt-cache policy puppet output.
[2011/12/20 06:33:49] @ Quit: brtl: Quit: Leaving.
[2011/12/20 06:34:05] <rly> kelseyhightower: to do that you need to know selectors such that you can identify the version released by Puppetlabs.
[2011/12/20 06:34:36] @ Quit: tmclaugh: Ping timeout: 240 seconds
[2011/12/20 06:34:36] @ tmclaugh_ is now known as tmclaugh
[2011/12/20 06:35:31] <mzi> _zack: if I understand you correctly the "#more stuff here" is not operating on the string puppet://... but on the file itself?
[2011/12/20 06:35:44] <_zack> mzi: correct, yes
[2011/12/20 06:35:57] <rly> kelseyhightower: Never mind.
[2011/12/20 06:36:05] <_zack> (although the fact you're asking that sounds worrisome in its own right :-))
[2011/12/20 06:36:09] <kelseyhightower> rly: did you figure it out?
[2011/12/20 06:36:25] <mzi> then you should either do a inline template or write your own type.
[2011/12/20 06:36:51] <_zack> I'm fine with an inline_template, but I still don't see how it could do what source=> does for file resources
[2011/12/20 06:38:36] <mzi> but source has a definition in the "file" type, you can copy that code into your own type if you want to, but there is no way to mimic (your words) outside of that type.
[2011/12/20 06:38:53] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 06:39:04] @ The-Bat joined channel #puppet
[2011/12/20 06:39:05] <_zack> mzi: ok, I'll have a look at the definition of the file type then, thanks
[2011/12/20 06:39:25] <_zack> out of curiosity: is there any profound reason for such a limitation?
[2011/12/20 06:39:29] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 06:39:39] @ lwhalen joined channel #puppet
[2011/12/20 06:39:54] <mzi> it in /usr/lib/ruby/site_ruby/<version>/puppet/type/file/source.rb, I would think.
[2011/12/20 06:40:23] <mzi> _zack: limitation? I don't get what you mean.
[2011/12/20 06:40:32] @ Kazuhiro joined channel #puppet
[2011/12/20 06:40:49] @ nomadtacos joined channel #puppet
[2011/12/20 06:40:50] @ Quit: lwhalen: Client Quit
[2011/12/20 06:40:54] @ Quit: The-Bat: Client Quit
[2011/12/20 06:41:05] @ The-Bat joined channel #puppet
[2011/12/20 06:41:05] @ csanchez joined channel #puppet
[2011/12/20 06:41:14] <Kazuhiro> Hi all, I am having an issue where I have a class lookup succeed once out of every 2-4 puppet client runs. Im running puppet 2.7.9
[2011/12/20 06:41:40] @ kelseyhightower_ joined channel #puppet
[2011/12/20 06:41:46] @ ali3n01 joined channel #puppet
[2011/12/20 06:41:56] <Kazuhiro> Is there any known issues that may cause such behavior?
[2011/12/20 06:41:58] <mzi> _zack: types all have parameters. they do a defined set of things within that type.
[2011/12/20 06:43:09] @ tmz joined channel #puppet
[2011/12/20 06:44:30] @ tomben_ joined channel #puppet
[2011/12/20 06:44:50] @ xizhendu joined channel #puppet
[2011/12/20 06:44:50] @ w0f_ joined channel #puppet
[2011/12/20 06:45:17] @ unxbm3r_ joined channel #puppet
[2011/12/20 06:45:35] @ roidelap1uie joined channel #puppet
[2011/12/20 06:45:52] @ vinceTO_ joined channel #puppet
[2011/12/20 06:47:10] @ lwhalen joined channel #puppet
[2011/12/20 06:48:48] @ Ancient|2 joined channel #puppet
[2011/12/20 06:48:48] @ marczak joined channel #puppet
[2011/12/20 06:49:13] @ Stenbryggen joined channel #puppet
[2011/12/20 06:50:07] @ Quit: kelseyhightower: *.net *.split
[2011/12/20 06:50:07] @ Quit: nan0r: *.net *.split
[2011/12/20 06:50:08] @ Quit: ali3n0: *.net *.split
[2011/12/20 06:50:09] @ Quit: nitram_macair: *.net *.split
[2011/12/20 06:50:09] @ Quit: roidelapluie: *.net *.split
[2011/12/20 06:50:10] @ Quit: Lycurgus: *.net *.split
[2011/12/20 06:50:10] @ Quit: rly: *.net *.split
[2011/12/20 06:50:11] @ Quit: unxbm3r: *.net *.split
[2011/12/20 06:50:12] @ Quit: Stenbryggen1: *.net *.split
[2011/12/20 06:50:12] @ Quit: xizhendu_: *.net *.split
[2011/12/20 06:50:13] @ Quit: crs: *.net *.split
[2011/12/20 06:50:14] @ Quit: xalimar: *.net *.split
[2011/12/20 06:50:15] @ Quit: Chowzzf: *.net *.split
[2011/12/20 06:50:16] @ Quit: w0f: *.net *.split
[2011/12/20 06:50:17] @ Quit: shortbus-: *.net *.split
[2011/12/20 06:50:18] @ Quit: vinceTO: *.net *.split
[2011/12/20 06:50:18] @ Quit: blast_hardcheese: *.net *.split
[2011/12/20 06:50:18] @ Quit: semiosis: *.net *.split
[2011/12/20 06:50:19] @ Quit: Ancient: *.net *.split
[2011/12/20 06:50:19] @ Quit: swygue: *.net *.split
[2011/12/20 06:50:20] @ Quit: trickyf: *.net *.split
[2011/12/20 06:50:21] @ Quit: rutger: *.net *.split
[2011/12/20 06:50:21] @ Quit: jedi4ever: *.net *.split
[2011/12/20 06:50:22] @ Quit: Corey: *.net *.split
[2011/12/20 06:50:23] @ Quit: nevyn: *.net *.split
[2011/12/20 06:50:23] @ Quit: HCoyote: *.net *.split
[2011/12/20 06:50:24] @ Quit: jfroche: *.net *.split
[2011/12/20 06:50:24] @ Quit: elasticdog: *.net *.split
[2011/12/20 06:50:25] @ Quit: mattswe: *.net *.split
[2011/12/20 06:50:26] @ Quit: v_: *.net *.split
[2011/12/20 06:50:26] @ Quit: Dyresen: *.net *.split
[2011/12/20 06:50:27] @ Quit: bascht1: *.net *.split
[2011/12/20 06:50:27] @ Quit: fenris02: *.net *.split
[2011/12/20 06:50:28] @ Quit: halc: *.net *.split
[2011/12/20 06:50:29] @ Quit: bodgit: *.net *.split
[2011/12/20 06:50:30] @ Quit: _zack: *.net *.split
[2011/12/20 06:50:30] @ Quit: failure: *.net *.split
[2011/12/20 06:50:30] @ Quit: colon_D: *.net *.split
[2011/12/20 06:50:31] @ Quit: hamish: *.net *.split
[2011/12/20 06:50:31] @ Quit: schvin: *.net *.split
[2011/12/20 06:50:32] @ Quit: lynxman: *.net *.split
[2011/12/20 06:50:32] @ Quit: joemiller: *.net *.split
[2011/12/20 06:50:33] @ Quit: Legooolas: *.net *.split
[2011/12/20 06:50:33] @ Quit: mccun934: *.net *.split
[2011/12/20 06:50:34] @ Quit: fixxxermet: *.net *.split
[2011/12/20 06:50:35] @ Quit: jforman: *.net *.split
[2011/12/20 06:50:35] @ Quit: agaffney: *.net *.split
[2011/12/20 06:50:35] @ Quit: chjohnst: *.net *.split
[2011/12/20 06:50:36] @ Quit: |Mike|: *.net *.split
[2011/12/20 06:50:36] @ Quit: nahamu: *.net *.split
[2011/12/20 06:50:37] @ Quit: barn: *.net *.split
[2011/12/20 06:50:37] @ kelseyhightower_ is now known as kelseyhightower
[2011/12/20 06:50:53] @ brandon_dacrib joined channel #puppet
[2011/12/20 06:50:53] @ semiosis joined channel #puppet
[2011/12/20 06:50:53] @ nitram_macair joined channel #puppet
[2011/12/20 06:50:53] @ swygue joined channel #puppet
[2011/12/20 06:50:53] @ trickyf joined channel #puppet
[2011/12/20 06:50:53] @ rutger joined channel #puppet
[2011/12/20 06:50:53] @ jedi4ever joined channel #puppet
[2011/12/20 06:50:53] @ Corey joined channel #puppet
[2011/12/20 06:50:53] @ nevyn joined channel #puppet
[2011/12/20 06:50:53] @ HCoyote joined channel #puppet
[2011/12/20 06:50:53] @ jfroche joined channel #puppet
[2011/12/20 06:50:53] @ elasticdog joined channel #puppet
[2011/12/20 06:50:53] @ mattswe joined channel #puppet
[2011/12/20 06:50:53] @ v_ joined channel #puppet
[2011/12/20 06:50:53] @ Dyresen joined channel #puppet
[2011/12/20 06:50:53] @ bascht1 joined channel #puppet
[2011/12/20 06:50:53] @ fenris02 joined channel #puppet
[2011/12/20 06:50:53] @ halc joined channel #puppet
[2011/12/20 06:50:53] @ bodgit joined channel #puppet
[2011/12/20 06:50:53] @ _zack joined channel #puppet
[2011/12/20 06:50:53] @ failure joined channel #puppet
[2011/12/20 06:50:53] @ colon_D joined channel #puppet
[2011/12/20 06:50:53] @ hamish joined channel #puppet
[2011/12/20 06:50:53] @ schvin joined channel #puppet
[2011/12/20 06:50:53] @ fixxxermet joined channel #puppet
[2011/12/20 06:50:54] @ lynxman joined channel #puppet
[2011/12/20 06:50:54] @ joemiller joined channel #puppet
[2011/12/20 06:50:54] @ Legooolas joined channel #puppet
[2011/12/20 06:50:54] @ mccun934 joined channel #puppet
[2011/12/20 06:50:54] @ jforman joined channel #puppet
[2011/12/20 06:50:54] @ agaffney joined channel #puppet
[2011/12/20 06:50:54] @ chjohnst joined channel #puppet
[2011/12/20 06:50:54] @ |Mike| joined channel #puppet
[2011/12/20 06:50:54] @ barn joined channel #puppet
[2011/12/20 06:50:54] @ nahamu joined channel #puppet
[2011/12/20 06:50:54] @ trickyf left channel #puppet ()
[2011/12/20 06:51:01] @ Quit: ecolitan: Excess Flood
[2011/12/20 06:51:02] @ kelseyhightower left channel #puppet ()
[2011/12/20 06:51:04] @ ecolitan_ joined channel #puppet
[2011/12/20 06:51:31] @ trickyf joined channel #puppet
[2011/12/20 06:52:37] @ fsero joined channel #puppet
[2011/12/20 06:52:43] <fsero> hi all
[2011/12/20 06:53:25] @ Quit: tmclaugh: Remote host closed the connection
[2011/12/20 06:53:26] @ xalimar joined channel #puppet
[2011/12/20 06:53:42] @ tmclaugh joined channel #puppet
[2011/12/20 06:53:42] @ blast_hardcheese joined channel #puppet
[2011/12/20 06:54:01] <bd> Kazuhiro: I am seeing that when I edit a class.pp file and the puppet agent runs to "soon" for caching to have taken place
[2011/12/20 06:54:10] @ Quit: foobar_: Quit: Page closed
[2011/12/20 06:54:15] <fsero> im using apache module from https://github.com/camptocamp/puppet-apache
[2011/12/20 06:54:33] <fsero> is there a way to retrieve vhost definitions on variable or some type of array?
[2011/12/20 06:54:54] <fsero> im puppet newbie, plz be patient :)
[2011/12/20 06:55:07] <bd> Kazuhiro: but I am on 2.6.2
[2011/12/20 06:55:48] @ nan0r joined channel #puppet
[2011/12/20 06:55:55] @ Quit: nan0r: *.net *.split
[2011/12/20 06:56:15] @ Lycurgus joined channel #puppet
[2011/12/20 06:57:05] @ rly joined channel #puppet
[2011/12/20 06:57:45] <astrostl> i have two systems, one named blade1-1 and one named blade1-10. both have explicit node definitions. it looks like 1-10 is picking up and failing some of 1-1's unique manifests, though. is there a reoccurence of a bug with hyphens in hostnames? http://projects.puppetlabs.com/issues/1132 perhaps?
[2011/12/20 06:57:59] @ felixnor joined channel #puppet
[2011/12/20 06:58:09] <astrostl> i'm running a foregrounded debug master and it's not yielding anything helpful
[2011/12/20 06:59:03] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 06:59:14] <Kazuhiro> astrostl: put a notice("message..foo") in one of the manifests that should only apply on host A, then run puppet on host B.
[2011/12/20 06:59:17] <ashp> urgh, rewriting my modules to confirm to the style guide/puppet-lint
[2011/12/20 06:59:20] <ashp> is painful :(
[2011/12/20 06:59:43] <astrostl> i can actually see where it is
[2011/12/20 06:59:44] <Kazuhiro> Take the pain now, makes readability for later much better.
[2011/12/20 06:59:48] <astrostl> i have a 'dnsmasq' module
[2011/12/20 07:00:03] <astrostl> in its init.pp i specify Class['Dnsmasq::Install'] -> Class['Dnsmasq::Config'] -> Class['Dnsmasq::Service']
[2011/12/20 07:00:14] <astrostl> outside of the dnsmasq class, which just includes those other classes
[2011/12/20 07:00:22] <astrostl> the ONLY host which has 'include dnsmasq' in site.pp is blade1-1
[2011/12/20 07:00:29] <Evolution> ashp: the way I see it, it's like this... cfengine is like php. it's a dirty whore of a language that any script kiddie can write for. minimal knowledge required.
[2011/12/20 07:00:35] <astrostl> if i comment out the class ordering, the errors go away
[2011/12/20 07:00:41] <Evolution> puppet is more like java or c. more rigidly structured and defined.
[2011/12/20 07:00:43] <astrostl> even though it's not including or even running the dnsmasq manifest
[2011/12/20 07:00:49] <astrostl> that is VERY strange, no?
[2011/12/20 07:00:52] @ Quit: xjiujiu: Read error: Connection reset by peer
[2011/12/20 07:00:53] @ tmclaugh_ joined channel #puppet
[2011/12/20 07:00:57] <astrostl> it picks up the order chain but not the manifest itself?
[2011/12/20 07:01:23] @ csanchez joined channel #puppet
[2011/12/20 07:01:48] <ashp> Evolution: I made all my modules before the style guide even existed
[2011/12/20 07:01:49] @ crs joined channel #puppet
[2011/12/20 07:01:49] @ shortbus- joined channel #puppet
[2011/12/20 07:01:49] @ nan0r joined channel #puppet
[2011/12/20 07:01:49] @ Quit: shortbus-: Changing host
[2011/12/20 07:01:49] @ shortbus- joined channel #puppet
[2011/12/20 07:01:56] <ashp> so i had my own way of doing things, 4 space tabs, that kind of thing
[2011/12/20 07:01:59] <ashp> so now it's like ARGHHHH
[2011/12/20 07:02:45] @ tremble joined channel #puppet
[2011/12/20 07:02:55] @ Quit: tremble: Read error: Connection reset by peer
[2011/12/20 07:03:17] @ Quit: Vasik|work: Remote host closed the connection
[2011/12/20 07:03:18] <jamesfryman> astrostl: I'm confused. what errors are you receiving?
[2011/12/20 07:03:31] <jamesfryman> and is 1-1 picking up the manifests as well?
[2011/12/20 07:03:34] <ashp> Evolution: Damn, my tftp changes after you mentioned that other package have broken things :(
[2011/12/20 07:03:38] @ Quit: tmclaugh: Ping timeout: 240 seconds
[2011/12/20 07:03:39] @ tmclaugh_ is now known as tmclaugh
[2011/12/20 07:03:39] <astrostl> specifically: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'Class[Nagios::Deps]' for relationship on 'Class[Nagios::Config]' on node blade1-10
[2011/12/20 07:03:49] <astrostl> i can pastebin, hold...
[2011/12/20 07:04:32] @ Quit: inecas: Ping timeout: 244 seconds
[2011/12/20 07:05:16] @ inecas joined channel #puppet
[2011/12/20 07:06:25] <astrostl> jamesfryman: http://pastebin.com/DfDNcvzt
[2011/12/20 07:06:30] @ kelseyhightower joined channel #puppet
[2011/12/20 07:07:02] @ Quit: nan0r: Quit: Leaving.
[2011/12/20 07:07:15] <Evolution> ashp: oh?
[2011/12/20 07:07:19] @ Quit: shortbus-: Quit: Leaving.
[2011/12/20 07:08:12] <jamesfryman> astrostl: would you mind trying something with me?
[2011/12/20 07:08:16] @ shortbus- joined channel #puppet
[2011/12/20 07:08:17] <astrostl> love to
[2011/12/20 07:08:25] <ashp> Evolution: I don't know what I did but now it's just timing out at the tftp part :/
[2011/12/20 07:08:50] <jamesfryman> astrostl: I have run into some werid issues when using the new notation for dependency ordering.
[2011/12/20 07:08:52] <jamesfryman> so try this...
[2011/12/20 07:09:05] <Evolution> ashp: did you remove the -s from /etc/xinetd.d/tftp ?
[2011/12/20 07:09:08] <astrostl> it doesn't make sense to me that blade1-10 even SEES that though
[2011/12/20 07:09:23] <astrostl> dnsmasq is applied to one (1) host: blade1-1. not blade1-10.
[2011/12/20 07:09:32] @ Quit: thesharp: Ping timeout: 240 seconds
[2011/12/20 07:09:33] @ Quit: extraordinaire: Quit: extraordinaire
[2011/12/20 07:09:41] <ashp> Evolution: No, but it shouldn't need that now it's all in /tftpboot, right?
[2011/12/20 07:09:46] <jamesfryman> astrostl: https://gist.github.com/1501885
[2011/12/20 07:10:00] <Evolution> ashp: right. it's not needed.
[2011/12/20 07:10:08] <astrostl> jamesfryman: that should be INSIDE the class definition?
[2011/12/20 07:10:21] <ashp> Oh I meant "it shouldn't need removing, it can keep the -s for security, surely?"
[2011/12/20 07:10:28] <Evolution> yes. keep it.
[2011/12/20 07:10:43] <ashp> ok, then I don't know what the hell
[2011/12/20 07:10:45] @ dylants joined channel #puppet
[2011/12/20 07:10:52] <jamesfryman> astrostl: yup. just replace your dnsmasq class with that.
[2011/12/20 07:10:59] <ashp> oh I have.. a good idea, damn
[2011/12/20 07:11:12] <Evolution> what'd you break
[2011/12/20 07:11:17] <ashp> hello iptables, nice to meet your udp blocking ass
[2011/12/20 07:11:24] <ashp> I forgot I added a default deny all the other day
[2011/12/20 07:11:28] <astrostl> well, i'm confident that would work, because when i comment it out of the existing one it works
[2011/12/20 07:11:32] <ashp> I have been lax at adding the right firewall{} statements everywhere
[2011/12/20 07:11:44] <astrostl> it still doesn't explain how blade1-10 sees that though, does it?
[2011/12/20 07:11:52] <jamesfryman> astrostl: I'd also be interested to see your nagios config... does that error happen often?
[2011/12/20 07:12:15] <astrostl> jamesfryman: oh, the error was the nagios one
[2011/12/20 07:12:19] <astrostl> that's actually the second error
[2011/12/20 07:12:23] <astrostl> you know how puppet does that?
[2011/12/20 07:12:31] <astrostl> returns valid error first time, then red herring each subsequent time?
[2011/12/20 07:12:41] <astrostl> the prior was rr: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'Class[Dnsmasq::Install]' for relationship on 'Class[Dnsmasq::Config]' on node blade1-10
[2011/12/20 07:12:49] <astrostl> that's the 'real' error imo
[2011/12/20 07:13:09] <astrostl> but i bet it's just blade1-10 seeing blade1-1's manifests in general
[2011/12/20 07:13:14] <jamesfryman> astrostl: that reads like autoloading isn't working properly.
[2011/12/20 07:13:42] <jamesfryman> astrostl: I'd add this to the node definition of blade1-1 " notice { "blade-1 processing": }
[2011/12/20 07:13:49] <astrostl> k
[2011/12/20 07:13:50] <jamesfryman> and see if blade 1-10 has an issue.
[2011/12/20 07:14:01] <jamesfryman> er... rather... see if blade1-10 shows you that notice.
[2011/12/20 07:14:32] <jamesfryman> the cannot find resource error reads like an autoloading issue. can you post the whole dnsmasq class that you're using?
[2011/12/20 07:15:17] <astrostl> holy god rdoc docs take forever to install
[2011/12/20 07:15:22] <astrostl> made the mistake of a gem update on the client...
[2011/12/20 07:15:28] <astrostl> it was running like 2.7.7
[2011/12/20 07:16:13] <jamesfryman> or rather, do you have a dnsmasq/manifiests/install.pp that has the right class declaration at top? e.g.: class dnsmasq::install { ... }
[2011/12/20 07:16:38] @ jcspray joined channel #puppet
[2011/12/20 07:17:01] <astrostl> class dnsmasq::install {
[2011/12/20 07:17:01] <astrostl> package { 'dnsmasq': }
[2011/12/20 07:17:01] <astrostl> }
[2011/12/20 07:17:05] <astrostl> that's all install does
[2011/12/20 07:17:10] <astrostl> (implicit ensure => installed)
[2011/12/20 07:17:39] @ |Majestic| joined channel #puppet
[2011/12/20 07:17:47] <astrostl> okay, i added a notice
[2011/12/20 07:17:53] <astrostl> first run: manifest applied successfully
[2011/12/20 07:18:01] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 07:18:01] <astrostl> second run: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'Class[Nagios::Deps]' for relationship on 'Class[Nagios::Config]' on node blade1-10
[2011/12/20 07:18:18] <astrostl> and it's stuck there
[2011/12/20 07:18:20] @ Yann2 joined channel #puppet
[2011/12/20 07:18:28] <astrostl> no notice
[2011/12/20 07:18:43] <astrostl> so here's a question
[2011/12/20 07:18:58] <astrostl> i was told yesterday that if i have modules/foo/bar.pp
[2011/12/20 07:19:07] <astrostl> and explicitly include foo::bar in site.pp for a host
[2011/12/20 07:19:15] <astrostl> that it WILL NOT parse modules/foo/init.pp
[2011/12/20 07:19:21] <jamesfryman> that's correct.
[2011/12/20 07:19:25] <Kazuhiro> +1
[2011/12/20 07:19:31] <astrostl> well, i'm thinking that it is infact parsing it
[2011/12/20 07:19:33] @ csanchez joined channel #puppet
[2011/12/20 07:19:38] <Yann2> hello! I got a class that receives a parameter called $path , and I want that class to ensure that $path exists and is a directory - however it fails because the parent folder doesn't exist. This http://projects.puppetlabs.com/issues/86 doesn't really help... any one got an idea?
[2011/12/20 07:19:45] <astrostl> maybe not applying it, but at least LOOKING at it
[2011/12/20 07:19:52] <jamesfryman> astrostl: only if you're calling it.
[2011/12/20 07:20:07] <astrostl> all it has: include dnsmasq::install, dnsmasq::config, dnsmasq::service
[2011/12/20 07:20:10] <jamesfryman> each class in puppet is self-contained. there is no implicit ordering between a class in the same module.
[2011/12/20 07:20:16] <bd> Yann2: you need to definea file resource for the missing folder and all missing parents
[2011/12/20 07:20:19] <astrostl> then: Class['Dnsmasq::Install'] -> Class['Dnsmasq::Config'] -> Class['Dnsmasq::Service'] <-- *OUTSIDE* the class definition
[2011/12/20 07:20:29] @ nan0r joined channel #puppet
[2011/12/20 07:20:33] <astrostl> i bet if i comment it out, that error will go away
[2011/12/20 07:20:43] <astrostl> just the -> -> line
[2011/12/20 07:20:44] <jamesfryman> astrostl: why are you defining order outside of the class definition?
[2011/12/20 07:20:44] <Yann2> bd > so I would need some complex ruby to split $path ?
[2011/12/20 07:20:55] <astrostl> i was told that was the way to do it
[2011/12/20 07:21:13] <jamesfryman> astrostl: let me reverse the question.
[2011/12/20 07:21:20] @ Quit: nan0r: Client Quit
[2011/12/20 07:21:26] <astrostl> class foo { include foo::bar, foo::hi, foo:: hello } then Class['foo::bar'] -> etc
[2011/12/20 07:21:31] @ freezey joined channel #puppet
[2011/12/20 07:21:38] <jamesfryman> if you were to use require/before in a resource block, that would be inside of a class definition.
[2011/12/20 07:22:10] @ thesharp joined channel #puppet
[2011/12/20 07:22:28] <astrostl> so i commented it out, and it does work, sustainably
[2011/12/20 07:22:39] <jamesfryman> I'm not sure there is a right or wrong way, but in processing... you're not guaranteeing the dependency ordering is processing when evaluating the class.
[2011/12/20 07:22:41] <astrostl> i'm pretty sure this is evidence that it's looking at init.pp
[2011/12/20 07:22:53] @ Quit: nokia3510: Ping timeout: 252 seconds
[2011/12/20 07:22:55] <jamesfryman> it'll be processed globally, and frankly I'm not sure what will come of that.
[2011/12/20 07:23:24] <astrostl> maybe that's the issue then?
[2011/12/20 07:23:38] <astrostl> i have a global ordering specified, and for hosts which may or may not even use that module?
[2011/12/20 07:23:46] <jamesfryman> theoretically it should work since the language is declarative and the catalog should be fully evaluated and compiled before delivery... but this may be a bug.
[2011/12/20 07:23:49] <astrostl> but that SHOULD mean that ALL hosts glitch out, and they don't
[2011/12/20 07:24:01] <jamesfryman> astrostl: only hosts that are not using the module.
[2011/12/20 07:24:08] <astrostl> that's all but one (1)
[2011/12/20 07:24:14] <astrostl> i can go to many others and not see errors
[2011/12/20 07:24:17] @ Quit: ken_barber: Quit: Leaving.
[2011/12/20 07:24:35] <astrostl> so let's unwind it just a bit...
[2011/12/20 07:24:40] <astrostl> i have class nagios in init.pp
[2011/12/20 07:24:49] <astrostl> i also have deps in deps.pp and config in config.pp
[2011/12/20 07:24:55] <astrostl> if i want to assure that deps always runs before config
[2011/12/20 07:24:59] @ Quit: tmclaugh: Remote host closed the connection
[2011/12/20 07:25:04] <astrostl> when 'nagios' is included
[2011/12/20 07:25:07] <astrostl> how should i do that?
[2011/12/20 07:25:12] @ IndyMichaelB_ joined channel #puppet
[2011/12/20 07:25:19] @ tmclaugh joined channel #puppet
[2011/12/20 07:25:31] <astrostl> Class['nagios::deps'] -> Class['nagios::config'] outside the class definition, but still inside init.pp, is obviously causing problems
[2011/12/20 07:25:44] <jamesfryman> astrostl: should be inside of the class definition.
[2011/12/20 07:25:52] <astrostl> what specific syntax?
[2011/12/20 07:25:52] <jamesfryman> and evaluated when puppet parses the nagios init.pp
[2011/12/20 07:26:04] <astrostl> https://gist.github.com/1501885 ?
[2011/12/20 07:26:15] <jamesfryman> astrostl: that is my preferred method.
[2011/12/20 07:26:29] <jamesfryman> I hate to give you the answer of 'there are many ways to do it', but there are.
[2011/12/20 07:26:31] <astrostl> http://pastebin.com/685kHBfS
[2011/12/20 07:26:46] <astrostl> that is modules/nagios/manifests/init.pp right now
[2011/12/20 07:26:53] <astrostl> so i shouldn't use 'include'?
[2011/12/20 07:26:54] <hajile> astrostl: that's the way i've done it
[2011/12/20 07:26:56] <hajile> the second one
[2011/12/20 07:27:04] <astrostl> hajile: the pastebin?
[2011/12/20 07:27:15] <hajile> yeah but what are you trying to accomplish with the deps -> config
[2011/12/20 07:27:19] <hajile> install order?
[2011/12/20 07:27:22] <astrostl> yes
[2011/12/20 07:27:25] <astrostl> deps always before config
[2011/12/20 07:27:35] <hajile> so just make config require Class['nagios::deps']
[2011/12/20 07:27:43] <astrostl> i want to have a class always run (and finish) before another class
[2011/12/20 07:28:05] <hajile> that's the way I've implemented that
[2011/12/20 07:28:10] <hajile> let me see if i can find an example
[2011/12/20 07:28:11] <hajile> 1 sec
[2011/12/20 07:28:15] <astrostl> well, james has an alternative :-/
[2011/12/20 07:28:31] <astrostl> i kinda like specifying the order in init.pp because that's the go-to when first evaluating a manifest layout
[2011/12/20 07:28:41] <jamesfryman> astrostl: refresh the gist... all three examples in there are valid syntax.
[2011/12/20 07:29:01] <astrostl> heh
[2011/12/20 07:29:02] <jamesfryman> but the dependency ordering should be inside of the class definition.
[2011/12/20 07:29:05] <hajile> I just prefer the look of the includes
[2011/12/20 07:29:16] <hajile> and then I handle my dependencies within the subclasses
[2011/12/20 07:29:17] <astrostl> so what is the difference between include and non-include ?
[2011/12/20 07:29:23] <hajile> it's all personal preference
[2011/12/20 07:29:24] <astrostl> 'include' is superfluous?
[2011/12/20 07:29:34] @ Quit: IndyMichaelB: Ping timeout: 276 seconds
[2011/12/20 07:29:35] @ IndyMichaelB_ is now known as IndyMichaelB
[2011/12/20 07:29:44] <jamesfryman> astrostl: it's a carry-over from pre 2.6 where the new ordering syntax wasn't used.
[2011/12/20 07:29:46] <hajile> when i have dependencies or params subclasses, i use require instead of include
[2011/12/20 07:29:57] <astrostl> ah, well i generally want the 'new' way
[2011/12/20 07:30:11] <jamesfryman> the new ordering syntax is used because of parameterized classes... you can't 'include' with parameters. it's just a generic catchall.
[2011/12/20 07:30:12] <astrostl> i've gotten my ass kicked by all kinds of 'old' ways, even if we're talking old by months
[2011/12/20 07:30:22] <astrostl> hajile: nod
[2011/12/20 07:30:36] <hajile> i still can't get my head wrapped around parameterized classes
[2011/12/20 07:30:40] <hajile> haha, I've tried
[2011/12/20 07:31:37] <hajile> jamesfryman: do you have any good examples of parameterized classes?
[2011/12/20 07:31:47] <hajile> the puppetlabs docs are confusing to me in this regard
[2011/12/20 07:32:07] <ashp> has anyone in here written a shell script that adds the yum repo and installs/configures puppet?
[2011/12/20 07:32:17] <ashp> this is super easy to write but I thought I'd try being extremely lazy first
[2011/12/20 07:32:32] <hajile> haha, you'll learn more doing it yourself :)
[2011/12/20 07:32:55] <hajile> i install puppet/yum repos via kickstart
[2011/12/20 07:32:58] <ashp> i won't learn anything doing it myself :(
[2011/12/20 07:33:03] <ashp> yeah, so do we normally
[2011/12/20 07:33:07] <ashp> this is to bring in a load of legacy machines
[2011/12/20 07:33:24] <ashp> I literally just have to cat in the repo, yum -y install puppet and cat in a puppet.conf then kick off a run, it was just ultra laziness on my part
[2011/12/20 07:33:33] <ashp> I'm just throwing up a rhel5 box off the old kickstart to test the process
[2011/12/20 07:33:56] @ Quit: davidr: Quit: ircII EPIC4-2.10.1 -- Are we there yet?
[2011/12/20 07:35:27] @ ldlework joined channel #puppet
[2011/12/20 07:35:34] <astrostl> i'd probably just put a shell script on a web server for that so it's a single paste
[2011/12/20 07:35:55] <astrostl> run it live out of bash from a curl
[2011/12/20 07:36:04] <ashp> i was going to just fire it into rundeck
[2011/12/20 07:36:07] <ashp> and out to the nodes
[2011/12/20 07:36:13] <astrostl> hajile: try https://github.com/jfryman
[2011/12/20 07:36:25] <ashp> rundeck will handle ssh'ing an account they promise me exists
[2011/12/20 07:36:29] <ashp> and magic will happen
[2011/12/20 07:36:34] @ illsci joined channel #puppet
[2011/12/20 07:36:58] @ tizzo is now known as tizzo-afk
[2011/12/20 07:37:34] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 07:38:01] <jamesfryman> hajile: what astrostl said.
[2011/12/20 07:38:03] <jamesfryman> :)
[2011/12/20 07:38:31] <ashp> oh my god
[2011/12/20 07:38:35] <ashp> that repo has a puppet-gitolite
[2011/12/20 07:38:38] <ashp> that was my afternoon's work
[2011/12/20 07:38:44] <astrostl> heh :)
[2011/12/20 07:38:55] <ashp> stolen and job done!
[2011/12/20 07:39:07] <jamesfryman> ashp: that'll be five bucks. kthxbye.
[2011/12/20 07:39:11] <Evolution> hmmm, foreman appears to be hashing my password hash
[2011/12/20 07:39:15] <Evolution> that's awesome....
[2011/12/20 07:39:26] <ashp> jamesfryman: I honestly wish someone would start selling commerically supported modules
[2011/12/20 07:39:32] <ashp> with constant improvements and real support
[2011/12/20 07:39:37] @ csanchez joined channel #puppet
[2011/12/20 07:39:39] <ashp> I know of places that would happily buy those
[2011/12/20 07:40:48] <jamesfryman> ashp: interesting point. I'll let you know when my company starts charging for modules then.
[2011/12/20 07:41:42] @ Quit: Meier: Quit: Leaving.
[2011/12/20 07:41:58] <hajile> jamesfryman: thaanks!
[2011/12/20 07:42:28] <Kazuhiro> I know anchor.com.au does it for contracted clients.
[2011/12/20 07:42:59] <Kazuhiro> I used to work there.
[2011/12/20 07:42:59] <jamesfryman> my pleasure. I'd also take a look at the work of the fine folks at puppetlabs. their git repo (http://github.com/puppetlabs) has several modules that are well written. you just have to dig through the repos that are related to the core work (puppet/dashboard/facter/etc)
[2011/12/20 07:43:03] @ MattyM joined channel #puppet
[2011/12/20 07:43:30] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/20 07:44:31] @ verwilst joined channel #puppet
[2011/12/20 07:46:06] <LoRez> now that I've fixed this augeas bug via pluginsync, ubuntu fixes their puppet packages. is there a way to make my replacement augeas provider only get served to older puppet versions?
[2011/12/20 07:46:39] @ Wolfspyre1 joined channel #puppet
[2011/12/20 07:46:40] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/20 07:47:01] <jamesfryman> LoRez: $::puppetversion is a facter fact. just write a statement to deploy based on that.
[2011/12/20 07:47:20] <Dominic> LoRez: not easily, providers get synced to every client. You could add a "confine" statement to it and come up with some expression to restrict it though..
[2011/12/20 07:47:40] <jamesfryman> ooh, it's a provider.
[2011/12/20 07:47:59] <jamesfryman> Dominic is right on that point.
[2011/12/20 07:48:28] <Dominic> LoRez: e.g. to only run it on non-ubuntu systems, confine :true => Facter.value(:operatingsystem) != "Ubuntu"
[2011/12/20 07:48:50] <Dominic> although you'd probably have to rename the provider so both are available to the client, it's a bit messy
[2011/12/20 07:49:41] @ Quit: smintz: Ping timeout: 240 seconds
[2011/12/20 07:49:44] @ Quit: riha: Quit: Leaving.
[2011/12/20 07:49:51] <Dominic> LoRez: I thought they'd only updated the Precise package though? I don't think they pushed it to the stable releases.
[2011/12/20 07:49:52] @ KaZeR_W joined channel #puppet
[2011/12/20 07:50:53] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/20 07:51:04] @ The-Bat joined channel #puppet
[2011/12/20 07:51:08] @ Yoe left channel #puppet ()
[2011/12/20 07:52:24] @ Spads_ joined channel #puppet
[2011/12/20 07:52:54] @ Quit: The-Bat: Client Quit
[2011/12/20 07:53:05] @ The-Bat joined channel #puppet
[2011/12/20 07:53:50] <LoRez> Dominic: that's what I'm using :)
[2011/12/20 07:54:20] @ ghg joined channel #puppet
[2011/12/20 07:54:33] <LoRez> it may not be a huge thing since I think we can force the rest to upgrade to the latest puppet
[2011/12/20 07:54:45] <Dominic> ah okay
[2011/12/20 07:55:10] <LoRez> but we've got some machines that have been built with precise from a few days ago and will have to get upgraded since they're being deployed over the next few days
[2011/12/20 07:55:31] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/20 07:56:40] @ rcrowley joined channel #puppet
[2011/12/20 07:58:38] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 07:59:39] @ cwarden joined channel #puppet
[2011/12/20 07:59:44] @ csanchez joined channel #puppet
[2011/12/20 08:01:24] @ djm68 joined channel #puppet
[2011/12/20 08:01:49] @ Quit: Spads_: Quit: Reconnecting
[2011/12/20 08:01:58] @ spiette joined channel #puppet
[2011/12/20 08:02:05] @ Spads joined channel #puppet
[2011/12/20 08:03:31] @ Quit: The-Bat: Remote host closed the connection
[2011/12/20 08:03:36] @ Quit: raphdg: Remote host closed the connection
[2011/12/20 08:03:50] @ Quit: pieter_: Quit: Ex-Chat
[2011/12/20 08:03:57] @ Quit: illsci: Quit: BitchX-1.1-final -- just do it.
[2011/12/20 08:04:28] @ nan0r joined channel #puppet
[2011/12/20 08:04:45] <astrostl> jamesfryman: it looks like includes don't yield repeat definition errors
[2011/12/20 08:04:59] <astrostl> class { 'sunjdk': } -> class { 'rvm::install': } -> class { 'rvm::deploy': } has a problem when 'sunjdk' is already used
[2011/12/20 08:05:17] <astrostl> include sunjdk then class { 'rvm::install': } -> class { 'rvm::deploy': } doesn't
[2011/12/20 08:05:17] @ dan__t_ joined channel #puppet
[2011/12/20 08:05:24] <astrostl> (but it doesn't specify ordering...)
[2011/12/20 08:05:36] <jamesfryman> astrostl: you're correct.
[2011/12/20 08:05:48] <astrostl> so that's more than just syntax, it's effect, no?
[2011/12/20 08:06:22] <jamesfryman> absolutely. includes are normalized in the catalog.
[2011/12/20 08:06:38] <jamesfryman> but explicit class definitions may or may not contain parameters, and are singleton objects.
[2011/12/20 08:06:45] @ Quit: djm68: Remote host closed the connection
[2011/12/20 08:07:11] <astrostl> the way i'm looking at this...
[2011/12/20 08:07:22] <astrostl> i have a lot of things which want 'sunjdk', and that's just one example of many-wants
[2011/12/20 08:07:33] <astrostl> i could have ant and cassandra on one host, both want sunjdk
[2011/12/20 08:07:44] <astrostl> i could use includes and not conflict
[2011/12/20 08:07:54] <jamesfryman> astrostl: with one caveat.
[2011/12/20 08:07:57] <jamesfryman> ordering.
[2011/12/20 08:08:00] <astrostl> or i could use class definitions, and i'd need to virtualize everything?
[2011/12/20 08:08:09] <astrostl> (realize sunjdk, etc)
[2011/12/20 08:08:20] <astrostl> how else would i do it?
[2011/12/20 08:08:34] <jamesfryman> classes don't realize properly, especially if you're breaking up your class into multiple files.
[2011/12/20 08:09:00] <jamesfryman> astrostl: I think of my modules as services I'm building.
[2011/12/20 08:10:06] @ benjiedmund joined channel #puppet
[2011/12/20 08:10:11] <astrostl> so let's say i have rvm and i have ant, each of which has a 'deps' and an 'install'
[2011/12/20 08:10:22] <astrostl> and each of which not only wants sunjdk, but wants it installed FIRST
[2011/12/20 08:10:29] <astrostl> how would you approach that?
[2011/12/20 08:10:42] <astrostl> the straightest shot to me seems example #1 at https://gist.github.com/1501885
[2011/12/20 08:10:42] <gepetto> astrostl: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions. It has a status of Closed and is assigned to Luke Kanies"
[2011/12/20 08:11:01] <jamesfryman> astrostl: that's how I typically do it.
[2011/12/20 08:11:03] @ Quit: IndyMichaelB: Remote host closed the connection
[2011/12/20 08:11:19] @ fetep_ is now known as fetep
[2011/12/20 08:11:19] <astrostl> i thought you preferred and suggested B ?
[2011/12/20 08:11:27] <joelio> all the puppetconf videos been removed?
[2011/12/20 08:11:29] @ IndyMichaelB joined channel #puppet
[2011/12/20 08:11:52] <jamesfryman> astrostl: in your specific instance, that's really the only way to do it... or else you run into repeat definition errors.
[2011/12/20 08:12:02] <jamesfryman> that's also why there are several methods of declaring relationships.
[2011/12/20 08:12:10] <astrostl> hm. okay.
[2011/12/20 08:12:15] <astrostl> well thx for the input again.
[2011/12/20 08:12:23] <astrostl> and i had just updated all my manifests to B a minute ago :-/
[2011/12/20 08:12:47] <jamesfryman> astrostl: I stick with the 'B' example most of the time, unless I have an issue that you describe.
[2011/12/20 08:13:05] <astrostl> i guess i'd lean toward all-A just for consistency
[2011/12/20 08:13:20] <jamesfryman> astrostl: as long as your style is consistent, then you'll be fine.
[2011/12/20 08:13:21] @ Quit: raphink: Remote host closed the connection
[2011/12/20 08:13:33] <astrostl> Class['foo::bar']
[2011/12/20 08:13:38] <astrostl> should i cap the F and B there?
[2011/12/20 08:13:45] <astrostl> (when specifying relationships)
[2011/12/20 08:13:59] <jamesfryman> you shouldn't have to. only when actually referencing.
[2011/12/20 08:14:09] <jamesfryman> so if you had a custom define foo::bar()
[2011/12/20 08:14:20] <jamesfryman> you would reference like Foo::Bar['foobar']
[2011/12/20 08:14:28] <astrostl> gotcha, thx
[2011/12/20 08:14:43] @ tizzo-afk is now known as tizzo
[2011/12/20 08:14:48] <astrostl> i just noticed in debugging from the master that it caps all three in reports
[2011/12/20 08:14:59] <astrostl> i say Class['foo::bar'] -> Class['foo::baz']
[2011/12/20 08:15:06] <astrostl> and it says Foo::Bar and Foo::Baz in debug output
[2011/12/20 08:15:21] <jamesfryman> I'm honestly not sure if it would work like that. Let's try!
[2011/12/20 08:17:04] <jamesfryman> astrostl: looks like it works to me.
[2011/12/20 08:17:04] <jamesfryman> https://gist.github.com/1502126
[2011/12/20 08:17:35] @ Quit: zul: Remote host closed the connection
[2011/12/20 08:17:45] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 08:17:53] <jamesfryman> astrostl: but it's not necessary.
[2011/12/20 08:18:01] @ philip741 joined channel #puppet
[2011/12/20 08:18:05] <astrostl> debug: Adding relationship from Class[Sunjdk] to Class[Rvm::Install] with 'before'
[2011/12/20 08:18:05] <astrostl> debug: Adding relationship from Class[Rvm::Install] to Class[Rvm::Deploy] with 'before'
[2011/12/20 08:18:09] <astrostl> that's where i was seeing it
[2011/12/20 08:18:27] <astrostl> i was just trying to head off that-lowercase-shit-is-deprecated-and-now-your-manifests-don't-work
[2011/12/20 08:18:39] <astrostl> cool to know it works both though. for now...
[2011/12/20 08:18:49] @ Kazuhiro1 joined channel #puppet
[2011/12/20 08:19:14] @ tizzo is now known as tizzo-afk
[2011/12/20 08:19:49] @ csanchez joined channel #puppet
[2011/12/20 08:19:57] @ mapu joined channel #puppet
[2011/12/20 08:26:07] @ brtl joined channel #puppet
[2011/12/20 08:27:06] @ zul joined channel #puppet
[2011/12/20 08:28:50] @ newtMcKerr joined channel #puppet
[2011/12/20 08:33:50] @ ghg27 joined channel #puppet
[2011/12/20 08:33:54] @ Quit: ghg: Ping timeout: 252 seconds
[2011/12/20 08:33:55] @ ghg27 is now known as ghg
[2011/12/20 08:34:02] @ Quit: crs: Changing host
[2011/12/20 08:34:02] @ crs joined channel #puppet
[2011/12/20 08:35:11] @ kenperkins joined channel #puppet
[2011/12/20 08:36:55] @ Quit: MattyM: Read error: Operation timed out
[2011/12/20 08:37:32] @ wilmoore joined channel #puppet
[2011/12/20 08:38:13] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 08:38:29] @ ghg27 joined channel #puppet
[2011/12/20 08:38:31] @ trickyf left channel #puppet ()
[2011/12/20 08:38:49] @ Quit: ghg: Ping timeout: 245 seconds
[2011/12/20 08:38:49] @ ghg27 is now known as ghg
[2011/12/20 08:39:53] @ csanchez joined channel #puppet
[2011/12/20 08:40:19] @ langworthy joined channel #puppet
[2011/12/20 08:40:45] @ Quit: pmorillon: Quit: pmorillon
[2011/12/20 08:40:48] @ siezer joined channel #puppet
[2011/12/20 08:40:56] @ Quit: langworthy: Client Quit
[2011/12/20 08:41:16] @ Quit: neilh_: Ping timeout: 240 seconds
[2011/12/20 08:42:21] @ Quit: andrewjf: Quit: Lost terminal
[2011/12/20 08:43:45] @ tizzo-afk is now known as tizzo
[2011/12/20 08:45:57] @ Quit: mogitaff: Quit: /home sweet /home
[2011/12/20 08:46:55] @ Quit: sdog: Ping timeout: 276 seconds
[2011/12/20 08:47:59] @ geekbri joined channel #puppet
[2011/12/20 08:48:18] @ neilh joined channel #puppet
[2011/12/20 08:49:48] @ Quit: KaZeR_W: Ping timeout: 252 seconds
[2011/12/20 08:50:53] @ Quit: zaarg: Read error: Connection reset by peer
[2011/12/20 08:51:30] @ karthick87 joined channel #puppet
[2011/12/20 08:51:42] <karthick87> How to setup puppet in ubuntu 11.04?
[2011/12/20 08:51:56] @ epaphus joined channel #puppet
[2011/12/20 08:52:27] <aricg> apt-get install puppet?
[2011/12/20 08:52:34] <stew> karthick87: "apt-get install puppet" on a node to be controlled by puppet, or "apt-get install puppetmaster" on a server which will control other nodes
[2011/12/20 08:53:00] @ zaargy joined channel #puppet
[2011/12/20 08:53:49] <karthick87> stew: Its already done.
[2011/12/20 08:54:11] <karthick87> stew: How can i change the wallpaper of a client using puppet?
[2011/12/20 08:54:24] <misc> how do you do without puppet ?
[2011/12/20 08:54:57] <aricg> wallpaper?
[2011/12/20 08:55:41] <karthick87> misc: i just want to do with the help of puppet.
[2011/12/20 08:55:53] <karthick87> I have installed puppet in all my nodes.
[2011/12/20 08:55:58] @ Quit: ali3n01: Quit: Leaving.
[2011/12/20 08:56:13] @ the_ramink joined channel #puppet
[2011/12/20 08:56:41] <misc> karthick87: yes, but how do you do without puppet , becuase puppet can help you to automate stuff, but you need to explain how to do manually if you want use to help you
[2011/12/20 08:56:43] @ Quit: the_ramink: Client Quit
[2011/12/20 08:57:22] @ Quit: danikov: Ping timeout: 255 seconds
[2011/12/20 08:57:37] @ the_ramink joined channel #puppet
[2011/12/20 08:57:53] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 08:58:49] @ danikov joined channel #puppet
[2011/12/20 08:59:07] <karthick87> misc: I will do it from the terminal by executing a command.
[2011/12/20 08:59:56] @ Quit: ghg: Ping timeout: 240 seconds
[2011/12/20 08:59:58] @ csanchez joined channel #puppet
[2011/12/20 09:00:14] <aricg> I don't think we can help you.
[2011/12/20 09:00:15] @ ghg joined channel #puppet
[2011/12/20 09:00:38] <aricg> by executing a command do mean copying or moving a file?
[2011/12/20 09:00:53] @ Quit: Razique: Quit: Razique
[2011/12/20 09:01:26] <freezey> i am going to go out on a limb here and say the setup is probably wrong for his puppet env
[2011/12/20 09:01:38] <karthick87> aricg: First i will copy that file to all hosts using scp. And then i will ssh into every machine and execute a command
[2011/12/20 09:02:34] <aricg> puppet can copy files, and it can execute commands
[2011/12/20 09:02:46] <freezey> so it can do all of that stuff for you.. you just need to fill in the blanks
[2011/12/20 09:02:53] @ Quit: nomadtacos: Quit: Leaving
[2011/12/20 09:02:57] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/20 09:03:22] @ Chowzzf joined channel #puppet
[2011/12/20 09:03:33] <freezey> so no need to scp you can just specify the file and file path.. and no need to execute the command on your own.. you can just a exec
[2011/12/20 09:04:11] <karthick87> freezey: Fine can you please tell me what should i do now ?
[2011/12/20 09:05:14] <aricg> karthick87, it doesnt work that way.
[2011/12/20 09:05:19] @ johnston_ joined channel #puppet
[2011/12/20 09:05:23] <freezey> lol
[2011/12/20 09:05:33] <freezey> karthick87: you can pay me to set it up for you lol
[2011/12/20 09:05:43] <freezey> $1,000,000 should do
[2011/12/20 09:06:00] <karthick87> freezey: lol i can pay $200
[2011/12/20 09:06:11] <freezey> karthick87: ok so your better off going here http://docs.puppetlabs.com/
[2011/12/20 09:06:16] <freezey> and learning howto use puppet
[2011/12/20 09:06:43] <freezey> are you using any type of code repository for your puppet files, classes, templates, etc?
[2011/12/20 09:06:45] @ Quit: natewalck: Quit: Outta here
[2011/12/20 09:10:14] @ Quit: Deesl: Ping timeout: 248 seconds
[2011/12/20 09:11:02] <karthick87> freezey: I am very new to puppet. I dont much about puppet.
[2011/12/20 09:12:06] @ Quit: Recourse: Ping timeout: 268 seconds
[2011/12/20 09:12:08] <freezey> yeah so you should read a book
[2011/12/20 09:12:13] <freezey> and learn what puppet is
[2011/12/20 09:12:18] @ pcarlisle joined channel #puppet
[2011/12/20 09:12:18] @ Quit: Jenza: Quit: ''
[2011/12/20 09:12:22] <freezey> and set it up properly
[2011/12/20 09:12:48] @ Jenza joined channel #puppet
[2011/12/20 09:12:53] <freezey> we can answer questions about problems your having but if you dont have anything setup properly or even remotely running. I cant set it up for you.
[2011/12/20 09:12:56] @ Quit: iamchrisf: Quit: iamchrisf
[2011/12/20 09:12:56] @ Quit: octane-: Quit: octane-
[2011/12/20 09:13:24] @ metcalfc joined channel #puppet
[2011/12/20 09:14:09] @ Quit: inecas: Quit: Leaving
[2011/12/20 09:14:50] <misc> karthick87: well, have you first registered the node to the puppet server ?
[2011/12/20 09:14:55] @ Recourse joined channel #puppet
[2011/12/20 09:15:03] <karthick87> misc: yes i have done that.
[2011/12/20 09:15:26] <misc> karthick87: for example, you know how to create a simple motd on each node, using file { } ?
[2011/12/20 09:15:40] @ Quit: pcarlisle: Client Quit
[2011/12/20 09:15:46] <karthick87> misc: No :(
[2011/12/20 09:17:13] @ iamchrisf joined channel #puppet
[2011/12/20 09:18:01] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 09:18:48] @ Quit: jodok: Quit: jodok
[2011/12/20 09:19:14] @ Quit: crs: Ping timeout: 245 seconds
[2011/12/20 09:19:22] <misc> karthick87: well, there is lots of documentation on this, so let's start with that, and once you grasped this, setting wallpaper should be easy ( since that's the next step, ie 2 thing, a exec and a file )
[2011/12/20 09:20:04] @ csanchez joined channel #puppet
[2011/12/20 09:20:42] @ crs joined channel #puppet
[2011/12/20 09:26:48] @ Quit: Jenza: Quit: ''
[2011/12/20 09:27:18] @ Jenza joined channel #puppet
[2011/12/20 09:27:55] @ Quit: konadr: Quit: Leaving
[2011/12/20 09:28:51] <clustermagnet> hey guys! if i say "file { ${svnpath}/hooks/post-commit.w:" I get an error: Error 400 on SERVER: Could not match ${svnpath}/hooks/post-commit.w:
[2011/12/20 09:29:00] @ mrwacky42 joined channel #puppet
[2011/12/20 09:29:23] @ Quit: leifmadsen: Read error: Connection reset by peer
[2011/12/20 09:30:43] @ jodok joined channel #puppet
[2011/12/20 09:31:17] @ nfagerlund joined channel #puppet
[2011/12/20 09:31:25] <clustermagnet> i have to write a $hookscript = ${svnpath}/hooks/post-commit.w and then use it in file
[2011/12/20 09:31:37] <clustermagnet> hope im not doing something wrong :)
[2011/12/20 09:32:31] @ williemach joined channel #puppet
[2011/12/20 09:34:27] @ althara joined channel #puppet
[2011/12/20 09:35:55] @ Quit: nan0r: Quit: Leaving.
[2011/12/20 09:36:13] @ IndyMichaelB_ joined channel #puppet
[2011/12/20 09:37:34] @ Quit: IndyMichaelB: Read error: Operation timed out
[2011/12/20 09:37:34] @ IndyMichaelB_ is now known as IndyMichaelB
[2011/12/20 09:37:59] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/20 09:38:07] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 09:38:37] @ leifmadsen joined channel #puppet
[2011/12/20 09:38:45] @ lak joined channel #puppet
[2011/12/20 09:39:11] @ lak is now known as Guest27657
[2011/12/20 09:39:44] <the_ramink> clustermagnet: you need double quotes so the variable is expanded. file { "${svnpath}/hooks/post-commit.w":
[2011/12/20 09:39:59] @ seanh-ansca joined channel #puppet
[2011/12/20 09:40:11] @ csanchez joined channel #puppet
[2011/12/20 09:41:03] @ Quit: Guest19518: Quit: Leaving.
[2011/12/20 09:41:29] @ kermit joined channel #puppet
[2011/12/20 09:41:55] @ kermit is now known as Guest26514
[2011/12/20 09:43:06] @ Quit: Guest26514: Client Quit
[2011/12/20 09:44:32] @ Spads_ joined channel #puppet
[2011/12/20 09:47:11] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/12/20 09:47:52] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/20 09:48:22] @ Quit: karthick87: Quit: Leaving
[2011/12/20 09:50:09] @ alop joined channel #puppet
[2011/12/20 09:50:33] @ Quit: danikov: Ping timeout: 252 seconds
[2011/12/20 09:52:28] @ Quit: alanevans: Remote host closed the connection
[2011/12/20 09:52:39] <ashp> Anyone here have experience with puppet on RHEL4 *sigh*
[2011/12/20 09:52:46] @ djm68 joined channel #puppet
[2011/12/20 09:53:36] <aricg> ashp yes its called cf engine
[2011/12/20 09:53:37] <aricg> ;P
[2011/12/20 09:53:41] <ashp> haha, tell me about it
[2011/12/20 09:53:49] <ashp> I am going to have to try and compile it and run it on RHEL4 :/
[2011/12/20 09:53:57] @ Quit: lanky: Ping timeout: 252 seconds
[2011/12/20 09:54:08] @ donavanm joined channel #puppet
[2011/12/20 09:54:15] <ashp> shame yum.puppetlabs doesn't cover RHEL4 ;D
[2011/12/20 09:54:39] @ neonflux joined channel #puppet
[2011/12/20 09:55:19] @ danikov joined channel #puppet
[2011/12/20 09:55:46] <aricg> rhel4 was released in 2005
[2011/12/20 09:56:00] @ donavanm left channel #puppet ()
[2011/12/20 09:56:08] <aricg> thats crazy....
[2011/12/20 09:56:17] <ashp> I wonder if I can shoehorn that ruby enterprise in
[2011/12/20 09:56:21] <ashp> so the system ruby isn't an issue
[2011/12/20 09:56:23] <ashp> i fucking hate this place
[2011/12/20 09:56:36] <teratoma> i think your quest will end in pain, and you should stop
[2011/12/20 09:56:52] <ashp> It was a request to at least try by my boss as we have a bunch of legacy stuff
[2011/12/20 09:56:56] <aricg> yeah, i second that
[2011/12/20 09:57:08] <ashp> he said i can give up already
[2011/12/20 09:57:15] <ashp> fastest request to failure result ever!
[2011/12/20 09:57:16] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2011/12/20 09:57:16] <aricg> i had enough trouble installing ruby 1.8.7 on centos 5.7
[2011/12/20 09:57:51] @ pcarlisle joined channel #puppet
[2011/12/20 09:57:52] <ashp> all thanks go to nigel telling someone else 4 days ago that they can't support RHEL4 in a ticket
[2011/12/20 09:57:55] <ashp> I used that!
[2011/12/20 09:58:01] <teratoma> i bet currently acceptable puppet manifests wont work with whatever nutty version of puppet you could get working in rhel4
[2011/12/20 09:58:21] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 09:58:41] @ MattyM joined channel #puppet
[2011/12/20 09:59:04] @ ianbrandt joined channel #puppet
[2011/12/20 09:59:55] @ Quit: mpdude: Ping timeout: 255 seconds
[2011/12/20 10:00:08] <aricg> oooh centos 4 is eol at the End of feb
[2011/12/20 10:00:17] @ csanchez joined channel #puppet
[2011/12/20 10:00:22] <aricg> ashp your boss is leaving it to the last minute eh?
[2011/12/20 10:02:22] <ashp> They are JUST starting a rollout of RHEL5
[2011/12/20 10:02:29] <ashp> This place has .. problems
[2011/12/20 10:02:35] <ashp> I am the shining light of fix-it-all
[2011/12/20 10:02:50] <ashp> lavaman <-- and him too, if he ever comes back from vacation or wherever he's hiding
[2011/12/20 10:03:14] <ashp> and we just hired another guy who's used puppet
[2011/12/20 10:03:18] <ashp> so there's 3 of us now, hurrah!
[2011/12/20 10:05:25] @ alfism joined channel #puppet
[2011/12/20 10:06:06] @ LeslieCarr joined channel #puppet
[2011/12/20 10:06:41] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/20 10:07:45] @ Deesl joined channel #puppet
[2011/12/20 10:07:45] @ Quit: Deesl: Excess Flood
[2011/12/20 10:08:20] @ Deesl joined channel #puppet
[2011/12/20 10:08:49] <LeslieCarr> So we recently upgraded to puppet v 2.7.7 from the 2.6 branch, and since then, our nagios checks have been appending onto the nagios configuration files instead of rewriting them (so basically with an end result of each machine having 3000 line and growing nagios configurations that are just repeats of the same 3 checks). Has anyone else seen this issue or have a good idea of where to start with debugging this ?
[2011/12/20 10:12:52] <agaffney> sounds like naginator is broken in 2.7
[2011/12/20 10:12:57] <agaffney> that's a good reason for me to stay on 2.6
[2011/12/20 10:13:26] <clustermagnet> the_ramink: :) thanks man
[2011/12/20 10:13:32] <clustermagnet> the_ramink: will fix
[2011/12/20 10:15:39] @ natewalck joined channel #puppet
[2011/12/20 10:15:43] @ mpdude joined channel #puppet
[2011/12/20 10:16:50] @ octane- joined channel #puppet
[2011/12/20 10:18:35] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 10:20:20] @ csanchez joined channel #puppet
[2011/12/20 10:20:40] @ plathrop joined channel #puppet
[2011/12/20 10:20:52] @ Quit: octane-: Ping timeout: 244 seconds
[2011/12/20 10:20:53] @ Quit: mpdude: Ping timeout: 244 seconds
[2011/12/20 10:22:01] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#69) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=69 (by Jeff McCune)
[2011/12/20 10:23:13] @ f0 joined channel #puppet
[2011/12/20 10:23:16] <f0> hi
[2011/12/20 10:23:18] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/20 10:26:07] <f0> i try to execute "export ..." in puppet via exec, but it won't work i always get "Could not find command 'export'"
[2011/12/20 10:26:33] <f0> f0: any idea?
[2011/12/20 10:27:20] <vontrapp> use the full path or set the path parameter
[2011/12/20 10:27:24] <BrickBag> We've been having the following problem: we export stuff for loadbalancers from multiple webservers.. but when the loadbalancers import these resources they are duplicate (logically). However, the content is ALSO the same, so we don't care which server exported the resource, only that it gets imported
[2011/12/20 10:28:02] <f0> vontrapp: hm i think export is a sh builtin?
[2011/12/20 10:28:11] <vontrapp> oh that export...
[2011/12/20 10:28:23] <vontrapp> puppet uses sh by default i think
[2011/12/20 10:29:45] @ mpdude joined channel #puppet
[2011/12/20 10:29:53] <f0> vontrapp: hm but it won#t work
[2011/12/20 10:31:05] @ Quit: localhost: Remote host closed the connection
[2011/12/20 10:31:08] @ ascarter joined channel #puppet
[2011/12/20 10:32:02] @ Quit: jfroche: Ping timeout: 248 seconds
[2011/12/20 10:32:11] @ adimania joined channel #puppet
[2011/12/20 10:32:19] @ localhost joined channel #puppet
[2011/12/20 10:33:11] @ Quit: mpdude: Remote host closed the connection
[2011/12/20 10:33:14] <f0> vontrapp: ah need to add provider => shell
[2011/12/20 10:35:55] @ mpdude joined channel #puppet
[2011/12/20 10:36:53] @ maxmartin joined channel #puppet
[2011/12/20 10:38:41] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 10:40:28] @ csanchez joined channel #puppet
[2011/12/20 10:40:55] @ penfold_99 joined channel #puppet
[2011/12/20 10:41:06] @ samrose joined channel #puppet
[2011/12/20 10:41:13] <penfold_99> hu all.
[2011/12/20 10:41:16] <penfold_99> *hi
[2011/12/20 10:41:56] <penfold_99> i am looking into using puppet for a scalable infrastructure on ec2
[2011/12/20 10:42:19] @ kermit joined channel #puppet
[2011/12/20 10:42:27] @ Scott-Mc joined channel #puppet
[2011/12/20 10:42:45] @ kermit is now known as Guest23736
[2011/12/20 10:42:45] @ rutger_ joined channel #puppet
[2011/12/20 10:43:16] <penfold_99> this would mainly required the managing the machine plus apache/glusterfs settings so our web teir can scale.
[2011/12/20 10:44:10] <penfold_99> is it possible to administer apache config and glusterfs with puppet and the dash board?
[2011/12/20 10:44:50] @ lwhalen joined channel #puppet
[2011/12/20 10:47:26] @ c33s joined channel #puppet
[2011/12/20 10:47:38] <c33s> hello
[2011/12/20 10:48:11] <penfold_99> c33s: hi, its very quiet in here at the mo
[2011/12/20 10:49:18] <the_ramink> penfold_99: yeah I've done both in Puppet
[2011/12/20 10:49:23] <mpdude> if i have class X { package { ... } } and someone else does ... class { 'x': } -> other {}, does that guarantee everything in X (that is, the package) has been managed before other {} is managed?
[2011/12/20 10:49:34] <c33s> ^^everyone on xmas holiday :)
[2011/12/20 10:49:37] @ jab_doa joined channel #puppet
[2011/12/20 10:49:37] @ Quit: jab_doa: Changing host
[2011/12/20 10:49:37] @ jab_doa joined channel #puppet
[2011/12/20 10:50:21] <c33s> i have an augeas question: how to write a semicolon ";" to the php.ini? the following does not work: "set session.save_path '\"${depth};${path}\"'" (escaping the ; with \; also fails
[2011/12/20 10:51:33] <penfold_99> the_ramink: how did it pan out? are you using enterprise or community
[2011/12/20 10:51:35] @ alanevans joined channel #puppet
[2011/12/20 10:52:02] @ Quit: lborda: Read error: Connection reset by peer
[2011/12/20 10:53:14] @ jcustenborder joined channel #puppet
[2011/12/20 10:53:53] <mzi> c33s: and your sytax works in augtool?
[2011/12/20 10:54:17] @ Quit: Yann2: Ping timeout: 252 seconds
[2011/12/20 10:54:18] @ Quit: fsero:
[2011/12/20 10:54:40] <c33s> mzi: no, its the semiconlon, as soon as i skip it, it works.
[2011/12/20 10:55:12] @ Quit: sihil: Quit: Linkinus - http://linkinus.com
[2011/12/20 10:55:35] <the_ramink> penfold_99: was pretty straightforward using community though ultimately it never made it into production. I found it easier to have seperate glusterfsd and glsuterfs packages.
[2011/12/20 10:55:42] <the_ramink> s/packages/classes
[2011/12/20 10:56:03] <jcustenborder> hello everyone. Can someone help me with conditionally conditionally setting a property on a resource in a define? http://pastebin.com/eCtsSfHH
[2011/12/20 10:57:03] @ Yann2 joined channel #puppet
[2011/12/20 10:58:24] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 10:59:06] <jcustenborder> I'm wondering if it's not possible using exported resources
[2011/12/20 10:59:54] <penfold_99> the_ramink: thanks, is there any major things the puppet can't handle?
[2011/12/20 11:00:31] @ csanchez joined channel #puppet
[2011/12/20 11:00:54] @ Quit: astrostl:
[2011/12/20 11:02:03] <mzi> c33s: sorry, haven't played much with auegas at all.
[2011/12/20 11:02:14] @ erthad left channel #puppet ()
[2011/12/20 11:03:54] @ Quit: mpdude: Remote host closed the connection
[2011/12/20 11:06:58] <c33s> mzi: thank you anyway.
[2011/12/20 11:08:53] @ Quit: jordane: Changing host
[2011/12/20 11:08:53] @ jordane joined channel #puppet
[2011/12/20 11:09:01] <the_ramink> penfold_99: My setup was fairly simple with two bricks and a couple of servers mounting it. If you go beyond that the modeling of the work gets harder. I pushed my modules out to github if you want to look at them as a basis for your own. https://github.com/rkhatibi/rdk-puppet-modules
[2011/12/20 11:10:13] @ KaiserBeto1 joined channel #puppet
[2011/12/20 11:10:29] @ Quit: omry__: Ping timeout: 252 seconds
[2011/12/20 11:10:48] <jcustenborder> I've got aaron looking into it
[2011/12/20 11:10:55] <jcustenborder> haha wrong window
[2011/12/20 11:11:04] @ omry__ joined channel #puppet
[2011/12/20 11:13:11] <penfold_99> the_ramink: thanks it looks a great starting point
[2011/12/20 11:13:39] @ flipwork_ joined channel #puppet
[2011/12/20 11:13:53] <penfold_99> has anyone bought the puppet cookbook 2.7? what is your view on it? good or bad buy?
[2011/12/20 11:15:07] @ Quit: flipwork: Ping timeout: 276 seconds
[2011/12/20 11:16:49] @ lanky joined channel #puppet
[2011/12/20 11:16:57] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 11:17:24] @ lborda joined channel #puppet
[2011/12/20 11:18:41] @ csanchez joined channel #puppet
[2011/12/20 11:19:36] @ Quit: lanky: Client Quit
[2011/12/20 11:20:07] @ joooopy joined channel #puppet
[2011/12/20 11:22:41] @ Quit: joooopy: Client Quit
[2011/12/20 11:22:57] <omry__> anyone can point me toward an example of how to copy a file that sites inside a module files dir?
[2011/12/20 11:25:18] <jcustenborder> omry__
[2011/12/20 11:25:19] <jcustenborder> file{'target path': source=> 'puppet:///modulename/filename' }
[2011/12/20 11:25:26] <omry__> yeS?
[2011/12/20 11:25:30] <omry__> tried this : puppet:///modules/munin/files/init.d/munin-graphite
[2011/12/20 11:26:07] @ nitram_macair left channel #puppet ()
[2011/12/20 11:26:47] <jcustenborder> assuming that munin is your module it would be puppet:///munin/init.d/munin-graphite
[2011/12/20 11:27:10] <omry__> munin is translated to munin/files ?
[2011/12/20 11:27:26] <jcustenborder> correct
[2011/12/20 11:28:21] <omry__> works, thanks!
[2011/12/20 11:28:28] <jcustenborder> np
[2011/12/20 11:28:39] <jcustenborder> one other thing that has tripped me up before
[2011/12/20 11:28:51] <jcustenborder> make sure that your permissions are readable by the puppet master user
[2011/12/20 11:28:55] @ justinstoller joined channel #puppet
[2011/12/20 11:29:02] <jcustenborder> it will return a not found if it cannot read the file
[2011/12/20 11:29:55] @ Quit: adimania: Ping timeout: 255 seconds
[2011/12/20 11:29:57] <omry__> okay, good to know
[2011/12/20 11:30:02] <omry__> thanks
[2011/12/20 11:30:56] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/20 11:31:13] @ tomks joined channel #puppet
[2011/12/20 11:31:51] <tomks> I installed puppet 2.6.12 on CentOS 6. When I try to start the puppetmaster service using the command service puppetmaster start I get the error:
[2011/12/20 11:32:08] <tomks> Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:142:in open: Permission denied - /var/lib/puppet/ssl/ca (Errno::EACCES).
[2011/12/20 11:32:11] @ Quit: csanchez: Quit: csanchez
[2011/12/20 11:32:28] <tomks> If I do sudo service puppetmaster start I get the error
[2011/12/20 11:32:43] <tomks> Starting puppetmaster: Could not prepare for execution: Could not find a default provider for user
[2011/12/20 11:32:48] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 11:32:48] <tomks> any way to fix this ?
[2011/12/20 11:33:00] <aricg> how did you install it?
[2011/12/20 11:33:08] @ Quit: Deesl: Quit: Bye!
[2011/12/20 11:33:12] <aricg> -- by which method
[2011/12/20 11:34:10] <aricg> tomks, run it like this for more output puppet master --verbose --no-daemonize --debug
[2011/12/20 11:34:13] <aricg>
[2011/12/20 11:34:33] <tomks> aricg: i first did yum install puppet puppet-server facter
[2011/12/20 11:35:00] <tomks> aricg: ok, trying that..
[2011/12/20 11:35:24] <aricg> puppet has their own repo. I recommend installing their version
[2011/12/20 11:35:55] <aricg> yum.puppetlabs.com
[2011/12/20 11:36:08] <omry__> any idea why the munin-graphite service wont start? http://fpaste.org/V5dB/
[2011/12/20 11:36:53] <tomks> aricg: ok. running puppet master --verbose --np-daemonize --debug gave the error '`open': Permission denied - /var/lib/puppet/ssl/ca (Errno::EACCES)'
[2011/12/20 11:37:09] <omry__> running in debug, I do see this : debug: Service[munin-graphite](provider=debian): Executing '/etc/init.d/munin-graphite status'
[2011/12/20 11:37:38] <omry__> figured it out. status does not return the correct return code
[2011/12/20 11:37:41] <aricg> what user are you running puppet master as?
[2011/12/20 11:37:58] <tomks> aricg: as the logged in user
[2011/12/20 11:38:04] <tomks> not root
[2011/12/20 11:38:12] @ jcustenborder joined channel #puppet
[2011/12/20 11:38:23] <aricg> okay, run as user puppet or root
[2011/12/20 11:38:33] <aricg> so have access there
[2011/12/20 11:38:38] <aricg> so/to
[2011/12/20 11:38:58] @ Quit: djm68: Remote host closed the connection
[2011/12/20 11:39:20] <tomks> aricg: i run it as root it says 'Starting puppetmaster: Could not prepare for execution: Could not find a default provider for user'
[2011/12/20 11:40:10] <aricg> did you run this puppet master --verbose --no-daemonize --debug as root?
[2011/12/20 11:42:24] <aricg> tomks puppet -V ?
[2011/12/20 11:42:50] <tomks> aricg: the version is 2.6.12
[2011/12/20 11:43:27] <tomks> i think the puppet master serice started with puppet master --verbose --no-daemonize as root
[2011/12/20 11:43:57] <aricg> imo put something like this http://privatepaste.com/be1e95d169 in /etc/repos.d/puppet.repo and get puppets official package
[2011/12/20 11:43:57] <tomks> /etc/init.d/puppetmaster status shows Running
[2011/12/20 11:44:15] <tomks> whats the problem with trying to run it with 'service puppetmaster start' ?
[2011/12/20 11:44:42] <tomks> aricg: ok ill do that
[2011/12/20 11:45:18] <aricg> ive googled your bug https://bugzilla.redhat.com/show_bug.cgi?id=711804
[2011/12/20 11:45:54] @ Quit: justinstoller: Quit: justinstoller
[2011/12/20 11:46:08] <aricg> try setting selinux to permissive
[2011/12/20 11:46:14] <tomks> aricg: oh so its a bug...ill do a install using the official repo as u suggested
[2011/12/20 11:46:24] <aricg> it looks like a selinux policy
[2011/12/20 11:46:45] <aricg> i allways turn off selinux untill the machine is configured, and then, if they pay me extra i harden it.
[2011/12/20 11:47:02] <tomks> aricg: how to set it to permissive ?...if i run getenforce it shows 'Enforcing'
[2011/12/20 11:47:11] <aricg> setenforce
[2011/12/20 11:47:17] <aricg> setenforce permissive
[2011/12/20 11:47:27] <tomks> aricg: ok
[2011/12/20 11:47:39] <aricg> that will only work until reboot
[2011/12/20 11:48:58] @ rharrison joined channel #puppet
[2011/12/20 11:49:52] <tomks> aricg: cool :)..doing setenforce permissive makes service puppetmaster start work. I dont have much idea about SELinux. Do u think i still need to install from official repo ?
[2011/12/20 11:50:06] <aricg> depends what you are doing
[2011/12/20 11:50:21] @ Majestic joined channel #puppet
[2011/12/20 11:50:38] <aricg> are all the boxes under the puppet master going to be running centos6?
[2011/12/20 11:51:02] <aricg> best practice is to have the same version of puppet running on all the boxes.
[2011/12/20 11:51:41] <tomks> aricg: this install was just on my own machine for me to try it out. We are going to be using it on centos 6 boxes running in the amazon cloud
[2011/12/20 11:51:52] <aricg> one way of doing this is to use the default repos. another is to use the puppetlabs repo on all machines
[2011/12/20 11:52:28] <tomks> ok
[2011/12/20 11:52:48] <tomks> so setenforce permissive works only until reboot right
[2011/12/20 11:52:53] <aricg> if you are going into production with this. imo, the puppet repo will have the quickest fixes and best support
[2011/12/20 11:53:06] <tomks> aricg: ok got it
[2011/12/20 11:53:38] @ Quit: |Majestic|: Ping timeout: 240 seconds
[2011/12/20 11:53:57] @ dissipate joined channel #puppet
[2011/12/20 11:53:58] @ Quit: dissipate: Changing host
[2011/12/20 11:53:58] @ dissipate joined channel #puppet
[2011/12/20 11:54:10] <tomks> aricg: thanks a lot for ur help..really appreciated :)
[2011/12/20 11:54:35] @ Quit: nottings: Remote host closed the connection
[2011/12/20 11:54:47] <aricg> tomks, sed -e s,enforcing,permissive,g -i /etc/selinux/config"
[2011/12/20 11:54:59] <tomks> aricg: ok
[2011/12/20 11:55:01] @ Quit: fronlius: Quit: fronlius
[2011/12/20 11:55:09] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 11:55:45] @ Quit: Majestic: Ping timeout: 248 seconds
[2011/12/20 11:57:31] @ jcustenborder joined channel #puppet
[2011/12/20 11:58:09] <ashp> jamesfryman: You're making me learn all the new Puppet syntax I've avoided!
[2011/12/20 11:58:19] <ashp> jamesfryman: All the anchoring and god knows what else.. argh!
[2011/12/20 11:59:10] <basic`> puppet is hiring in portland? Neat.
[2011/12/20 11:59:37] @ cliff-hm joined channel #puppet
[2011/12/20 12:00:06] @ Quit: rutger_: Remote host closed the connection
[2011/12/20 12:02:12] @ Quit: jcustenborder: Client Quit
[2011/12/20 12:02:23] @ jcustenborder joined channel #puppet
[2011/12/20 12:02:56] @ Quit: jcustenborder: Read error: Connection reset by peer
[2011/12/20 12:03:04] @ jcustenborder joined channel #puppet
[2011/12/20 12:05:06] <jamesfryman> ashp: sorry? :)
[2011/12/20 12:05:19] <mrwacky42> I need a translator from puppet labs to tell me wtf they're talking about in this video:
[2011/12/20 12:05:19] <mrwacky42> http://www.youtube.com/watch?v=mYUqAM9nrMg
[2011/12/20 12:05:39] <Evolution> ashp: don't worry, nothing I write is close to proper puppet syntax
[2011/12/20 12:05:54] <mrwacky42> jamesturnbull: what say you ;)
[2011/12/20 12:06:24] @ pwelch joined channel #puppet
[2011/12/20 12:06:40] @ PWizard_ is now known as PWizard
[2011/12/20 12:07:16] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/20 12:08:02] <rodjek> mrwacky42: hey now, don't be hating rugby
[2011/12/20 12:08:26] @ bmahe joined channel #puppet
[2011/12/20 12:08:27] @ Quit: bmahe: Changing host
[2011/12/20 12:08:27] @ bmahe joined channel #puppet
[2011/12/20 12:08:27] <mrwacky42> rodjek: not hating, i just have a language barrier
[2011/12/20 12:09:30] <ashp> jamesfryman: All the -> stuff and paramatized classes etc in your gitolite module
[2011/12/20 12:09:37] <ashp> jamesfryman: as I'm from the dawn of time I haven't really kept up with all the new syntax
[2011/12/20 12:11:38] @ joe-mac joined channel #puppet
[2011/12/20 12:15:35] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/20 12:20:16] @ Quit: brtl: Quit: Leaving.
[2011/12/20 12:24:23] @ flipwork_ is now known as flipwork
[2011/12/20 12:25:58] @ nokia3510 joined channel #puppet
[2011/12/20 12:26:24] @ mpdude joined channel #puppet
[2011/12/20 12:27:09] @ Quit: Guest23736: Changing host
[2011/12/20 12:27:09] @ Guest23736 joined channel #puppet
[2011/12/20 12:27:15] @ Guest23736 is now known as kermit
[2011/12/20 12:29:34] @ Quit: kermit: Quit: Leaving.
[2011/12/20 12:29:56] @ kermit joined channel #puppet
[2011/12/20 12:34:27] @ Quit: mburns: Ping timeout: 252 seconds
[2011/12/20 12:35:10] @ comptona joined channel #puppet
[2011/12/20 12:35:20] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants outta control!
[2011/12/20 12:37:47] @ Quit: krish: Ping timeout: 252 seconds
[2011/12/20 12:42:03] @ fronlius joined channel #puppet
[2011/12/20 12:42:20] @ Quit: fronlius: Read error: Connection reset by peer
[2011/12/20 12:42:58] @ fronlius joined channel #puppet
[2011/12/20 12:45:03] @ Quit: fronlius: Client Quit
[2011/12/20 12:46:11] @ nul0op joined channel #puppet
[2011/12/20 12:46:57] @ pwelch left channel #puppet ("Leaving")
[2011/12/20 12:47:06] <bsg_kwolf> I'm curious... anyone managing Proxmox servers with puppet?
[2011/12/20 12:48:16] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/20 12:49:30] @ the_ramink joined channel #puppet
[2011/12/20 12:49:36] @ Quit: mendez: Ping timeout: 252 seconds
[2011/12/20 12:51:54] <jamesturnbull> mrwacky42: ask rodjek :)
[2011/12/20 12:51:59] @ justinstoller joined channel #puppet
[2011/12/20 12:52:05] @ Quit: ascarter: Ping timeout: 240 seconds
[2011/12/20 12:52:37] <jamesturnbull> mrwacky42: but Manu got a yellow card and a ban for smacking Ashton from memory
[2011/12/20 12:52:39] @ Quit: skm: Ping timeout: 276 seconds
[2011/12/20 12:52:53] @ Quit: bosszaru_: Remote host closed the connection
[2011/12/20 12:53:03] @ mendez joined channel #puppet
[2011/12/20 12:54:44] @ Quit: juniper: Ping timeout: 252 seconds
[2011/12/20 12:56:59] @ djm68 joined channel #puppet
[2011/12/20 12:58:44] <mpdude> if i have class X { package { ... } } and someone else does ... class { 'x': } -> other {}, does that guarantee everything in X (that is, the package) has been managed before other {} is managed?
[2011/12/20 13:00:47] @ Quit: natewalck: Quit: Outta here
[2011/12/20 13:00:56] @ nottings_ joined channel #puppet
[2011/12/20 13:00:56] @ nottings joined channel #puppet
[2011/12/20 13:02:53] @ robbyt joined channel #puppet
[2011/12/20 13:03:21] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 13:04:55] @ jcustenborder joined channel #puppet
[2011/12/20 13:05:02] @ Quit: KaiserBeto1: Read error: Connection reset by peer
[2011/12/20 13:06:54] @ jfroche joined channel #puppet
[2011/12/20 13:07:37] <felixnor> freebsd client on updating puppet: "change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist"
[2011/12/20 13:07:45] <felixnor> is this what the common.pp file is for?
[2011/12/20 13:08:18] @ bosszaru joined channel #puppet
[2011/12/20 13:08:46] @ skm joined channel #puppet
[2011/12/20 13:09:21] <felixnor> puppet's /var/lib/ lives on /usr/local in freebsd
[2011/12/20 13:11:56] <felixnor> ill try setting it via a common.pp file and include in the host class
[2011/12/20 13:12:14] <brd> felixnor: I don't set it..
[2011/12/20 13:12:31] <brd> felixnor: but I don't have a /var/lib either
[2011/12/20 13:12:33] <brd> hmm
[2011/12/20 13:12:52] <BrickBag> We've been having the following problem: we export stuff for loadbalancers from multiple webservers.. but when the loadbalancers import these resources they are duplicate (logically). However, the content is ALSO the same, so we don't care which server exported the resource, only that it gets imported...
[2011/12/20 13:13:27] @ LeslieCarr left channel #puppet ()
[2011/12/20 13:13:29] @ Quit: dissipate: Ping timeout: 240 seconds
[2011/12/20 13:14:09] @ Quit: hco_: Quit: hco_
[2011/12/20 13:14:25] @ hco-bitlbee-mba joined channel #puppet
[2011/12/20 13:15:11] @ KaiserBeto1 joined channel #puppet
[2011/12/20 13:17:02] @ Quit: ghg: Quit: Out of here.
[2011/12/20 13:17:02] <brd> felixnor: did you build puppet from FreeBSD ports?
[2011/12/20 13:17:09] <felixnor> yeah
[2011/12/20 13:17:11] <felixnor> bradm:
[2011/12/20 13:17:14] <felixnor> brd
[2011/12/20 13:17:21] <felixnor> (sry bradm)
[2011/12/20 13:17:48] <felixnor> it was working until i fixed the puppet manfiest for freebsd clients
[2011/12/20 13:19:23] @ Quit: hco-bitlbee-mba: Ping timeout: 268 seconds
[2011/12/20 13:22:01] @ scsinutz joined channel #puppet
[2011/12/20 13:22:26] @ scsinutz left channel #puppet ()
[2011/12/20 13:24:20] @ fronlius joined channel #puppet
[2011/12/20 13:25:30] @ mao joined channel #puppet
[2011/12/20 13:26:07] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/20 13:26:22] <mao> greetings. i have a strange issue with a puppet module that includes its own types and providers
[2011/12/20 13:27:00] <mao> if i have the module locally and run a puppet apply with --modulepath, everything is fine
[2011/12/20 13:27:34] @ hostingCEO joined channel #puppet
[2011/12/20 13:27:40] <mao> but when i try to call the module through a master using puppet agent, it looks like the providers never run
[2011/12/20 13:27:49] @ Quit: JayTaph: Quit: JayTaph
[2011/12/20 13:28:24] <mao> the resources show up in --debug listing dependencies and such, but it never executes anything
[2011/12/20 13:28:29] @ ghg joined channel #puppet
[2011/12/20 13:29:52] @ Holocaine joined channel #puppet
[2011/12/20 13:31:23] @ Quit: robbyt: Quit: robbyt
[2011/12/20 13:33:21] <mzi> mao: pastie?
[2011/12/20 13:33:31] @ tilgovi joined channel #puppet
[2011/12/20 13:33:32] @ Quit: tilgovi: Changing host
[2011/12/20 13:33:32] @ tilgovi joined channel #puppet
[2011/12/20 13:36:09] <mao> mzi: http://pastie.org/3049395
[2011/12/20 13:36:45] <mao> it's the lvm module fyi
[2011/12/20 13:38:19] <mzi> could I see the complete output?
[2011/12/20 13:38:31] <mzi> I guess that you don't sync your plugins to the nodes.
[2011/12/20 13:39:48] <mao> sure, one sec
[2011/12/20 13:41:35] @ ghg27 joined channel #puppet
[2011/12/20 13:41:56] @ Quit: ghg: Ping timeout: 240 seconds
[2011/12/20 13:41:56] @ ghg27 is now known as ghg
[2011/12/20 13:41:59] <mao> mzi: http://pastie.org/3049427
[2011/12/20 13:42:18] <mao> not sure what you mean by syncing plugins to nodes
[2011/12/20 13:42:19] <clustermagnet> if i am looping through an array via a define....
[2011/12/20 13:42:26] <clustermagnet> and from this define, i call another class
[2011/12/20 13:42:27] @ newtMcKerr joined channel #puppet
[2011/12/20 13:42:33] <clustermagnet> does this class get called for each variable in the array?
[2011/12/20 13:42:36] <clustermagnet> or only once :)
[2011/12/20 13:43:11] <Volcane> classes are singletons
[2011/12/20 13:43:25] <Volcane> u cant have many different versions of the same class on the same machine
[2011/12/20 13:43:49] <clustermagnet> Volcane: copy :)
[2011/12/20 13:43:50] <clustermagnet> thanks!
[2011/12/20 13:44:13] @ Quit: skm: Read error: Connection reset by peer
[2011/12/20 13:44:23] <aricg> mao [agent]
[2011/12/20 13:44:23] <aricg> report = true
[2011/12/20 13:44:23] <aricg> pluginsync=true
[2011/12/20 13:44:25] <clustermagnet> uhm, so if i wanted to keep certain 'define' statements in another file in my module....
[2011/12/20 13:44:35] <mzi> mao, as I thought, it dosen't seem like you have "pluginsync = true" in your [main]
[2011/12/20 13:44:46] <Volcane> clustermagnet: modname::definename in definename.pp
[2011/12/20 13:44:47] <aricg> it should be enabled by default imo
[2011/12/20 13:45:02] <clustermagnet> Volcane: let me try, thanks!
[2011/12/20 13:45:05] <mzi> that will sync all plugins in /var/lib/puppet/lib/puppet and in the lib/ in your modules
[2011/12/20 13:45:05] <mao> mzi | aricg: can you help me understand what that does?
[2011/12/20 13:45:21] @ Quit: fronlius: Quit: fronlius
[2011/12/20 13:45:36] <mzi> so that the clients can know what to do with new types and providers.
[2011/12/20 13:45:51] <mzi> i guess that the lvm module do have a lib directory?
[2011/12/20 13:46:01] <mao> mzi: yes it does.
[2011/12/20 13:46:18] @ geogdog joined channel #puppet
[2011/12/20 13:46:24] <mao> and this is the first module that does for us
[2011/12/20 13:46:29] <mao> so this makes sense
[2011/12/20 13:46:36] <mzi> in that, you have the ruby code for the types and providers, so for the node to perform the modifications, it has to know what to do.
[2011/12/20 13:46:53] <mao> and /var/lib/puppet/lib is empty on the master, so i'm assuming puppet doesn't come with anything there by default
[2011/12/20 13:47:31] @ fronlius joined channel #puppet
[2011/12/20 13:47:32] <mzi> nope, it used to be the place for plugins up to 0.25 or so.
[2011/12/20 13:47:52] <mao> looks like it's set to false by default
[2011/12/20 13:47:59] @ duerF joined channel #puppet
[2011/12/20 13:48:02] <mzi> puppet doesn't come with plugins, it ships with builtins :)
[2011/12/20 13:48:03] @ dephex joined channel #puppet
[2011/12/20 13:48:08] @ dephex left channel #puppet ()
[2011/12/20 13:48:23] @ geogdog left channel #puppet ()
[2011/12/20 13:49:28] <mzi> some to read: http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2011/12/20 13:49:56] <joe-mac> yea if you need many of something, you might want to look at a define
[2011/12/20 13:50:06] <joe-mac> or a completely different solution altogether
[2011/12/20 13:50:08] <mao> mzi: this makes complete sense. adding that option to the agent's puppet.conf has fixed the problem
[2011/12/20 13:50:16] <joe-mac> though those comments were made a while ago, my scrollback was caught back
[2011/12/20 13:50:19] @ Quit: geekbri: Remote host closed the connection
[2011/12/20 13:50:21] <mao> and i've learned my new thing for the week ;-)
[2011/12/20 13:50:23] <mao> thanks
[2011/12/20 13:50:27] <mzi> mao: glad to help
[2011/12/20 13:51:06] @ Quit: fronlius: Client Quit
[2011/12/20 13:51:12] @ Quit: f0: Quit: Lost terminal
[2011/12/20 13:52:05] @ Quit: tomks: Ping timeout: 240 seconds
[2011/12/20 13:53:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/20 13:54:36] @ Quit: MattyM: Ping timeout: 240 seconds
[2011/12/20 13:56:06] <clustermagnet> Volcane: thank you.
[2011/12/20 13:56:18] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/20 13:58:50] @ hostingCEO left channel #puppet ()
[2011/12/20 13:59:18] @ skm joined channel #puppet
[2011/12/20 14:03:14] @ skoom joined channel #puppet
[2011/12/20 14:04:08] @ Quit: skm: Ping timeout: 276 seconds
[2011/12/20 14:04:10] @ skoom is now known as skm
[2011/12/20 14:05:13] @ bweiss joined channel #puppet
[2011/12/20 14:07:13] <bweiss> does anyone have a puppet svn pre-commit hook for 2.7? I was using http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control with my 2.5 repo, but that's not working anymore
[2011/12/20 14:07:33] <agaffney> what isn't working?
[2011/12/20 14:07:39] <bweiss> it tells me "--parseonly has been removed. Please use 'puppet parser validate <manifest>'", but I can't get that command to fail on even a trivially bad example
[2011/12/20 14:08:14] <agaffney> that sounds like a bug
[2011/12/20 14:08:17] <bweiss> like, open up a working file, add a few lines of garbage to the middle, 'puppet parser validate init.pp' still returns 0 and has no output
[2011/12/20 14:08:41] <bweiss> yeah
[2011/12/20 14:08:42] <whack> bweiss: on what version of 2.7?
[2011/12/20 14:08:51] <agaffney> it was broken like that somewhere in 2.5
[2011/12/20 14:09:00] <bweiss> 2.7.8, installed via gem on my Ubuntu system
[2011/12/20 14:09:00] <agaffney> it's possible it's been broken again
[2011/12/20 14:09:04] <wilco> I'm having a problem with environments... I have the following: http://pastebin.com/hFNA2nKD in my puppet.conf but it appears to be looking for 'production' using the variables in [master] instead of [production]... this is 2.6.12
[2011/12/20 14:09:27] <bweiss> oh, there's an update available, hold that...
[2011/12/20 14:09:47] <whack> bweiss: https://gist.github.com/25a3520e42b1b392daf4
[2011/12/20 14:09:51] <bweiss> I've got another system with 2.7.9, same failure
[2011/12/20 14:09:55] <whack> works for me in 2.7.9
[2011/12/20 14:10:02] <bweiss> hm
[2011/12/20 14:10:12] <bweiss> ok, let me make a better test case
[2011/12/20 14:10:16] <whack> bweiss: not all errors are syntax errors, can you show me bbefore/after on what you changed?
[2011/12/20 14:10:18] <nlew> bweiss: Are you giving it the right path? It will silently succeed if the file doesn't exist, it looks like.
[2011/12/20 14:10:21] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 14:10:21] <wilco> are the docs not correct for 2.6? This says it should work... http://docs.puppetlabs.com/guides/environment.html
[2011/12/20 14:10:41] <bweiss> whack and nlew: I'll put it into a gist, just a sec
[2011/12/20 14:10:55] <wilco> (and it was working until I restarted puppetmaster, which I have not done since I added the stuff to puppet.conf
[2011/12/20 14:10:56] <wilco> )
[2011/12/20 14:11:35] @ Quit: dkr: Quit: Leaving
[2011/12/20 14:12:11] <eric0> wilco i think the [master] section *is* for production
[2011/12/20 14:12:21] <eric0> and the additional stanzas are for non-'production' environments
[2011/12/20 14:12:27] @ jcustenborder joined channel #puppet
[2011/12/20 14:12:50] <bweiss> https://gist.github.com/1503524
[2011/12/20 14:13:00] <bweiss> you'
[2011/12/20 14:13:03] <nlew> heh
[2011/12/20 14:13:07] <nlew> that's perfectly legal!
[2011/12/20 14:13:10] <bweiss> you'll notice I just banged on the keyboard a bit to make it 'bad'
[2011/12/20 14:13:11] <wilco> eric0: Look at the code sample under "Configuring Environments on the Puppet Master"
[2011/12/20 14:13:12] * bweiss shrugs
[2011/12/20 14:13:16] <nlew> it's a series of nested function calls ;)
[2011/12/20 14:13:32] <bweiss> ... oh, geez
[2011/12/20 14:13:37] @ Quit: freezey: Quit: freezey
[2011/12/20 14:13:42] <bweiss> it really does parse, doesn't it? I just added a { and it blew up
[2011/12/20 14:14:33] <whack> bweiss: depends on what you think is valid syntax I suppose
[2011/12/20 14:14:40] * bweiss sighs
[2011/12/20 14:15:02] @ Quit: gniks: Quit: Leaving.
[2011/12/20 14:15:37] <bweiss> bad test on my part
[2011/12/20 14:15:48] @ st33v joined channel #puppet
[2011/12/20 14:15:50] <nlew> unfortunately it can't necessarily find the functions on the master, so it can't validate that they're real
[2011/12/20 14:16:03] <whack> bweiss: still, what you presented should be a syntax error, imo.
[2011/12/20 14:16:07] <whack> bweiss: maybe worth filing a bug
[2011/12/20 14:18:07] @ leifmadsen joined channel #puppet
[2011/12/20 14:19:28] @ pietrodibello joined channel #puppet
[2011/12/20 14:19:41] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2011/12/20 14:21:03] @ Quit: marczak: Ping timeout: 268 seconds
[2011/12/20 14:22:04] <bweiss> I'll put one in, see if anyone wants to take it on :)
[2011/12/20 14:22:49] @ bman1 joined channel #puppet
[2011/12/20 14:23:57] @ brunoleon_ joined channel #puppet
[2011/12/20 14:24:23] @ Quit: ajburton: Quit: Leaving.
[2011/12/20 14:26:22] @ Quit: mapu: Quit: mapu
[2011/12/20 14:27:26] <bman1> how would i check part of a hostname in puppet for say a class of machines from a domain for example in ruby u could do if hostname=~ /test/ puts found end i know in puppet i can do if ( $hostname === "test-host1" )
[2011/12/20 14:27:38] <bman1> but would also =~ work?
[2011/12/20 14:27:42] @ _flex joined channel #puppet
[2011/12/20 14:27:42] <agaffney> yes
[2011/12/20 14:27:53] <bman1> cool I' ll try thanks
[2011/12/20 14:27:53] <agaffney> puppet supports regex matching in manifests like that
[2011/12/20 14:28:13] @ Quit: swygue: Read error: Operation timed out
[2011/12/20 14:28:15] <bman1> ok thanks
[2011/12/20 14:33:44] <clustermagnet> guys, trying to chase down 'duplicate definitions'
[2011/12/20 14:34:17] <the_ramink> it's in your latest define. :)
[2011/12/20 14:34:26] <clustermagnet> the_ramink: k....
[2011/12/20 14:34:43] <clustermagnet> the module looks like a looop
[2011/12/20 14:34:49] <clustermagnet> i loop through an array
[2011/12/20 14:34:59] <clustermagnet> then each define calls another define… if it has to
[2011/12/20 14:35:00] <whack> clustermagnet: pastebin your manifest?
[2011/12/20 14:35:13] <clustermagnet> here goes nothing :)
[2011/12/20 14:35:16] @ Quit: amoe: Ping timeout: 240 seconds
[2011/12/20 14:35:17] <clustermagnet> whack: hang on :)
[2011/12/20 14:35:25] <clustermagnet> its a ton of sh1t
[2011/12/20 14:35:31] <the_ramink> clustermagnet: I was mostly joking, but they are often a good place to start looking.
[2011/12/20 14:35:45] <clustermagnet> actually, i've narrowed it down
[2011/12/20 14:35:53] <clustermagnet> if i include a define , it breaks
[2011/12/20 14:35:58] <clustermagnet> if i type it out, it works fine
[2011/12/20 14:36:02] <clustermagnet> buthere is the stuff:
[2011/12/20 14:36:25] <clustermagnet> http://pastie.org/3049669
[2011/12/20 14:36:27] @ rcrowley joined channel #puppet
[2011/12/20 14:36:27] <clustermagnet> explanation:
[2011/12/20 14:36:32] <clustermagnet> line 3 breaks
[2011/12/20 14:36:57] <whack> and what's the duplicate resource?
[2011/12/20 14:36:58] <clustermagnet> if i take the define (which begins on line 57) and stick it into line 3, puppet does not complain
[2011/12/20 14:37:09] @ pietrodibello left channel #puppet ()
[2011/12/20 14:37:10] <clustermagnet> Duplicate definition: Devprodnoemail[devprodnoemail]
[2011/12/20 14:37:14] <gepetto> ::redmine:: Wiki edit: Puppet_Ubuntu (#6) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Ubuntu?version=6 (by Joe Hillenbrand)
[2011/12/20 14:37:52] @ Quit: karsten: Changing host
[2011/12/20 14:37:52] @ karsten joined channel #puppet
[2011/12/20 14:37:56] @ Quit: danblack: Ping timeout: 276 seconds
[2011/12/20 14:38:05] <whack> clustermagnet: show all usages of 'wsesvn::wsesvn_svnserverkeys' ?
[2011/12/20 14:38:16] <clustermagnet> eh? :)
[2011/12/20 14:39:16] <clustermagnet> whack: top level class: http://pastie.org/3049687
[2011/12/20 14:39:55] <clustermagnet> uhm....
[2011/12/20 14:39:56] <clustermagnet> fuk
[2011/12/20 14:39:59] <clustermagnet> i think i caught it
[2011/12/20 14:40:03] <clustermagnet> oen sec :)
[2011/12/20 14:40:23] <whack> you are including a define? confused.
[2011/12/20 14:40:41] <whack> erm, nm
[2011/12/20 14:40:51] <clustermagnet> whack: let me re-check
[2011/12/20 14:41:01] <whack> that pastebin doesn't include any usage of wsesvn::wsesvn_svnserverkeys I can see?
[2011/12/20 14:41:04] <clustermagnet> as i was pimp slapped by volcane earlier, one can haz one class
[2011/12/20 14:41:10] <clustermagnet> one sec
[2011/12/20 14:41:20] @ amoe joined channel #puppet
[2011/12/20 14:41:51] <c33s> good night
[2011/12/20 14:42:37] @ Quit: c33s: Quit: Leaving.
[2011/12/20 14:42:45] @ swygue joined channel #puppet
[2011/12/20 14:43:28] <clustermagnet> whack: full paste: http://pastie.org/3049706
[2011/12/20 14:43:32] <clustermagnet> items are chronological
[2011/12/20 14:44:43] @ Quit: joe-mac: Remote host closed the connection
[2011/12/20 14:44:59] <whack> clustermagnet: none of your defines take parameters, why?
[2011/12/20 14:45:07] <whack> seems like you're using them like classes
[2011/12/20 14:45:18] * nevyn yawns
[2011/12/20 14:45:32] <clustermagnet> whack: thats the problem
[2011/12/20 14:45:43] @ Quit: tomben_: Remote host closed the connection
[2011/12/20 14:45:52] <clustermagnet> so i should be passing the variables down… right?
[2011/12/20 14:45:57] <whack> clustermagnet: so make them classes or pass variables in
[2011/12/20 14:46:07] <clustermagnet> cant make them classes
[2011/12/20 14:46:10] <clustermagnet> because
[2011/12/20 14:46:11] <whack> class foo { instead of define foo() {
[2011/12/20 14:46:29] <clustermagnet> that will define 2 duplicate classes...
[2011/12/20 14:46:32] <clustermagnet> or 10
[2011/12/20 14:46:39] <clustermagnet> because the $websites get back an array from hierra
[2011/12/20 14:47:03] <clustermagnet> http://pastie.org/3049706 line 18
[2011/12/20 14:47:22] @ Quit: rharrison: Quit: Leaving
[2011/12/20 14:47:48] <clustermagnet> so, when you use a define
[2011/12/20 14:47:52] <clustermagnet> what goes in ()?
[2011/12/20 14:47:58] <clustermagnet> local variables, correct?
[2011/12/20 14:49:31] <bman1> doesnt work > ( $hostname =~ "test" ) or dependant on newer version like 2.6 and higher?
[2011/12/20 14:49:44] @ Quit: brunoleon_: Remote host closed the connection
[2011/12/20 14:49:49] @ Quit: BLZbubba: Changing host
[2011/12/20 14:49:49] @ BLZbubba joined channel #puppet
[2011/12/20 14:51:04] @ Quit: lborda: Ping timeout: 255 seconds
[2011/12/20 14:51:29] <clustermagnet> whack: fixed
[2011/12/20 14:51:34] <clustermagnet> if you want to know what it was, ping me
[2011/12/20 14:51:49] <clustermagnet> otherwise, you deserve BEEER :) it was a ton of crummy crap to look through
[2011/12/20 14:51:50] <clustermagnet> thanks dood
[2011/12/20 14:54:02] <whack> np :)
[2011/12/20 14:54:15] <clustermagnet> whack: im starting to slowly 'get it'
[2011/12/20 14:55:01] @ Quit: gunkaa: Quit: Leaving
[2011/12/20 14:55:17] @ Quit: thesharp: Ping timeout: 240 seconds
[2011/12/20 14:59:42] @ nitram_macair joined channel #puppet
[2011/12/20 15:04:11] @ oldNoakes joined channel #puppet
[2011/12/20 15:04:32] @ Quit: oldNoakes: Client Quit
[2011/12/20 15:04:58] @ oldNoakes joined channel #puppet
[2011/12/20 15:06:42] @ oldNoakes left channel #puppet ()
[2011/12/20 15:06:58] @ joe-mac joined channel #puppet
[2011/12/20 15:07:22] @ noakes joined channel #puppet
[2011/12/20 15:07:47] <noakes> Hello - we are starting to see some cracks appear in our puppet master infrastructure and was looking for some advice
[2011/12/20 15:08:09] <noakes> we currently run PM fronted by Apache2 with 6 mongrel instances on a load balancer
[2011/12/20 15:08:33] <noakes> we have ~150 servers that connect to that
[2011/12/20 15:08:59] <noakes> because of our setup, up to 45 of them can land up hitting the PM at the same time
[2011/12/20 15:09:36] <jabba> I use splay = true in /etc/puppet/puppet.conf
[2011/12/20 15:09:57] <mzi> do you run the agent or in cron?
[2011/12/20 15:10:11] <jabba> this makes the puppetmaster essentially tell the client to sleep a random amount of time before actually serving it
[2011/12/20 15:10:33] <jabba> I used to run the agent and now use cron, but splay = true is honored in both scenarios
[2011/12/20 15:10:38] @ dwalu joined channel #puppet
[2011/12/20 15:10:49] <jabba> so my crons run at the same time, no random sleep required at that level
[2011/12/20 15:10:50] @ marczak joined channel #puppet
[2011/12/20 15:10:54] <noakes> run the agent via a continuous deployment server
[2011/12/20 15:11:09] <dwalu> Is anyone familiar with setting up puppetmaster + puppet on debian? http://docs.puppetlabs.com/guides/passenger.html#install-apache-2-rack-and-passenger doesn't seem to reflect the reality of the puppetlabs provided .debs
[2011/12/20 15:11:36] <dwalu> (and hasn't been updated since .25)
[2011/12/20 15:11:46] <noakes> so agents get notified via mcollective to do an update and thus all hit the PM at the same time
[2011/12/20 15:12:18] <noakes> cool - will take a look at the splay setup and see if that remedies it
[2011/12/20 15:12:24] <noakes> is passenger the better option long term though?
[2011/12/20 15:13:26] <joe-mac> noakes: what kind of problems?
[2011/12/20 15:13:27] @ Quit: kenperkins: Ping timeout: 245 seconds
[2011/12/20 15:13:37] <dwalu> err puppetmaster + passenger, even
[2011/12/20 15:13:45] <noakes> 400 errors serving files
[2011/12/20 15:13:54] <halc> dwalu: with apache?
[2011/12/20 15:14:01] <dwalu> the .debs that PL provides point the document root at /etc/puppet/rack/public but there's nothing in that directory.
[2011/12/20 15:14:04] <dwalu> halc: aye
[2011/12/20 15:14:23] <noakes> SSL errors: Could not evaluate: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A Could not retrieve file metadata for
[2011/12/20 15:14:25] @ Quit: sduchesneau: Ping timeout: 252 seconds
[2011/12/20 15:14:45] <halc> this is for squeeze - not sure if its quite what you want http://www.pastie.org/3049851
[2011/12/20 15:14:57] <the_ramink> noakes: A Passenger setup is a bit easier to administrate since it'll manage the assorted Rack processes for you, but ultimately it's not going to make the Ruby code execute anyfaster.
[2011/12/20 15:15:09] <halc> might give you some ideas though
[2011/12/20 15:15:10] <noakes> but nothing consistent - different every time I send out the message to run the update
[2011/12/20 15:15:12] @ Quit: joe-mac: Ping timeout: 245 seconds
[2011/12/20 15:15:17] <dwalu> halc: thanks I'l poke at it
[2011/12/20 15:15:25] <halc> np
[2011/12/20 15:16:01] @ kenperkins joined channel #puppet
[2011/12/20 15:16:09] <noakes> the_ramink - so the speed of the code execution is the ultimately what is causing the failures - i.e. because we are hitting the PM with so many requests all at once, Ruby can't keep up?
[2011/12/20 15:17:32] @ Quit: jab_doa: Quit: Verlassend
[2011/12/20 15:17:41] <the_ramink> noakes: right and you've got six Mongrels which take up all the CPU trying to returrn 40 odd requests for a catalog at the same time. If you switched to Passenger you'd have the same issues it would just be X number of Rack processes. :)
[2011/12/20 15:18:16] <philip741> anyone know what would cause
[2011/12/20 15:18:19] <philip741> Could not send report: Error 400 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">#012<html><head>#012<title>400 Bad Request</title>#012</head><body>#012<h1>Bad Request</h1>#012<p>Your browser sent a request that this server could not understand.<br />#012</p>#012<hr>#012<address>Apache/2.2.15
[2011/12/20 15:18:19] <gepetto> philip741: #012 is http://projects.puppetlabs.com/issues/show/012 "Puppet - Feature #12: Support processes in addition to services. It has a status of Closed and is assigned to Luke Kanies"
[2011/12/20 15:18:26] <philip741> on the client side
[2011/12/20 15:18:56] @ joe-mac joined channel #puppet
[2011/12/20 15:19:03] @ Quit: crs: Ping timeout: 245 seconds
[2011/12/20 15:19:57] <the_ramink> dwalu: /etc/puppet/rack/public is supposed to be empty
[2011/12/20 15:20:01] <dwalu> the joy of bootstrapping a new puppet master is you get to discover all of the dumb things you did with the last one
[2011/12/20 15:20:15] <dwalu> the_ramink: but is /etc/puppet/rack supposed to exist and be created by the debs? (it wasn't)
[2011/12/20 15:21:21] <the_ramink> dwalu: You'll need a /etc/puppet/rack/config.ru so they webapp will know how to start.
[2011/12/20 15:21:26] @ Quit: _flex: Remote host closed the connection
[2011/12/20 15:22:09] <dwalu> I see, there's a default one in /usr/share/puppet/rack/puppetmasterd.
[2011/12/20 15:22:25] @ Quit: Kiall: Quit: ZNC - http://znc.sourceforge.net
[2011/12/20 15:22:26] @ bweiss left channel #puppet ()
[2011/12/20 15:22:45] <noakes> the_ramink: if I enable 'splay' on the agents, would that help (I assume by staggering when each of the agents hits the PM)?
[2011/12/20 15:23:00] <the_ramink> dwalu: yeah if you're using the puppetlabs packages there should be a passenger-puppet package or some such which creates that and drop in a config.ru
[2011/12/20 15:23:21] <dwalu> the_ramink: correct, the puppetmaster-passener package created that default one under /usr
[2011/12/20 15:23:38] @ larsar_ joined channel #puppet
[2011/12/20 15:24:19] @ NuclearLucifer joined channel #puppet
[2011/12/20 15:24:25] @ Kiall joined channel #puppet
[2011/12/20 15:24:44] <the_ramink> noakes: yes, that why people immediately mention it or staggering your crons. A catalog request is fairly hefty and if you're collecting inventory, reports, or running the dashboard and a db on the same server you'll need to have your servers spread out.
[2011/12/20 15:25:15] <noakes> the_ramink: cool - thanks for the help, will implement it and see if there are any improvements
[2011/12/20 15:25:23] @ jroid_ joined channel #puppet
[2011/12/20 15:25:26] <the_ramink> I have the same problem with all that running on the same server as well. If more than 30 machines checkin within a minute at least one fo them doesn't get a catalog
[2011/12/20 15:25:29] @ Quit: soosfarm: Ping timeout: 240 seconds
[2011/12/20 15:25:34] @ gniks joined channel #puppet
[2011/12/20 15:25:43] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/20 15:25:46] @ Quit: NuclearL1cifer: Read error: Connection reset by peer
[2011/12/20 15:25:49] @ Quit: larsar: Ping timeout: 240 seconds
[2011/12/20 15:25:55] @ MarkN1 joined channel #puppet
[2011/12/20 15:26:08] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/20 15:26:13] @ tilgovi joined channel #puppet
[2011/12/20 15:26:14] @ Quit: tilgovi: Changing host
[2011/12/20 15:26:14] @ tilgovi joined channel #puppet
[2011/12/20 15:26:21] @ PWizard_ joined channel #puppet
[2011/12/20 15:26:29] @ Quit: nottings: Ping timeout: 240 seconds
[2011/12/20 15:26:30] @ Quit: jroid: Ping timeout: 240 seconds
[2011/12/20 15:26:31] @ Quit: lofidellity: Ping timeout: 240 seconds
[2011/12/20 15:26:49] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/20 15:26:49] @ Quit: PWizard: Ping timeout: 240 seconds
[2011/12/20 15:26:52] @ nottings joined channel #puppet
[2011/12/20 15:27:01] @ lofidellity joined channel #puppet
[2011/12/20 15:27:26] @ rubic joined channel #puppet
[2011/12/20 15:27:30] @ ldlework joined channel #puppet
[2011/12/20 15:27:36] @ paroneayea joined channel #puppet
[2011/12/20 15:27:37] @ soosfarm joined channel #puppet
[2011/12/20 15:28:05] <dwalu> is there a project/issue tracker for the debian packages?
[2011/12/20 15:28:14] @ Quit: alanevans: Remote host closed the connection
[2011/12/20 15:28:17] <dwalu> at least in debian 6, these packages aren't fully tested
[2011/12/20 15:28:26] <agaffney> is it possible to use a define from a module (assuming it's loadable by the autoloader) without first including a class from that module?
[2011/12/20 15:28:48] @ Quit: swygue: Ping timeout: 244 seconds
[2011/12/20 15:28:58] <agaffney> I want to create the define git::clone in modules/git/manifests/clone.pp without including any class in the git module
[2011/12/20 15:29:06] @ MarkN1 left channel #puppet ()
[2011/12/20 15:29:11] <agaffney> *and use it without including...
[2011/12/20 15:30:09] @ Quit: Forconin: Read error: Operation timed out
[2011/12/20 15:30:13] @ Forconin joined channel #puppet
[2011/12/20 15:30:49] @ Quit: kermit: Read error: Connection reset by peer
[2011/12/20 15:31:19] @ crs joined channel #puppet
[2011/12/20 15:32:21] <dwalu> Could not send report: Error 403 on SERVER: Forbidden request: localhost(127.0.0.1) access to /report/dwalu.int[save] at line 65
[2011/12/20 15:32:33] <dwalu> why am I getting that?
[2011/12/20 15:32:58] <dwalu> I have path /report, method save, allow *
[2011/12/20 15:33:09] <dwalu> (=~ s/,\/n/)
[2011/12/20 15:34:15] @ nitram_macair_ joined channel #puppet
[2011/12/20 15:35:23] <dwalu> I also get the same thing for /report/dwalu.int
[2011/12/20 15:35:54] <dwalu> my configuration at this point is entirely stock, except for setting some host names and copying over that config.ru
[2011/12/20 15:37:36] @ Quit: nitram_macair: Ping timeout: 240 seconds
[2011/12/20 15:37:36] @ nitram_macair_ is now known as nitram_macair
[2011/12/20 15:37:46] <dwalu> I'm assuming that error is about /etc/puppet/auth.conf, but it doesn't actually specify the file where the problem is, so I'm feeing around in the dark with that error
[2011/12/20 15:37:48] @ Quit: joe-mac: Remote host closed the connection
[2011/12/20 15:37:58] @ Quit: skm: Read error: Connection reset by peer
[2011/12/20 15:38:13] @ kermit joined channel #puppet
[2011/12/20 15:38:29] @ Quit: leifmadsen: Ping timeout: 240 seconds
[2011/12/20 15:39:53] <dwalu> oh. I see. somehow I was missing the ssl_client lines from the [master] section.
[2011/12/20 15:39:56] @ e1mer joined channel #puppet
[2011/12/20 15:41:09] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/20 15:43:16] @ Spads joined channel #puppet
[2011/12/20 15:45:10] @ danblack joined channel #puppet
[2011/12/20 15:45:25] @ tizzo is now known as tizzo-afk
[2011/12/20 15:45:37] @ Djelibeybi joined channel #puppet
[2011/12/20 15:46:20] @ Quit: Spads_: Ping timeout: 252 seconds
[2011/12/20 15:46:21] @ Quit: st33v: *.net *.split
[2011/12/20 15:46:22] @ Quit: jodok: *.net *.split
[2011/12/20 15:46:22] @ Quit: cwarden: *.net *.split
[2011/12/20 15:46:23] @ Quit: shortbus-: *.net *.split
[2011/12/20 15:46:23] @ tomben_ joined channel #puppet
[2011/12/20 15:46:27] @ Quit: tomben_: Remote host closed the connection
[2011/12/20 15:47:50] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/20 15:48:40] @ Quit: ghg: Ping timeout: 255 seconds
[2011/12/20 15:49:04] @ skm joined channel #puppet
[2011/12/20 15:49:11] @ jameswhite joined channel #puppet
[2011/12/20 15:50:17] @ Quit: philip741: Quit: Page closed
[2011/12/20 15:51:07] @ st33v joined channel #puppet
[2011/12/20 15:51:07] @ jodok joined channel #puppet
[2011/12/20 15:51:07] @ cwarden joined channel #puppet
[2011/12/20 15:51:07] @ shortbus- joined channel #puppet
[2011/12/20 15:51:19] @ Quit: shortbus-: Ping timeout: 245 seconds
[2011/12/20 15:51:33] @ Quit: Yann2: Remote host closed the connection
[2011/12/20 15:53:28] @ Quit: djm68: Remote host closed the connection
[2011/12/20 15:54:09] @ ajburton joined channel #puppet
[2011/12/20 15:55:57] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/20 15:58:12] @ Quit: justinstoller: Quit: justinstoller
[2011/12/20 15:58:47] @ justinstoller joined channel #puppet
[2011/12/20 16:00:21] @ sduchesneau joined channel #puppet
[2011/12/20 16:00:35] @ Quit: jodok: Ping timeout: 245 seconds
[2011/12/20 16:00:37] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/20 16:00:39] @ Quit: alop: Quit: alop
[2011/12/20 16:00:43] @ Quit: justinstoller: Client Quit
[2011/12/20 16:01:04] @ cliff-hm joined channel #puppet
[2011/12/20 16:02:11] @ Quit: spiette: Quit: Leaving
[2011/12/20 16:04:17] @ Quit: nesusvet_: Ping timeout: 252 seconds
[2011/12/20 16:04:31] <brd> does puppet support a for loop? I want to go set the content of a big list of files
[2011/12/20 16:04:56] <brd> I recall seeing a way to list all the files and hit them all at once, but I can't see it in the docs now
[2011/12/20 16:04:56] @ nitram_macair joined channel #puppet
[2011/12/20 16:05:26] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 16:06:43] @ Quit: Kazuhiro1: Quit: Leaving.
[2011/12/20 16:07:34] @ tmclaugh joined channel #puppet
[2011/12/20 16:08:18] @ Quit: Guest27657: Quit: Leaving.
[2011/12/20 16:09:42] <danblack> brd: file { ['file1', 'file2' ....]: .... }
[2011/12/20 16:10:02] @ nesusvet joined channel #puppet
[2011/12/20 16:10:27] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/20 16:14:46] @ Quit: jayne: Ping timeout: 612 seconds
[2011/12/20 16:14:49] @ Quit: alfism: Quit: alfism
[2011/12/20 16:14:54] <brd> danblack: yeah, I actually went with an array
[2011/12/20 16:15:01] <brd> danblack: either way I think ..
[2011/12/20 16:15:39] <brd> danblack: though I am tempted to switch back to a file
[2011/12/20 16:17:30] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/20 16:17:48] @ Quit: DJClean: Read error: Operation timed out
[2011/12/20 16:19:10] @ Quit: felixnor: Quit: felixnor
[2011/12/20 16:19:33] @ joe-mac joined channel #puppet
[2011/12/20 16:19:47] @ Quit: halc: Quit: Lost terminal
[2011/12/20 16:19:52] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/20 16:20:19] @ benjiedmund joined channel #puppet
[2011/12/20 16:22:06] @ pctony joined channel #puppet
[2011/12/20 16:23:19] <pctony> Folks, looking for a little advice please. Recently upgraded a client, and a dev puppetmasted to 2.7.1 (Ubuntu oneiric) and I am now getting warning about the use of '<%= hostname %>' in my erb files. Is this something that there is a good doc, or page I should have found and read?
[2011/12/20 16:23:47] <pctony> for example...
[2011/12/20 16:23:48] <pctony> '/etc/sudoers':
[2011/12/20 16:23:48] <pctony> mode => '0440',
[2011/12/20 16:23:48] <pctony> content => template('/etc/puppet/templates/etc/sudoers.erb'),
[2011/12/20 16:23:53] <pctony> ...
[2011/12/20 16:24:22] <pctony> and fromthe template ->
[2011/12/20 16:24:23] <pctony> %<%= hostname %>-sudoers ALL=(ALL) ALL
[2011/12/20 16:24:36] @ Quit: benjiedmund: Ping timeout: 240 seconds
[2011/12/20 16:24:47] @ Quit: wilmoore: Remote host closed the connection
[2011/12/20 16:24:52] <checkers> and the error?
[2011/12/20 16:25:25] <pctony> Dec 21 00:21:34 pkgrepo puppet-agent[2210]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template /etc/puppet/templates/etc/sudoers.erb: Could not find value for 'hostname' at 20:/etc/puppet/templates/etc/sudoers.erb at /etc/puppet/modules/mod_base/manifests/init.pp:24 on node pkgrepo.foo.com
[2011/12/20 16:25:34] @ Quit: dan__t_: Ping timeout: 252 seconds
[2011/12/20 16:26:05] <pctony> I have started to find references to things like $::hostname, but that seems to be a manifests file statement
[2011/12/20 16:26:09] <pctony> AFAICT
[2011/12/20 16:26:50] <pctony> So do I need to declare the value of hostname, in the manifests, as opposed to just relying on facter based var=value ?
[2011/12/20 16:26:58] <mzi> it is. does "facter hostname" give you what you expect on the node?
[2011/12/20 16:27:13] @ swygue joined channel #puppet
[2011/12/20 16:27:22] <pctony> yes
[2011/12/20 16:27:32] <pctony> mzi: yes
[2011/12/20 16:28:16] @ Quit: zeroXten: Read error: Operation timed out
[2011/12/20 16:28:20] <pctony> so in the relevant file block, I'll need a hostname => "$::hostname" ?
[2011/12/20 16:28:44] @ thesharp joined channel #puppet
[2011/12/20 16:29:22] <mzi> shouldn't be a need for it. $::hostname is the "new" way of saying that it is in the global scope
[2011/12/20 16:29:27] @ Kazuhiro left channel #puppet ()
[2011/12/20 16:29:35] <pctony> oke doke
[2011/12/20 16:30:11] <pctony> so whic of the dots am I missing? ;)
[2011/12/20 16:30:11] <mzi> can you look up other facts?
[2011/12/20 16:30:33] <pctony> let me trym, but that is the only one it is complaining about - many other erb's with different ones.
[2011/12/20 16:30:49] <pctony> Perhaps it is bitching about that one as it is the 1st one it looks up
[2011/12/20 16:30:54] <mzi> what happens if you use scope.lookupvar()?
[2011/12/20 16:32:01] @ Quit: schimmi: Quit: ZNC - http://znc.sourceforge.net
[2011/12/20 16:32:07] @ Quit: cliff-hm: Remote host closed the connection
[2011/12/20 16:32:16] <the_ramink> pctony: are you escpaing the first % in %<%= hostname %>-sudoers ALL=(ALL) ALL
[2011/12/20 16:32:21] @ zeroXten joined channel #puppet
[2011/12/20 16:32:27] @ st33v_ joined channel #puppet
[2011/12/20 16:32:28] <pctony> the_ramink: no
[2011/12/20 16:32:32] @ schimmi_ joined channel #puppet
[2011/12/20 16:32:39] <mzi> like <%= scope.lookupvar('::hostname') %>
[2011/12/20 16:32:58] @ Quit: fir31ight: Ping timeout: 276 seconds
[2011/12/20 16:32:58] <pctony> mzi: ah, ill give that a bash too
[2011/12/20 16:34:05] @ penfold_99 left channel #puppet ()
[2011/12/20 16:34:08] @ Quit: zacs: Ping timeout: 240 seconds
[2011/12/20 16:34:54] @ mosen joined channel #puppet
[2011/12/20 16:34:58] <pctony> mzi: that seems to have skipped past that issue now.
[2011/12/20 16:35:19] <pctony> the_ramink: escaping it, removing the leading '%' indeed didnt help
[2011/12/20 16:36:10] <mzi> strange. but I'm not really in to the variable scoping in 2.7 yet.
[2011/12/20 16:36:49] @ Quit: z00dax: Ping timeout: 240 seconds
[2011/12/20 16:37:04] @ Quit: st33v: Ping timeout: 245 seconds
[2011/12/20 16:37:05] @ st33v_ is now known as st33v
[2011/12/20 16:37:11] <mzi> pctony: I thought that the global scope were available in all classes, but that might not be the case?
[2011/12/20 16:37:52] @ z00dax joined channel #puppet
[2011/12/20 16:38:01] <mzi> scope.lookupvar is for looking up variables outside your current scope (as the name suggests)
[2011/12/20 16:38:24] @ Quit: thesharp: Ping timeout: 255 seconds
[2011/12/20 16:38:26] <pctony> mzi: sure. That sort of makes sense. But like yu say I would have thought global woudl be ok
[2011/12/20 16:39:22] @ fir31ight joined channel #puppet
[2011/12/20 16:39:39] @ Quit: Kiall: Ping timeout: 240 seconds
[2011/12/20 16:39:41] @ _flex joined channel #puppet
[2011/12/20 16:40:52] @ Quit: swygue: Ping timeout: 255 seconds
[2011/12/20 16:40:58] <mzi> pctony: ask a bit later when some of the guys from puppetlabs are more present
[2011/12/20 16:41:12] <mzi> pctony: I would like to know myself.
[2011/12/20 16:41:27] <pctony> mzi: any ideas what time that might be? 00:40 here now
[2011/12/20 16:41:37] <pctony> and baby feeding duties are about to beckon ;)
[2011/12/20 16:42:19] <mzi> they are in Portland, OR, so they are like... i don't know.. 8h behind?
[2011/12/20 16:42:36] <pctony> yep
[2011/12/20 16:42:38] <pctony> 8hrs
[2011/12/20 16:43:53] <mzi> but until they're here, you've got a work around. yes?
[2011/12/20 16:45:09] <pctony> yes, I think so. Thanks.
[2011/12/20 16:46:17] @ swygue joined channel #puppet
[2011/12/20 16:47:00] @ zacs joined channel #puppet
[2011/12/20 16:47:08] <mzi> pctony: glad to help. i'll look into it myself in the morning, might even be a bug that they fixed.
[2011/12/20 16:47:28] <mzi> you were on 2.7.1, right?
[2011/12/20 16:47:44] <pctony> Sure, I have found 1 or 2 bugs - but nothing concrete as a match
[2011/12/20 16:47:58] <pctony> mzi: aye
[2011/12/20 16:48:11] @ Quit: neonflux: Quit: Leaving.
[2011/12/20 16:48:57] <mzi> so when/if you get the time, double check with a newer release *
[2011/12/20 16:49:24] <mzi> 2.7.9 is out now.
[2011/12/20 16:49:52] <pctony> yeah
[2011/12/20 16:50:01] <pctony> was trying to stick to deb's from Ubuntu ;)
[2011/12/20 16:50:55] @ youngboy joined channel #puppet
[2011/12/20 16:51:25] @ Kiall joined channel #puppet
[2011/12/20 16:51:35] <the_ramink> pctony: http://apt.puppetlabs.com/ now has the lastest debs
[2011/12/20 16:51:48] <pctony> the_ramink: oooh
[2011/12/20 16:52:07] @ Quit: gebi: Ping timeout: 255 seconds
[2011/12/20 16:52:15] @ Quit: youngboy: Quit: Leaving
[2011/12/20 16:52:28] @ gebi joined channel #puppet
[2011/12/20 16:53:22] @ Quit: althara: Ping timeout: 268 seconds
[2011/12/20 16:54:01] <pctony> the_ramink: thanks, that looks vert useful
[2011/12/20 17:03:21] @ nitram_macair joined channel #puppet
[2011/12/20 17:05:33] @ Quit: johnston_: Ping timeout: 258 seconds
[2011/12/20 17:08:25] <ashp> anyone used "puppi" for deployments?
[2011/12/20 17:10:56] @ Quit: sduchesneau: Quit: Leaving
[2011/12/20 17:11:07] @ bman1 left channel #puppet ()
[2011/12/20 17:11:15] @ marczak joined channel #puppet
[2011/12/20 17:11:52] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/20 17:15:44] @ dbgster joined channel #puppet
[2011/12/20 17:17:10] @ Quit: fir31ight: Ping timeout: 276 seconds
[2011/12/20 17:17:48] @ fir31ight joined channel #puppet
[2011/12/20 17:19:50] @ jcustenborder joined channel #puppet
[2011/12/20 17:26:08] @ skoom joined channel #puppet
[2011/12/20 17:26:39] <papertigers> p/closer
[2011/12/20 17:26:45] @ Quit: papertigers: Quit: WeeChat 0.3.4
[2011/12/20 17:28:07] @ felixnor joined channel #puppet
[2011/12/20 17:28:14] @ Quit: skm: Ping timeout: 276 seconds
[2011/12/20 17:28:14] @ skoom is now known as skm
[2011/12/20 17:28:44] @ ygor joined channel #puppet
[2011/12/20 17:28:50] @ williemach left channel #puppet ()
[2011/12/20 17:29:22] <ygor> hello - looking for some example42 users
[2011/12/20 17:31:00] @ Quit: cwarden: *.net *.split
[2011/12/20 17:31:04] @ Enf joined channel #puppet
[2011/12/20 17:31:28] <ygor> hello - looking for some example42 users'
[2011/12/20 17:33:41] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/20 17:34:29] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 17:36:20] @ jcustenborder joined channel #puppet
[2011/12/20 17:36:36] @ rcrowley joined channel #puppet
[2011/12/20 17:38:40] @ Quit: ianbrandt: Quit: ianbrandt
[2011/12/20 17:41:37] @ cwarden joined channel #puppet
[2011/12/20 17:41:50] <ygor> hello - looking for some example42 users
[2011/12/20 17:44:56] @ Quit: jcustenborder: Quit: Leaving.
[2011/12/20 17:44:56] @ Spads_ joined channel #puppet
[2011/12/20 17:47:12] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/20 17:55:44] @ ygor left channel #puppet ()
[2011/12/20 17:55:46] @ Quit: highclasshole: Ping timeout: 252 seconds
[2011/12/20 17:57:18] @ Quit: tilgovi: Remote host closed the connection
[2011/12/20 17:57:34] @ Quit: Wolfspyre1: Quit: Leaving.
[2011/12/20 18:00:05] @ Quit: joe-mac: Ping timeout: 255 seconds
[2011/12/20 18:03:17] @ Quit: kenperkins: Ping timeout: 240 seconds
[2011/12/20 18:09:15] @ nitram_macair_ joined channel #puppet
[2011/12/20 18:10:24] @ Quit: dwalu: Quit: dwalu
[2011/12/20 18:12:38] @ Quit: mao: Ping timeout: 258 seconds
[2011/12/20 18:15:41] @ cliff-hm joined channel #puppet
[2011/12/20 18:17:09] @ ben_duyujie joined channel #puppet
[2011/12/20 18:17:13] @ adimania joined channel #puppet
[2011/12/20 18:17:14] @ Quit: kelseyhightower: Ping timeout: 268 seconds
[2011/12/20 18:18:09] @ Quit: mzi: Quit: brb
[2011/12/20 18:20:46] @ Quit: mrwacky42: Ping timeout: 255 seconds
[2011/12/20 18:21:35] @ mzi joined channel #puppet
[2011/12/20 18:25:16] @ jeremy joined channel #puppet
[2011/12/20 18:27:59] @ Quit: cwarden: Ping timeout: 245 seconds
[2011/12/20 18:29:13] @ devinacosta joined channel #puppet
[2011/12/20 18:30:07] <devinacosta> hey question for ya.. i'm using Puppet and i'm trying to write class to manage rsyslogd, I have RHEL 5 and RHEL 6 both in my environment and i want it to pull the rsyslog.conf based upon which major release it's running how would i declare this in puppet?
[2011/12/20 18:33:42] <mzi> devinacosta: I would use a simple selector in the file statement
[2011/12/20 18:34:08] <devinacosta> can you give me an example?
[2011/12/20 18:36:09] <mzi> file { foo: content => ? $::operatingsystemrelease { v1 => foo, v2 => bar, } }
[2011/12/20 18:36:10] <devinacosta> i have found the facter variable lsbmajdistrelease would give me the major release.
[2011/12/20 18:36:38] <devinacosta> ok thanks.
[2011/12/20 18:36:40] <mzi> it is all in the documentation
[2011/12/20 18:37:24] <mzi> but move the question mark to the other side of the variable..
[2011/12/20 18:38:56] @ Quit: clustermagnet: Ping timeout: 244 seconds
[2011/12/20 18:43:13] @ kelseyhightower joined channel #puppet
[2011/12/20 18:44:42] @ Quit: daff: Quit: leaving
[2011/12/20 18:45:28] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/20 18:46:43] @ daff joined channel #puppet
[2011/12/20 18:47:32] @ alanevans joined channel #puppet
[2011/12/20 18:47:41] @ Quit: adimania: Read error: Operation timed out
[2011/12/20 18:52:04] @ jcustenborder joined channel #puppet
[2011/12/20 18:52:28] <devinacosta> would doing something like this work?
[2011/12/20 18:52:29] <devinacosta> $majorver = $::lsbmajdistrelease $arch = $::hardwaremodel file { "/etc/rsyslog.conf": ensure => present, owner => 'root', group => 'root', mode => 0644, source => "puppet:///modules/rsyslogd/$arch/$majorver/rsyslog.conf", require => Class["rsyslogd::install"], notify => Class["rsyslogd::service"], }
[2011/12/20 18:55:01] @ Quit: iw_work: Quit: Leaving
[2011/12/20 19:00:14] @ hobo joined channel #puppet
[2011/12/20 19:02:05] <devinacosta> i'm guessing it worked cause i didn't get any errors and it synced a file ;)
[2011/12/20 19:02:06] <hobo> I had a server that got it's hostname crossed with another. Then when I fixed it I am now getting an error: "Exported resource Sshkey[SCRUBBED_dsa] cannot override local resource on node SCRUBBED"
[2011/12/20 19:02:33] <hobo> I have tried cleaning the stored configs using the puppetstoredconfigclean.rb script but to no avail.
[2011/12/20 19:03:32] <devinacosta> what is the correct syntax using the: puppet agent to do a dry run without making any mods?
[2011/12/20 19:05:26] @ Quit: ^conner: Ping timeout: 252 seconds
[2011/12/20 19:06:24] @ neonflux joined channel #puppet
[2011/12/20 19:10:48] @ jayne joined channel #puppet
[2011/12/20 19:12:26] @ jcustenborder left channel #puppet ()
[2011/12/20 19:12:47] <hobo> Is there some other way to purge Exported resources
[2011/12/20 19:12:55] @ maxmartin joined channel #puppet
[2011/12/20 19:15:06] @ marczak joined channel #puppet
[2011/12/20 19:16:55] @ Rapeseed joined channel #puppet
[2011/12/20 19:18:22] @ bobra joined channel #puppet
[2011/12/20 19:18:39] @ ^conner joined channel #puppet
[2011/12/20 19:19:26] @ neodosh joined channel #puppet
[2011/12/20 19:19:46] @ Quit: maxmartin: Remote host closed the connection
[2011/12/20 19:21:20] @ Quit: comptona: Ping timeout: 276 seconds
[2011/12/20 19:21:59] @ Quit: marczak: Ping timeout: 268 seconds
[2011/12/20 19:23:20] @ Quit: st33v: Quit: st33v
[2011/12/20 19:26:06] @ dwalu joined channel #puppet
[2011/12/20 19:35:10] @ Quit: HostingNerd5000: Read error: Connection reset by peer
[2011/12/20 19:36:06] @ HostingNerd5000 joined channel #puppet
[2011/12/20 19:37:33] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/20 19:38:48] @ Quit: metcalfc: Ping timeout: 252 seconds
[2011/12/20 19:44:03] @ Quit: choonming: Quit: Leaving
[2011/12/20 19:45:40] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/20 19:47:19] @ Quit: devinacosta: Ping timeout: 258 seconds
[2011/12/20 19:52:42] @ highclasshole joined channel #puppet
[2011/12/20 19:55:17] @ skm joined channel #puppet
[2011/12/20 19:56:14] @ metcalfc joined channel #puppet
[2011/12/20 20:01:08] @ Quit: bmahe: Quit: Leaving
[2011/12/20 20:03:46] @ Quit: jeremy: Quit: jeremy
[2011/12/20 20:03:55] @ Quit: metcalfc: Ping timeout: 252 seconds
[2011/12/20 20:04:08] @ Quit: vontrapp: Quit: leaving
[2011/12/20 20:04:21] @ Quit: ben_duyujie: Remote host closed the connection
[2011/12/20 20:04:33] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/20 20:07:08] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/20 20:07:14] @ the_ramink joined channel #puppet
[2011/12/20 20:09:52] @ Quit: ajburton: Ping timeout: 244 seconds
[2011/12/20 20:13:50] @ krish joined channel #puppet
[2011/12/20 20:15:22] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/20 20:18:19] @ ben_duyujie joined channel #puppet
[2011/12/20 20:20:33] @ AshishH joined channel #puppet
[2011/12/20 20:24:09] @ CrazyGir joined channel #puppet
[2011/12/20 20:24:50] <CrazyGir> hiya! question: what is the proper way to say: if the host is OS foo, include the following manifest, else if this os, include that manifest
[2011/12/20 20:26:39] <whack> CrazyGir: if ($operatingsystem == "something") { include blah }
[2011/12/20 20:27:33] @ xjiujiu joined channel #puppet
[2011/12/20 20:28:03] @ tizzo-afk is now known as tizzo
[2011/12/20 20:30:54] @ tizzo is now known as tizzo-afk
[2011/12/20 20:31:40] <CrazyGir> rock on
[2011/12/20 20:31:55] <CrazyGir> when would you use case over if?
[2011/12/20 20:33:26] <whack> if you have lots of possibilities
[2011/12/20 20:33:35] <whack> avoiding many if elseif elsif elsif else
[2011/12/20 20:34:15] <CrazyGir> mmm
[2011/12/20 20:36:01] <CrazyGir> for something like BIND, where you may have several servers that share a named.conf, but then have their own zonefiles, what is the best/conventional way to distribute the zone files?
[2011/12/20 20:36:39] @ wilmoore joined channel #puppet
[2011/12/20 20:38:09] @ Quit: gniks: Quit: Leaving.
[2011/12/20 20:38:48] @ skm joined channel #puppet
[2011/12/20 20:43:19] @ newtMcKerr joined channel #puppet
[2011/12/20 20:43:24] @ gniks joined channel #puppet
[2011/12/20 20:47:57] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/12/20 20:58:44] @ Wolfspyre joined channel #puppet
[2011/12/20 20:59:38] <CrazyGir> whack: am I really crazy.. or why would http://dpaste.com/676037/ fail with a SERVER: Could not parse for environment production: Syntax error at '{'; expected '}' at /etc/puppet/modules/bind/manifests/init.pp:3 on node foo
[2011/12/20 21:02:37] @ Quit: hobo: Quit: Page closed
[2011/12/20 21:03:26] <the_ramink> I'm not sure that syntax works, but you can definately use case statements. https://github.com/rkhatibi/rdk-puppet-modules/blob/master/apache/manifests/install.pp
[2011/12/20 21:03:32] <nitram_macair_> CrazyGir, think its elsif not elseif
[2011/12/20 21:03:47] <CrazyGir> it seems so silly that an advanced system like puppet would A) provide such terribly unhelpful error messages and B) be so damn difficult for a new dev to get up and running
[2011/12/20 21:03:56] <CrazyGir> hah.
[2011/12/20 21:04:11] <CrazyGir> nitram_macair_: one would think puppet could say that
[2011/12/20 21:04:44] <CrazyGir> and you would be correct
[2011/12/20 21:04:56] <nitram_macair_> heh guess i missed the first part.
[2011/12/20 21:05:58] <nitram_macair_> It tells you there is a syntax error, ya want it to hold your hand?
[2011/12/20 21:06:58] @ kenperkins joined channel #puppet
[2011/12/20 21:07:12] <the_ramink> the Puppet vim syntax checker does highlight eslif and not elseif which might be helpful too
[2011/12/20 21:07:52] <CrazyGir> oooo
[2011/12/20 21:07:54] <CrazyGir> :)
[2011/12/20 21:08:01] <CrazyGir> is that up on git somewhere?
[2011/12/20 21:08:27] <the_ramink> yeah, lemme track it down
[2011/12/20 21:08:47] <the_ramink> https://github.com/puppetlabs/puppet/tree/master/ext/vim
[2011/12/20 21:09:51] <the_ramink> you may want to grab Ruby ones from somewhere for the erb template stuff too
[2011/12/20 21:10:19] <CrazyGir> when using classes, like include bind::openbsd do you need to do anything differently with the imports in modules.pp?
[2011/12/20 21:10:29] * CrazyGir nods
[2011/12/20 21:11:14] <nitram_macair_> theres this one to https://github.com/ajf/puppet-vim
[2011/12/20 21:11:25] <nitram_macair_> has snippets
[2011/12/20 21:12:04] @ Quit: stewart: Quit: Ex-Chat
[2011/12/20 21:12:53] <CrazyGir> nice
[2011/12/20 21:15:55] @ Quit: dbgster: Quit: dbgster
[2011/12/20 21:17:59] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/20 21:21:12] @ newtMcKerr joined channel #puppet
[2011/12/20 21:22:36] <CrazyGir> in openbsd you enable some services by adding lines to /etc/rc.conf.local and sometimes shell scripts /etc/rc.local. I am not quite sure how to (properly) use puppet to manage this
[2011/12/20 21:23:33] <CrazyGir> for example, if one 3 systems I want to enable BIND on 2 and say nginx on another 2, what would be the proper way of serving out the files, or adding the snippets of conf/sh that are needed, for each system/service?
[2011/12/20 21:23:56] @ adimania joined channel #puppet
[2011/12/20 21:25:38] @ Quit: newtMcKerr: Ping timeout: 240 seconds
[2011/12/20 21:28:03] @ Quit: campee: Remote host closed the connection
[2011/12/20 21:29:28] <nitram_macair_> probably a erb template for rc.conf.local
[2011/12/20 21:29:59] <whack> CrazyGir: re: error messages, good error messages are extremely hard to write.
[2011/12/20 21:35:50] <nitram_macair_> CrazyGir: ya can also use file_line in this https://github.com/puppetlabs/puppetlabs-stdlib.git
[2011/12/20 21:36:03] <nitram_macair_> https://github.com/puppetlabs/puppetlabs-stdlib
[2011/12/20 21:36:31] @ Quit: adimania: Ping timeout: 255 seconds
[2011/12/20 21:40:11] @ Quit: krish: Ping timeout: 252 seconds
[2011/12/20 21:41:19] @ dissipate joined channel #puppet
[2011/12/20 21:42:02] @ adimania joined channel #puppet
[2011/12/20 21:44:25] @ Quit: the_ramink: Ping timeout: 244 seconds
[2011/12/20 21:45:09] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/20 21:48:59] @ Quit: neodosh: Ping timeout: 252 seconds
[2011/12/20 22:00:07] @ marczak joined channel #puppet
[2011/12/20 22:03:07] @ the_ramink joined channel #puppet
[2011/12/20 22:04:27] @ nitram_macair_ joined channel #puppet
[2011/12/20 22:06:08] @ choonming joined channel #puppet
[2011/12/20 22:06:08] @ tilgovi joined channel #puppet
[2011/12/20 22:06:09] @ Quit: tilgovi: Changing host
[2011/12/20 22:06:09] @ tilgovi joined channel #puppet
[2011/12/20 22:11:36] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/20 22:15:38] @ Quit: xjiujiu: Read error: Connection reset by peer
[2011/12/20 22:17:49] @ Quit: samrose: Ping timeout: 240 seconds
[2011/12/20 22:19:36] @ ChikuLinu__ joined channel #puppet
[2011/12/20 22:21:08] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/20 22:22:15] @ Quit: gniks: Quit: Leaving.
[2011/12/20 22:23:22] @ Quit: Holocaine:
[2011/12/20 22:23:25] @ Quit: Chiku|dc: Ping timeout: 252 seconds
[2011/12/20 22:24:01] @ Deesl joined channel #puppet
[2011/12/20 22:24:56] @ nitram_macair_ left channel #puppet ()
[2011/12/20 22:26:47] @ riha joined channel #puppet
[2011/12/20 22:30:02] @ Meier joined channel #puppet
[2011/12/20 22:33:50] @ nitram_macair_ joined channel #puppet
[2011/12/20 22:42:27] @ Quit: noakes: Quit: noakes
[2011/12/20 22:44:28] @ scsinutz joined channel #puppet
[2011/12/20 22:44:38] @ Quit: neonflux: Quit: Leaving.
[2011/12/20 22:44:43] @ scsinutz left channel #puppet ()
[2011/12/20 22:44:46] @ Quit: kermit: Read error: Connection reset by peer
[2011/12/20 22:45:28] @ kermit joined channel #puppet
[2011/12/20 22:46:13] @ ghg joined channel #puppet
[2011/12/20 22:46:24] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/20 22:47:23] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/20 22:50:38] @ Quit: danblack: Ping timeout: 276 seconds
[2011/12/20 22:50:43] @ Quit: ghg: Client Quit
[2011/12/20 22:51:46] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/20 22:54:36] @ jodok joined channel #puppet
[2011/12/20 22:54:37] @ Quit: jodok: Changing host
[2011/12/20 22:54:37] @ jodok joined channel #puppet
[2011/12/20 22:55:21] @ Quit: mosen: Quit: Leaving
[2011/12/20 22:58:15] @ Quit: localhost: Ping timeout: 252 seconds
[2011/12/20 22:58:30] @ csanchez joined channel #puppet
[2011/12/20 23:02:59] @ Quit: skm: Ping timeout: 276 seconds
[2011/12/20 23:03:32] @ sdog joined channel #puppet
[2011/12/20 23:04:00] @ skm joined channel #puppet
[2011/12/20 23:11:16] @ Quit: Bass10: Ping timeout: 240 seconds
[2011/12/20 23:15:47] @ smintz joined channel #puppet
[2011/12/20 23:16:26] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 23:18:35] @ csanchez joined channel #puppet
[2011/12/20 23:18:55] @ Vasik|work joined channel #puppet
[2011/12/20 23:22:55] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/20 23:23:14] @ ckauhaus joined channel #puppet
[2011/12/20 23:23:16] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/20 23:23:25] @ nul0op joined channel #puppet
[2011/12/20 23:24:42] @ Quit: dissipate: Read error: Operation timed out
[2011/12/20 23:26:23] @ Quit: ranjibd: Quit: Leaving
[2011/12/20 23:27:01] @ ben_duyujie left channel #puppet ()
[2011/12/20 23:28:09] @ nitram_macair_ joined channel #puppet
[2011/12/20 23:28:58] @ Quit: e1mer: Ping timeout: 276 seconds
[2011/12/20 23:30:32] @ Quit: sdog: Read error: Connection reset by peer
[2011/12/20 23:30:39] @ sdog joined channel #puppet
[2011/12/20 23:31:38] @ DJClean joined channel #puppet
[2011/12/20 23:34:56] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 23:36:25] @ danblack joined channel #puppet
[2011/12/20 23:36:34] @ amit joined channel #puppet
[2011/12/20 23:36:39] @ csanchez joined channel #puppet
[2011/12/20 23:40:32] @ dissipate joined channel #puppet
[2011/12/20 23:41:54] <amit> Hi , i am getting an error when i type this command "puppetca -l -all" Error "err: Could not call list: header too long" , any idea how can i resolve this problem
[2011/12/20 23:47:47] @ raphdg joined channel #puppet
[2011/12/20 23:51:24] @ tremble joined channel #puppet
[2011/12/20 23:51:24] @ Quit: tremble: Changing host
[2011/12/20 23:51:24] @ tremble joined channel #puppet
[2011/12/20 23:54:19] @ MattyM joined channel #puppet
[2011/12/20 23:55:22] @ Quit: csanchez: Read error: Connection timed out
[2011/12/20 23:56:44] @ csanchez joined channel #puppet
[2011/12/20 23:58:14] @ Quit: karsten: Ping timeout: 248 seconds
[2011/12/20 23:59:39] @ karsten joined channel #puppet
[2011/12/21 00:05:54] @ Log closed by gepetto (log rotation)

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