| [2008/07/07 01:03:01] @ f3ew joined channel #puppet | ||
| [2008/07/07 01:16:29] @ shake-n-bake joined channel #puppet | ||
| [2008/07/07 01:26:44] @ meandtheshell joined channel #puppet | ||
| [2008/07/07 02:14:31] @ Quit: roald: Remote closed the connection | ||
| [2008/07/07 02:22:50] @ hMz joined channel #puppet | ||
| [2008/07/07 02:23:02] <hMz> is there a way to do something like awk with a fact? | ||
| [2008/07/07 02:23:14] <hMz> ie: partial matching $operatingsystemrelease | ||
| [2008/07/07 02:23:18] <f3ew> wiki:functions | ||
| [2008/07/07 02:23:27] <f3ew> You need to write a function | ||
| [2008/07/07 02:27:20] <hMz> same for a sub string? | ||
| [2008/07/07 02:27:54] <jamesturnbull> hMz: wiki:WritingYourOwnFunctions | ||
| [2008/07/07 02:27:56] <gepetto> jamesturnbull: hMz: wiki:WritingYourOwnFunctions is http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions | ||
| [2008/07/07 02:28:20] <jamesturnbull> hMz: yes | ||
| [2008/07/07 02:28:46] <msf> so I have an interesting intermittent annoyance I am trying to figure out | ||
| [2008/07/07 02:29:13] <hMz> hmm alright | ||
| [2008/07/07 02:29:45] <msf> Class oracle::common has not been evaluated so its variables cannot be referenced | ||
| [2008/07/07 02:30:14] <msf> this happens intermittently | ||
| [2008/07/07 02:30:37] <msf> I am assuming that internally there is no set order to the way the parser is evaluating all of the classes | ||
| [2008/07/07 02:31:17] <msf> and sometimes we are winning becuase the dependent classes have been evaluated before the Class where the variable is being referenced | ||
| [2008/07/07 02:31:27] <msf> and sometimes we lose | ||
| [2008/07/07 02:31:43] <msf> how can I make sure that this never blows up in my face ? | ||
| [2008/07/07 02:34:37] <jamesturnbull> msf: include the class? | ||
| [2008/07/07 02:34:46] <jamesturnbull> msf: make it a require for something? | ||
| [2008/07/07 02:35:21] <msf> well the class is included in the ldap node | ||
| [2008/07/07 02:35:49] <msf> but currently the class where the variable is populated has no resources that require anything in the class we are pulling the variable from | ||
| [2008/07/07 02:36:12] <msf> so we're reorganising the manifests a little to se if we can make this go away | ||
| [2008/07/07 02:40:08] <jamesturnbull> msf: put the variables elsewhere then? | ||
| [2008/07/07 02:40:48] <msf> I think part of the problem is that we were setting the variable in a base class that is two levels indirected from where we are using it | ||
| [2008/07/07 02:41:06] <msf> ie. | ||
| [2008/07/07 02:41:15] <msf> class c inherits b | ||
| [2008/07/07 02:41:20] <msf> class b inherits a | ||
| [2008/07/07 02:41:26] <msf> and we're setting stuff in a | ||
| [2008/07/07 02:41:58] <msf> we're setting a variable in a from $foo::something | ||
| [2008/07/07 02:42:36] <msf> but class foo is really only being referenced at all in class c | ||
| [2008/07/07 02:42:51] <msf> blah | ||
| [2008/07/07 02:42:53] <msf> :-P | ||
| [2008/07/07 02:43:23] <hMz> can i do a double case statement in a source value? | ||
| [2008/07/07 02:43:55] <hMz> ie: case statement for $operatingsystem then another for $operatingsystemrelease | ||
| [2008/07/07 02:44:14] <hMz> oh right, using the variable in the path | ||
| [2008/07/07 02:47:05] <jamesturnbull> hMz: yep that'll do it | ||
| [2008/07/07 02:52:54] <hMz> yea, i started deploying puppet about a year ago and i've lost context in my own specs | ||
| [2008/07/07 02:53:02] <hMz> so i'm slowly remembering it, excuse my lameness :D | ||
| [2008/07/07 02:55:43] @ Quit: shake-n-bake: | ||
| [2008/07/07 02:59:51] <jamesturnbull> hMz: great book written about since then :P | ||
| [2008/07/07 03:00:35] @ f--z joined channel #puppet | ||
| [2008/07/07 03:01:24] @ f--z is now known as frankz | ||
| [2008/07/07 03:01:32] @ frankz is now known as f--z | ||
| [2008/07/07 03:01:40] <hMz> i own it | ||
| [2008/07/07 03:01:44] <hMz> thanks for writing it ;) | ||
| [2008/07/07 03:01:56] <hMz> i had it on pre-order before it came out since shortly after it showed up | ||
| [2008/07/07 03:02:07] <hMz> now i should just read it | ||
| [2008/07/07 03:07:42] <hMz> hmm, can i put those functions in the 'functions.pp' or it has to live in ruby-lib? | ||
| [2008/07/07 03:12:30] <jamesturnbull> hMz: have a look at DavidS modules | ||
| [2008/07/07 03:12:42] <jamesturnbull> hMz: they demonstrate this pretty well | ||
| [2008/07/07 03:25:29] @ tim|macbook joined channel #puppet | ||
| [2008/07/07 03:38:11] @ sparanjape joined channel #puppet | ||
| [2008/07/07 03:50:31] @ aymerick joined channel #puppet | ||
| [2008/07/07 03:50:42] @ roald joined channel #puppet | ||
| [2008/07/07 04:22:15] @ sigmonsays_ joined channel #puppet | ||
| [2008/07/07 04:23:46] @ Quit: sigmonsays: Read error: 110 (Connection timed out) | ||
| [2008/07/07 04:49:35] @ pleemans joined channel #puppet | ||
| [2008/07/07 05:04:59] @ Quit: londo: Read error: 145 (Connection timed out) | ||
| [2008/07/07 05:39:51] @ cabbiepete joined channel #puppet | ||
| [2008/07/07 05:41:31] @ aymerick_ joined channel #puppet | ||
| [2008/07/07 05:44:06] @ Quit: aymerick: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 05:44:41] <sparanjape> how do i transfer files based on the OS release ? | ||
| [2008/07/07 05:45:04] <sparanjape> i mean if its RHEL3 then file x shu b transferred else file y shud b transferred | ||
| [2008/07/07 05:45:11] <Volcane> source => "puppet://puppet/some/file.$lsbdistrelease" | ||
| [2008/07/07 05:45:18] <Volcane> thats one way | ||
| [2008/07/07 05:45:26] <fujin> or look at the selectors on wiki:LanguageTutorial | ||
| [2008/07/07 05:45:29] <gepetto> fujin: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2008/07/07 05:45:35] <Volcane> another way is to use a case statement to set variable then fetch that | ||
| [2008/07/07 05:45:39] <Volcane> or use a selecter yes | ||
| [2008/07/07 05:49:51] @ glaw joined channel #puppet | ||
| [2008/07/07 06:09:41] @ penthief joined channel #puppet | ||
| [2008/07/07 06:10:44] @ londo joined channel #puppet | ||
| [2008/07/07 06:12:48] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/07 06:13:10] @ tim|mb joined channel #puppet | ||
| [2008/07/07 06:14:31] <penthief> I'm suprised this doen't work; is there better way? http://pastie.org/228900 | ||
| [2008/07/07 06:19:27] <jamesturnbull> penthief: what are you trying to achieve? | ||
| [2008/07/07 06:23:34] @ Quit: tim|macbook: Read error: 110 (Connection timed out) | ||
| [2008/07/07 06:23:52] <penthief> jamesturnbull: I want a shorthand way of grabbing a config file suffixed with the fqdn of the machine. If the file does not exist, grab the default file for the hostgroup (again, by suffix). If this does not exist use the default file which is not suffixed with anything. | ||
| [2008/07/07 06:24:20] <penthief> Oh yeah, and I still want to pass in file parameters as normal. | ||
| [2008/07/07 06:24:37] <msf> you don't pass an array to config | ||
| [2008/07/07 06:24:43] <msf> you pass named args | ||
| [2008/07/07 06:24:58] <msf> ie. | ||
| [2008/07/07 06:25:12] <msf> config { "tomcat ${hostname}": | ||
| [2008/07/07 06:25:26] <jamesturnbull> penthief: case statement or selector - have you read the wiki:LanguageTutorial | ||
| [2008/07/07 06:25:29] <gepetto> jamesturnbull: penthief: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2008/07/07 06:25:29] <msf> filename => "server.xml", | ||
| [2008/07/07 06:25:29] <msf> } | ||
| [2008/07/07 06:26:23] <jamesturnbull> penthief: hmmm | ||
| [2008/07/07 06:26:43] <msf> penthief: you should try to convince mcbride into publishing his configfile define | ||
| [2008/07/07 06:26:51] <msf> it does everything you want | ||
| [2008/07/07 06:26:55] <msf> and more :-P | ||
| [2008/07/07 06:27:03] <msf> it's pretty cracked actually | ||
| [2008/07/07 06:27:52] <Volcane> msf: well, you could pass an array to a define, if he did the define right he could do config{["/etc/1", "/etc/2", "/etc/3"]: owner => root } | ||
| [2008/07/07 06:28:03] <msf> if you look at his pastie | ||
| [2008/07/07 06:28:08] <Volcane> i know his is wrong | ||
| [2008/07/07 06:28:09] <msf> and the actual define he has | ||
| [2008/07/07 06:28:15] <jamesturnbull> Volcane: yes just thinking abou that | ||
| [2008/07/07 06:28:22] <msf> the way he is calling his own defined is wrong | ||
| [2008/07/07 06:28:22] <Volcane> but his is wrong to the point where it needs rewrite | ||
| [2008/07/07 06:28:42] <Volcane> so giving him advice on a better way all together | ||
| [2008/07/07 06:29:12] <msf> meh | ||
| [2008/07/07 06:29:31] <msf> I don't think there's anything wrong with the way he did it.. it's simple but it works | ||
| [2008/07/07 06:29:41] <msf> he just didn't call it properly | ||
| [2008/07/07 06:30:28] <msf> man I should con mcbride into releasing configfile :-/ | ||
| [2008/07/07 06:30:52] <msf> welll.. hell it does have a bsd license... I should just redistribute it myself :-P | ||
| [2008/07/07 06:30:52] <Volcane> penthief: http://pastie.org/228910 | ||
| [2008/07/07 06:31:10] <Volcane> penthief: with something like that, you can do it much easier | ||
| [2008/07/07 06:31:30] <jamesturnbull> hmm the language tutorial really needs a better define example I think | ||
| [2008/07/07 06:32:00] <Volcane> penthief: ofcourse just improve the override selectors cos mines pretty crap , thats an old define | ||
| [2008/07/07 06:32:08] <msf> Volcane: using content is better than source :-P | ||
| [2008/07/07 06:32:22] <Volcane> how so? | ||
| [2008/07/07 06:32:46] <jamesturnbull> Volcane: actually feel free to update the example in the tutorial - you've got a good start there - happy to help clean it up | ||
| [2008/07/07 06:33:21] <Volcane> msf: content is entirely the wrong solution there | ||
| [2008/07/07 06:33:46] <penthief> Volcane: Thanks, but I can't use abitrary file parameters unless I specify them all in the define? OK, I can live with that anyway. | ||
| [2008/07/07 06:33:50] <Volcane> msf: content is for templates, or strings that u quote in the manifest | ||
| [2008/07/07 06:33:58] <Volcane> penthief: yip | ||
| [2008/07/07 06:41:28] <msf> our configfile searches a tree of content with a userconfigurable order of preference and finds either a file OR an tempate that is the best match | ||
| [2008/07/07 06:41:34] <msf> and then shis it with content | ||
| [2008/07/07 06:41:39] <msf> :-D | ||
| [2008/07/07 06:42:13] <msf> any file is a string in a manifest when you have your own custom cat function :-P | ||
| [2008/07/07 06:43:15] <Volcane> so content isnt actually better than source then, its only so when used in conjunction with your custom functions | ||
| [2008/07/07 06:48:21] <msf> depends on how generic you wantyour function to be | ||
| [2008/07/07 06:48:43] <msf> if you want to just ship files, use source | ||
| [2008/07/07 06:49:01] <msf> if you want your function to handle files or templates you need content | ||
| [2008/07/07 06:49:03] <Volcane> msf: you're the one who were pedantic about answering the question asked sheesh :P | ||
| [2008/07/07 06:49:21] <Volcane> msf: in which case you'll hve totally led the person astray | ||
| [2008/07/07 06:49:32] <msf> I agree that your example is better than the original define | ||
| [2008/07/07 06:49:55] <msf> anyways.. I'll shut up now :-P\ | ||
| [2008/07/07 06:51:10] @ mdray joined channel #puppet | ||
| [2008/07/07 06:51:17] <mdray> hello all | ||
| [2008/07/07 06:52:05] <mdray> any recommendations for books on managing systems? by managing i don't mean the tech aspects, more the methodology of keeping track of a lot of servers and applications | ||
| [2008/07/07 06:52:11] <mdray> dealing with upgrades, releases and so on | ||
| [2008/07/07 06:52:29] <mdray> i'm curious to see what else we could learn | ||
| [2008/07/07 06:54:30] <jamesturnbull> mdray: I hate to do it but ITIL can help | ||
| [2008/07/07 06:54:45] <jamesturnbull> mdray: but please note its a Framework - not a solution | ||
| [2008/07/07 06:54:56] <jamesturnbull> mdray: good pointers to what you need rather than a soution | ||
| [2008/07/07 06:55:31] * Volcane was applying for a contract at a botanical garden and they wanted ITIL qualification, hand full of servers | ||
| [2008/07/07 06:55:35] <Volcane> heh | ||
| [2008/07/07 06:55:55] @ Quit: aymerick_: "kit mais sage" | ||
| [2008/07/07 06:56:26] <jamesturnbull> mdray: http://www.enterprisenetworkingplanet.com/netsysm/article.php/3671571 | ||
| [2008/07/07 06:57:24] @ exodos joined channel #puppet | ||
| [2008/07/07 06:58:03] <tim|mb> mdray: I learned a lot from this url (don't mind that it's from MS, it's good content): http://research.microsoft.com/~jamesrh/TalksAndPapers/JamesRH_Lisa.pdf | ||
| [2008/07/07 07:05:49] <mdray> thanks, both | ||
| [2008/07/07 07:05:53] <mdray> bedtime reading! | ||
| [2008/07/07 07:06:49] <jamesturnbull> tim|mb: yeah that's a great article | ||
| [2008/07/07 07:07:10] <jamesturnbull> tim|mb: a bit focussed but takes an interesting meander through the issues | ||
| [2008/07/07 07:07:29] <tim|mb> it's primarily focussed on (very) large scale deployments, though | ||
| [2008/07/07 07:07:35] <f3ew> mdray, ITIL is a good set of guidelines | ||
| [2008/07/07 07:07:41] <f3ew> Also see TPOSANA | ||
| [2008/07/07 07:07:49] <tim|mb> but since that's my business, well... :) still an interesting read | ||
| [2008/07/07 07:09:27] <tim|mb> even though a lot of people ask techies to be itil certified, imho i really think it's more of a management skill then a tech skill... (but i don't want to start a flame war about it, just trying some light lunch conversation ;-)) | ||
| [2008/07/07 07:10:52] <f3ew> tim|mb, mdray asked for it | ||
| [2008/07/07 07:11:13] <mdray> heh | ||
| [2008/07/07 07:11:23] <f3ew> Also, as long as you don't convert ITIL into a fixed Methodology, you should be fine using it | ||
| [2008/07/07 07:11:25] <tim|mb> i know, was just stating my opinion, unrelated to the original question :) | ||
| [2008/07/07 07:11:44] <f3ew> ITIL is guidelines, not a law | ||
| [2008/07/07 07:16:06] @ aymerick joined channel #puppet | ||
| [2008/07/07 07:19:56] @ Quit: Gwayne: "+++ OK ATH OK" | ||
| [2008/07/07 07:20:36] * Volcane hopes the slides of the reductivelabs external classification tool gets put up soon, really keen on something like that now | ||
| [2008/07/07 07:23:58] @ Quit: aymerick: "kit mais sage" | ||
| [2008/07/07 07:31:45] @ aymerick joined channel #puppet | ||
| [2008/07/07 07:32:24] <jamesturnbull> Volcane: they are up I think - hang on | ||
| [2008/07/07 07:32:27] @ Quit: sparanjape: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 07:32:58] <jamesturnbull> tim|mb: I like ITIL - I do a log of greenfields and uplift work - it's a good quick guide to working out gaps | ||
| [2008/07/07 07:33:06] <jamesturnbull> tim|mb: wouldn't recommend it for all shops obviously | ||
| [2008/07/07 07:35:54] <jamesturnbull> Volcane: Volcane try this - http://reductivelabs.com/downloads/puppetshow.mov | ||
| [2008/07/07 07:36:15] <jamesturnbull> Volcane: not sure if that's a secret but it's on the RL downloads page | ||
| [2008/07/07 07:38:35] <Volcane> heh thanks | ||
| [2008/07/07 07:40:24] @ flo_ joined channel #puppet | ||
| [2008/07/07 07:40:47] @ flo_ left channel #puppet ("Konversation terminated!") | ||
| [2008/07/07 07:41:40] <Volcane> jamesturnbull: ah so its just for showing things atm? /me wants a external node app | ||
| [2008/07/07 07:42:14] <jamesturnbull> Volcane: I haven't discussed in detail with lak but I think it's going to be more | ||
| [2008/07/07 07:42:53] <Volcane> kewl, well reportings good. iclassify is fine but i couldnt care less for the agent on each machine | ||
| [2008/07/07 07:43:05] <Volcane> just need a nice way to combine classes to groups, and apply groups to machines | ||
| [2008/07/07 07:43:18] <Volcane> (without actually defining funky combining classes, what a hassle | ||
| [2008/07/07 07:43:49] <Volcane> just want to in a web ui say a webserver includes apache, apache::config, apache::vhosting, and then drop a node into the "webserver" group | ||
| [2008/07/07 07:43:57] <Volcane> ala hostgroups in nagios | ||
| [2008/07/07 07:51:11] <jamesturnbull> Volcane: talk to lak - that the best idea | ||
| [2008/07/07 07:52:34] <Volcane> yeah | ||
| [2008/07/07 08:04:43] @ Quit: aymerick: "kit mais sage" | ||
| [2008/07/07 08:05:01] @ aymerick joined channel #puppet | ||
| [2008/07/07 08:33:31] @ Quit: aymerick: "kit mais sage" | ||
| [2008/07/07 08:33:44] @ aymerick joined channel #puppet | ||
| [2008/07/07 08:39:04] @ jvanzyl joined channel #puppet | ||
| [2008/07/07 08:51:23] @ Quit: Gvj: "Leaving." | ||
| [2008/07/07 08:56:01] @ Gwayne joined channel #puppet | ||
| [2008/07/07 08:59:58] @ Quit: penthief: "Leaving" | ||
| [2008/07/07 09:17:43] @ skr joined channel #puppet | ||
| [2008/07/07 09:19:55] @ Quit: glaw: | ||
| [2008/07/07 09:21:03] @ Quit: skr: Remote closed the connection | ||
| [2008/07/07 09:29:17] @ Quit: meandtheshell: Connection timed out | ||
| [2008/07/07 09:36:45] @ evilbit left channel #puppet () | ||
| [2008/07/07 09:37:51] @ stevenjenkins joined channel #puppet | ||
| [2008/07/07 09:41:39] @ Zothar_Work joined channel #puppet | ||
| [2008/07/07 09:42:18] @ f--z joined channel #puppet | ||
| [2008/07/07 09:43:08] @ skr joined channel #puppet | ||
| [2008/07/07 09:44:04] @ skr is now known as johano | ||
| [2008/07/07 09:55:23] @ n5red-0 joined channel #puppet | ||
| [2008/07/07 09:59:11] @ Quit: jvanzyl: | ||
| [2008/07/07 10:00:45] @ meandtheshell joined channel #puppet | ||
| [2008/07/07 10:08:56] @ jvanzyl joined channel #puppet | ||
| [2008/07/07 10:11:56] @ shenson_not_here is now known as shenson | ||
| [2008/07/07 10:17:32] <duritong> hmm | ||
| [2008/07/07 10:17:57] <duritong> updated to the latest 0.24.X branch from james | ||
| [2008/07/07 10:18:01] <duritong> and get: Mon Jul 07 16:16:46 +0200 2008 Puppet (err): Could not start Puppet::Network::Server: getaddrinfo: Name or service not known | ||
| [2008/07/07 10:22:28] @ kambiz joined channel #puppet | ||
| [2008/07/07 10:27:22] @ Quit: Gwayne: Remote closed the connection | ||
| [2008/07/07 10:29:45] @ Demosthenex joined channel #puppet | ||
| [2008/07/07 10:33:18] @ Quit: Demosthenes: Read error: 110 (Connection timed out) | ||
| [2008/07/07 10:35:51] <jamesturnbull> duritong: worked before>? | ||
| [2008/07/07 10:37:10] <duritong> jamesturnbull: yes | ||
| [2008/07/07 10:37:31] <jamesturnbull> hmmm I don't see that | ||
| [2008/07/07 10:37:38] <duritong> actually I can't find from where the error message comes | ||
| [2008/07/07 10:38:02] <jamesturnbull> duritong: it's usually network, nsswitch, dns, etc | ||
| [2008/07/07 10:38:19] <duritong> http://pastie.org/229008 | ||
| [2008/07/07 10:38:27] <duritong> this is the rest around the error | ||
| [2008/07/07 10:39:17] <jamesturnbull> did you chabge the qdn in the pastie? | ||
| [2008/07/07 10:39:36] <duritong> yeah | ||
| [2008/07/07 10:39:48] <duritong> example.com would be my real domain | ||
| [2008/07/07 10:40:06] <duritong> and i even added the domain to hosts | ||
| [2008/07/07 10:40:14] <duritong> but I don't see from where this ca thing come | ||
| [2008/07/07 10:40:20] <jamesturnbull> can you resolve the host? | ||
| [2008/07/07 10:40:47] <duritong> which one? | ||
| [2008/07/07 10:40:53] <jamesturnbull> the server | ||
| [2008/07/07 10:40:59] <duritong> yeah | ||
| [2008/07/07 10:41:15] <duritong> well the puppetmaster is throwing this message | ||
| [2008/07/07 10:41:35] <duritong> and I added the puppetmaster domain, as well ca to the hosts file | ||
| [2008/07/07 10:41:51] <duritong> but it's resolvable also the other way | ||
| [2008/07/07 10:41:57] <jamesturnbull> hmmm weird | ||
| [2008/07/07 10:43:49] <duritong> well if I remove the added domains from the hosts file | ||
| [2008/07/07 10:43:54] <duritong> it won't change anything | ||
| [2008/07/07 10:43:58] <duritong> same error occures | ||
| [2008/07/07 10:46:18] <jamesturnbull> duritong: I wonder if this is related to #1200 | ||
| [2008/07/07 10:46:26] @ andrewcshafer joined channel #puppet | ||
| [2008/07/07 10:47:20] <jamesturnbull> gepetto: hel | ||
| [2008/07/07 10:47:24] <jamesturnbull> gepetto: help | ||
| [2008/07/07 10:47:24] <gepetto> jamesturnbull: help topics: 9 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata; 8 plugins: factoids, redmineurls, rss, salut, seen, shortenurls, stats, tracurls (help <topic> for more info) | ||
| [2008/07/07 10:48:02] <jamesturnbull> andrewcshafer: ^^^ re #1200 | ||
| [2008/07/07 10:49:07] @ LittleIdea joined channel #puppet | ||
| [2008/07/07 10:49:51] <jamesturnbull> duritong: hmm I can't replicate that at all | ||
| [2008/07/07 10:50:12] <andrewcshafer> jamesturnbull: what's up? | ||
| [2008/07/07 10:50:51] <jamesturnbull> andrewcshafer: duritong is havign an issue with 0.24.x HEAD and I had a thought it might be #1200 | ||
| [2008/07/07 10:51:13] <andrewcshafer> what is the issue? | ||
| [2008/07/07 10:51:27] @ LittleIdea left channel #puppet () | ||
| [2008/07/07 10:51:31] <jamesturnbull> andrewcshafer: http://pastie.org/229008 | ||
| [2008/07/07 10:52:06] <jamesturnbull> wiki:AddingFacts | ||
| [2008/07/07 10:52:08] <gepetto> jamesturnbull: wiki: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts | ||
| [2008/07/07 10:52:21] <jamesturnbull> #12 | ||
| [2008/07/07 10:52:42] <jamesturnbull> changeset:946081b3c0bf24dc68a3a08fbcb6b5347e01de8f | ||
| [2008/07/07 10:54:48] @ lludwig joined channel #puppet | ||
| [2008/07/07 10:56:22] @ Joined channel #puppet | ||
| [2008/07/07 10:56:22] @ Topic is "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues" | ||
| [2008/07/07 10:56:22] @ Topic set by jamesturnbull on Tue Jun 03 01:57:42 -0400 2008 | ||
| [2008/07/07 10:56:34] <jamesturnbull> #12 | ||
| [2008/07/07 10:56:36] <gepetto> jamesturnbull: #12 is http://reductivelabs.com/redmine/issues/show/12 | ||
| [2008/07/07 10:56:37] <jamesturnbull> changeset:946081b3c0bf24dc68a3a08fbcb6b5347e01de8f | ||
| [2008/07/07 10:56:55] <duritong> jamesturnbull: hmm well the first problem I had that puppetmaster complained, that it can't read the certs | ||
| [2008/07/07 10:57:13] <duritong> i owned then them as user puppet and then this error appeared | ||
| [2008/07/07 10:58:25] <jamesturnbull> duritong: hmmm and as root? | ||
| [2008/07/07 10:58:45] <duritong> they ware owned by root before | ||
| [2008/07/07 10:58:48] <jamesturnbull> duritong: my server keys are owned by "root" | ||
| [2008/07/07 10:58:48] <duritong> were | ||
| [2008/07/07 10:59:10] <jamesturnbull> duritong: why did you change it? | ||
| [2008/07/07 11:00:30] <duritong> because first I got the error Mon Jul 07 15:53:49 +0200 2008 Puppet (err): Could not start Puppet::Network::Server: Permission denied - /srv/puppet/ssl/private_keys/puppet.example.com.pem | ||
| [2008/07/07 11:00:46] <duritong> and they were owned by root with mode 0600 | ||
| [2008/07/07 11:00:55] @ Quit: Demosthenex: "Lost terminal" | ||
| [2008/07/07 11:01:59] @ Joined channel #puppet | ||
| [2008/07/07 11:01:59] @ Topic is "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues" | ||
| [2008/07/07 11:01:59] @ Topic set by jamesturnbull on Tue Jun 03 01:57:42 -0400 2008 | ||
| [2008/07/07 11:02:27] <jamesturnbull> duritong: hmm mine have tose perms and work perfectly | ||
| [2008/07/07 11:02:31] <jamesturnbull> changeset:946081b3c0bf24dc68a3a08fbcb6b5347e01de8f | ||
| [2008/07/07 11:02:32] <gepetto> jamesturnbull: changeset: changeset:946081b3c0bf24dc68a3a08fbcb6b5347e01de8f is http://reductivelabs.com/redmine/repositories/revision/puppet/946081b3c0bf24dc68a3a08fbcb6b5347e01de8f | ||
| [2008/07/07 11:02:42] <jamesturnbull> gepetto: good boy | ||
| [2008/07/07 11:03:46] @ [newbie] joined channel #puppet | ||
| [2008/07/07 11:03:48] <jamesturnbull> duritong: sorry mate got to get some sleep - 1am here - andrew can hopefully help you out - but I just can't replicate that issue. Got to be something local. platform? | ||
| [2008/07/07 11:03:56] @ Quit: f--z: Read error: 110 (Connection timed out) | ||
| [2008/07/07 11:04:05] <duritong> I try it further | ||
| [2008/07/07 11:04:25] @ Quit: roald: Connection timed out | ||
| [2008/07/07 11:04:49] @ Demosthenes joined channel #puppet | ||
| [2008/07/07 11:08:05] <duritong> gn8 | ||
| [2008/07/07 11:08:07] <duritong> btw ;) | ||
| [2008/07/07 11:12:25] <duritong> hmm i would rather see the error in the indirector | ||
| [2008/07/07 11:14:14] <stick> what's the env var that you can set to test custom facts that are deployed by puppet (and not dropped into facters default location) | ||
| [2008/07/07 11:14:22] <stick> FACTDIR? | ||
| [2008/07/07 11:14:29] <duritong> nope | ||
| [2008/07/07 11:14:31] <lludwig> FACTLIB | ||
| [2008/07/07 11:15:01] <lludwig> FACTERLIB | ||
| [2008/07/07 11:15:06] <Volcane> RUBYLIB | ||
| [2008/07/07 11:18:09] <lludwig> from the facter.rb code | ||
| [2008/07/07 11:18:10] <lludwig> facter.rb: # Also check anything in 'FACTERLIB' | ||
| [2008/07/07 11:18:10] <lludwig> facter.rb: if ENV['FACTERLIB'] | ||
| [2008/07/07 11:18:10] <lludwig> facter.rb: ENV['FACTERLIB'].split(":").each do |fdir| | ||
| [2008/07/07 11:18:35] <stick> thanks | ||
| [2008/07/07 11:18:44] <Volcane> rubylib also works | ||
| [2008/07/07 11:19:57] <andrewcshafer> duritong: What user is puppet running as? Can you generate the problem again with --trace | ||
| [2008/07/07 11:20:14] <duritong> it is the puppetmaster | ||
| [2008/07/07 11:20:20] <duritong> not puppet | ||
| [2008/07/07 11:21:04] <duritong> and the pastie http://pastie.org/229008 is the one with trace and debug | ||
| [2008/07/07 11:21:26] @ martha joined channel #puppet | ||
| [2008/07/07 11:21:45] <Volcane> stick: % export RUBYLIB=temp;facter | ||
| [2008/07/07 11:21:45] <Volcane> Silly Custom Fact Loaded | ||
| [2008/07/07 11:21:50] <andrewcshafer> hmm, there is no stacktrace | ||
| [2008/07/07 11:21:56] <duritong> yeah | ||
| [2008/07/07 11:22:02] <Volcane> where i have just a puts in a rb file in "temp/facter/blah.rb" | ||
| [2008/07/07 11:23:56] <duritong> andrewcshafer: the strange thing is that I find 2 places where an exception "Could not start" is raised | ||
| [2008/07/07 11:24:14] <duritong> I can add to both some foobar string and it won't change the error message in the log | ||
| [2008/07/07 11:24:45] <andrewcshafer> This is the one in lib/puppet.rb | ||
| [2008/07/07 11:25:20] <duritong> ah damn | ||
| [2008/07/07 11:25:27] <duritong> I was already in the folder puppet | ||
| [2008/07/07 11:25:34] <duritong> and it's the one in puppet.rb | ||
| [2008/07/07 11:26:51] <andrewcshafer> I don't understand how there is no stacktrace | ||
| [2008/07/07 11:26:57] <lludwig> hi is Luke or someone else there to help with this issue? | ||
| [2008/07/07 11:26:58] <lludwig> http://reductivelabs.com/redmine/issues/show/1095 | ||
| [2008/07/07 11:27:16] <lludwig> I'm getting this issue now on the puppetmaster | ||
| [2008/07/07 11:27:26] <lludwig> which causes the puppetd's to timeout | ||
| [2008/07/07 11:27:55] <lludwig> the compling takes longer and longer on the puppetmaster | ||
| [2008/07/07 11:28:38] <lludwig> and the puppetmasters suck up CPU cycles | ||
| [2008/07/07 11:28:46] @ lak joined channel #puppet | ||
| [2008/07/07 11:29:00] <lludwig> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | ||
| [2008/07/07 11:29:01] <lludwig> 4224 puppet 25 0 669m 621m 1752 R 53.6 30.3 60:00.47 puppetmasterd | ||
| [2008/07/07 11:29:02] <lludwig> 4200 puppet 25 0 639m 591m 1752 R 43.7 28.9 51:57.40 puppetmasterd | ||
| [2008/07/07 11:29:19] <lak> erm | ||
| [2008/07/07 11:29:25] <lak> that's a lot of ram | ||
| [2008/07/07 11:29:34] <lak> mostly shared, tho | ||
| [2008/07/07 11:29:41] <lak> don't really know what that means, in this context | ||
| [2008/07/07 11:29:46] <lludwig> [root@archive log]# lsof -p 4224 -p 4200 | wc -l | ||
| [2008/07/07 11:29:46] <lludwig> 107 | ||
| [2008/07/07 11:29:59] <lludwig> so it might not be the same issue after all | ||
| [2008/07/07 11:30:54] <duritong> andrewcshafer: it happens in the listen of Puppet::Network::Server | ||
| [2008/07/07 11:31:59] <lludwig> @lak: yea nothing additional shows up in the puppetmaster log files | ||
| [2008/07/07 11:32:07] <kjetilho> lak: what do you mean, mostly shared? mostly not, it looks like to me (1752 KiB out of 669 MiB) | ||
| [2008/07/07 11:32:08] <lludwig> except the complie times increase every time | ||
| [2008/07/07 11:32:16] <lak> oh, sorry | ||
| [2008/07/07 11:32:21] <lak> you're right, i wasn't reading it right | ||
| [2008/07/07 11:32:24] <lak> missed the VIRT column | ||
| [2008/07/07 11:32:28] <lludwig> :-) | ||
| [2008/07/07 11:33:11] <lludwig> hmm this is odd | ||
| [2008/07/07 11:33:22] <kjetilho> if you look at pmap, I bet it's mostly heap | ||
| [2008/07/07 11:33:27] <lludwig> the load dropped | ||
| [2008/07/07 11:33:49] <lludwig> puppetmaster(s) were not restarted | ||
| [2008/07/07 11:33:54] <lludwig> it went from | ||
| [2008/07/07 11:34:05] <lludwig> Compiled configuration for in 222.94 seconds | ||
| [2008/07/07 11:34:08] <lludwig> for one server | ||
| [2008/07/07 11:34:13] <lludwig> then | ||
| [2008/07/07 11:34:25] <lludwig> Compiled configuration for in 4.95 seconds | ||
| [2008/07/07 11:34:35] <lludwig> in one min timeframe | ||
| [2008/07/07 11:34:47] <lak> did the ram change? | ||
| [2008/07/07 11:34:52] <lludwig> looking | ||
| [2008/07/07 11:34:59] <kjetilho> lludwig: perhaps the definition for that server triggers some exponential algorithm? | ||
| [2008/07/07 11:35:04] <lludwig> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | ||
| [2008/07/07 11:35:04] <lludwig> 4224 puppet 16 0 656m 608m 1752 S 0.0 29.7 62:18.80 puppetmasterd | ||
| [2008/07/07 11:35:04] <lludwig> 4200 puppet 16 0 627m 579m 1752 S 0.0 28.3 52:57.09 puppetmasterd | ||
| [2008/07/07 11:35:11] <lludwig> no | ||
| [2008/07/07 11:35:35] <lak> drat | ||
| [2008/07/07 11:35:42] <lak> here i was hoping it would get reclaimed :/ | ||
| [2008/07/07 11:36:39] <lludwig> and these puppetmasters were restarted only this morning at 5:05 EST | ||
| [2008/07/07 11:36:48] <kjetilho> very unlikely if Ruby uses brk() rather than mmap for memory allocation | ||
| [2008/07/07 11:37:11] <lludwig> I have | ||
| [2008/07/07 11:37:11] <lludwig> PUPPETMASTER_EXTRA_OPTS="--debug --verbose --servertype=mongrel" | ||
| [2008/07/07 11:37:22] <lludwig> should I add anything else to make the logs more detailed? | ||
| [2008/07/07 11:38:52] <duritong> andrewcshafer: it looks like webrick fails to start | ||
| [2008/07/07 11:39:27] <andrewcshafer> duritong: what are you seeing? | ||
| [2008/07/07 11:40:27] @ penthief joined channel #puppet | ||
| [2008/07/07 11:40:29] <lludwig> all: this big load increase causes the puppetd's to restart (because the yaml file is out of date and we have nagios auto restart) | ||
| [2008/07/07 11:40:31] <lludwig> puppetd[10721]: Could not retrieve plugins: execution expired | ||
| [2008/07/07 11:40:43] <lludwig> and very long catalog runs | ||
| [2008/07/07 11:40:49] <lludwig> 600 seconds is not uncommon | ||
| [2008/07/07 11:42:24] <lludwig> oh also puppetmasterd when restarted at 5:05 AM shows no errors | ||
| [2008/07/07 11:42:51] <lludwig> and per the open ticket | ||
| [2008/07/07 11:43:12] <lludwig> I do not have storeconfigs=true enabled | ||
| [2008/07/07 11:43:35] <lludwig> brb 15 min | ||
| [2008/07/07 11:44:00] * Volcane had all of that in non mongrel'd puppetmasters | ||
| [2008/07/07 11:44:09] <Volcane> how many puppetmaster instances do you run? | ||
| [2008/07/07 11:44:25] <mdray> volcane: where'd your BootstrapEnvironment wiki article go?! | ||
| [2008/07/07 11:45:03] <Volcane> mdray: the concensus was that if its not on the reductivelabs wiki its of no use, so i removed it avoid having to deal with people being morons. | ||
| [2008/07/07 11:45:29] <mdray> oh | ||
| [2008/07/07 11:45:39] @ Quit: svend_: Remote closed the connection | ||
| [2008/07/07 11:50:54] <andrewcshafer> duritong: Are you sure you are on 0.24.x and not master? | ||
| [2008/07/07 11:55:03] @ lutter joined channel #puppet | ||
| [2008/07/07 11:58:58] <lak> duritong: the reason he's asking is that those logs about cached certs can only appear with the master-specific REST code | ||
| [2008/07/07 12:00:47] @ Quit: [newbie]: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/07 12:02:15] @ Quit: exodos: "leaving" | ||
| [2008/07/07 12:06:10] <lludwig> @volcane: 2 puppetmasters | ||
| [2008/07/07 12:06:18] <Volcane> how many nodes? | ||
| [2008/07/07 12:06:25] <lludwig> 90ish | ||
| [2008/07/07 12:06:38] <Volcane> update frequency? | ||
| [2008/07/07 12:06:43] <lludwig> 30 min default | ||
| [2008/07/07 12:06:50] <lludwig> and no other schedules setup | ||
| [2008/07/07 12:08:43] <lludwig> here it goes again the load increases, the compile time increases and the puppetd timeout | ||
| [2008/07/07 12:08:57] <Volcane> well last itme i had enough servers to use mongrel we had very similar problems before going to mongrel, and it seems that with mongrel if you dont have enough masters to handle the concurrent workload you'll see the same problems | ||
| [2008/07/07 12:09:08] <Volcane> so more might help, but cant back that up with solid expeirnece | ||
| [2008/07/07 12:09:10] <lludwig> hmm | ||
| [2008/07/07 12:09:22] <lludwig> yea I tried that but the memory increased even more | ||
| [2008/07/07 12:09:28] <lludwig> this VPS has 2GB | ||
| [2008/07/07 12:09:38] <lludwig> and does not seem to be enough | ||
| [2008/07/07 12:09:39] <lludwig> ack | ||
| [2008/07/07 12:09:49] <mdray> i'm trying to run a client against my puppetmaster as if it's new so i've deleted all the files under client:/var/lib/puppet/ssl | ||
| [2008/07/07 12:10:10] <mdray> yet the client logs "err: Could not retrieve catalog: Certificates were not trusted: certificate verify failed" and the server says nothing | ||
| [2008/07/07 12:10:46] <Volcane> did you puppetca --clean on the server? | ||
| [2008/07/07 12:11:40] <mdray> well, erm, here's the thing | ||
| [2008/07/07 12:11:48] <mdray> i tarred up /etc/puppet on my dev box | ||
| [2008/07/07 12:11:56] <mdray> and plonked it on the to-be-live box | ||
| [2008/07/07 12:12:06] <mdray> so the new box doesn't have any history of serving clients | ||
| [2008/07/07 12:12:28] <mdray> no client data under $ssldir | ||
| [2008/07/07 12:13:41] @ shake-n-bake joined channel #puppet | ||
| [2008/07/07 12:18:50] @ plathrop joined channel #puppet | ||
| [2008/07/07 12:21:34] <andrewcshafer> duritong: I'm pretty sure those messages are coming from code in master and not on 0.24.x, can you try it with a clean repo? | ||
| [2008/07/07 12:23:24] @ Quit: shake-n-bake: | ||
| [2008/07/07 12:26:14] <sigmonsays_> is it true that mongrel doesn't mult-thread? | ||
| [2008/07/07 12:26:41] @ sigmonsays_ is now known as sigmonsays | ||
| [2008/07/07 12:31:22] <Volcane> puppetmaster doesnt, thats why you need mongrel | ||
| [2008/07/07 12:32:05] <mdray> cheers all | ||
| [2008/07/07 12:32:07] @ Quit: mdray: "Leaving" | ||
| [2008/07/07 12:32:07] <Volcane> well, webrick doesnt | ||
| [2008/07/07 12:34:01] <duritong> andrewcshafer: what do you mean with clean repo? | ||
| [2008/07/07 12:34:22] <duritong> ah ok | ||
| [2008/07/07 12:34:27] <duritong> ok i'll try out | ||
| [2008/07/07 12:34:28] <andrewcshafer> duritong: One that doesn't have all the code from the master branch | ||
| [2008/07/07 12:34:53] <andrewcshafer> what does it say when you run: git branch | ||
| [2008/07/07 12:34:55] <lludwig> no one has any additional input into the cause of the puppetmaster issue I'm seeing? | ||
| [2008/07/07 12:35:05] <lludwig> I'm stumped | ||
| [2008/07/07 12:35:06] <duritong> git-branch | ||
| [2008/07/07 12:35:07] <duritong> * james/0.24.x | ||
| [2008/07/07 12:35:26] <duritong> and I changed it with: git-checkout -b james/0.24.x | ||
| [2008/07/07 12:35:45] <duritong> and james is the github repo from jamesturnbull | ||
| [2008/07/07 12:36:01] <andrewcshafer> lludwig: The memory stuff? It sucks, I'm going to fix it, probably not today, but soon :/ | ||
| [2008/07/07 12:36:38] <duritong> lak: ah ok now I see your message, ok I try to the package again | ||
| [2008/07/07 12:37:08] <lludwig> @andrewshafer: yea but also could the memory issue cause the load? | ||
| [2008/07/07 12:37:21] <lludwig> where puppetd are timingout? | ||
| [2008/07/07 12:37:44] * Volcane thinks with not enough masters you get one master trying to do many concurrent config builds | ||
| [2008/07/07 12:39:03] <andrewcshafer> lludwig: I'm not positive, and I have a things to get done before this afternoon, but memory and performance are my highest priority after that | ||
| [2008/07/07 12:39:06] <lludwig> I can increase to 3 that but then the memory issue becaomes more of an issue | ||
| [2008/07/07 12:39:20] <lludwig> k I'll be the first in line for that patch ;-) | ||
| [2008/07/07 12:39:45] <andrewcshafer> lludwig: I'll probably have more questions for you once I start digging into it | ||
| [2008/07/07 12:39:53] <lludwig> k | ||
| [2008/07/07 12:40:06] <lludwig> larludwig @ aol is your best bet | ||
| [2008/07/07 12:40:38] <duritong> andrewcshafer, lak: ah damn it could be that I used git wrong | ||
| [2008/07/07 12:40:38] <lludwig> changed to 3 puppetmasters | ||
| [2008/07/07 12:41:15] <andrewcshafer> I think you might have a local branch named james/0.24.x that is just the master | ||
| [2008/07/07 12:41:44] <duritong> yeah | ||
| [2008/07/07 12:41:47] <duritong> looks like | ||
| [2008/07/07 12:41:50] * duritong is rebuilding rpm | ||
| [2008/07/07 12:42:19] @ stahnma left channel #puppet ("Konversation terminated!") | ||
| [2008/07/07 12:45:23] @ Quit: plathrop: Remote closed the connection | ||
| [2008/07/07 12:46:09] @ plathrop joined channel #puppet | ||
| [2008/07/07 12:46:46] <lludwig> FYI load is still high | ||
| [2008/07/07 12:46:50] <lludwig> now at 2.43 | ||
| [2008/07/07 12:46:55] <lludwig> oh wait | ||
| [2008/07/07 12:46:56] <lludwig> duh | ||
| [2008/07/07 12:47:05] <lludwig> forgot to add to apache the other proxy :-) | ||
| [2008/07/07 12:52:31] <duritong> andrewcshafer, lak: yeah i was running master, or at least trying :-/ | ||
| [2008/07/07 12:52:42] <duritong> sorry my mistake of not being able to use git | ||
| [2008/07/07 12:53:05] <lak> no problem; it's currently a common mistake | ||
| [2008/07/07 12:53:15] <lak> once 0.25.0 comes out, master will be the stable branch | ||
| [2008/07/07 12:53:28] <lak> which should cut down on this confusion | ||
| [2008/07/07 12:53:34] <duritong> i'm just curious if you see any date for that? | ||
| [2008/07/07 12:54:48] <lak> once this rc for 0.24.5 comes out (hopefully tonight) it's all i'll be working on | ||
| [2008/07/07 12:55:00] <lak> and it *must* come out before about the middle of september | ||
| [2008/07/07 12:55:06] <lak> so i'd say some time in aug or sept | ||
| [2008/07/07 12:55:18] <lak> july's a bit unrealistic | ||
| [2008/07/07 12:55:18] <duritong> ok | ||
| [2008/07/07 12:55:43] <duritong> i'm just about to install HEAD as i'd like to test if the chicken egg problem is fixed | ||
| [2008/07/07 12:56:01] <duritong> and there are some nagios improvements | ||
| [2008/07/07 12:56:25] <lak> the release is essentially ready | ||
| [2008/07/07 12:56:34] <duritong> yeah it looks like that | ||
| [2008/07/07 12:56:41] <lak> i'm just making a couple of last-minute changes to ldap support for a customer, and gem support for emerose | ||
| [2008/07/07 12:56:58] <duritong> ok cool | ||
| [2008/07/07 12:57:10] <duritong> so I'm nearly using the rc :) | ||
| [2008/07/07 12:57:34] <lak> yeah | ||
| [2008/07/07 13:02:30] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/07/07 13:11:59] @ Quit: tarjei: Read error: 113 (No route to host) | ||
| [2008/07/07 13:16:58] @ Quit: lak: | ||
| [2008/07/07 13:24:47] @ plathrop joined channel #puppet | ||
| [2008/07/07 13:24:53] @ Quit: Superfly_: Read error: 110 (Connection timed out) | ||
| [2008/07/07 13:26:30] @ jon___ joined channel #puppet | ||
| [2008/07/07 13:28:02] @ Quit: penthief: Read error: 110 (Connection timed out) | ||
| [2008/07/07 13:31:29] @ f--z joined channel #puppet | ||
| [2008/07/07 13:37:00] @ Quit: tim|mb: "This computer has gone to sleep" | ||
| [2008/07/07 13:39:02] @ shake-n-bake joined channel #puppet | ||
| [2008/07/07 13:40:27] <Volcane> hmm | ||
| [2008/07/07 13:40:32] <Volcane> anyone using storedconfs with mysql? | ||
| [2008/07/07 13:42:50] <duritong> ACTION | ||
| [2008/07/07 13:43:06] <thom> ACTION | ||
| [2008/07/07 13:43:10] <Disconnect> ya | ||
| [2008/07/07 13:43:22] <Disconnect> its easily confused | ||
| [2008/07/07 13:43:29] <Volcane> :) so i set it up, and it doesnt complain etc | ||
| [2008/07/07 13:43:35] <Volcane> but, how to create the tables it needs? | ||
| [2008/07/07 13:43:42] <Volcane> cos it doesnt do it on its own | ||
| [2008/07/07 13:44:08] <Volcane> which i thought it did | ||
| [2008/07/07 13:44:19] <duritong> Volcane: it should do it | ||
| [2008/07/07 13:44:31] <duritong> but the user must have the appropriate rights | ||
| [2008/07/07 13:45:06] <Disconnect> it does it automatically if it can | ||
| [2008/07/07 13:45:07] <Volcane> nods, gave it all | ||
| [2008/07/07 13:45:29] <Disconnect> in fact, thats the best way to un-confuse it later - wipe out all the tables and let them get recreated/repopulated as the clients come in | ||
| [2008/07/07 13:45:37] <Volcane> yeah | ||
| [2008/07/07 13:46:16] <Volcane> ah well | ||
| [2008/07/07 13:46:24] <Volcane> its a real bloody MS product sometimes | ||
| [2008/07/07 13:46:28] <Volcane> restart sorts it all out | ||
| [2008/07/07 13:47:09] @ jon___ left channel #puppet () | ||
| [2008/07/07 13:47:23] <Disconnect> puppetmaster or mysql? | ||
| [2008/07/07 13:47:29] <Volcane> puppetmaster | ||
| [2008/07/07 13:47:32] <Volcane> http://pastie.org/229156 that looks healthy | ||
| [2008/07/07 13:48:15] <Volcane> new line in there where it shouldnt, also doubt the -- should be there | ||
| [2008/07/07 13:49:29] <Disconnect> lol | ||
| [2008/07/07 13:49:29] <Disconnect> nice | ||
| [2008/07/07 13:50:48] <Volcane> hehe, more, reload that pastie | ||
| [2008/07/07 13:52:09] <Disconnect> thats awesome | ||
| [2008/07/07 13:53:24] <Volcane> k, well thats cute | ||
| [2008/07/07 13:53:37] <Volcane> hopefully have fewer problems than i had qith sqlite | ||
| [2008/07/07 13:54:06] <Volcane> though not all the fields seem to be updating, i guess its a work in progress | ||
| [2008/07/07 13:55:32] <Volcane> http://pastie.org/229162 :( doesnt know it got a report | ||
| [2008/07/07 13:55:54] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/07/07 13:56:40] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/07/07 14:06:46] <Disconnect> no logs or anything? never had that kind of mess in mine. just corrupted (and old, and never-existed) hosts | ||
| [2008/07/07 14:07:06] <Volcane> nah | ||
| [2008/07/07 14:09:42] @ brscott joined channel #puppet | ||
| [2008/07/07 14:13:51] @ Quit: meandtheshell: "Leaving." | ||
| [2008/07/07 14:14:25] <Disconnect> what would cause puppetca --sign to hang? | ||
| [2008/07/07 14:17:07] * Disconnect is expecting permission problems - had to change the uid :( :( - but i can't find anything wrong.. | ||
| [2008/07/07 14:17:18] @ lludwig left channel #puppet () | ||
| [2008/07/07 14:17:26] <Disconnect> (the good news is its not overlapping uids so i could just do a find -uid oldnum / find -gid oldnum) | ||
| [2008/07/07 14:17:49] @ meandtheshell joined channel #puppet | ||
| [2008/07/07 14:22:17] <Volcane> strace :) | ||
| [2008/07/07 14:25:14] <Disconnect> yah its bailing somewhere in an ldap download. but thats new :( | ||
| [2008/07/07 14:25:29] <Disconnect> and why its sucking down the contents of the user directory to begin with i dunno :( | ||
| [2008/07/07 14:27:17] <Disconnect> strace on ruby is painful anyway, since it runs a ton of sigsetprocmask's in a row (basically up to 15 between every call, with identical args... cuz you know, if it didn't work once maybe it'll work one of the next 14 times.. or even if it did work once..) | ||
| [2008/07/07 14:27:28] @ Quit: cabbiepete: "Bye for now" | ||
| [2008/07/07 14:28:35] <refuseresisted> grep is your friend | ||
| [2008/07/07 14:29:43] <Disconnect> yep. but that doesn't tell me why its hanging (or why its doing it to begin with) nor does it answer the arguable performance hit of quadrupling your syscalls for no reason.. | ||
| [2008/07/07 14:36:53] @ Quit: winrefund: "Leaving" | ||
| [2008/07/07 14:53:27] <Volcane> Disconnect: no weird SYN_SENT's or anything in your netstat? | ||
| [2008/07/07 14:55:55] <Disconnect> nope | ||
| [2008/07/07 14:56:56] <Disconnect> ugh. it requires puppet to be in /etc/passwd, even if its using ldap :( | ||
| [2008/07/07 14:58:21] @ Quit: kambiz: "Leaving" | ||
| [2008/07/07 14:59:23] @ rizwank joined channel #puppet | ||
| [2008/07/07 14:59:40] <rizwank> Can I easily manage xinetd services with the service {} tag? | ||
| [2008/07/07 15:02:08] <Volcane> nope | ||
| [2008/07/07 15:04:51] <rizwank> so just a 'execute' commandline entry? | ||
| [2008/07/07 15:05:49] <Volcane> i guess you could easily make a template based define to create htem in the xinetd.d directory | ||
| [2008/07/07 15:09:42] @ brscott left channel #puppet () | ||
| [2008/07/07 15:12:13] @ sknight joined channel #puppet | ||
| [2008/07/07 15:12:17] <sknight> hey all | ||
| [2008/07/07 15:12:50] <sknight> awhile ago, I was having some issues when trying to get certain variables to inheirit across classes. someone posted a link to a page in the wiki that showed a workaround, but now I'll be darned if I can find it | ||
| [2008/07/07 15:13:14] <holoway> rizwank: Volcane is exactly right.. build an xinetd definitinon, which takes the variables you will then use to render your template | ||
| [2008/07/07 15:13:45] <Volcane> http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions | ||
| [2008/07/07 15:14:01] <Volcane> holoway: iclassify question if i may, | ||
| [2008/07/07 15:14:16] <holoway> Volcane: heading to lunch right now, but I'll be back in ~30 | ||
| [2008/07/07 15:14:17] <sknight> ahh, thanks volcane! | ||
| [2008/07/07 15:14:23] <Volcane> holoway: sweet | ||
| [2008/07/07 15:14:25] <holoway> be glad to answer | ||
| [2008/07/07 15:14:26] <Volcane> holoway: enjoy | ||
| [2008/07/07 15:14:37] <holoway> you can drop an email to adam@hjksolutions.com, too | ||
| [2008/07/07 15:14:52] <Volcane> its not that urgent, just wondering about some conceptual things | ||
| [2008/07/07 15:15:09] <Volcane> like if it can do stuff before i spend hours :) | ||
| [2008/07/07 15:15:36] <rizwank> External Node classification doesn't actually exist yet? http://reductivelabs.com/trac/puppet/wiki/ExternalNodeClassification | ||
| [2008/07/07 15:16:04] <Volcane> rizwank: no, but you can hack your own its easy http://reductivelabs.com/trac/puppet/wiki/ExternalNodes | ||
| [2008/07/07 15:16:15] <rizwank> oh ok | ||
| [2008/07/07 15:19:51] @ corsair_ joined channel #puppet | ||
| [2008/07/07 15:20:38] <Disconnect> rizwank: or check out iclassify | ||
| [2008/07/07 15:20:59] <rizwank> thats right | ||
| [2008/07/07 15:21:00] <rizwank> ok thx | ||
| [2008/07/07 15:21:25] @ waawaami1k joined channel #puppet | ||
| [2008/07/07 15:22:03] @ Quit: waawaamilk: Read error: 111 (Connection refused) | ||
| [2008/07/07 15:25:29] @ lak joined channel #puppet | ||
| [2008/07/07 15:34:38] @ Quit: meandtheshell: "Leaving." | ||
| [2008/07/07 15:35:29] <sknight> alright, so I'm trying to implement this: http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions#node-inheritance-and-variable-scope | ||
| [2008/07/07 15:35:35] <Volcane> lak: enabled mysql storedconfs and seeing these http://pastie.org/229156 is that normal? | ||
| [2008/07/07 15:35:53] <Volcane> also last_report in hosts isnt updating | ||
| [2008/07/07 15:36:11] <sknight> can I structure the syntax so that each node doesn't need it's own whole 'node $NAME { }' thinger? | ||
| [2008/07/07 15:36:21] <sknight> like, can I define nodes in terms of ranges? | ||
| [2008/07/07 15:36:27] <lak> Volcane: i think the main is | ||
| [2008/07/07 15:36:39] <lak> sknight: not using the builtin node syntax, no | ||
| [2008/07/07 15:36:40] <Volcane> node "node1", "node2", "node3" { } | ||
| [2008/07/07 15:36:46] <Volcane> thats about the best u can do | ||
| [2008/07/07 15:36:50] <Volcane> lak: ok | ||
| [2008/07/07 15:37:00] <sknight> Volcane: that's not too horrible | ||
| [2008/07/07 15:37:01] <lak> but you can pretty trivially write your own script to produce the info you want | ||
| [2008/07/07 15:37:24] <sknight> right now, it looks like this | ||
| [2008/07/07 15:37:33] <sknight> http://pastebin.com/d30388a82 | ||
| [2008/07/07 15:37:52] <sknight> so I can rewrite it to do this: | ||
| [2008/07/07 15:38:55] <sknight> http://pastebin.com/d30a6f95f | ||
| [2008/07/07 15:39:13] @ Quit: mikearr: Read error: 110 (Connection timed out) | ||
| [2008/07/07 15:39:17] <sknight> and that way the $srv variable gets carried over to all the other classes I need to include | ||
| [2008/07/07 15:39:18] <sknight> right? | ||
| [2008/07/07 15:39:42] @ mikearr joined channel #puppet | ||
| [2008/07/07 15:39:55] @ Quit: mikearr: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 15:40:10] @ mikearr joined channel #puppet | ||
| [2008/07/07 15:41:28] <sknight> I also have this that (nominally) gets processed before those node declarations: http://pastebin.com/d4cf17b63 | ||
| [2008/07/07 15:43:11] <sknight> http://pastebin.com/d2643b864 | ||
| [2008/07/07 15:43:32] <sknight> ^--- can I rewrite that first one to look like the second one? | ||
| [2008/07/07 15:43:43] <sknight> or do I need to make basenode its own class, instead of a node | ||
| [2008/07/07 15:43:44] <sknight> ? | ||
| [2008/07/07 15:44:16] <lak> why even have a node declaration if it's just like the default node? | ||
| [2008/07/07 15:44:40] <sknight> well, because I'm going to be adding more stuff fairly shortlyu | ||
| [2008/07/07 15:45:07] <sknight> also, I want the $srv variable to be defined, so I can assign different files and whatnot to a box based on that variable | ||
| [2008/07/07 15:45:28] <sknight> I *would* make it a facter variable, but I don't want to trust the node to define that variable properly | ||
| [2008/07/07 15:46:26] <sknight> right now, that 'vps' node is the only one with extra-special stuff, but the dns/webserver/ldap/backup/nagios nodes will have their own classes to include very shortly | ||
| [2008/07/07 15:46:53] <sknight> I'm pleasantly surprised how little I need to customize on a per-serverclass basis though | ||
| [2008/07/07 15:46:55] @ patobrien joined channel #puppet | ||
| [2008/07/07 15:47:16] <sknight> like, just having ldap/iptables/snmp in puppet makes my life FAR less hateful already | ||
| [2008/07/07 15:48:52] <patobrien> is it too late to submit a patch for facter 1.5 - or to see if anyone would be interested in the patch? | ||
| [2008/07/07 15:51:38] <rizwank> if I have virtual users @user rizwank { requires => Group["rizwank"] ... } and a @group rizwank, will it pull in the virtual group? | ||
| [2008/07/07 15:51:58] <lak> patobrien: what patch? are there tests? | ||
| [2008/07/07 15:52:05] <lak> i haven't gotten any feedback on 1.5rc2 | ||
| [2008/07/07 15:52:11] <lak> so i'm planning on releasing, probably imminently | ||
| [2008/07/07 15:52:31] <patobrien> lak: well, I'm not really a developer at all, and I couldn't find the source code for facter immediately on the website | ||
| [2008/07/07 15:52:49] <patobrien> lak: but basically, as far as I know, centos screwed up their /etc/redhat-release file, so both version 5 and 5.1 read as 5 | ||
| [2008/07/07 15:53:01] <patobrien> for us that's a problem since we have a mix of 5.0 5.1 and 5.2 | ||
| [2008/07/07 15:53:08] <patobrien> so its just a small change to grab the correct version | ||
| [2008/07/07 15:53:21] <Volcane> patobrien: yeah, if you ask them thats a feature, utterly missguided if you ask me :( | ||
| [2008/07/07 15:53:25] <patobrien> lak: so no tests or anything like that, except on our boxes | ||
| [2008/07/07 15:54:09] <patobrien> Volcane: haha, I agree | ||
| [2008/07/07 15:54:51] * Volcane made a ticket when it came out, they were all stories about it | ||
| [2008/07/07 15:55:17] <patobrien> I saw things about it being a minor release and blah blah blah | ||
| [2008/07/07 15:57:06] <Volcane> yeah about redhat's z releases, doesnt matter, if its not behaving like redhat proper does then its broken | ||
| [2008/07/07 15:59:45] <patobrien> lak: oh, found the source, my bad | ||
| [2008/07/07 16:06:00] @ randybias joined channel #puppet | ||
| [2008/07/07 16:09:55] <patobrien> I guess it doesn't hurt to submit, though - but if not we'll just roll our own rpms and such | ||
| [2008/07/07 16:11:11] @ Quit: Zothar_Work: "ChatZilla 0.9.83 [Firefox 3.0/2008052912]" | ||
| [2008/07/07 16:30:38] <Disconnect> what did i screw up here? http://pastie.org/229290 .. 2 files, same path on the puppet server, same destination and perms.. but I get "Could not create admin.xml: You cannot specify more than one of content, source, target at /etc/puppet/manifests/classes/tomcat.pp:78" | ||
| [2008/07/07 16:30:46] <Disconnect> i can split it up but i'd jsut as soon not have to | ||
| [2008/07/07 16:30:52] @ spheromak joined channel #puppet | ||
| [2008/07/07 16:33:02] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/07 16:34:23] <holoway> Volcane: back from lunch | ||
| [2008/07/07 16:34:44] <Volcane> Disconnect: make a define for handling that kind of thing | ||
| [2008/07/07 16:35:20] <Volcane> holoway: kewl, so i am thinking about possibly doing the external node tool thing, cant say i am overly keen on having an agent on each box, my needs are simple. | ||
| [2008/07/07 16:35:26] <rizwank> can I realize something in the definition of an object? | ||
| [2008/07/07 16:35:38] <rizwank> as in @user { .... Realize Group[a] } / | ||
| [2008/07/07 16:35:40] <rizwank> ? | ||
| [2008/07/07 16:35:47] <Volcane> holoway: typically people create classes like, class webserver {include ....; include ....; include ....; } and then they include webserver in a host | ||
| [2008/07/07 16:36:00] <Volcane> holoway: so, its almost like a hostgroup in nagios, yeah. | ||
| [2008/07/07 16:36:07] <Volcane> holoway: can i do that grouping in iclassify? | ||
| [2008/07/07 16:36:22] <Volcane> holoway: instead of needing all these damn classes around that just wraps/combines others? | ||
| [2008/07/07 16:36:51] <holoway> Volcane: no, you still do that in puppet (the large meta-classes) | ||
| [2008/07/07 16:36:53] <Volcane> holoway: so i thought create in a classifier tool a group, attach all the classes to it, and attach the group to a host, end result is many classes get included | ||
| [2008/07/07 16:37:03] <Volcane> holoway: nods, not a fan of those | ||
| [2008/07/07 16:37:09] <holoway> Volcane: that's what happens now, with the wrapper class | ||
| [2008/07/07 16:37:22] <holoway> you create the wrapper, then the tag in iClassify maps to the included class | ||
| [2008/07/07 16:37:26] <Volcane> nods | ||
| [2008/07/07 16:37:29] @ Quit: jmeeuwen: Read error: 110 (Connection timed out) | ||
| [2008/07/07 16:37:39] <Volcane> see, i dont want to be creating wrapper classes for every possible use | ||
| [2008/07/07 16:37:41] <holoway> having the agent is kind of a must, because without it, you have to do manual registration of the new node int he external tool | ||
| [2008/07/07 16:37:55] <holoway> Volcane: sure you do, you just don't want to do it in puppet :) | ||
| [2008/07/07 16:37:56] <Volcane> and i dont want to be giving people who will use the classifier really access to writing new classes | ||
| [2008/07/07 16:38:20] <holoway> it's a very lightweight agent | ||
| [2008/07/07 16:38:34] <Disconnect> Volcane: you can always create the dozens of tags in iclassify instead | ||
| [2008/07/07 16:38:39] <Disconnect> but there's no inheretance | ||
| [2008/07/07 16:38:42] * Volcane cares little right now for auto reg, so thats low on requirement list | ||
| [2008/07/07 16:38:53] <holoway> but it's a life safer later on | ||
| [2008/07/07 16:38:57] <holoway> when it becomes part of the build process | ||
| [2008/07/07 16:39:00] <Volcane> sure | ||
| [2008/07/07 16:39:04] <Volcane> i can see the use | ||
| [2008/07/07 16:39:17] <Volcane> but the cheap arse startups i work with never buy new kit, so not worth the effort :P | ||
| [2008/07/07 16:39:18] <Disconnect> ..not to ask a stupid question, but wtf is wrong with puppet NOW? "Could not create /usr/local/tomcat6/Catalina/localhost/manager.xml: Parameter path failed: File paths must be fully qualified" ... as far as I can tell, short of telling it what color it should be, you can't get more qualified than a full path........ | ||
| [2008/07/07 16:39:32] <Volcane> Disconnect: make a define | ||
| [2008/07/07 16:39:34] <holoway> at the moment, iClassify doesn't do any kind of meta-grouping above the tag level | ||
| [2008/07/07 16:39:45] <Volcane> holoway: nods, will hack up something then i think | ||
| [2008/07/07 16:40:04] <holoway> Volcane: can I recommend you check out couchdb? | ||
| [2008/07/07 16:40:21] <holoway> for the backing store, at least | ||
| [2008/07/07 16:40:48] <rizwank> I guess there isn't ? | ||
| [2008/07/07 16:41:20] <Disconnect> Volcane: yah i will, but for now its split and its still not working.. | ||
| [2008/07/07 16:41:25] <Volcane> holoway: kind of keen to keep it in the same db as exported resources, cos i want to extend my little shitty report viewer tool to interrogate the exported resoruces db and possibly make nodes all in one | ||
| [2008/07/07 16:42:32] <Disconnect> http://pastie.org/229297 | ||
| [2008/07/07 16:43:39] <Volcane> Disconnect: take out the name => in the last file | ||
| [2008/07/07 16:44:24] <Volcane> Disconnect: file {"/some/path": } in that case $name = "/some/path" if you then go and set $name to "path", well its not fully qualified anymore which is what the error says | ||
| [2008/07/07 16:44:44] <Disconnect> what am I missing with that? trying file {"foo": path => "/usr/foo/bar" } was blowing up.. ah. back to the builtins I guess, prolly missing something like alias=> | ||
| [2008/07/07 16:45:32] <Volcane> Disconnect: also the require in the last file is redundant, it auto requires parents | ||
| [2008/07/07 16:46:34] <Disconnect> Volcane: i can pull some of those but since it doesn't require parents of parents i just set them all anyway (if you have file { "/foo/bar/bar": it'll check for /foo/bar but not for /foo ..) | ||
| [2008/07/07 16:46:50] @ shake-n-bake joined channel #puppet | ||
| [2008/07/07 16:47:35] <Volcane> if you have file{}'s for all 3 of those, it will all work out swimmingly without any requires :) | ||
| [2008/07/07 16:48:40] <Disconnect> thats also a grand theory that sometimes works and sometimes doesn't ;) | ||
| [2008/07/07 16:49:23] <Disconnect> seems to check them in semi-random order occasionally | ||
| [2008/07/07 16:51:14] <Disconnect> ok this sucks. i think my original problem is that "ensure => exists" tries to build a symlink | ||
| [2008/07/07 16:54:08] @ Quit: emerose: "..." | ||
| [2008/07/07 16:56:19] <Volcane> Disconnect: yes, documentation says possible values are absent, present, so if you do exist it will make a link | ||
| [2008/07/07 16:56:23] <Disconnect> ya | ||
| [2008/07/07 16:56:32] <Disconnect> dunno where i keep getting 'exists' from | ||
| [2008/07/07 17:04:38] @ Quit: aymerick: "kit mais sage" | ||
| [2008/07/07 17:06:47] @ \ask_ joined channel #puppet | ||
| [2008/07/07 17:08:02] @ Superfly_ joined channel #puppet | ||
| [2008/07/07 17:08:14] @ emerose joined channel #puppet | ||
| [2008/07/07 17:08:26] <refuseresisted> puppet does not randomize types in your manifest, it does them in the order they appear | ||
| [2008/07/07 17:08:49] <holoway> refuseresisted: no, it doesn't | ||
| [2008/07/07 17:08:56] <holoway> it might turn out that way | ||
| [2008/07/07 17:09:02] <holoway> but it won't always do them in the order they appear | ||
| [2008/07/07 17:09:15] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/07/07 17:13:48] <refuseresisted> i just read it the other day.. order matters inter-type but not intra-type | ||
| [2008/07/07 17:17:02] @ shadoi joined channel #puppet | ||
| [2008/07/07 17:19:06] <lak> patobrien: still working on that centos testing? | ||
| [2008/07/07 17:19:19] <lak> can i help you set up the tests, maybe? | ||
| [2008/07/07 17:19:28] <patobrien> lak: yes - I created a ticket and updated it when I realized it won't work on centos 4.x | ||
| [2008/07/07 17:19:35] <lak> yeah, i saw that | ||
| [2008/07/07 17:19:37] <patobrien> I got a centos4 box setup so I can mess around with it | ||
| [2008/07/07 17:20:04] <lak> it should be pretty easy to stub things so that you can fake the behaviour of each of the OSes | ||
| [2008/07/07 17:20:42] <ashp> patobrien: when i'm next at work i can always make a temporary centos 5.2 box you can play with if needed | ||
| [2008/07/07 17:20:50] <ashp> i'm sure i can sneak a vm in somewhere :) | ||
| [2008/07/07 17:21:20] <patobrien> ashp: heh, thanks :) | ||
| [2008/07/07 17:21:50] <ashp> i might have to tunnel ssh out to a server on the outside, but i can sort that out thursday if you happen to be around then and still need it | ||
| [2008/07/07 17:22:00] <ashp> unless you can do it as non-root in which case i can make you an account right now | ||
| [2008/07/07 17:22:16] <refuseresisted> anyone know why the puppet book has no Index?! | ||
| [2008/07/07 17:23:02] <Disconnect> refuseresisted: cuz its more fun that way. | ||
| [2008/07/07 17:23:07] <Disconnect> :( | ||
| [2008/07/07 17:23:16] <refuseresisted> :X | ||
| [2008/07/07 17:23:37] <Disconnect> and i'm out of here before i start throwing things. puppetmaster works great from the command line, but when it daemonizes it bails just after the first client connection. :( tomorrow i'll deal with it. | ||
| [2008/07/07 17:25:11] @ shenson is now known as shenson_not_here | ||
| [2008/07/07 17:25:45] * Volcane can also easily boot a 5.2 vm | ||
| [2008/07/07 17:26:07] <Volcane> refuseresisted: its apparently too difficult :( | ||
| [2008/07/07 17:27:26] <refuseresisted> Volcane, meh. i might as well return it, since i only planned to use it for reference material. no index makes that really difficult | ||
| [2008/07/07 17:27:46] <lak> 0.24.5rc1 should be today, btw | ||
| [2008/07/07 17:28:03] <Volcane> refuseresisted: well as a reference its terrible anyway, cos its outdated like the day it hits the press. its great for getting a good groundwork so you can use the online docs properly and know how to make sense of it | ||
| [2008/07/07 17:28:31] <Volcane> lak: we really need a way to export language/type/function reference in some kind of static version tracs so slow | ||
| [2008/07/07 17:28:54] <refuseresisted> Volcane, i use books when i'm not online | ||
| [2008/07/07 17:29:01] <lak> puppetdoc -r type | rst2html > type.html | ||
| [2008/07/07 17:29:15] <lak> i can move the references make to non-wiki pages | ||
| [2008/07/07 17:29:20] <lak> they were that way for a long time | ||
| [2008/07/07 17:29:24] <Volcane> lak: ah yeah, i should speak to lutter, no puppetdoc in the rpms :( | ||
| [2008/07/07 17:29:31] <lak> yeah; still, easy to fix | ||
| [2008/07/07 17:29:39] <lak> i'll see about getting them somewhere faster, tho | ||
| [2008/07/07 17:29:48] <Volcane> lak: i can make a mirror if thye're static | ||
| [2008/07/07 17:30:11] <lak> well, they're basically static now | ||
| [2008/07/07 17:30:23] <lak> but with puppetdoc, you can do whatever you want | ||
| [2008/07/07 17:37:39] <Volcane> oh yeah that totally kicks arse | ||
| [2008/07/07 17:38:19] <Volcane> no puppetdoc in the rpms so never knew about it | ||
| [2008/07/07 17:38:59] <Volcane> well if you guys makes a rlabs themed static output of them I'd be happy to host a mirror, make something like manual.reductivelabs.com or somesuch | ||
| [2008/07/07 17:39:05] <patobrien> oh wow I think I got it | ||
| [2008/07/07 17:39:08] <patobrien> it's not too pretty... | ||
| [2008/07/07 17:40:03] <patobrien> oh wait I am a liar | ||
| [2008/07/07 17:41:19] <lak> ok, cool | ||
| [2008/07/07 17:41:28] <lak> (to Volcane) | ||
| [2008/07/07 17:46:18] @ Quit: sknight: Read error: 110 (Connection timed out) | ||
| [2008/07/07 17:48:32] @ plathrop joined channel #puppet | ||
| [2008/07/07 18:00:22] @ waawaami1k is now known as waawaamilk | ||
| [2008/07/07 18:11:20] @ emerose_ joined channel #puppet | ||
| [2008/07/07 18:20:42] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/07/07 18:22:31] <lak> jamesturnbull: i'm off to do dinner et al, but i think the ticket updates i just pushed get us to 0.24.5rc1 | ||
| [2008/07/07 18:22:38] @ dysinger joined channel #puppet | ||
| [2008/07/07 18:22:39] <lak> please email the list with that info, once you've got them merged | ||
| [2008/07/07 18:23:36] @ Quit: lak: | ||
| [2008/07/07 18:32:41] @ sknight joined channel #puppet | ||
| [2008/07/07 18:32:59] @ jesserobbins joined channel #puppet | ||
| [2008/07/07 18:34:40] <patobrien> ashp: want to check out my facter patch and see if it works correctly for you? I was able to test on centos 4.6 and 5.2 so I assume everything will be kosher | ||
| [2008/07/07 18:44:40] @ jesserobbins left channel #puppet () | ||
| [2008/07/07 18:55:19] <sigmonsays> How do you ensure a $HOME is properly setup for a user you add ? | ||
| [2008/07/07 18:55:26] <sigmonsays> some reason /home/$USER wasn't setup | ||
| [2008/07/07 18:55:30] @ martha left channel #puppet () | ||
| [2008/07/07 18:56:07] <Volcane> managehome => true | ||
| [2008/07/07 18:56:10] <Volcane> i think | ||
| [2008/07/07 18:56:20] <sigmonsays> ah ok. I will look it up. I thought it'd be magic | ||
| [2008/07/07 19:07:04] <jamesturnbull> hmmm no lak | ||
| [2008/07/07 19:09:34] @ Quit: \ask_: | ||
| [2008/07/07 19:15:45] @ Quit: randybias: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 19:15:53] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/07/07 19:18:10] @ lak joined channel #puppet | ||
| [2008/07/07 19:19:25] <stevenjenkins> hi lak | ||
| [2008/07/07 19:19:32] <lak> hi | ||
| [2008/07/07 19:19:45] * lak is only online for as long as it takes this sauce to thicken | ||
| [2008/07/07 19:19:56] <stevenjenkins> let me know a convenient time to sync up w/you about the work we discussed last wk. | ||
| [2008/07/07 19:20:05] <stevenjenkins> ie, our developer has some time now. | ||
| [2008/07/07 19:21:47] <stevenjenkins> or I could ask people on the mailing list about lexing and parsing time issues? ie, see who is having issues, get some data, and start in on that. | ||
| [2008/07/07 19:22:00] <hMz> is there anyway to run puppetd without making changes to the system? | ||
| [2008/07/07 19:22:22] <hMz> i'd think that woudl be test but apparently not :P | ||
| [2008/07/07 19:22:51] <sigmonsays> hMz, well --- from my experience you want things applied. | ||
| [2008/07/07 19:23:22] <sigmonsays> how do you chown after requiring a directory was created? or for that matter requiring the user was created prior. | ||
| [2008/07/07 19:23:59] <sigmonsays> I run puppet -dvt and it gives me more than enuff output to fix my shit the second time around | ||
| [2008/07/07 19:24:20] <hMz> so my deal is i'm trying to bring up a new version of a similar os | ||
| [2008/07/07 19:24:24] <sigmonsays> s/puppet/puppetd/ | ||
| [2008/07/07 19:24:26] <hMz> and it's inheriting all the base level code from the old version | ||
| [2008/07/07 19:24:31] <hMz> so i'd like to run it in some sort of 'no-action' mode | ||
| [2008/07/07 19:24:34] <hMz> ot see what its applying | ||
| [2008/07/07 19:24:38] <hMz> and adjust it accordingly | ||
| [2008/07/07 19:24:41] <hMz> guess i'm really just being lazy :P | ||
| [2008/07/07 19:25:31] <hMz> i'd think debug mode with no action would be enough for me | ||
| [2008/07/07 19:25:39] <hMz> just to see what it thinks it wants to do | ||
| [2008/07/07 19:26:30] @ Quit: shadoi: | ||
| [2008/07/07 19:26:55] <sigmonsays> aye. I don't have a good idea | ||
| [2008/07/07 19:27:09] <lak> stevenjenkins: let's talk tomorrow morning | ||
| [2008/07/07 19:27:35] <lak> stevenjenkins: dude, you need to register with nickserv :) | ||
| [2008/07/07 19:27:40] <lak> type '/msg nickserv help' | ||
| [2008/07/07 19:27:47] <machpo> before the sauce thickens...what should i pull if i want the .24.x rc? | ||
| [2008/07/07 19:29:14] <hMz> yea, guess its not that easy | ||
| [2008/07/07 19:31:33] <lak> machpo: looks like jamesturnbull's 0.24.x is the only up to date repo ATM | ||
| [2008/07/07 19:31:43] <machpo> rgr, thx | ||
| [2008/07/07 19:38:14] <ashp> patobrien: I can test it, sorry, my family are in town so i'm coming and going | ||
| [2008/07/07 19:39:26] <gepetto> ::puppet:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net) | ||
| [2008/07/07 19:39:26] <gepetto> ::puppet:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net) | ||
| [2008/07/07 19:39:27] <lak> machpo: i'll get a tarball out after dinner | ||
| [2008/07/07 19:39:44] @ Quit: lak: | ||
| [2008/07/07 19:44:10] <patobrien> ashp: ah, have fun with the family then :) thanks | ||
| [2008/07/07 20:01:16] <MrProper_> how do i add new recipes to trac now? | ||
| [2008/07/07 20:03:51] <MrProper_> uggh nevermind stupid cache | ||
| [2008/07/07 20:07:55] <sigmonsays> Where is a place to look for certain modules/resources? i'm looking for a way to manage "pecl" packages for PHP. | ||
| [2008/07/07 20:11:35] <fujin> we got an RC coming? | ||
| [2008/07/07 20:12:25] @ Quit: glut: Remote closed the connection | ||
| [2008/07/07 20:12:29] @ glut joined channel #puppet | ||
| [2008/07/07 20:20:59] @ Quit: patobrien: "Leaving" | ||
| [2008/07/07 20:27:59] <sigmonsays> fujin, that's what I see on the grapevine | ||
| [2008/07/07 20:31:23] <sigmonsays> Anyone have any pointers on managing ssh shared keys? | ||
| [2008/07/07 20:32:53] <fujin> you mean authorized_keys? :} | ||
| [2008/07/07 20:33:06] <sigmonsays> yah | ||
| [2008/07/07 20:33:18] <fujin> there is a ssh_authorized_keys type coming soon | ||
| [2008/07/07 20:34:08] <sigmonsays> awesome. I suppose for now i'll just script it | ||
| [2008/07/07 20:34:37] <sigmonsays> pretty ugly managing lines liek this: Kvhr1VyGT3jGks/3nPyfWqE/l | ||
| [2008/07/07 20:37:34] @ Quit: shake-n-bake: | ||
| [2008/07/07 20:43:18] <MrProper_> sigmonsays, use remote files | ||
| [2008/07/07 20:43:41] <MrProper_> sigmonsays, file {"/home/foo/.ssh/authorized_keys2": source =>.......} | ||
| [2008/07/07 20:43:44] <gepetto> ::puppet:: Recipes/Debian Preseed edited by mrproper @ http://reductivelabs.com/trac/puppet/wiki/Recipes/DebianPreseed (by brendan@sitesuite.com.au) | ||
| [2008/07/07 20:44:26] <sigmonsays> MrProper_, yah. I have to merge them to because not all hosts hae all the same authorized_keys | ||
| [2008/07/07 20:44:42] <MrProper_> sigmonsays, case $hostname =P | ||
| [2008/07/07 20:44:51] <sigmonsays> *sigh* | ||
| [2008/07/07 20:45:12] <MrProper_> sigmonsays, or you could group them via a class | ||
| [2008/07/07 20:46:31] @ shake-n-bake joined channel #puppet | ||
| [2008/07/07 20:49:42] @ jshare left channel #puppet ("Leaving.") | ||
| [2008/07/07 20:55:03] <MrProper_> has anyone seen examples of using the builtin nagios types? | ||
| [2008/07/07 20:55:14] @ Quit: Disconnect: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 20:55:25] @ Quit: shake-n-bake: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 21:01:18] @ johnf joined channel #puppet | ||
| [2008/07/07 21:04:13] <gepetto> ::puppet:: Recipes/Debian Preseed edited by mrproper @ http://reductivelabs.com/trac/puppet/wiki/Recipes/DebianPreseed (by brendan@sitesuite.com.au) | ||
| [2008/07/07 21:08:14] @ Quit: hacim: Read error: 110 (Connection timed out) | ||
| [2008/07/07 21:08:23] @ Quit: refuseresisted: Read error: 110 (Connection timed out) | ||
| [2008/07/07 21:08:45] @ refuseresisted joined channel #puppet | ||
| [2008/07/07 21:14:20] @ Quit: pawalls: Remote closed the connection | ||
| [2008/07/07 21:18:35] @ randybias joined channel #puppet | ||
| [2008/07/07 21:20:07] @ hacim joined channel #puppet | ||
| [2008/07/07 21:37:21] @ Quit: dysinger: | ||
| [2008/07/07 21:38:06] <johnf> I'm looking into fixing bug #650 could anyone point me in the right direction of where to start looking for where it's happening | ||
| [2008/07/07 21:38:08] <gepetto> johnf: #650 is http://reductivelabs.com/redmine/issues/show/650 | ||
| [2008/07/07 21:38:37] <johnf> Looks like there is a default manifest defined somewhere to ensure /etc/puppet exists for pupetmasterd | ||
| [2008/07/07 21:41:39] @ jason^_ joined channel #puppet | ||
| [2008/07/07 21:49:03] <jamesturnbull> johnf: hmmm let me look | ||
| [2008/07/07 21:49:13] <johnf> jamesturnbull: think I found it | ||
| [2008/07/07 21:49:22] <johnf> lib/defaults.rb | ||
| [2008/07/07 21:49:33] <jamesturnbull> johnf: yep that'd be my initial guess | ||
| [2008/07/07 21:50:15] @ \ask_ joined channel #puppet | ||
| [2008/07/07 21:52:42] @ Quit: jason^: Read error: 110 (Connection timed out) | ||
| [2008/07/07 22:01:47] <johnf> jamesturnbull: hmm no I think that is just all the command line and config file options. Not the default manifest | ||
| [2008/07/07 22:03:34] <fujin> I think that one is due to using a puppet File type to manage /etc/puppet and /var/lib/puppet/ or whatever. | ||
| [2008/07/07 22:03:42] <fujin> so it'll change it from a symlink as any normal file{} would | ||
| [2008/07/07 22:03:57] <johnf> fujin: yeah it does ensure => directory so it kills the symlink | ||
| [2008/07/07 22:04:05] <fujin> so just find the code that generates the ensure => directory | ||
| [2008/07/07 22:04:17] <johnf> fujin: I'm trying :) | ||
| [2008/07/07 22:04:53] <fujin> and wrap it in an unless File.symlink?("/etc/puppet") | ||
| [2008/07/07 22:04:57] <fujin> ah right | ||
| [2008/07/07 22:05:04] <fujin> make sure you update any associated tests/specs | ||
| [2008/07/07 22:17:57] <stevenjenkins> jamesturnbull - we're wanting to take a look at performance issues and have some cycles: do you happen to know of either a test case that's a problem or a particular user who has had issues? (wrt 'performance issues', this could either be too much RAM or CPU, as well as too much time lexing/parsing/processing configurations). If we had a test case we could poke at, that would be awesome. | ||
| [2008/07/07 22:20:32] <fujin> serialisation into YAML is a major slow down | ||
| [2008/07/07 22:20:43] <fujin> and cgi escaping any file{} resources to send over xmlrpc | ||
| [2008/07/07 22:22:27] <stevenjenkins> wrt cgi/xmlrpc - wont' that go away once the REST work is done? | ||
| [2008/07/07 22:22:32] <fujin> aye | ||
| [2008/07/07 22:22:33] <fujin> that's the idea | ||
| [2008/07/07 22:22:40] <fujin> puppet will become magically fast with REST | ||
| [2008/07/07 22:22:41] <fujin> lol | ||
| [2008/07/07 22:22:59] * stevenjenkins shrugs. I dunno about magically fast, but one bottleneck may be moved. | ||
| [2008/07/07 22:23:36] <stevenjenkins> and given that work in that area is underway, it's probably not worthwhile to spend time profiling and/or trying to make that piece faster (except for the people working on that, of course). | ||
| [2008/07/07 22:23:46] @ Quit: MrProper_: Remote closed the connection | ||
| [2008/07/07 22:29:10] <fujin> stevenjenkins: the REST support would allow us to more easily drop in other serialisers, too | ||
| [2008/07/07 22:29:14] <fujin> JSON/Marshal | ||
| [2008/07/07 22:29:27] <fujin> I think nigelk tested Marshal and found it to be ridiculously superior in terms of speed | ||
| [2008/07/07 22:29:55] <stevenjenkins> anyone doing anything like rsync? | ||
| [2008/07/07 22:30:42] <fujin> what, using the rsync protocol as a transport method for file{}? | ||
| [2008/07/07 22:32:07] <stevenjenkins> yes | ||
| [2008/07/07 22:32:17] <stevenjenkins> is something wrong w/doing that? | ||
| [2008/07/07 22:34:41] <fujin> none that I can think of | ||
| [2008/07/07 22:34:52] <fujin> I know some people use refreshonly rsync exec{}'s quite a bit | ||
| [2008/07/07 22:35:03] <fujin> supporting it as a native URI type for source => would be cool | ||
| [2008/07/07 22:35:13] <stevenjenkins> if speed is a problem, doing something like rsync would be a good idea. At least, it seems to be it would be..I could be way off base, though. | ||
| [2008/07/07 22:35:25] @ shadoi joined channel #puppet | ||
| [2008/07/07 22:35:34] <fujin> well, RESTfulness would allow you to GET at the files with plain HTTPS | ||
| [2008/07/07 22:35:43] <fujin> so it wouldn't need to be escaped, and would be just as fast as normal http | ||
| [2008/07/07 22:36:45] <stevenjenkins> right. but the rsync protocol should be even faster. | ||
| [2008/07/07 22:37:08] <stevenjenkins> what's the status of the RESTfulness? ie, is it in someone's git repo that we could access? | ||
| [2008/07/07 22:38:08] <fujin> well, rsync would be faster for diffed files | ||
| [2008/07/07 22:38:16] <fujin> not sure if it'd be any faster for just plain 1 to 1 copies | ||
| [2008/07/07 22:38:27] <fujin> yeah, I think Luke has a rest_master branch somewhere | ||
| [2008/07/07 22:38:39] <shadoi> github | ||
| [2008/07/07 22:39:20] <fujin> hrm, the rest_master branch isn't there anymore - odd | ||
| [2008/07/07 22:39:55] <shadoi> it's master now isn't it? | ||
| [2008/07/07 22:40:08] <fujin> no idea | ||
| [2008/07/07 22:40:11] <fujin> haven't been following it | ||
| [2008/07/07 22:41:59] <stevenjenkins> I'll try to catch lak tomorrow then, tx. | ||
| [2008/07/07 22:43:09] <shadoi> http://github.com/lak/puppet/tree/master/lib/puppet/indirector/file_content/rest.rb | ||
| [2008/07/07 22:43:15] <shadoi> looks like it's not in there yet. | ||
| [2008/07/07 22:45:09] <stevenjenkins> tx | ||
| [2008/07/07 22:47:14] <jamesturnbull> fujin: it's master | ||
| [2008/07/07 22:47:30] <jamesturnbull> fujin: the current 0.25.0 branch is the master repo | ||
| [2008/07/07 22:48:40] @ Quit: randybias: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 22:50:24] <fujin> ah cool | ||
| [2008/07/07 22:50:32] <fujin> jamesturnbull: we got an RC coming soon? | ||
| [2008/07/07 22:50:44] @ Quit: jvanzyl: | ||
| [2008/07/07 22:50:45] <jamesturnbull> fujin: for 0.25? | ||
| [2008/07/07 22:50:49] <fujin> nah, 0.24.x | ||
| [2008/07/07 22:50:53] <jamesturnbull> fujin: yep - today | ||
| [2008/07/07 22:50:59] @ randybias joined channel #puppet | ||
| [2008/07/07 22:51:06] <jamesturnbull> fujin: actually I might one now | ||
| [2008/07/07 22:51:10] <fujin> ah cool | ||
| [2008/07/07 22:54:03] @ Disconnect joined channel #puppet | ||
| [2008/07/07 22:56:12] @ jvanzyl joined channel #puppet | ||
| [2008/07/07 22:58:46] @ lak joined channel #puppet | ||
| [2008/07/07 23:05:11] <chadh_> I have a file resource that has a "content => generate..." It doesn't seem to be getting regenerated. | ||
| [2008/07/07 23:05:17] @ chadh_ is now known as chadh | ||
| [2008/07/07 23:06:03] <chadh> generate does happen on the server, right? | ||
| [2008/07/07 23:08:47] <jamesturnbull> fujin: http://reductivelabs.com/downloads/puppet/puppet-0.24.5rc1.tar.gz | ||
| [2008/07/07 23:08:50] <jamesturnbull> chadh: yes | ||
| [2008/07/07 23:09:15] <fujin> w00t | ||
| [2008/07/07 23:10:31] <fujin> going to post about it dude? | ||
| [2008/07/07 23:11:05] <chadh> how does generate work with "content" does it get regenerated each compilation? just the first time? | ||
| [2008/07/07 23:11:24] <fujin> ah there we go | ||
| [2008/07/07 23:11:33] <fujin> chadh: generate() is an rvalue function that'll return a string | ||
| [2008/07/07 23:11:45] <chadh> I guess I hope it would do the generate each time and compare the md5 of the output with the md5 of the file | ||
| [2008/07/07 23:11:51] <fujin> should do, yes. | ||
| [2008/07/07 23:12:04] <chadh> hmm, must be something else going on | ||
| [2008/07/07 23:12:34] <fujin> let me test | ||
| [2008/07/07 23:14:09] <fujin> chadh: I'm getting consistent replacement behaviour with content => generate("/bin/date") | ||
| [2008/07/07 23:15:03] <jamesturnbull> fujin: done | ||
| [2008/07/07 23:15:09] <chadh> fujin: ok. I am finally starting to deploy on more than a couple servers, so I am sure there is something else going on. thanks for the sanity check | ||
| [2008/07/07 23:15:23] <fujin> jamesturnbull: sweet | ||
| [2008/07/07 23:15:28] * fujin can't wait for the flurry of bug reports | ||
| [2008/07/07 23:15:52] <fujin> jamesturnbull: going to pick up an iPhone 3g? | ||
| [2008/07/07 23:15:56] <machpo> jamesturnbull: thanks | ||
| [2008/07/07 23:16:38] <jamesturnbull> fujin: hmmmm I'd like to but until corporate does something with it I'll keep my blackberry - too attached to my email and calender | ||
| [2008/07/07 23:17:24] @ Quit: rizwank: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 23:17:25] <fujin> jamesturnbull: it supports push via Exchange | ||
| [2008/07/07 23:17:34] <fujin> same as windows mobile ActiveSync-over-the-air | ||
| [2008/07/07 23:17:36] <jamesturnbull> fujin: Lotus Notes | ||
| [2008/07/07 23:17:46] <fujin> o_0 | ||
| [2008/07/07 23:17:49] @ rizwank joined channel #puppet | ||
| [2008/07/07 23:17:49] <fujin> seriously? | ||
| [2008/07/07 23:18:10] <fujin> hehe, isn't lotus notes that thing you need a degree in to set it up? | ||
| [2008/07/07 23:19:08] <msf> hrm | ||
| [2008/07/07 23:19:15] <mcbride> our lotus notes admin has a PHD :-) | ||
| [2008/07/07 23:19:17] <msf> if | ||
| [2008/07/07 23:19:34] <msf> in a manifest | ||
| [2008/07/07 23:19:37] <msf> I set | ||
| [2008/07/07 23:19:44] <msf> $foo = $bar | ||
| [2008/07/07 23:19:47] <msf> and then | ||
| [2008/07/07 23:19:55] <msf> $bar = "something" | ||
| [2008/07/07 23:20:04] <msf> what do you think $foo should be ? | ||
| [2008/07/07 23:20:11] <fujin> ehm | ||
| [2008/07/07 23:20:25] <fujin> "" ? | ||
| [2008/07/07 23:20:37] <mcbride> Isn't that incorrect behaviour for a declarative language? | ||
| [2008/07/07 23:21:49] @ Quit: rizwank: Read error: 104 (Connection reset by peer) | ||
| [2008/07/07 23:21:51] <mcbride> order of execution should not matter | ||
| [2008/07/07 23:21:55] @ rizwank joined channel #puppet | ||
| [2008/07/07 23:21:59] <msf> well.. it's consistent with the way ruby behaves | ||
| [2008/07/07 23:22:09] <msf> in this case it's ruby that is made of fail | ||
| [2008/07/07 23:22:28] <msf> actually ruby just throws an error when you do that | ||
| [2008/07/07 23:22:56] <mcbride> right, but puppet != ruby | ||
| [2008/07/07 23:23:21] <fujin> sounds like a variable scoping issue, but you're right | ||
| [2008/07/07 23:23:25] <fujin> that probably should work | ||
| [2008/07/07 23:23:44] <fujin> it's like it is creating a dynamic scope for $foo the first time | ||
| [2008/07/07 23:23:53] <fujin> and thus $bar evalutes to "" | ||
| [2008/07/07 23:27:09] <fujin> msf: file it | ||
| [2008/07/07 23:28:44] <machpo> pastie: hey | ||
| [2008/07/07 23:29:40] <pastie> http://pastie.org/229530 by machpo. | ||
| [2008/07/07 23:30:30] <machpo> 5rc1 seems to have fixed the checksum problem i've seen w/ /var/lib/puppet/lib, but (and maybe this is by design) it seems to load custom facts twice | ||
| [2008/07/07 23:31:42] <fujin> by design | ||
| [2008/07/07 23:31:52] <fujin> it'll reload all facts after retreiving plugins | ||
| [2008/07/07 23:32:27] <machpo> cool, then all is well for me. thx for the clarification, fujin | ||
| [2008/07/07 23:32:28] <fujin> care to run that with --debug? | ||
| [2008/07/07 23:32:43] <fujin> might be a message on there re: reloading facts due to X | ||
| [2008/07/07 23:32:51] * machpo looking | ||
| [2008/07/07 23:34:48] <machpo> eah, seems to be ok. facts are first loaded right at the start, then it grabs plugins, and reloads facts after that. i guess to prevent chicken-egg probs with plugin changes? | ||
| [2008/07/07 23:36:47] <fujin> yep | ||
| [2008/07/07 23:37:01] <fujin> there was a complaint that you had to reload puppetd after pulling down new plugins | ||
| [2008/07/07 23:40:51] <machpo> i'm all for one-run-should-do-ya | ||
| [2008/07/07 23:42:02] <fujin> aye | ||
| [2008/07/07 23:42:08] <fujin> makes deployment a little bit better | ||
| [2008/07/07 23:42:28] @ Quit: \ask_: | ||
| [2008/07/07 23:45:57] <refuseresisted> anyone know why i would get "Could not describe /modules/<module>/<file>: Mounts without paths are not usable? The module itself works fine | ||
| [2008/07/07 23:46:23] <refuseresisted> the file exists in <module>/files | ||
| [2008/07/07 23:47:01] <fujin> show your fileserver conf | ||
| [2008/07/07 23:47:39] <refuseresisted> http://pastebin.com/dc0da407 | ||
| [2008/07/07 23:47:54] <refuseresisted> the module is /etc/puppet/modules/<module> | ||
| [2008/07/07 23:49:22] <fujin> well, in that case | ||
| [2008/07/07 23:49:33] <fujin> your source => should be "<module>/filename" | ||
| [2008/07/07 23:50:04] <fujin> because /modules/*/files is mapped magically to <module>/ | ||
| [2008/07/07 23 |