| [2010/08/04 00:00:57] @ Log started by gepetto | ||
| [2010/08/04 00:00:57] @ sdog joined channel #puppet | ||
| [2010/08/04 00:02:30] @ bodepd joined channel #puppet | ||
| [2010/08/04 00:02:49] @ bodepd left channel #puppet () | ||
| [2010/08/04 00:04:16] @ Quit: sdog: Changing host | ||
| [2010/08/04 00:04:16] @ sdog joined channel #puppet | ||
| [2010/08/04 00:04:27] @ londo__ joined channel #puppet | ||
| [2010/08/04 00:04:53] @ Quit: londo: Ping timeout: 260 seconds | ||
| [2010/08/04 00:05:46] @ kenneho joined channel #puppet | ||
| [2010/08/04 00:06:54] @ mclarke joined channel #puppet | ||
| [2010/08/04 00:07:49] <zipkid> dav | ||
| [2010/08/04 00:07:52] <zipkid> oops | ||
| [2010/08/04 00:08:13] <zipkid> is DavidS on holiday? i have not seen him here for a few days.... | ||
| [2010/08/04 00:08:28] @ Quit: yure: Remote host closed the connection | ||
| [2010/08/04 00:11:16] @ simplechat joined channel #puppet | ||
| [2010/08/04 00:11:44] <simplechat> Hey guys, i've got an exec that requires a specific package be installed (building kernel modules & such), yet requires isn't supported for exec | ||
| [2010/08/04 00:12:00] <simplechat> is there a standard way to proceed? (I can't find any mention of this in hte exec docs) | ||
| [2010/08/04 00:12:11] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/08/04 00:14:56] @ thekad is now known as thekad-afk | ||
| [2010/08/04 00:15:35] <henk> simplechat: put refreshonly => true for the exec and notify from the package resource. | ||
| [2010/08/04 00:15:43] <henk> iirc | ||
| [2010/08/04 00:16:28] @ joergherzinger joined channel #puppet | ||
| [2010/08/04 00:17:35] @ inkk joined channel #puppet | ||
| [2010/08/04 00:17:47] <simplechat> thanks henk :) | ||
| [2010/08/04 00:18:13] <henk> np | ||
| [2010/08/04 00:19:26] @ themroc joined channel #puppet | ||
| [2010/08/04 00:22:20] <simplechat> henk, so if i needed it to run only if two or more packages are installed, i put them all under subscribe? | ||
| [2010/08/04 00:23:03] @ Quit: kambiz: Ping timeout: 265 seconds | ||
| [2010/08/04 00:23:25] <madduck> how can I find out what (automatic) tags are associated with a given resource? | ||
| [2010/08/04 00:24:19] <henk> simplechat: afaik you cannot combine conditions that way... | ||
| [2010/08/04 00:25:13] @ Quit: pinoyskull: Ping timeout: 260 seconds | ||
| [2010/08/04 00:25:29] <simplechat> henk, hmmm. Any ideas as to how i would? | ||
| [2010/08/04 00:25:31] @ groove joined channel #puppet | ||
| [2010/08/04 00:25:45] <simplechat> i'm using module assistant to build a kernel module, which needs both the headers and the given source package both installed | ||
| [2010/08/04 00:25:48] <simplechat> otherwise it fails | ||
| [2010/08/04 00:25:48] <henk> simplechat: no, sorry. others probably do... | ||
| [2010/08/04 00:26:28] <simplechat> thanks anyways :) | ||
| [2010/08/04 00:26:36] @ nul0op joined channel #puppet | ||
| [2010/08/04 00:26:39] <henk> simplechat: shouldn't apt automatically install the kernel headers once you install the source? i'd perhaps do two execs. one for m-a prepare, the other for the build process. prepare should install the headers. | ||
| [2010/08/04 00:27:24] <simplechat> nope, they don't | ||
| [2010/08/04 00:27:34] <simplechat> it tries to on install, but you can't programatically tell it to | ||
| [2010/08/04 00:28:43] <henk> even with -i? | ||
| [2010/08/04 00:29:34] <simplechat> ah | ||
| [2010/08/04 00:29:35] <simplechat> cool | ||
| [2010/08/04 00:31:30] @ groove is now known as ohookins | ||
| [2010/08/04 00:34:36] @ Quit: ohookins: Quit: Leaving. | ||
| [2010/08/04 00:35:14] @ ohookins joined channel #puppet | ||
| [2010/08/04 00:37:39] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/08/04 00:38:34] @ e1mer joined channel #puppet | ||
| [2010/08/04 00:43:10] @ Quit: e1mer: Client Quit | ||
| [2010/08/04 00:43:16] @ e1mer joined channel #puppet | ||
| [2010/08/04 00:44:31] @ alcy joined channel #puppet | ||
| [2010/08/04 00:46:41] @ Quit: mrsprinkles: Quit: mrsprinkles | ||
| [2010/08/04 00:48:30] @ nakano_ is now known as nakano | ||
| [2010/08/04 00:48:58] @ tecto_ joined channel #puppet | ||
| [2010/08/04 00:49:03] @ Quit: tecto_: Changing host | ||
| [2010/08/04 00:49:03] @ tecto_ joined channel #puppet | ||
| [2010/08/04 00:51:00] @ pinoyskull joined channel #puppet | ||
| [2010/08/04 00:52:48] @ renanm joined channel #puppet | ||
| [2010/08/04 00:55:34] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/04 00:58:23] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2010/08/04 01:07:42] @ hal-j joined channel #puppet | ||
| [2010/08/04 01:13:35] @ Quit: mclarke: Quit: mclarke | ||
| [2010/08/04 01:14:53] @ Quit: jfreeman: Read error: Connection reset by peer | ||
| [2010/08/04 01:17:24] @ Quit: wilmoore: Remote host closed the connection | ||
| [2010/08/04 01:26:21] @ lbt_ joined channel #puppet | ||
| [2010/08/04 01:26:21] @ Quit: lbt_: Changing host | ||
| [2010/08/04 01:26:21] @ lbt_ joined channel #puppet | ||
| [2010/08/04 01:28:37] @ Quit: kolla: Remote host closed the connection | ||
| [2010/08/04 01:29:29] @ spheromak joined channel #puppet | ||
| [2010/08/04 01:29:36] @ Naresh joined channel #puppet | ||
| [2010/08/04 01:30:19] <madduck> i am a bit confused by virtual resources | ||
| [2010/08/04 01:30:28] <madduck> for a host foo, I include classes A and B in that order | ||
| [2010/08/04 01:30:35] <madduck> A uses @B::somedefine | ||
| [2010/08/04 01:30:38] <madduck> and it works | ||
| [2010/08/04 01:30:40] <madduck> how? | ||
| [2010/08/04 01:31:42] <Volcane> defines are global | ||
| [2010/08/04 01:31:50] <madduck> even if defined within a class? | ||
| [2010/08/04 01:32:09] <madduck> and is the global scope across all modules available to all modules from the start? | ||
| [2010/08/04 01:32:14] <Volcane> just like you can say reference a class by name even if defined inside some other class | ||
| [2010/08/04 01:32:23] @ itguru joined channel #puppet | ||
| [2010/08/04 01:32:23] @ Quit: itguru: Changing host | ||
| [2010/08/04 01:32:23] @ itguru joined channel #puppet | ||
| [2010/08/04 01:32:37] <madduck> you can?? | ||
| [2010/08/04 01:32:47] <madduck> what if you have two classes by the same name in two separate classes? | ||
| [2010/08/04 01:32:51] <Volcane> ofcourse, how does include work otherwise? | ||
| [2010/08/04 01:33:05] <madduck> i always pass the full-qualified name to include | ||
| [2010/08/04 01:33:05] <Volcane> a::foo and b::foo is perfectly fine | ||
| [2010/08/04 01:33:27] <Volcane> if in class b you then want a::foo you just call it full name | ||
| [2010/08/04 01:33:32] <Volcane> if you also had class foo | ||
| [2010/08/04 01:33:37] <Volcane> you'd need include ::foo | ||
| [2010/08/04 01:33:58] @ Quit: inkk: K-Lined | ||
| [2010/08/04 01:34:53] @ bgupta joined channel #puppet | ||
| [2010/08/04 01:35:18] <madduck> huh, if I have b::foo, I don't need to call ::foo, that would try to find the class foo in the root namespace, no? | ||
| [2010/08/04 01:35:27] <madduck> i'd call ::a::foo or a::foo | ||
| [2010/08/04 01:35:33] <Volcane> yup, thats what i mean | ||
| [2010/08/04 01:35:38] <madduck> if i had a class b::a::foo, then I would need to call ::a::foo | ||
| [2010/08/04 01:35:43] <Volcane> no need for ::a::foo unless sao you have b::a::foo | ||
| [2010/08/04 01:35:50] <Volcane> not sure if that'll even work | ||
| [2010/08/04 01:36:02] <madduck> so all defines, no matter where they are defined, are globally available to all modules even before the first class is evaluateD? | ||
| [2010/08/04 01:36:08] <Volcane> the ::klass syntax has been a bit of a pita :) | ||
| [2010/08/04 01:36:27] <Volcane> madduck: import makes them available for use | ||
| [2010/08/04 01:36:38] <madduck> i don't use import | ||
| [2010/08/04 01:36:42] <madduck> auto-import | ||
| [2010/08/04 01:36:46] <Volcane> so you use import | ||
| [2010/08/04 01:37:15] <Volcane> if the file with the define in it is named according to rules, it'll just work | ||
| [2010/08/04 01:37:46] @ Quit: pinoyskull: Ping timeout: 276 seconds | ||
| [2010/08/04 01:38:40] <madduck> right | ||
| [2010/08/04 01:38:50] <madduck> okay, this makes sense, although it's a bit of a potential pitfall | ||
| [2010/08/04 01:38:56] <madduck> not very consistent | ||
| [2010/08/04 01:39:04] <Volcane> i dont see how its not consistant? | ||
| [2010/08/04 01:39:42] <madduck> you need to include classes but not defines | ||
| [2010/08/04 01:40:08] <Volcane> that makes no sense | ||
| [2010/08/04 01:40:12] <Volcane> you *cant* include a define | ||
| [2010/08/04 01:40:43] <madduck> no, you include the class in which it's defined, but you actually don't need to because it's already available | ||
| [2010/08/04 01:41:10] <madduck> that's like if you were to say in C that #include imports classes, but #define will be available anyway | ||
| [2010/08/04 01:41:14] @ larne left channel #puppet () | ||
| [2010/08/04 01:41:14] <Volcane> yes, cos include doesnt apply to them at all | ||
| [2010/08/04 01:41:17] <Volcane> it has no relevance | ||
| [2010/08/04 01:41:20] <madduck> it's inconsistent because it violates the principle of least surprise | ||
| [2010/08/04 01:41:27] <Volcane> class foo { define bar { } } is just syntax | ||
| [2010/08/04 01:41:34] <Volcane> could just write define foo::bar { } | ||
| [2010/08/04 01:41:43] <madduck> yeah, that's right | ||
| [2010/08/04 01:42:06] <Volcane> madduck: you're confused, its no surprise that something that doesnt have the ability to be included works without being included | ||
| [2010/08/04 01:42:37] <madduck> so call it the principle of least confusion. ;) | ||
| [2010/08/04 01:42:54] <madduck> but then again, puppet is written in ruby, which violates all assumptions anyway. ;) | ||
| [2010/08/04 01:43:18] <madduck> (breaks with all conventions i mean) | ||
| [2010/08/04 01:44:28] <Volcane> like? | ||
| [2010/08/04 01:46:58] <madduck> ruby is a proof-of-concept that you can write an interpreted language without reusing any syntax from existing interpreted languages | ||
| [2010/08/04 01:47:03] <madduck> like use of :, ?, =, giving the appearance of being imperative but not featuring return statements, | ||
| [2010/08/04 01:47:15] <madduck> for loops! | ||
| [2010/08/04 01:47:15] <Volcane> and why do you need to reuse syntax? | ||
| [2010/08/04 01:47:20] <Volcane> and its obviously bullshit | ||
| [2010/08/04 01:47:23] <Volcane> since it can loop just fine | ||
| [2010/08/04 01:47:24] <madduck> "principle of least surprise" | ||
| [2010/08/04 01:47:37] <madduck> yeah, but the syntax is totally different and I see no benefit | ||
| [2010/08/04 01:47:40] @ civascu joined channel #puppet | ||
| [2010/08/04 01:47:42] <madduck> other than it being different | ||
| [2010/08/04 01:47:50] <Volcane> for i in array | ||
| [2010/08/04 01:47:51] <Volcane> puts i | ||
| [2010/08/04 01:47:51] <Volcane> end | ||
| [2010/08/04 01:48:01] <Volcane> thats valid ruby and pretty much what you'd expect | ||
| [2010/08/04 01:48:05] <madduck> what's this var.each do |i| stuff? | ||
| [2010/08/04 01:48:18] <kjetilho> madduck: that's from Smalltalk | ||
| [2010/08/04 01:48:39] <madduck> and how am i expected to undertsand, e.g. | ||
| [2010/08/04 01:48:40] <madduck> environment.modulepath.collect { |path| File.join(path, name) }.find { |d| FileTest.exist?(d) } | ||
| [2010/08/04 01:48:54] <Volcane> madduck: ruby uses closures/anon functions/blocks very heavily to add greater flexibility | ||
| [2010/08/04 01:49:09] @ pinoyskull joined channel #puppet | ||
| [2010/08/04 01:49:21] <Volcane> madduck: so there's little point in adding a collect or map or select function at the same level as say 'if' | ||
| [2010/08/04 01:49:27] <kjetilho> madduck: it's not so different from Perl code using map and grep | ||
| [2010/08/04 01:49:29] <Volcane> madduck: cos how those behaves different from class to class | ||
| [2010/08/04 01:49:41] <madduck> i realise i am being polemic and my issue is much more ideological than technical. but so far i have yet to encounter a positive ruby experience | ||
| [2010/08/04 01:49:44] <Volcane> madduck: so they just build the stuff into the objects where it makes sense | ||
| [2010/08/04 01:50:22] <madduck> but plenty of negative experiences, like memory leaks, a http class that doesn't close connections, and dreadful performance | ||
| [2010/08/04 01:50:28] <kjetilho> the heavy use of closures and iterators is the one thing I like about Ruby | ||
| [2010/08/04 01:50:36] <madduck> Volcane: i should probably read an introduction at some point… ;) | ||
| [2010/08/04 01:50:57] <Volcane> madduck: yet, the http class do close connections. it is performant and it doesnt memory leak. | ||
| [2010/08/04 01:51:05] <kjetilho> madduck: and dreadfully incomplete documentation | ||
| [2010/08/04 01:51:07] <Volcane> madduck: your sweeping b/s statement is as valid as mine | ||
| [2010/08/04 01:51:15] <ohookins> i agree to some extent, i'm not a big fan of ruby and find it quite confusing in a way i didn't experience when i started learning python | ||
| [2010/08/04 01:51:29] <madduck> Volcane: the issues have mostly been fixed since. | ||
| [2010/08/04 01:51:36] <ohookins> but it's one of those things you have to suffer to get a language that excels at letting you do a lot with very little | ||
| [2010/08/04 01:52:03] <madduck> ohookins: the principle of least surprise also means that in case of doubt, be verbose. | ||
| [2010/08/04 01:52:11] <madduck> this is not an obfuscated programming contest. ;) | ||
| [2010/08/04 01:52:22] <kjetilho> "explicit is better than implicit" | ||
| [2010/08/04 01:52:27] <madduck> always | ||
| [2010/08/04 01:52:28] <Volcane> madduck: what ruby does very well is balance these 3 things: a) quick scripting language - like perl quick scripts b) very good object orientated language c) extreme flexibility through meta programming | ||
| [2010/08/04 01:52:45] <Volcane> madduck: I've for years suffered with perl while i looked for something that satisfied a and b, c is a total bonus | ||
| [2010/08/04 01:52:46] <ohookins> first time i looked at some ruby code, i was like "where the hell are the procedures?" | ||
| [2010/08/04 01:52:51] <madduck> and how would you summarise python, Volcane? | ||
| [2010/08/04 01:52:55] <ohookins> optional brackets were very confusing | ||
| [2010/08/04 01:52:55] <Volcane> madduck: and c is often the cause of some of the confusing syntax | ||
| [2010/08/04 01:53:01] <madduck> Volcane: perl is a text processor, not more. | ||
| [2010/08/04 01:53:11] <kjetilho> Volcane: C is the thing I absolutely abhor about Ruby code | ||
| [2010/08/04 01:53:20] <Volcane> madduck: yet i work for a company that serves *billions* of pages from perl? | ||
| [2010/08/04 01:53:30] <madduck> Volcane: sorry. ;) | ||
| [2010/08/04 01:53:33] <dcarley> that's twice now that "like perl" has been used as a postive statement of intent :D | ||
| [2010/08/04 01:53:41] <madduck> Volcane: maybe offer to rewrite the infrastructure in postscript? | ||
| [2010/08/04 01:54:07] <madduck> dcarley: it's called desperation. ;) | ||
| [2010/08/04 01:54:08] <Volcane> madduck: mostly, since you dont know ruby, you're just talking out of your arse :P | ||
| [2010/08/04 01:54:20] <madduck> Volcane: nost mostly, but partly. | ||
| [2010/08/04 01:54:40] <madduck> let me have my irrationality! | ||
| [2010/08/04 01:54:44] <Volcane> hehe | ||
| [2010/08/04 01:55:13] @ Quit: QtPlatypus: Ping timeout: 276 seconds | ||
| [2010/08/04 01:55:25] <kjetilho> in any case, we're not going to reimplement Puppet in Python, are we? | ||
| [2010/08/04 01:56:15] <dcarley> i think ruby is at it's least intuitive if you've come from python. rather than perl. | ||
| [2010/08/04 01:56:20] @ QtPlatypus joined channel #puppet | ||
| [2010/08/04 01:56:44] <ohookins> i didn't find that at all, but i'm not a great programmer either | ||
| [2010/08/04 01:56:54] <Volcane> madduck: array.each{|i| puts i * 2} is roubhly the same as: "function printit($i) { print $i * 2 } foreach $i ($array) { printit($i) }" (wow i cant type perl anymore thank god) but with ruby you can avoid creating the function first | ||
| [2010/08/04 01:57:03] <Volcane> madduck: you can just create it right where its needed and discard it when done | ||
| [2010/08/04 01:57:30] <Volcane> madduck: without all the overhead of actually creating a function its anonymous and just used/exist for that small bit of time | ||
| [2010/08/04 01:58:15] <Volcane> madduck: so in this stupid example its a bit useless, but in more advanced use ruby just makes a lot of stuff possible using this method | ||
| [2010/08/04 01:58:55] <madduck> yeah, i use that a lot from python too | ||
| [2010/08/04 01:59:16] <madduck> dcarley: i didn't find that at all yet either, but i haven't tried | ||
| [2010/08/04 01:59:21] @ Quit: anonimous1: Ping timeout: 252 seconds | ||
| [2010/08/04 02:03:22] <Volcane> madduck: importantly those blocks of code can be stored in variables too | ||
| [2010/08/04 02:03:49] <Volcane> madduck: and you can pass them around and have them access different sets of variables | ||
| [2010/08/04 02:04:04] <Volcane> madduck: and since they can live in vars, you can load them from disk, or build them dynamically | ||
| [2010/08/04 02:04:35] @ anonymous1 joined channel #puppet | ||
| [2010/08/04 02:04:41] <Volcane> madduck: which makes a lot of these little DSL languages and things possible | ||
| [2010/08/04 02:04:50] <madduck> python too | ||
| [2010/08/04 02:04:54] <Volcane> yup | ||
| [2010/08/04 02:04:56] <madduck> so yes, i can appreciate that | ||
| [2010/08/04 02:05:02] <Volcane> i am not saying python cant do it | ||
| [2010/08/04 02:05:28] <madduck> i know | ||
| [2010/08/04 02:05:41] <Volcane> just saying array.something { } generally tells you a functions being created and used and the result of the function will affect the array | ||
| [2010/08/04 02:06:09] <Volcane> new = array.map{|i| i + 1} makes a new array with all element incremented | ||
| [2010/08/04 02:07:46] <simplechat> Hey guys, i've got a bunch of variables coming from a nodes hostname. ie. i have node03 who'se ip address should be x.y.z.23, etc. i'm wondering if there was any way i could simplify that? | ||
| [2010/08/04 02:08:03] <simplechat> at the moment i've got about 10 node listings with all of the vars (ie. the 23 there), defined by hand | ||
| [2010/08/04 02:08:29] @ lkoranda joined channel #puppet | ||
| [2010/08/04 02:09:55] @ Spruit_elf joined channel #puppet | ||
| [2010/08/04 02:12:12] <Volcane> simplechat: lots of duplication or are they all unique ? | ||
| [2010/08/04 02:12:48] @ Quit: anonymous1: Quit: Page closed | ||
| [2010/08/04 02:15:09] <simplechat> more info? | ||
| [2010/08/04 02:15:35] <simplechat> its a string of about 20 nodes all of which are nodeXX with ip address x.y.z.2X, etc | ||
| [2010/08/04 02:15:41] <simplechat> like they are all identical | ||
| [2010/08/04 02:15:47] <simplechat> with the only exception being the number changing ips | ||
| [2010/08/04 02:16:29] @ andrewh joined channel #puppet | ||
| [2010/08/04 02:28:29] @ Quit: Spruit_elf: *.net *.split | ||
| [2010/08/04 02:28:29] @ Quit: itguru: *.net *.split | ||
| [2010/08/04 02:28:29] @ Quit: renanm: *.net *.split | ||
| [2010/08/04 02:28:29] @ Quit: tecto_: *.net *.split | ||
| [2010/08/04 02:28:29] @ Quit: \ask: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: tecto: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: jn: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: raz: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: sdodson: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: aforgue: *.net *.split | ||
| [2010/08/04 02:28:30] @ Quit: ckk: *.net *.split | ||
| [2010/08/04 02:28:31] @ Quit: ktdreyer: *.net *.split | ||
| [2010/08/04 02:28:31] @ Quit: matti: *.net *.split | ||
| [2010/08/04 02:28:31] @ Quit: hMz: *.net *.split | ||
| [2010/08/04 02:29:23] @ jn joined channel #puppet | ||
| [2010/08/04 02:30:47] @ itguru joined channel #puppet | ||
| [2010/08/04 02:30:48] @ Quit: itguru: Changing host | ||
| [2010/08/04 02:30:48] @ itguru joined channel #puppet | ||
| [2010/08/04 02:32:21] @ matti joined channel #puppet | ||
| [2010/08/04 02:32:21] @ Quit: matti: Changing host | ||
| [2010/08/04 02:32:21] @ matti joined channel #puppet | ||
| [2010/08/04 02:32:38] @ aforgue joined channel #puppet | ||
| [2010/08/04 02:32:40] @ ckk joined channel #puppet | ||
| [2010/08/04 02:32:58] @ sdodson joined channel #puppet | ||
| [2010/08/04 02:33:10] @ renanm joined channel #puppet | ||
| [2010/08/04 02:33:27] @ ktdreyer joined channel #puppet | ||
| [2010/08/04 02:36:10] @ tecto joined channel #puppet | ||
| [2010/08/04 02:36:10] @ Quit: tecto: Changing host | ||
| [2010/08/04 02:36:10] @ tecto joined channel #puppet | ||
| [2010/08/04 02:36:27] @ Spruit_elf joined channel #puppet | ||
| [2010/08/04 02:36:38] @ tecto_ joined channel #puppet | ||
| [2010/08/04 02:36:38] @ Quit: tecto_: Changing host | ||
| [2010/08/04 02:36:38] @ tecto_ joined channel #puppet | ||
| [2010/08/04 02:38:08] @ \ask joined channel #puppet | ||
| [2010/08/04 02:39:31] @ MattyM joined channel #puppet | ||
| [2010/08/04 02:44:04] @ raz joined channel #puppet | ||
| [2010/08/04 02:51:30] @ strangeloop joined channel #puppet | ||
| [2010/08/04 02:52:16] @ kubicek joined channel #puppet | ||
| [2010/08/04 02:52:28] <strangeloop> i try to define a class in site.pp and import afterwards in a node beneath | ||
| [2010/08/04 02:52:40] <strangeloop> i store all my other classes in modules | ||
| [2010/08/04 02:52:59] <strangeloop> i get an error "Could not find class" | ||
| [2010/08/04 02:53:58] <strangeloop> my developmetn configuration looks as follows | ||
| [2010/08/04 02:53:59] <strangeloop> http://pastie.org/1074779 | ||
| [2010/08/04 02:56:33] <strangeloop> site.pp looks like this http://pastie.org/1074782 | ||
| [2010/08/04 02:57:14] @ p3rror joined channel #puppet | ||
| [2010/08/04 02:57:26] <strangeloop> classes from modules are being loaded perfectly | ||
| [2010/08/04 02:58:26] <strangeloop> any idea? | ||
| [2010/08/04 02:58:50] <doubleukay> cool, i didn't know you can do this --> class{'hal': disable => true } | ||
| [2010/08/04 02:59:01] <doubleukay> does that set a variable $disable in the hal class scope ? | ||
| [2010/08/04 02:59:10] <strangeloop> doubleukay, its done with the new class parameters feature in 2.6 | ||
| [2010/08/04 02:59:37] <strangeloop> doubleukay, you have to include this parameter in the class signature | ||
| [2010/08/04 02:59:41] <doubleukay> i see. i must getting old. | ||
| [2010/08/04 03:00:02] <alcy> maybe you need to have the *.pp files for the classes under /puppet-directory/manifests if you want to use site.pp ? | ||
| [2010/08/04 03:00:11] <strangeloop> class hal($disable = false) { | ||
| [2010/08/04 03:01:01] <strangeloop> alcy, well the site.pp gets loaded though | ||
| [2010/08/04 03:01:22] <strangeloop> site-kvm::lan gets applied on my.node.com | ||
| [2010/08/04 03:01:37] <strangeloop> if I comment out "include defaults" | ||
| [2010/08/04 03:06:09] <alcy> not sure but maybe if you could have defaults elsewhere ? | ||
| [2010/08/04 03:07:03] <strangeloop> jes i could :) | ||
| [2010/08/04 03:07:09] <strangeloop> but don't want to | ||
| [2010/08/04 03:07:21] <strangeloop> also i'm curious why this isnt working :) | ||
| [2010/08/04 03:10:40] @ Quit: _nono_: Ping timeout: 240 seconds | ||
| [2010/08/04 03:14:15] @ Quit: bgupta: Quit: bgupta | ||
| [2010/08/04 03:24:03] @ zorzar__ joined channel #puppet | ||
| [2010/08/04 03:27:09] @ Quit: zorzar_: Ping timeout: 246 seconds | ||
| [2010/08/04 03:42:38] @ kolla joined channel #puppet | ||
| [2010/08/04 03:56:22] @ gebi joined channel #puppet | ||
| [2010/08/04 04:00:43] @ Quit: civascu: Ping timeout: 252 seconds | ||
| [2010/08/04 04:02:22] @ Quit: renanm: Quit: leaving | ||
| [2010/08/04 04:07:07] @ adrian_broher joined channel #puppet | ||
| [2010/08/04 04:20:28] @ Quit: achester: Ping timeout: 276 seconds | ||
| [2010/08/04 04:22:54] <alcy> I have got a bunch of modules which I need to get installed in a particular order. I simply have include statements in another module for that. it works fine. just need to confirm if that's the usual way ? | ||
| [2010/08/04 04:23:19] <ohookins> there is no guarantee of parse order, so if it works you are just lucky | ||
| [2010/08/04 04:23:38] <ohookins> in 2.6 you can have different stages which are executed in order, so that would be a better idea | ||
| [2010/08/04 04:24:11] <Volcane> ohookins: the stages yes, but not the resources in the stages, so with lots of packages thats probably not the solution? | ||
| [2010/08/04 04:24:35] <alcy> ohookins: ah, right. thanks. but for pre-2.6, what's the suggested/trusted way of ensuring the order ? | ||
| [2010/08/04 04:24:39] <ohookins> my only use case for it currently is setting up yum repositories before anything that installs a package | ||
| [2010/08/04 04:26:29] <alcy> Volcane, any advice ? :D | ||
| [2010/08/04 04:26:52] <Volcane> there's only one way in puppet to define order | ||
| [2010/08/04 04:27:12] <Volcane> so if u need order, thats the advice. | ||
| [2010/08/04 04:28:32] <alcy> and what's that ?! | ||
| [2010/08/04 04:28:36] <Volcane> ifu have a whole bunch of modules thats so dependant on order, ou probably need to rething your design | ||
| [2010/08/04 04:28:54] <Volcane> alcy: by adding require/before/subscribe to resources | ||
| [2010/08/04 04:29:01] @ Quit: kenneho: Ping timeout: 265 seconds | ||
| [2010/08/04 04:29:21] <alcy> oh, that I have tried to take care of as much as I could | ||
| [2010/08/04 04:29:58] <alcy> ...so probably explains why I got lucky with a main module with include statements | ||
| [2010/08/04 04:30:07] <alcy> for all the other modules... | ||
| [2010/08/04 04:31:39] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/08/04 04:36:06] <strangeloop> are class parameters only allowed in node definitions? | ||
| [2010/08/04 04:40:57] @ Quit: tecto_: Quit: tecto_ | ||
| [2010/08/04 05:01:05] @ jab_doa joined channel #puppet | ||
| [2010/08/04 05:01:24] @ Quit: jab_doa: Remote host closed the connection | ||
| [2010/08/04 05:01:32] @ jab_doa joined channel #puppet | ||
| [2010/08/04 05:06:48] @ kenneho joined channel #puppet | ||
| [2010/08/04 05:13:45] @ ahasenack joined channel #puppet | ||
| [2010/08/04 05:19:56] <alcy> quit | ||
| [2010/08/04 05:19:59] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Iceweasel 3.5.10/20100623112841] | ||
| [2010/08/04 05:21:34] @ Quit: ahasenack: Remote host closed the connection | ||
| [2010/08/04 05:21:42] @ Quit: pinoyskull: Ping timeout: 265 seconds | ||
| [2010/08/04 05:22:11] @ Quit: Deesl: Remote host closed the connection | ||
| [2010/08/04 05:22:28] @ ahasenack joined channel #puppet | ||
| [2010/08/04 05:23:13] @ Deesl joined channel #puppet | ||
| [2010/08/04 05:27:15] @ Quit: strangeloop: Read error: Operation timed out | ||
| [2010/08/04 05:27:23] @ ickymettle joined channel #puppet | ||
| [2010/08/04 05:33:51] @ Bass10 joined channel #puppet | ||
| [2010/08/04 05:33:59] @ tecto_ joined channel #puppet | ||
| [2010/08/04 05:34:10] @ Quit: tecto_: Changing host | ||
| [2010/08/04 05:34:10] @ tecto_ joined channel #puppet | ||
| [2010/08/04 05:34:40] @ tecto__ joined channel #puppet | ||
| [2010/08/04 05:34:40] @ Quit: tecto__: Changing host | ||
| [2010/08/04 05:34:40] @ tecto__ joined channel #puppet | ||
| [2010/08/04 05:35:32] @ Quit: Bass10: Max SendQ exceeded | ||
| [2010/08/04 05:36:04] @ Bass10 joined channel #puppet | ||
| [2010/08/04 05:38:24] @ Quit: tecto_: Ping timeout: 246 seconds | ||
| [2010/08/04 05:39:00] @ gm1959 joined channel #puppet | ||
| [2010/08/04 05:40:04] <gm1959> I'm using storedconfigs, and I need to delete several hosts. I dont' have a lot of hosts, so is just dropping the tables and re-running the puppet clients the best way to get rid of cruft? | ||
| [2010/08/04 05:40:59] <gm1959> or is it better to delete * from each table? | ||
| [2010/08/04 05:41:23] @ strangeloop joined channel #puppet | ||
| [2010/08/04 05:41:49] <Volcane> sounds like it would be better to use the scripts that just delete a specific node | ||
| [2010/08/04 05:41:54] @ Quit: tecto__: Ping timeout: 246 seconds | ||
| [2010/08/04 05:42:03] <Volcane> since surely if you delete the whole db then weird things will happen on your nodes that are collecting resources | ||
| [2010/08/04 05:42:45] <gm1959> Volcane - I only have about ten hosts right now, so I can just re-run the client on each to rebuild the db. I dont know about any scripts | ||
| [2010/08/04 05:43:14] <gm1959> where can I find them? | ||
| [2010/08/04 05:47:37] <Volcane> used to be on the wiki, probably also ext/ directory | ||
| [2010/08/04 05:47:49] <gm1959> k, thx | ||
| [2010/08/04 05:49:33] @ cliff-hm joined channel #puppet | ||
| [2010/08/04 05:55:17] @ alch joined channel #puppet | ||
| [2010/08/04 05:56:22] <ghaskins_mobile> hi all, is there any doc out there describing the new REST interface in 2.6 ? | ||
| [2010/08/04 05:56:36] <ghaskins_mobile> i was not finding it anywhere | ||
| [2010/08/04 05:56:53] <Volcane> was mentioned on the user list recently | ||
| [2010/08/04 05:57:06] <ghaskins_mobile> Volcane, ah, ok, i will try the archives | ||
| [2010/08/04 05:57:10] <ghaskins_mobile> thx | ||
| [2010/08/04 05:57:39] <dcarley> ghaskins_mobile: http://docs.puppetlabs.com/guides/rest_api.html | ||
| [2010/08/04 05:58:18] @ saysjonathan joined channel #puppet | ||
| [2010/08/04 05:58:58] @ tecto_ joined channel #puppet | ||
| [2010/08/04 05:59:54] <ghaskins_mobile> dcarley, thank you kindly! | ||
| [2010/08/04 06:00:10] <ghaskins_mobile> (I had just found it via the list archive, but appreciate the response) | ||
| [2010/08/04 06:00:40] @ [GuS] joined channel #puppet | ||
| [2010/08/04 06:00:41] <ghaskins_mobile> is it safe to say that the REST interface is for the communication between master and client ? | ||
| [2010/08/04 06:01:09] <ghaskins_mobile> i was hoping to be able to intergrate higher layer software with puppet master, but it appears I might be barking up the wrong tree | ||
| [2010/08/04 06:01:34] <ghaskins_mobile> oh wait! | ||
| [2010/08/04 06:01:44] <ghaskins_mobile> i see there is stuff for managing the cert requests, etc | ||
| [2010/08/04 06:01:45] <dcarley> nope, it's an open API. for use however you wish. | ||
| [2010/08/04 06:01:53] <ghaskins_mobile> perhaps this is what I needed after all | ||
| [2010/08/04 06:01:58] @ radkin joined channel #puppet | ||
| [2010/08/04 06:02:48] @ nakano is now known as nakano_ | ||
| [2010/08/04 06:03:04] @ rgsteele joined channel #puppet | ||
| [2010/08/04 06:05:39] <alch> If I want to setup several server pretty quickly with a configuration I want (compile from source a certain daemon and configure it the way I like), do I need puppet? | ||
| [2010/08/04 06:06:17] <alch> Right now I manage 12 servers, and sometimes it's a pain in the ass to apply a change I did on one of my server to all the other servers | ||
| [2010/08/04 06:06:39] <hal-j> puppet will help getting configs out to the servers, for sure | ||
| [2010/08/04 06:06:50] <Volcane> that's what its for. however you shouldnt be building softwware on each node you should make packages | ||
| [2010/08/04 06:06:58] @ Quit: kenneho: Quit: Ex-Chat | ||
| [2010/08/04 06:07:02] @ achester joined channel #puppet | ||
| [2010/08/04 06:07:12] <hal-j> if it were me (and often times, it is) I would compile from source, make a package for whatever packaging system my systems use, and add it to a self managed repo. Then install from there | ||
| [2010/08/04 06:07:21] <hal-j> what he said | ||
| [2010/08/04 06:08:44] @ gmason joined channel #puppet | ||
| [2010/08/04 06:09:08] <ghaskins_mobile> alch, I agree with hal-j and Volcane as that being a best practice...but note you could also simplify your environment with puppet even with the "distributed build" model as well | ||
| [2010/08/04 06:09:16] <ghaskins_mobile> if that is some hard requirement | ||
| [2010/08/04 06:10:15] <alch> I see | ||
| [2010/08/04 06:10:20] <strangeloop> anoybody familiar with class parameters in 2.6? I can only "include" a class with parameters in a node definition, anywhere else it fails. | ||
| [2010/08/04 06:10:26] <strangeloop> is supposed to work that way? | ||
| [2010/08/04 06:10:48] <alch> Alright, thanks guys :) | ||
| [2010/08/04 06:10:49] <dcarley> though expect puppet to show up just how crude the "build from source" model in light of everything else. | ||
| [2010/08/04 06:10:50] <strangeloop> it fails with a "class not found error" | ||
| [2010/08/04 06:11:05] <dcarley> s/model/model is/ | ||
| [2010/08/04 06:11:18] <alch> (All I need to know now is how to package a compiled source :) ) | ||
| [2010/08/04 06:11:26] <ghaskins_mobile> ok, ive read through the REST api doc, and have some questions | ||
| [2010/08/04 06:12:01] <ghaskins_mobile> say I am something integrating with puppetmasterd to do cert signatures | ||
| [2010/08/04 06:12:30] <ghaskins_mobile> I can issue something like this: curl -k -H "Accept: yaml" https://localhost:8140/production/certificate_requests/all | ||
| [2010/08/04 06:12:42] @ _nono_ joined channel #puppet | ||
| [2010/08/04 06:12:50] <ghaskins_mobile> to see outsanding requests, but it fails presumably because I need to authenticate the call | ||
| [2010/08/04 06:12:57] <hal-j> alch: what OS are you running? | ||
| [2010/08/04 06:13:08] <ghaskins_mobile> so one question should be: what creds should I use for my call? | ||
| [2010/08/04 06:13:09] <Volcane> ghaskins_mobile: you need to tell curl to use a signed cert | ||
| [2010/08/04 06:13:11] <ghaskins_mobile> I am not a client | ||
| [2010/08/04 06:13:32] <ghaskins_mobile> Volcane, nod, understood..i am curious _which_ cert I should use | ||
| [2010/08/04 06:13:33] <hal-j> if you say gentoo, we'll just kick you in the shins :) | ||
| [2010/08/04 06:13:39] <ghaskins_mobile> should I create a new one for my daemon | ||
| [2010/08/04 06:13:40] <ghaskins_mobile> ? | ||
| [2010/08/04 06:13:41] <Volcane> ghaskins_mobile: any :) as long as its been signed by the ca | ||
| [2010/08/04 06:13:44] <ghaskins_mobile> (its not a puppet client | ||
| [2010/08/04 06:13:44] <Volcane> yup | ||
| [2010/08/04 06:13:47] <ghaskins_mobile> ok | ||
| [2010/08/04 06:13:49] <ghaskins_mobile> question 2 | ||
| [2010/08/04 06:14:15] <ghaskins_mobile> is there a way via the api to actually instruct puppetca to sign a request? | ||
| [2010/08/04 06:14:15] <dcarley> hal-j: conversely it would be the simplest to do in gentoo :) | ||
| [2010/08/04 06:14:21] <ghaskins_mobile> the doc only mentions GETs | ||
| [2010/08/04 06:14:54] <doubleukay> alch fwiw for the occasional "quick and dirty" stuff I fire up clusterssh | ||
| [2010/08/04 06:15:05] <hal-j> dcarley: there may be worse choices you could make, for making an easy to manage system across several machines | ||
| [2010/08/04 06:15:14] <hal-j> but you'd have limited options for doing so :) | ||
| [2010/08/04 06:15:15] @ nakano_ is now known as nakano | ||
| [2010/08/04 06:18:35] <simplechat> is there any way to get puppet to restart a service if any file in a directory changes? | ||
| [2010/08/04 06:20:34] <dcarley> simplechat: if the files are managed - use subscribe/notify. | ||
| [2010/08/04 06:20:38] @ jb__ is now known as jb | ||
| [2010/08/04 06:22:11] @ zz_shenson is now known as shenson | ||
| [2010/08/04 06:23:16] @ roflcopter69 joined channel #puppet | ||
| [2010/08/04 06:23:16] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 06:23:58] @ Quit: rsquared: Ping timeout: 276 seconds | ||
| [2010/08/04 06:24:38] @ radkin joined channel #puppet | ||
| [2010/08/04 06:25:42] <roflcopter69> I want to have a puppet config that includes a "base" server configuration. This would set files like /etc/resolv.conf to defaults for our site. Then, I want this to be applied to every single server. Now for overriding that, if a server is in a class that has it's own /etc/resolv.conf definition, it will use that one and not the one from the default base config. Is something like this possible, and if so, can someone point me in the righ | ||
| [2010/08/04 06:25:42] <roflcopter69> t direction? | ||
| [2010/08/04 06:25:43] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 06:27:09] <hal-j> there are a few ways | ||
| [2010/08/04 06:27:21] @ radkin joined channel #puppet | ||
| [2010/08/04 06:28:15] <hal-j> 1) you could template resolv.conf, and add params for to specify nameservers and search domains to a base node that all nodes are derived from, and then override that param for the nodes you want to change it for | ||
| [2010/08/04 06:28:51] @ failshell joined channel #puppet | ||
| [2010/08/04 06:28:55] <hal-j> 2) you could define a default resolv.conf, and a few resolv.conf.groupname files. then set a groupname param and use that param to determine which file to push (or if it's not set, use the default) | ||
| [2010/08/04 06:29:21] <failshell> hello. am i right in assuming puppet-dashboard will look under /etc/puppet for node/class configurations? meaning, it has to run on a puppetmaster? | ||
| [2010/08/04 06:29:45] @ reyjrar joined channel #puppet | ||
| [2010/08/04 06:30:10] <doubleukay> hal-j: for #2, is that by using source => [ "...../resolv.conf.$variable", "...../resolv.conf.default" ] ? | ||
| [2010/08/04 06:30:11] <gepetto> doubleukay: hal-j: #2 is http://projects.puppetlabs.com/issues/show/2 "Puppet - Feature #2: Add 'link' ability to File - Puppet Labs" | ||
| [2010/08/04 06:32:46] @ Quit: Deesl: Ping timeout: 276 seconds | ||
| [2010/08/04 06:32:46] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 06:33:55] @ radkin joined channel #puppet | ||
| [2010/08/04 06:34:10] <hal-j> doubleukay: that'd work | ||
| [2010/08/04 06:34:40] <hal-j> or if $varname { file { "something based on varname"} } else { default } | ||
| [2010/08/04 06:34:53] <doubleukay> I vaguely recall seeing somewhere (list? wiki?) that it wasn't recommended though. so I'm curious to know how else it can be done | ||
| [2010/08/04 06:34:58] @ Quit: kubicek: Read error: Connection reset by peer | ||
| [2010/08/04 06:35:05] @ kubicek joined channel #puppet | ||
| [2010/08/04 06:35:09] <doubleukay> ah ok | ||
| [2010/08/04 06:36:11] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 06:37:34] @ craftytech_ joined channel #puppet | ||
| [2010/08/04 06:37:43] <hal-j> ISTR that you can give "source" an array and it'll use the first one that it finds | ||
| [2010/08/04 06:37:46] <craftytech_> hello | ||
| [2010/08/04 06:37:54] <hal-j> but I don't believe I actuall yuse that anywhere | ||
| [2010/08/04 06:37:55] <craftytech_> does anyone know how do I tag systems via foreman? do I just enter a tags value via "add parameter"? | ||
| [2010/08/04 06:37:57] @ radkin joined channel #puppet | ||
| [2010/08/04 06:41:20] @ rsquared joined channel #puppet | ||
| [2010/08/04 06:47:39] @ pheezy joined channel #puppet | ||
| [2010/08/04 06:47:52] @ Quit: achester: Ping timeout: 240 seconds | ||
| [2010/08/04 06:48:07] @ jayeola joined channel #puppet | ||
| [2010/08/04 06:50:27] <masterzen> anyone here having the file serving crash under 2.6.1rc1 with passenger? I just sent a patch to puppet-users/dev with what I think can fix the issue and I'd wanted someone to test it... | ||
| [2010/08/04 06:50:34] @ kambiz joined channel #puppet | ||
| [2010/08/04 06:52:37] @ ecapriolo joined channel #puppet | ||
| [2010/08/04 06:52:39] @ bobbyz_ joined channel #puppet | ||
| [2010/08/04 06:52:44] <craftytech_> does anyone know how do I tag systems via foreman? do I just enter a tags value via "add parameter"? | ||
| [2010/08/04 06:55:49] @ jdcasey joined channel #puppet | ||
| [2010/08/04 06:55:49] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 06:56:53] <jayeola> `puppetca --list` lists the nodes that are waiting for auth, right? | ||
| [2010/08/04 06:57:29] <Dominic> jayeola: yes | ||
| [2010/08/04 06:57:29] @ Quit: kubicek: Quit: kubicek | ||
| [2010/08/04 06:57:31] @ radkin joined channel #puppet | ||
| [2010/08/04 06:58:05] <jayeola> cool and thanks. so is there a way to "--print" or equivalent all of the nodes that do have auth? | ||
| [2010/08/04 06:58:34] <zipkid> jayeola: --list --all | ||
| [2010/08/04 06:58:35] <Dominic> --list --all | ||
| [2010/08/04 06:58:36] @ Quit: ickymettle: Quit: leaving | ||
| [2010/08/04 07:00:04] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:00:51] @ radkin joined channel #puppet | ||
| [2010/08/04 07:04:03] <tim|mac> what was the work around again for making sure ssh_authorized_key doesn't trigger on each puppet run? | ||
| [2010/08/04 07:04:08] @ [alch] joined channel #puppet | ||
| [2010/08/04 07:04:13] @ Quit: failshell: Quit: Leaving | ||
| [2010/08/04 07:04:36] @ Quit: rmiller4pi81: Quit: Leaving. | ||
| [2010/08/04 07:06:12] <tim|mac> hm... should've been fixed in 0.25.0... and I'm running 0.25.5... | ||
| [2010/08/04 07:06:38] @ Quit: alch: Ping timeout: 265 seconds | ||
| [2010/08/04 07:08:55] <Spruit_elf> tim|mac: check for spaces after the key | ||
| [2010/08/04 07:09:12] <Spruit_elf> or before | ||
| [2010/08/04 07:09:46] <tim|mac> checking... | ||
| [2010/08/04 07:09:51] <Spruit_elf> key => "<actual key> " will trigger it every time | ||
| [2010/08/04 07:10:09] <Spruit_elf> or before the key probably also | ||
| [2010/08/04 07:11:25] <tim|mac> hm... no spaces :S | ||
| [2010/08/04 07:11:49] <tim|mac> ah got it | ||
| [2010/08/04 07:11:54] <tim|mac> beginner's mistake :S | ||
| [2010/08/04 07:12:01] @ flakrat joined channel #puppet | ||
| [2010/08/04 07:12:39] @ Quit: tecto_: Ping timeout: 264 seconds | ||
| [2010/08/04 07:14:59] @ Quit: Bass10: Ping timeout: 240 seconds | ||
| [2010/08/04 07:14:59] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:16:23] @ radkin joined channel #puppet | ||
| [2010/08/04 07:18:14] @ Quit: project2501a: Ping timeout: 265 seconds | ||
| [2010/08/04 07:19:58] @ gniks joined channel #puppet | ||
| [2010/08/04 07:20:18] @ Bass10 joined channel #puppet | ||
| [2010/08/04 07:20:40] @ tecto_ joined channel #puppet | ||
| [2010/08/04 07:23:45] <BLZbubba> ok i have a fun facter situation | ||
| [2010/08/04 07:23:47] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:24:01] <BLZbubba> i have a kernel that can run xen, openvz, or virtualbox vm's | ||
| [2010/08/04 07:24:29] <BLZbubba> how agonizing would it be for facter to return a list for the virtual fact? | ||
| [2010/08/04 07:24:36] <BLZbubba> i suppose that would break a lot of things | ||
| [2010/08/04 07:24:59] @ radkin joined channel #puppet | ||
| [2010/08/04 07:25:19] <fenris02> facter -p |grep -i virt | ||
| [2010/08/04 07:25:40] @ Quit: craftytech_: Quit: Page closed | ||
| [2010/08/04 07:25:44] <fenris02> appears to correctly identify vm's here. | ||
| [2010/08/04 07:27:04] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:27:13] <BLZbubba> fenris02: what vm types does your kernel support? | ||
| [2010/08/04 07:27:18] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/04 07:27:43] @ radkin joined channel #puppet | ||
| [2010/08/04 07:27:50] <BLZbubba> i am running 2.6.18-194.8.1.el5.028stab070.2xen, which is the openvz kernel built to also be a xen0; and i loaded the virtualbox modules | ||
| [2010/08/04 07:28:23] <BLZbubba> so i would expect it to return something like virtual => openvzhn, xen0, whatever_the_fact_is_for_virtualbox | ||
| [2010/08/04 07:28:54] <fenris02> virtual here says "vmware" (more or less correct) | ||
| [2010/08/04 07:29:03] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/04 07:29:21] <BLZbubba> fenris02: hmm i don't think you understand what i'm asking | ||
| [2010/08/04 07:29:48] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/04 07:30:51] @ project2501a joined channel #puppet | ||
| [2010/08/04 07:31:27] @ |GuS| joined channel #puppet | ||
| [2010/08/04 07:31:42] @ brothers joined channel #puppet | ||
| [2010/08/04 07:33:54] @ Quit: [GuS]: Ping timeout: 246 seconds | ||
| [2010/08/04 07:33:54] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:34:28] @ radkin joined channel #puppet | ||
| [2010/08/04 07:36:50] @ |GuS| is now known as [GuS] | ||
| [2010/08/04 07:37:08] @ itguru_ joined channel #puppet | ||
| [2010/08/04 07:38:00] @ Quit: itguru: Ping timeout: 265 seconds | ||
| [2010/08/04 07:39:32] @ |GuS| joined channel #puppet | ||
| [2010/08/04 07:39:32] @ Quit: |GuS|: Changing host | ||
| [2010/08/04 07:39:32] @ |GuS| joined channel #puppet | ||
| [2010/08/04 07:39:32] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:40:33] @ radkin joined channel #puppet | ||
| [2010/08/04 07:42:19] @ Quit: [GuS]: Ping timeout: 240 seconds | ||
| [2010/08/04 07:44:33] @ Quit: sdog: Ping timeout: 240 seconds | ||
| [2010/08/04 07:46:33] <roflcopter69> is there a place i can find a list of builtin variables for the file type? | ||
| [2010/08/04 07:46:49] <Volcane> for templates? | ||
| [2010/08/04 07:46:51] <roflcopter69> sorry if it's in the docs, having a hard time tracking it down | ||
| [2010/08/04 07:46:52] <roflcopter69> yes | ||
| [2010/08/04 07:46:55] <Volcane> type facter | ||
| [2010/08/04 07:46:59] <Volcane> it covers most | ||
| [2010/08/04 07:47:01] <Volcane> and it varies per host | ||
| [2010/08/04 07:47:07] <roflcopter69> well see i have this going on: | ||
| [2010/08/04 07:47:23] <roflcopter69> File { | ||
| [2010/08/04 07:47:23] <roflcopter69> owner => root, | ||
| [2010/08/04 07:47:23] <roflcopter69> group => root, | ||
| [2010/08/04 07:47:23] <roflcopter69> mode => 644, | ||
| [2010/08/04 07:47:23] <roflcopter69> server => "puppet.net.ias.edu", | ||
| [2010/08/04 07:47:23] <roflcopter69> backup => false, | ||
| [2010/08/04 07:47:25] <roflcopter69> recurse => false, | ||
| [2010/08/04 07:47:27] <roflcopter69> } | ||
| [2010/08/04 07:47:29] <roflcopter69> in site.pp | ||
| [2010/08/04 07:47:41] <Volcane> oh, see the type reference on the wiki | ||
| [2010/08/04 07:47:46] <Volcane> it has all the types and properties | ||
| [2010/08/04 07:47:53] <roflcopter69> and then this: | ||
| [2010/08/04 07:47:55] <roflcopter69> file { "/etc/ias-release": | ||
| [2010/08/04 07:47:55] <roflcopter69> content => template("${puppetfilespath}/${cls}/${filename}.erb") | ||
| [2010/08/04 07:47:55] <roflcopter69> } | ||
| [2010/08/04 07:48:01] <Volcane> roflcopter69: please paste on pastie.org | ||
| [2010/08/04 07:48:03] <roflcopter69> doesnt work | ||
| [2010/08/04 07:48:05] <roflcopter69> ok | ||
| [2010/08/04 07:48:13] <roflcopter69> sry | ||
| [2010/08/04 07:48:18] <Volcane> well $puppetfilespath etc isnt there by default | ||
| [2010/08/04 07:48:24] <roflcopter69> yeah i added that | ||
| [2010/08/04 07:48:28] <Volcane> those have to be something you added | ||
| [2010/08/04 07:48:28] <Volcane> ok | ||
| [2010/08/04 07:48:32] <roflcopter69> it's the $name and $filename that arent working | ||
| [2010/08/04 07:48:41] <roflcopter69> $name used to work for some reason | ||
| [2010/08/04 07:49:25] <Volcane> $name etc will only be set in a define | ||
| [2010/08/04 07:49:48] <roflcopter69> so I need to define another filetype to use $name? | ||
| [2010/08/04 07:50:14] <Volcane> what did you want to be in $filename? | ||
| [2010/08/04 07:51:06] <roflcopter69> the path and name of the file | ||
| [2010/08/04 07:51:21] <roflcopter69> i'm trying to have a class override another class's content=> statement | ||
| [2010/08/04 07:51:25] <roflcopter69> it's very difficult | ||
| [2010/08/04 07:51:46] <Volcane> not half as difficult as trying to help you if you dont show us all that you're trying to do with your code :) | ||
| [2010/08/04 07:51:58] <roflcopter69> yeah I'm working on it haha sorry one sec | ||
| [2010/08/04 07:54:59] <roflcopter69> I'm trying to have a several fake-root directories in /var/lib/puppet/files/{everyserver,nagios,snort}. Each one of these has an {etc,usr,var} and so forth. Now, the default class uses files in /var/lib/puppet/files/everyserver. But, I'm trying to make it so that all other classes inherit the default class, and then essentially "tune" this config, by overriding a couple of files... the problem is getting it to find the new file in the new | ||
| [2010/08/04 07:54:59] <roflcopter69> /var/lib/puppet/files directory | ||
| [2010/08/04 07:55:03] <roflcopter69> that make sense at all? | ||
| [2010/08/04 07:55:14] <ohookins> show us code | ||
| [2010/08/04 07:55:18] @ bgupta joined channel #puppet | ||
| [2010/08/04 07:55:23] @ kubicek joined channel #puppet | ||
| [2010/08/04 07:55:59] <ohookins> if pastie.org is not working there are other similar sites | ||
| [2010/08/04 07:56:17] <fenris02> fpaste.org / dpaste.com | ||
| [2010/08/04 07:56:54] <roflcopter69> no working code exists yet... | ||
| [2010/08/04 07:57:00] <roflcopter69> ill put it in anyway though | ||
| [2010/08/04 07:57:21] @ wilmoore joined channel #puppet | ||
| [2010/08/04 07:58:31] @ lak joined channel #puppet | ||
| [2010/08/04 07:58:31] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 07:59:16] <roflcopter69> http://pastie.org/1075169 | ||
| [2010/08/04 07:59:22] @ Quit: robinbowes: Quit: Leaving | ||
| [2010/08/04 07:59:37] @ rcrowley joined channel #puppet | ||
| [2010/08/04 08:00:21] @ radkin joined channel #puppet | ||
| [2010/08/04 08:00:33] <roflcopter69> so I'm trying to have aaa extend every-server and be able to say, oh, use my /etc/resolv.conf, not the one found in every-server | ||
| [2010/08/04 08:01:44] @ Quit: wilmoore: Ping timeout: 245 seconds | ||
| [2010/08/04 08:01:44] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/08/04 08:02:10] @ Quit: [alch]: Ping timeout: 265 seconds | ||
| [2010/08/04 08:02:31] <Volcane> roflcopter69: and source => ["puppet:///resolver/resolv.conf.${fqdn}", "puppet:///resolver/resolv.conf"] isnt good enough/ | ||
| [2010/08/04 08:03:03] @ radkin joined channel #puppet | ||
| [2010/08/04 08:03:09] @ renanm joined channel #puppet | ||
| [2010/08/04 08:03:13] <roflcopter69> I don't understand what that means... :-/ | ||
| [2010/08/04 08:03:20] <roflcopter69> is that like a failover method? | ||
| [2010/08/04 08:03:37] <Volcane> if it finds resolv.conf.your.box.net it will take it | ||
| [2010/08/04 08:03:40] <Volcane> else resolv.conf | ||
| [2010/08/04 08:03:54] <roflcopter69> that's perfect, but can I do that with templates? | ||
| [2010/08/04 08:04:00] <Volcane> nope | ||
| [2010/08/04 08:04:12] <roflcopter69> there's no way possible? | ||
| [2010/08/04 08:04:28] <roflcopter69> to essentially emulate that behavior with templates | ||
| [2010/08/04 08:04:41] <Volcane> if you're using a template to build resolve.conf then why not just specify the differences in variables? | ||
| [2010/08/04 08:05:12] <roflcopter69> what do you mean? in the template file put if statements and such? | ||
| [2010/08/04 08:05:24] <Volcane> in your node set $resolver = whatever | ||
| [2010/08/04 08:05:27] <Volcane> and use that in the template | ||
| [2010/08/04 08:07:30] <roflcopter69> none of these are what management wants, we're looking for a way to have "template failover" so that a class can override which template the parent class said to use | ||
| [2010/08/04 08:07:44] <roflcopter69> there is no way to do this in puppet? | ||
| [2010/08/04 08:08:01] @ tecto__ joined channel #puppet | ||
| [2010/08/04 08:08:01] @ Quit: tecto__: Changing host | ||
| [2010/08/04 08:08:01] @ tecto__ joined channel #puppet | ||
| [2010/08/04 08:08:09] <Volcane> yup, standard inheritance | ||
| [2010/08/04 08:08:16] <Volcane> as documented in the language tutorial | ||
| [2010/08/04 08:08:28] <Volcane> just read the docs | ||
| [2010/08/04 08:08:30] <roflcopter69> right, and I did read the tutorial, promise... | ||
| [2010/08/04 08:09:54] <kjetilho> *sigh* I wish it was possible to change a resource without making a class inheriting the declaring class. | ||
| [2010/08/04 08:10:38] <hal-j> roflcopter69: I gave you two possible options way way way back | ||
| [2010/08/04 08:10:54] <Volcane> roflcopter69: http://www.pastie.org/1075194 ? | ||
| [2010/08/04 08:11:37] <roflcopter69> hal-j, I know you did, I'm having a little trouble actually implementing it, though | ||
| [2010/08/04 08:11:52] @ Quit: tecto_: Ping timeout: 276 seconds | ||
| [2010/08/04 08:12:02] <hal-j> you had said, at the time, that you wanted to control the resolv.confs using groups though, not fqdn | ||
| [2010/08/04 08:12:18] <roflcopter69> yes, i do want to use groups... | ||
| [2010/08/04 08:12:28] <hal-j> I'd go with the "define nameservers and search domains as variables and template it" | ||
| [2010/08/04 08:12:43] <roflcopter69> /etc/resolv.conf is an example, guys | ||
| [2010/08/04 08:12:46] <hal-j> but either way | ||
| [2010/08/04 08:12:48] <roflcopter69> maybe a bad one | ||
| [2010/08/04 08:12:49] <Volcane> hal-j: yeah, this is what extlookup is for | ||
| [2010/08/04 08:13:01] @ benkevan joined channel #puppet | ||
| [2010/08/04 08:13:05] <roflcopter69> im looking at the pastie you just sent | ||
| [2010/08/04 08:13:05] <hal-j> Volcane: don't bait me again on this same discussion :) | ||
| [2010/08/04 08:13:19] <hal-j> I've got nothing against extlookup, I just haven't used it :) | ||
| [2010/08/04 08:13:22] <Volcane> :) | ||
| [2010/08/04 08:13:35] @ ]oestewart joined channel #puppet | ||
| [2010/08/04 08:13:36] <hal-j> params work just fine for me, for now ;) | ||
| [2010/08/04 08:13:41] <roflcopter69> now can I add in a define() into your pastie, Volcane? | ||
| [2010/08/04 08:14:04] <Volcane> hal-j: well, looking at this conversation, it should be clear that your way would go way over his head: ) | ||
| [2010/08/04 08:15:13] @ plathrop is now known as plathrop-away | ||
| [2010/08/04 08:15:40] <Volcane> roflcopter69: at least pretend to try out some of our suggestions and see if it works for you, see if you can adapt them etc | ||
| [2010/08/04 08:15:42] @ |GuS| is now known as [GuS] | ||
| [2010/08/04 08:15:50] <Volcane> roflcopter69: cos we might just think you just want to be spoon fed etc | ||
| [2010/08/04 08:16:09] <roflcopter69> ok, you're right, thanks for your help | ||
| [2010/08/04 08:16:22] <Volcane> roflcopter69: defines behave just like types | ||
| [2010/08/04 08:16:29] <Volcane> roflcopter69: so the basic principal will apply yes | ||
| [2010/08/04 08:16:42] <roflcopter69> I think I see my error | ||
| [2010/08/04 08:17:21] <Volcane> roflcopter69: and to test out little things, you can literally just put my pastie in test.pp and run: puppet test.pp - also make the 2 templates with some simple text | ||
| [2010/08/04 08:17:23] <roflcopter69> I was trying to set the content => in the define, when I should really do that in each individual definition | ||
| [2010/08/04 08:17:30] <Volcane> roflcopter69: then you can test out ideas witout the master | ||
| [2010/08/04 08:17:57] <roflcopter69> oh wow, didn't know of that little trick, thank you | ||
| [2010/08/04 08:18:00] @ Deesl joined channel #puppet | ||
| [2010/08/04 08:18:12] @ Quit: lak: Quit: lak | ||
| [2010/08/04 08:19:07] @ ohookins left channel #puppet ("Leaving.") | ||
| [2010/08/04 08:19:39] @ Quit: strangeloop: Ping timeout: 260 seconds | ||
| [2010/08/04 08:21:35] <roflcopter69> I guess I just don't feel right writing the full path and filename twice in the file statement, but if that's the way it should be done, then so be it | ||
| [2010/08/04 08:22:08] <Volcane> you still havnt pasted any code | ||
| [2010/08/04 08:22:42] <Volcane> ah you have | ||
| [2010/08/04 08:22:43] <Volcane> kewl | ||
| [2010/08/04 08:22:45] <Volcane> missed it | ||
| [2010/08/04 08:23:46] <Volcane> roflcopter69: you can propably make things a bit better with package{["yum", "zlip", "zip"]: ensure => present} | ||
| [2010/08/04 08:24:03] <Volcane> and: | ||
| [2010/08/04 08:24:12] <Volcane> configfile{ | ||
| [2010/08/04 08:24:22] <Volcane> "one": require => Package["one"]; | ||
| [2010/08/04 08:24:28] <Volcane> "two": require => Package["two"]; | ||
| [2010/08/04 08:24:29] <Volcane> } | ||
| [2010/08/04 08:30:22] @ Quit: radkin: Remote host closed the connection | ||
| [2010/08/04 08:31:11] @ robinbowes joined channel #puppet | ||
| [2010/08/04 08:31:27] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/04 08:31:30] @ lak joined channel #puppet | ||
| [2010/08/04 08:32:19] @ strangeloop joined channel #puppet | ||
| [2010/08/04 08:33:02] @ RussS joined channel #puppet | ||
| [2010/08/04 08:35:28] @ Quit: tecto__: Ping timeout: 240 seconds | ||
| [2010/08/04 08:37:12] @ sdog joined channel #puppet | ||
| [2010/08/04 08:37:16] @ Quit: sdog: Changing host | ||
| [2010/08/04 08:37:16] @ sdog joined channel #puppet | ||
| [2010/08/04 08:38:58] @ pinoyskull joined channel #puppet | ||
| [2010/08/04 08:39:03] @ bodepd joined channel #puppet | ||
| [2010/08/04 08:39:05] @ Ramonster joined channel #puppet | ||
| [2010/08/04 08:41:26] @ kaptk2 joined channel #puppet | ||
| [2010/08/04 08:42:09] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2010/08/04 08:42:31] @ SEJeff joined channel #puppet | ||
| [2010/08/04 08:44:21] @ bodepd left channel #puppet () | ||
| [2010/08/04 08:47:49] @ Quit: TREllis: Quit: leaving | ||
| [2010/08/04 08:51:35] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/08/04 08:52:31] @ Quit: lak: Quit: lak | ||
| [2010/08/04 08:57:15] @ mikey_p joined channel #puppet | ||
| [2010/08/04 08:57:22] @ Quit: Bass10: Ping timeout: 276 seconds | ||
| [2010/08/04 08:59:22] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/08/04 09:01:28] <BLZbubba> Volcane: do you know if facter is able to return lists? and if so, can puppet deal with them? | ||
| [2010/08/04 09:01:38] <Volcane> nope | ||
| [2010/08/04 09:01:39] <Volcane> cant | ||
| [2010/08/04 09:01:52] @ mrsprinkles joined channel #puppet | ||
| [2010/08/04 09:01:53] <Volcane> return a list like foo,bar,baz | ||
| [2010/08/04 09:01:56] <Volcane> then use split to make a list | ||
| [2010/08/04 09:02:07] @ Quit: kolla: Remote host closed the connection | ||
| [2010/08/04 09:03:04] @ Quit: jaredrhine: Ping timeout: 258 seconds | ||
| [2010/08/04 09:05:30] @ tonyskapunk joined channel #puppet | ||
| [2010/08/04 09:08:02] @ achester joined channel #puppet | ||
| [2010/08/04 09:10:08] @ Quit: saysjonathan: Quit: Lost terminal | ||
| [2010/08/04 09:11:32] @ Quit: bug: Quit: bug | ||
| [2010/08/04 09:11:56] @ nakano is now known as nakano_ | ||
| [2010/08/04 09:13:06] @ bodepd joined channel #puppet | ||
| [2010/08/04 09:15:35] <geekatcmu> Hey, has anyone on here already written up the code that looks through all the ip_address* facts and coalesces them into a list.? | ||
| [2010/08/04 09:16:19] @ radkin joined channel #puppet | ||
| [2010/08/04 09:16:35] @ Quit: themroc: Remote host closed the connection | ||
| [2010/08/04 09:20:00] @ jaredrhine joined channel #puppet | ||
| [2010/08/04 09:20:18] @ Quit: Ramonster: Quit: Computer has gone to sleep | ||
| [2010/08/04 09:23:03] @ Quit: nul0op: Ping timeout: 260 seconds | ||
| [2010/08/04 09:26:31] @ \ask joined channel #puppet | ||
| [2010/08/04 09:27:13] @ rmiller4pi81 joined channel #puppet | ||
| [2010/08/04 09:27:45] @ jcape joined channel #puppet | ||
| [2010/08/04 09:28:16] @ nadav joined channel #puppet | ||
| [2010/08/04 09:29:41] <nadav> hi everyone! I'm evaluating puppet for our deployment process... and i was wondering; can puppet also do one-time user initiated upgrades? | ||
| [2010/08/04 09:30:21] @ Quit: rmiller4pi8: Ping timeout: 240 seconds | ||
| [2010/08/04 09:31:37] @ Quit: rmiller4pi81: Client Quit | ||
| [2010/08/04 09:32:15] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/04 09:32:23] @ TREllis joined channel #puppet | ||
| [2010/08/04 09:34:11] @ Quit: simplechat: Remote host closed the connection | ||
| [2010/08/04 09:34:21] @ Quit: jayeola: Quit: leaving | ||
| [2010/08/04 09:34:57] @ gebi joined channel #puppet | ||
| [2010/08/04 09:37:27] * geekatcmu sighs at the usual (lack of) response | ||
| [2010/08/04 09:37:36] <geekatcmu> Apparently I do only weird things. | ||
| [2010/08/04 09:38:02] @ Quit: nadav: Quit: Page closed | ||
| [2010/08/04 09:38:16] <Volcane> geekatcmu: or your request lacked sufficient detail and we didnt have the time to extract it, just saying :P | ||
| [2010/08/04 09:38:47] @ Quit: sdog: Quit: Leaving. | ||
| [2010/08/04 09:39:37] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/04 09:40:14] @ Ramonster joined channel #puppet | ||
| [2010/08/04 09:41:53] <geekatcmu> That could be, too. | ||
| [2010/08/04 09:45:40] <shog> hmpf. how I may force puppet to put repo configs (done via yumrepo declarations) into specific file? | ||
| [2010/08/04 09:46:45] @ thekad-afk is now known as thekad | ||
| [2010/08/04 09:47:16] <bhearsum> aki: i want to believe | ||
| [2010/08/04 09:47:18] <bhearsum> whoops | ||
| [2010/08/04 09:49:25] @ mclarke joined channel #puppet | ||
| [2010/08/04 09:49:58] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 09:53:21] @ asmodeo_ joined channel #puppet | ||
| [2010/08/04 09:53:26] @ asmodeo_ left channel #puppet () | ||
| [2010/08/04 09:53:42] @ asmodeo_ joined channel #puppet | ||
| [2010/08/04 09:54:47] @ Quit: lbt_: Quit: Konversation terminated! | ||
| [2010/08/04 09:55:12] @ Quit: andrewh: Ping timeout: 240 seconds | ||
| [2010/08/04 09:55:58] @ alban2 joined channel #puppet | ||
| [2010/08/04 09:57:16] @ bodepd joined channel #puppet | ||
| [2010/08/04 09:58:16] <eric0> geekatcmu: the stuffs already there in facter/lib/interfaces.rb , just copy that bit to make a comma-separated list under one factname and distribute it with pluginsync | ||
| [2010/08/04 10:00:18] @ Quit: renanm: Quit: leaving | ||
| [2010/08/04 10:00:26] <benkevan> err: Could not retrieve catalog from remote server: Could not intern from pson: Syntax error at '.' at /etc/hosts:3 < What causes that? the line in question is: 127.0.0.1 localhost.localdomain localhost | ||
| [2010/08/04 10:02:49] <benkevan> if I comment out that line all works fine.. but why would that break it on this RHEL 4 w/ client 2.6.0 (server too) .. and it was working fine. | ||
| [2010/08/04 10:04:19] @ Quit: mikey_p: Ping timeout: 276 seconds | ||
| [2010/08/04 10:06:01] <geekatcmu> eric0: thanks. | ||
| [2010/08/04 10:06:46] @ Quit: yannL: Remote host closed the connection | ||
| [2010/08/04 10:07:46] @ Quit: ed209: Read error: Connection reset by peer | ||
| [2010/08/04 10:08:15] @ jmccune joined channel #puppet | ||
| [2010/08/04 10:08:56] <benkevan> fails even with just shortname of localhost | ||
| [2010/08/04 10:09:22] <jmccune> Good morning | ||
| [2010/08/04 10:09:45] <benkevan> jmccune: good afternoon | ||
| [2010/08/04 10:11:00] @ tecto_ joined channel #puppet | ||
| [2010/08/04 10:12:25] @ alban21 joined channel #puppet | ||
| [2010/08/04 10:12:28] @ Quit: jsman: Ping timeout: 276 seconds | ||
| [2010/08/04 10:13:08] @ Quit: alban2: Read error: Connection reset by peer | ||
| [2010/08/04 10:13:32] @ alban21 is now known as alban2 | ||
| [2010/08/04 10:15:49] @ Quit: jaredrhine: Read error: Connection reset by peer | ||
| [2010/08/04 10:17:29] <benkevan> Here are the lines from the debut: debug: importing '/etc/hosts' in environment production | ||
| [2010/08/04 10:17:30] @ Quit: Naresh: Ping timeout: 265 seconds | ||
| [2010/08/04 10:17:32] <benkevan> err: Could not retrieve catalog from remote server: Could not intern from pson: Syntax error at '.' at /etc/hosts:3 | ||
| [2010/08/04 10:17:41] @ Quit: itguru_: Ping timeout: 240 seconds | ||
| [2010/08/04 10:21:24] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2010/08/04 10:21:47] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/04 10:21:52] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/08/04 10:24:02] @ nakano_ is now known as nakano | ||
| [2010/08/04 10:24:06] @ nakano is now known as nakano_ | ||
| [2010/08/04 10:24:07] @ nakano_ is now known as nakano | ||
| [2010/08/04 10:24:20] @ ed209 joined channel #puppet | ||
| [2010/08/04 10:25:15] @ Quit: ed209: Read error: Connection reset by peer | ||
| [2010/08/04 10:25:58] <eric0> benkevan: you have an 'import /etc/hosts' line somewhere in a manifest? why? | ||
| [2010/08/04 10:26:02] @ Quit: alban2: Read error: Operation timed out | ||
| [2010/08/04 10:26:07] @ Quit: gmason: Quit: gmason | ||
| [2010/08/04 10:27:11] @ bug joined channel #puppet | ||
| [2010/08/04 10:29:21] <benkevan> eric0: I don't.. that's the weird part.. | ||
| [2010/08/04 10:29:49] <eric0> somehow it is trying to parse /etc/hosts as a puppet manifest, which obviously isn't going to work | ||
| [2010/08/04 10:30:00] <benkevan> i have an import hosts.. which is a module.. that only does (fpaste to come) | ||
| [2010/08/04 10:30:40] <benkevan> http://www.fpaste.org/GhYg/ | ||
| [2010/08/04 10:31:58] <benkevan> eric0: but if I comment out all the lines in the hosts file (the only line IS the localhsot line.. then it works fine.. | ||
| [2010/08/04 10:34:25] @ alfism joined channel #puppet | ||
| [2010/08/04 10:35:59] @ WALoeIII joined channel #puppet | ||
| [2010/08/04 10:36:15] <eric0> if it's in a module, can you 'include hosts' instead of import? i know i beat this drum a lot | ||
| [2010/08/04 10:36:37] <eric0> it seems wierd that you have a selector for path with only a default case too | ||
| [2010/08/04 10:36:46] <Volcane> you should more or less forget import exist | ||
| [2010/08/04 10:36:56] <Volcane> if you're using it, your modules arent right | ||
| [2010/08/04 10:37:09] @ Quit: elementai: Quit: Leaving. | ||
| [2010/08/04 10:39:18] @ gmason joined channel #puppet | ||
| [2010/08/04 10:40:11] <benkevan> the import is from modules.pp .. | ||
| [2010/08/04 10:40:48] @ joe-mac1 joined channel #puppet | ||
| [2010/08/04 10:40:53] <benkevan> in my nodes it's being called as include (import is only on modules.pp) | ||
| [2010/08/04 10:40:53] <hal-j> that's got the distinct sound of a bad idea.. what is "modules.pp"? | ||
| [2010/08/04 10:41:03] @ Quit: strangeloop: Quit: Leaving | ||
| [2010/08/04 10:41:31] <Volcane> if you use modules correctly you dont need import | ||
| [2010/08/04 10:41:44] <benkevan> Volcane: hummm.. what's correctly? the book uses modules.pp | ||
| [2010/08/04 10:41:49] @ ed209 joined channel #puppet | ||
| [2010/08/04 10:41:53] <Volcane> the only import i have is "import 'nodes/*.pp'" cos i have a pp file per node | ||
| [2010/08/04 10:42:00] <benkevan> so that's what I've learned :( .. let me try to comment out of modules.pp | ||
| [2010/08/04 10:42:03] @ alban2 joined channel #puppet | ||
| [2010/08/04 10:42:10] <Volcane> benkevan: the book is old, it auto import - look in the module organization wiki page | ||
| [2010/08/04 10:42:53] <hal-j> the directory that your modules live in should be configured in your master's modulepath | ||
| [2010/08/04 10:43:12] <hal-j> and, not knowing exactly what your modules.pp is, but making wild assumptions, I bet you don't need it at all | ||
| [2010/08/04 10:43:37] <benkevan> grrr.. even more suckyness.. I add import hosts into modules.pp and it works.. I'll have to check out and throw this darn book away.. because it's messing me up more then good :( | ||
| [2010/08/04 10:43:58] <benkevan> hal-j: I do have it setup.. modulepath = /etc/puppet/environments/production/modules | ||
| [2010/08/04 10:44:43] <hal-j> then you should, without any further magic than that, be able to include any class defined in one of your modules, provided you've not done wild crazy things with filenames | ||
| [2010/08/04 10:45:08] <benkevan> hal-j: what do you mean by wild crazy things haha | ||
| [2010/08/04 10:45:08] @ Quit: ed209: Read error: Connection reset by peer | ||
| [2010/08/04 10:45:26] <hal-j> a modules.pp that's importing all sorts of stuff | ||
| [2010/08/04 10:45:42] <Volcane> benkevan: foo::bar in modules/foo/manifests/bar.pp is the expected layout | ||
| [2010/08/04 10:46:05] @ e1mer joined channel #puppet | ||
| [2010/08/04 10:47:13] <benkevan> ok.. because now I removed the modules.pp and it broke it.. says can't find the class :(.. hummmm | ||
| [2010/08/04 10:47:16] @ Quit: Deesl: Remote host closed the connection | ||
| [2010/08/04 10:47:51] <hal-j> where is your class defined? | ||
| [2010/08/04 10:48:23] <hal-j> I bet you'll need some reorganization, and things will start to work | ||
| [2010/08/04 10:50:57] <benkevan> the class is defined in a module. . | ||
| [2010/08/04 10:51:15] <benkevan> 1 sec.. i'll show you the first class being called in the node (sudoers) | ||
| [2010/08/04 10:51:56] <hal-j> what's the name of the class, and what's the filename it's defined in (full path) | ||
| [2010/08/04 10:52:06] <benkevan> class sudo { | ||
| [2010/08/04 10:52:06] <benkevan> file { 'sudoers': | ||
| [2010/08/04 10:52:06] <benkevan> path => "/etc/sudoers", | ||
| [2010/08/04 10:52:07] <hal-j> and how are you including it | ||
| [2010/08/04 10:52:16] <benkevan> include sudo | ||
| [2010/08/04 10:52:35] <hal-j> what's the path of the file that's included in | ||
| [2010/08/04 10:53:05] <hal-j> it should be in [moduledir]/sudo/init.pp if you want to include it that way | ||
| [2010/08/04 10:53:18] <hal-j> there may be other alternatives, but I know that works | ||
| [2010/08/04 10:53:45] <hal-j> sorry | ||
| [2010/08/04 10:53:51] <hal-j> [moduledir]/sudo/manifests/init.pp | ||
| [2010/08/04 10:54:32] <benkevan> usherlxa06:/etc/puppet/environments/production/modules/sudoers/manifests # cat init.pp | ||
| [2010/08/04 10:54:36] @ labrown joined channel #puppet | ||
| [2010/08/04 10:54:50] <benkevan> manifest = /etc/puppet/environments/production/manifests/site.pp | ||
| [2010/08/04 10:54:53] <benkevan> modulepath = /etc/puppet/environments/production/modules | ||
| [2010/08/04 10:56:55] @ Quit: cliff-hm: Ping timeout: 258 seconds | ||
| [2010/08/04 10:57:50] @ happymcplaksin joined channel #puppet | ||
| [2010/08/04 10:58:04] @ mikey_p joined channel #puppet | ||
| [2010/08/04 10:59:01] @ happymcplaksin left channel #puppet () | ||
| [2010/08/04 10:59:42] @ Quit: paha: Remote host closed the connection | ||
| [2010/08/04 11:01:47] @ ed209 joined channel #puppet | ||
| [2010/08/04 11:02:18] @ Quit: bug: Quit: bug | ||
| [2010/08/04 11:05:38] @ bug joined channel #puppet | ||
| [2010/08/04 11:08:48] @ Quit: alban2: Read error: Operation timed out | ||
| [2010/08/04 11:08:49] <BLZbubba> ok this is weird, i removed the signed cert on the server, and removed /var/lib/puppet/ssl on the client. when i tried to re-key, after the server signs i get this: err: Could not retrieve catalog from remote server: certificate verify failed | ||
| [2010/08/04 11:09:49] @ uphillian joined channel #puppet | ||
| [2010/08/04 11:11:27] @ Quit: jmccune: Ping timeout: 264 seconds | ||
| [2010/08/04 11:12:37] <BLZbubba> puppetca --revoke on the server gives this: err: Could not call revoke: Cannot convert into OpenSSL::BN | ||
| [2010/08/04 11:12:55] @ jmccune joined channel #puppet | ||
| [2010/08/04 11:13:32] <BLZbubba> same error with clean | ||
| [2010/08/04 11:13:54] @ |GuS| joined channel #puppet | ||
| [2010/08/04 11:14:18] @ Quit: [GuS]: Disconnected by services | ||
| [2010/08/04 11:14:27] @ |GuS| is now known as [GuS] | ||
| [2010/08/04 11:16:21] @ Quit: |Mike|: Quit: Reconnecting | ||
| [2010/08/04 11:16:23] @ |Mike| joined channel #puppet | ||
| [2010/08/04 11:18:22] @ pting joined channel #puppet | ||
| [2010/08/04 11:19:47] <BLZbubba> [2010-08-04 12:15:55] ERROR OpenSSL::SSL::SSLError: SSL_write:: internal error | ||
| [2010/08/04 11:20:39] @ \ask joined channel #puppet | ||
| [2010/08/04 11:21:28] @ jdcasey joined channel #puppet | ||
| [2010/08/04 11:22:48] @ AimanA joined channel #puppet | ||
| [2010/08/04 11:24:38] <BLZbubba> argh, cert problems are maddening | ||
| [2010/08/04 11:26:12] @ christophermlee joined channel #puppet | ||
| [2010/08/04 11:29:48] <BLZbubba> [2010-08-04 12:29:29] ERROR OpenSSL::SSL::SSLError: sslv3 alert bad certificate | ||
| [2010/08/04 11:29:53] <BLZbubba> !@%!^ | ||
| [2010/08/04 11:29:54] @ Quit: ed209: Read error: Connection reset by peer | ||
| [2010/08/04 11:31:59] @ Quit: goraxe: Ping timeout: 260 seconds | ||
| [2010/08/04 11:33:04] @ nakano is now known as nakano_ | ||
| [2010/08/04 11:34:23] @ Quit: bgupta: Ping timeout: 248 seconds | ||
| [2010/08/04 11:35:01] @ alban2 joined channel #puppet | ||
| [2010/08/04 11:35:59] @ bgupta joined channel #puppet | ||
| [2010/08/04 11:36:18] @ mstanislav joined channel #puppet | ||
| [2010/08/04 11:36:46] <joe-mac1> BLZbubba: likely simple unix permissions problem | ||
| [2010/08/04 11:36:49] @ Quit: alban2: Client Quit | ||
| [2010/08/04 11:36:56] <joe-mac1> puppetca drops privs to use puppet at some point during its execution | ||
| [2010/08/04 11:38:18] @ nakano_ is now known as nakano | ||
| [2010/08/04 11:39:05] @ alban2 joined channel #puppet | ||
| [2010/08/04 11:45:03] @ Quit: jdcasey: Ping timeout: 248 seconds | ||
| [2010/08/04 11:45:07] @ Quit: bug: Quit: bug | ||
| [2010/08/04 11:46:44] @ ed209 joined channel #puppet | ||
| [2010/08/04 11:46:55] @ jdcasey joined channel #puppet | ||
| [2010/08/04 11:47:11] @ littleidea joined channel #puppet | ||
| [2010/08/04 11:47:29] <dan__t> hai! | ||
| [2010/08/04 11:48:16] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/04 11:48:31] <dan__t> So... I'm going to use Puppet for this problem. I have a memory disk from which images are served via nginx. Maintaining that mount is a pain in the ass. | ||
| [2010/08/04 11:48:43] @ BarnacleBob joined channel #puppet | ||
| [2010/08/04 11:48:51] <dan__t> What I'll ultimately need to do is ensure that the memory disk contains an exact replica of what's on platter disk. | ||
| [2010/08/04 11:49:16] <dan__t> Is there like an ensure => exactsame that I can use to compare the two dirs - the location on disk and the location of the mounted memory disk? | ||
| [2010/08/04 11:49:19] @ jaredrhine joined channel #puppet | ||
| [2010/08/04 11:49:58] <BarnacleBob> so i have setup exported and collected resources (i've had stored configs for a while but this is the first export/collect) and on the host that collects the resources the export works fine and it gets its own, but i just set up a 2nd test server that just exports its resource and the server is not collecting it. Any one know how i go about debugging this? | ||
| [2010/08/04 11:49:59] <hal-j> sounds to me like you'd be better off with a periodic rsync | ||
| [2010/08/04 11:50:08] <hal-j> (dan__t) | ||
| [2010/08/04 11:50:31] <dan__t> Yea, you're probably right. Doing that right now. Sorta. | ||
| [2010/08/04 11:50:59] <dan__t> the nginx init script is hacked up to destroy the memory disk when its stopped, create and format and rsync from disk when its started etc etc | ||
| [2010/08/04 11:51:40] @ puppetnoob joined channel #puppet | ||
| [2010/08/04 11:51:50] @ Quit: puppetnoob: Client Quit | ||
| [2010/08/04 11:52:07] <dan__t> but a periodic - say, 5 minute - rsync wouldn't hurt. | ||
| [2010/08/04 11:53:47] <dan__t> or.... have the mount there permanently... and rsync with --delete from source to dest | ||
| [2010/08/04 11:53:48] <hal-j> if I had a few of those, and had a load balancer balancing across several of them, I'd skip having the shutdown nuke the contents, and have startup complete an rsync before starting nginx | ||
| [2010/08/04 11:54:24] @ bug joined channel #puppet | ||
| [2010/08/04 11:54:25] <mackn> is setting up nginx to cache to a memory disk not an option? heh | ||
| [2010/08/04 11:54:46] <BarnacleBob> mackn, setup varnish | ||
| [2010/08/04 11:55:00] @ nicklewis joined channel #puppet | ||
| [2010/08/04 11:55:05] <hal-j> I was about to say, I know nothing about nginx, but there are lots of ways to make a lazy cache that will read from disk and cache somewhere | ||
| [2010/08/04 11:55:05] <BarnacleBob> oh | ||
| [2010/08/04 11:55:08] <BarnacleBob> sorry that wasn't for you | ||
| [2010/08/04 11:55:14] <BarnacleBob> heh yeah | ||
| [2010/08/04 11:55:14] <mackn> heh | ||
| [2010/08/04 11:55:19] <hal-j> varnish would be one way | ||
| [2010/08/04 11:55:20] @ puppet-noob joined channel #puppet | ||
| [2010/08/04 11:55:30] <BarnacleBob> varnish is a memory mapped disk cacheing proxy | ||
| [2010/08/04 11:55:47] <hal-j> apache has mod_cache, nginx maybe has something similar? | ||
| [2010/08/04 11:57:03] @ Quit: bgupta: Quit: bgupta | ||
| [2010/08/04 11:57:08] <mackn> or.. you can do the whole rsync bit | ||
| [2010/08/04 11:57:14] <Disconnect> varnish is the win | ||
| [2010/08/04 11:57:37] @ imran_ joined channel #puppet | ||
| [2010/08/04 11:58:08] @ bgupta joined channel #puppet | ||
| [2010/08/04 11:58:15] * BarnacleBob hugs varnish | ||
| [2010/08/04 11:58:34] @ \ask joined channel #puppet | ||
| [2010/08/04 11:59:01] @ Quit: Maliuta: Ping timeout: 258 seconds | ||
| [2010/08/04 11:59:42] <puppet-noob> anyone know if its possible to run puppetmaster as non-root? | ||
| [2010/08/04 11:59:57] <Disconnect> puppetmaster, yes. puppet, yes but you can't do much | ||
| [2010/08/04 12:00:08] <Disconnect> afaik the debs do that automatically. | ||
| [2010/08/04 12:00:12] <Disconnect> i'd be surprised if rpm/etc didn't do it also | ||
| [2010/08/04 12:00:47] <kjetilho> yes, puppetmaster runs as "puppet" in rpms | ||
| [2010/08/04 12:01:12] <mackn> as long as puppetmaster can read all the files it needs to read | ||
| [2010/08/04 12:01:18] <mackn> you can run it as whoever you want | ||
| [2010/08/04 12:02:24] <puppet-noob> do u know how to specify the config dirs to point somewhere other than /etc/puppet... when I run puppetmasterd i get permission denied on /etc/puppet and /var/lib/puppet | ||
| [2010/08/04 12:03:37] @ Maliuta joined channel #puppet | ||
| [2010/08/04 12:03:42] <kjetilho> puppet-noob: why aren't you using a package? | ||
| [2010/08/04 12:04:25] <kjetilho> I recommend using chown -hR to the appropriate user on /etc/puppet and /var/lib/puppet | ||
| [2010/08/04 12:04:57] <kjetilho> or at least on /var/lib/puppet. on /etc/puppet you may prefer to just grant read access | ||
| [2010/08/04 12:05:12] <puppet-noob> i dont have root access on the boxes im trying to run puppet on.. so I cant change the /etc/puppet.. i have it installed in a home dir.. | ||
| [2010/08/04 12:07:08] @ Quit: mstanislav: Quit: leaving | ||
| [2010/08/04 12:07:36] <kjetilho> ok. I run it as myself using: | ||
| [2010/08/04 12:07:44] <kjetilho> puppetmasterd --confdir /var/tmp/puppet-kjetilho --certname localhost --modulepath=/home/kjetilho/svn/puppet/modules:/home/kjetilho/svn/puppet/clients --manifest /home/kjetilho/svn/puppet/puppetmaster/conf/manifests/main.pp --masterport=1232 | ||
| [2010/08/04 12:07:45] @ Quit: alban2: Ping timeout: 265 seconds | ||
| [2010/08/04 12:08:02] <kjetilho> and test it using: | ||
| [2010/08/04 12:08:08] <kjetilho> puppetd --confdir /var/tmp/puppet-kjetilho --server localhost --masterport=1232 --noop -t | ||
| [2010/08/04 12:08:18] @ Quit: ]oestewart: Ping timeout: 252 seconds | ||
| [2010/08/04 12:08:20] <puppet-noob> ok sweet.. ill give that a try.. | ||
| [2010/08/04 12:08:21] <kjetilho> the confdir contains a puppet.conf with the correct paths in it | ||
| [2010/08/04 12:09:09] <kjetilho> puppet-noob: http://pastie.org/1075758 | ||
| [2010/08/04 12:09:37] @ ]oestewart joined channel #puppet | ||
| [2010/08/04 12:09:59] <BarnacleBob> so i have setup exported and collected resources (i've had stored configs for a while but this is the first export/collect) and on the host that collects the resources the export works fine and it gets its own, but i just set up a 2nd test server that just exports its resource and the server is not collecting it. Any one know how i go about debugging this? | ||
| [2010/08/04 12:11:43] @ Quit: ahasenack: Ping timeout: 248 seconds | ||
| [2010/08/04 12:13:05] <Phibs> so what windows support is in 2.6? | ||
| [2010/08/04 12:13:13] <jmccune> BarnacleBob: What does your collect statement look like? | ||
| [2010/08/04 12:13:21] @ Quit: [GuS]: Remote host closed the connection | ||
| [2010/08/04 12:13:30] @ [GuS] joined channel #puppet | ||
| [2010/08/04 12:13:38] <Phibs> the website is... lacking in docs | ||
| [2010/08/04 12:13:50] <BarnacleBob> jmccune, File <<| tag=="nagioscheck" |>> | ||
| [2010/08/04 12:14:04] @ ahasenack joined channel #puppet | ||
| [2010/08/04 12:14:48] <BarnacleBob> interesting the resources are not even in the db | ||
| [2010/08/04 12:14:56] <roflcopter69> is there a way to monitor sendmail.cf and execute make on sendmail.mc if it changes? Note that executing make on sendmail.mc inherently changes sendmail.cf, so a nasty loop could form here... | ||
| [2010/08/04 12:15:04] @ Quit: labrown: Quit: Leaving | ||
| [2010/08/04 12:15:17] <jmccune> BarnacleBob: Hrm, are you sure the exported resource is tagged with nagioscheck? | ||
| [2010/08/04 12:15:41] <Phibs> nobody knows what exactly is supported in 2.6 for windows? | ||
| [2010/08/04 12:15:58] <jmccune> roflcopter69: You could have the file notify an exec resource. | ||
| [2010/08/04 12:16:18] <jmccune> roflcopter69: But as you note, this may be difficult converge. | ||
| [2010/08/04 12:17:08] <roflcopter69> I tried: | ||
| [2010/08/04 12:17:14] <bodepd> kubicek: you around? | ||
| [2010/08/04 12:17:15] <jmccune> roflcopter69: You could have puppet "stage" sendmail.cf into sendmail.cf.managed, the staged resource notifies the rebuild and another file resource manages the "real" sendmail.cf from the staged copy. | ||
| [2010/08/04 12:17:45] <roflcopter69> exec { "make".....} file { sendmail.mc: notify => Exec["make"] } | ||
| [2010/08/04 12:17:48] <roflcopter69> that did not work | ||
| [2010/08/04 12:17:55] <BarnacleBob> jmccune, well on the one machine that collects the export works fine, but you know what i'm not sure that stored configs is working at all right now | ||
| [2010/08/04 12:17:57] <jmccune> The rebuild exec resource should "require" the file resource of the "real" sendmail.cf file. | ||
| [2010/08/04 12:18:12] <jmccune> roflcopter69: What didn't work about it? | ||
| [2010/08/04 12:18:23] <BarnacleBob> jmccune, i just check the db and there is no trace of the exported resouces with this query: select * from resources where exported is not null and exported!=0; | ||
| [2010/08/04 12:18:29] <roflcopter69> nothing happens when I run it, even if i change sendmail.cf | ||
| [2010/08/04 12:18:39] @ Quit: MPSimmons: Quit: Leaving. | ||
| [2010/08/04 12:18:40] <roflcopter69> my example about should be sendmail.cf, sorry | ||
| [2010/08/04 12:18:43] <roflcopter69> **above | ||
| [2010/08/04 12:18:43] <roflcopter69> wow | ||
| [2010/08/04 12:19:03] <Volcane> roflcopter69: how many times today should we ask you to pastie full code? | ||
| [2010/08/04 12:19:11] <jmccune> roflcopter69: Is this on 0.25.5 ? There's a bug with refreshonly exec resources. | ||
| [2010/08/04 12:19:36] <roflcopter69> oh no, Volcane is here ;-) | ||
| [2010/08/04 12:20:02] @ labrown joined channel #puppet | ||
| [2010/08/04 12:20:10] <Phibs> so really, 2.6, windows support, is there a doc on this? | ||
| [2010/08/04 12:20:13] <jmccune> Hi Volcane | ||
| [2010/08/04 12:20:56] <Volcane> hey jmccune | ||
| [2010/08/04 12:21:22] <roflcopter69> jmccune, yes, it is 0.25.5 | ||
| [2010/08/04 12:23:22] <BLZbubba> joe-mac1: ah interesting, ok i'll try that out. i removed the puppet package and all directories on the client, so the problem is likely on the server end :( | ||
| [2010/08/04 12:24:54] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 12:25:16] @ alban2 joined channel #puppet | ||
| [2010/08/04 12:26:03] <jmccune> bbiab, lunch | ||
| [2010/08/04 12:26:10] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/08/04 12:26:21] @ Quit: hal-j: Quit: Leaving. | ||
| [2010/08/04 12:27:22] <BLZbubba> how well does puppet deal with the clients' clock being a few hours out of sync ? | ||
| [2010/08/04 12:27:31] <Disconnect> very, very poorly | ||
| [2010/08/04 12:28:10] <Phibs> haha | ||
| [2010/08/04 12:28:14] <Phibs> learn2ntp | ||
| [2010/08/04 12:28:29] <BLZbubba> my ntp config is in puppet ;) | ||
| [2010/08/04 12:28:29] <Phibs> in a production environment your servers should all be in sync w/ a central time server | ||
| [2010/08/04 12:28:35] <Phibs> mine too :) | ||
| [2010/08/04 12:31:55] <BLZbubba> xen @$^@$; i just had to: echo 1 > /proc/sys/xen/independent_wallclock | ||
| [2010/08/04 12:32:00] <dan__t> ntpdate -s the client in its kickstart or whatever | ||
| [2010/08/04 12:32:00] <dan__t> heh | ||
| [2010/08/04 12:32:38] <dan__t> because you are using kickstart or something similar, right...? | ||
| [2010/08/04 12:34:11] <BLZbubba> dan__t: xen has clock problems | ||
| [2010/08/04 12:34:34] <dan__t> and my truck has tires? | ||
| [2010/08/04 12:35:04] <BLZbubba> if you don't set the guests to have an independent clock, you can't change the time | ||
| [2010/08/04 12:35:14] <BLZbubba> and they get out of sync with the server often | ||
| [2010/08/04 12:35:19] <dan__t> that's cool. | ||
| [2010/08/04 12:35:26] <dan__t> I've not used xen much, unfortunately | ||
| [2010/08/04 12:35:35] * Volcane 's not ever seen xen guests fall out of sync with dom0 | ||
| [2010/08/04 12:35:41] <Volcane> unless you set independant time etc | ||
| [2010/08/04 12:35:44] <darkfade1> i thought that was a feature for avoiding timer irqs | ||
| [2010/08/04 12:35:55] <kjetilho> hmm? in my experience, Puppet doesn't care about clocks being synced | ||
| [2010/08/04 12:36:15] <Volcane> kjetilho: it cares a bit, if they're too far out certs wont be valid | ||
| [2010/08/04 12:36:25] <kjetilho> yeah, but that's *years* | ||
| [2010/08/04 12:36:28] <darkfade1> Volcane: we had it happen in a lab once about 2 years ago. never saw it again after that | ||
| [2010/08/04 12:36:33] <Volcane> kjetilho: nope, days | ||
| [2010/08/04 12:36:45] <BLZbubba> dan__t: you mean fortunately, i think | ||
| [2010/08/04 12:36:52] <Volcane> kjetilho: the initial request | ||
| [2010/08/04 12:36:53] <dan__t> That's what I mean, yes. | ||
| [2010/08/04 12:36:56] <BLZbubba> kind of a religious topic though :) | ||
| [2010/08/04 12:37:08] <dan__t> I've set up domU's before, sure, but nothing past that. | ||
| [2010/08/04 12:37:09] <BLZbubba> for me it is openvz or nothing, the others are too far behind | ||
| [2010/08/04 12:37:21] <dan__t> i think kvm is kind of hot | ||
| [2010/08/04 12:37:31] <dan__t> but, still, we use vmware in-house because it Just Works(TM) | ||
| [2010/08/04 12:37:35] <Phibs> Does anyone know what 2.6 adds as far as windows support? | ||
| [2010/08/04 12:38:11] <Volcane> Phibs: do you really think asking the same question over and over is going to work? | ||
| [2010/08/04 12:38:18] <Phibs> Volcane: was hoping someone new was around :) | ||
| [2010/08/04 12:38:24] <Volcane> darkfade1: vmware's clocks are very far from 'just works' :) | ||
| [2010/08/04 12:38:43] <dan__t> I've never had a problem with them :/ | ||
| [2010/08/04 12:38:45] <Phibs> I guess i'll wait for someone to write up a doc on the puppet website | ||
| [2010/08/04 12:38:46] <dan__t> like, ever. | ||
| [2010/08/04 12:39:06] <dan__t> back in the day under like centos4 i had clock rate issues but that was resolved | ||
| [2010/08/04 12:39:28] <Volcane> dan__t: you're lucky, every vmware site I've been on had havok, if its not small jumps all over its just getting madly out of sync. it cant sync backward only forward with the node | ||
| [2010/08/04 12:39:42] <Volcane> dan__t: but not been on vmware 4 | ||
| [2010/08/04 12:40:04] <dan__t> oic | ||
| [2010/08/04 12:40:17] <darkfade1> Volcane: i know, and even worse is idle cpu usage, 2 idle linux vms on my osx laptop make the fans go wild | ||
| [2010/08/04 12:40:36] <darkfade1> that was on virtualbox though | ||
| [2010/08/04 12:40:40] <darkfade1> but the same issues | ||
| [2010/08/04 12:40:49] <Volcane> the jittery clock totally screws up activemq :) | ||
| [2010/08/04 12:41:06] <Phibs> screws up a lot of apps | ||
| [2010/08/04 12:41:16] <Volcane> nods | ||
| [2010/08/04 12:41:33] <darkfade1> i'll just say that i can run 200 xen vms without any clock issues, all at the cost of hwclock not working | ||
| [2010/08/04 12:41:51] <Phibs> xen is best for *nix anyway | ||
| [2010/08/04 12:41:55] <Volcane> yup clocks in xen just works | ||
| [2010/08/04 12:42:11] @ runrig joined channel #puppet | ||
| [2010/08/04 12:42:12] <darkfade1> i'll check what my clocks on the esx4i box do | ||
| [2010/08/04 12:42:19] <darkfade1> but i think they're behaving so far | ||
| [2010/08/04 12:46:06] <Phibs> newer esxi is better | ||
| [2010/08/04 12:46:09] <Phibs> at clockz | ||
| [2010/08/04 12:47:34] @ itguru joined channel #puppet | ||
| [2010/08/04 12:47:34] @ Quit: itguru: Changing host | ||
| [2010/08/04 12:47:34] @ itguru joined channel #puppet | ||
| [2010/08/04 12:49:33] @ Quit: alban2: Ping timeout: 260 seconds | ||
| [2010/08/04 12:57:34] @ Quit: alfism: Quit: alfism | ||
| [2010/08/04 12:59:09] @ Quit: nexx: Quit: quit | ||
| [2010/08/04 12:59:24] @ Quit: TREllis: Quit: leaving | ||
| [2010/08/04 13:02:09] @ Quit: SEJeff: Read error: Connection timed out | ||
| [2010/08/04 13:02:43] @ SEJeff joined channel #puppet | ||
| [2010/08/04 13:05:30] @ alban2 joined channel #puppet | ||
| [2010/08/04 13:06:37] @ Quit: alban2: Client Quit | ||
| [2010/08/04 13:06:53] @ Quit: [GuS]: Read error: Connection reset by peer | ||
| [2010/08/04 13:09:02] @ explody joined channel #puppet | ||
| [2010/08/04 13:09:15] @ sdog joined channel #puppet | ||
| [2010/08/04 13:09:30] @ Quit: sdog: Changing host | ||
| [2010/08/04 13:09:30] @ sdog joined channel #puppet | ||
| [2010/08/04 13:10:16] @ sdog1 joined channel #puppet | ||
| [2010/08/04 13:10:20] @ Quit: sdog: Client Quit | ||
| [2010/08/04 13:14:11] @ Quit: adrian_broher: Read error: Operation timed out | ||
| [2010/08/04 13:16:25] @ Quit: gebi: Ping timeout: 276 seconds | ||
| [2010/08/04 13:17:12] @ imran__ joined channel #puppet | ||
| [2010/08/04 13:19:09] @ Quit: imran_: Ping timeout: 252 seconds | ||
| [2010/08/04 13:21:24] @ Quit: tecto_: Quit: tecto_ | ||
| [2010/08/04 13:21:44] @ Quit: geekatcmu: Quit: Time to go home | ||
| [2010/08/04 13:22:13] <benkevan> xen is also paravirtualization no? | ||
| [2010/08/04 13:22:25] @ Quit: puppet-noob: Quit: Page closed | ||
| [2010/08/04 13:22:48] @ swa_work joined channel #puppet | ||
| [2010/08/04 13:23:48] <Phibs> yes | ||
| [2010/08/04 13:23:54] <Phibs> it can do HVM though | ||
| [2010/08/04 13:23:55] @ Quit: imran__: Ping timeout: 252 seconds | ||
| [2010/08/04 13:25:36] @ imran_ joined channel #puppet | ||
| [2010/08/04 13:26:06] @ Quit: sdog1: Quit: Leaving. | ||
| [2010/08/04 13:26:10] @ Quit: p3rror: Ping timeout: 276 seconds | ||
| [2010/08/04 13:28:26] <benkevan> So what instance are these people talking about where their clocks are fine vs vmware.. if htey are comparing para vs full virtualization.. not really and apple to apple comparison | ||
| [2010/08/04 13:28:30] @ adrian_broher joined channel #puppet | ||
| [2010/08/04 13:28:37] <benkevan> on another note | ||
| [2010/08/04 13:28:55] <benkevan> anyone still around to help out with getting rid of my modules.pp ? | ||
| [2010/08/04 13:29:40] @ bodepd joined channel #puppet | ||
| [2010/08/04 13:29:58] <fenris02> vmware has a published kb on making clocks stable inside vm's. it's not complicated. | ||
| [2010/08/04 13:30:44] <benkevan> fenris02: I agree.. I don't have a problem with any of mine.. (several hundred guests) | ||
| [2010/08/04 13:32:09] @ Quit: stick: Ping timeout: 245 seconds | ||
| [2010/08/04 13:32:24] <fenris02> kvm guests should work fine as well. xen has ... uhm. "issues" with anything marginally new linux kernel-wise. | ||
| [2010/08/04 13:33:15] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/08/04 13:34:48] @ plathrop-away is now known as plathrop | ||
| [2010/08/04 13:35:18] @ jmccune joined channel #puppet | ||
| [2010/08/04 13:35:58] @ stick joined channel #puppet | ||
| [2010/08/04 13:36:07] @ asmodeo__ joined channel #puppet | ||
| [2010/08/04 13:36:40] @ greg__ joined channel #puppet | ||
| [2010/08/04 13:36:46] @ Quit: mattock: Ping timeout: 258 seconds | ||
| [2010/08/04 13:38:04] @ Quit: asmodeo_: Ping timeout: 265 seconds | ||
| [2010/08/04 13:41:02] @ Quit: ghaskins_mobile: Ping timeout: 240 seconds | ||
| [2010/08/04 13:43:34] <benkevan> GRRR .. this modules stuff is irritating.. ok.. so I shouldn't have to import any of my modules? BUT .. http://docs.reductivelabs.com/guides/modules.html talks about module importing | ||
| [2010/08/04 13:45:03] <masterzen> benkevan: if you follow the correct naming puppet will auto-import your modules/classes. | ||
| [2010/08/04 13:45:16] <masterzen> benkevan: but you are free to import manually anything | ||
| [2010/08/04 13:45:41] <benkevan> ah.. ok.. I think I know what I was doing wrong.. my class was different from my module name | ||
| [2010/08/04 13:48:14] @ BarnacleBob left channel #puppet ("Leaving") | ||
| [2010/08/04 13:48:49] @ Quit: joe-mac1: Ping timeout: 245 seconds | ||
| [2010/08/04 13:51:14] @ ghaskins_mobile joined channel #puppet | ||
| [2010/08/04 13:56:24] <benkevan> hummm.. package name and class name can't match? | ||
| [2010/08/04 13:56:37] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/08/04 13:56:43] <benkevan> ah.. nevermind.. ' 's killed it | ||
| [2010/08/04 13:57:27] <benkevan> yay.. I like this damn app | ||
| [2010/08/04 14:00:07] <Volcane> benkevan: it also talks about auto importing. | ||
| [2010/08/04 14:00:59] @ jsman joined channel #puppet | ||
| [2010/08/04 14:00:59] @ Quit: jsman: Changing host | ||
| [2010/08/04 14:00:59] @ jsman joined channel #puppet | ||
| [2010/08/04 14:01:56] <benkevan> Volcane: BUT it doesn't mention that the class name must match the moduledir name | ||
| [2010/08/04 14:02:10] <Volcane> benkevan: module name foo | ||
| [2010/08/04 14:02:16] <Volcane> benkevan: class foo {} lives in init.pp | ||
| [2010/08/04 14:02:24] <Volcane> class foo::bar {} lives in bar.pp | ||
| [2010/08/04 14:02:44] <Volcane> define foo::whatever lives in whatever.pp | ||
| [2010/08/04 14:02:57] <benkevan> yah.. I had module (directory) name sudoers (class name) sudo :( | ||
| [2010/08/04 14:03:08] <benkevan> so I just failed at being smert | ||
| [2010/08/04 14:03:13] <benkevan> but figured it out :D | ||
| [2010/08/04 14:03:17] <mackn> being smert is herd | ||
| [2010/08/04 14:03:54] <benkevan> have to go through some other modules to see where I failed at being smert | ||
| [2010/08/04 14:04:44] @ Quit: uphillian: Quit: Leaving. | ||
| [2010/08/04 14:05:10] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/08/04 14:05:14] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/04 14:06:04] <benkevan> now for syslog.. then all my updater script stuff is covered.. then it's just figuring out how the heck to backup a bunch of xx files :o) | ||
| [2010/08/04 14:06:37] <benkevan> this is probably the most useful channel i've been in | ||
| [2010/08/04 14:06:44] <benkevan> and helpful | ||
| [2010/08/04 14:07:24] @ alfism joined channel #puppet | ||
| [2010/08/04 14:07:39] @ Quit: wayland76: Ping timeout: 240 seconds | ||
| [2010/08/04 14:08:55] @ Bass10 joined channel #puppet | ||
| [2010/08/04 14:12:50] @ littleidea joined channel #puppet | ||
| [2010/08/04 14:15:58] <benkevan> is it common practice to split a module up like so init.pp (includes ONLY that package exists) then something like base.pp which will include the files within that section etc? | ||
| [2010/08/04 14:16:54] <Volcane> benkevan: http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php is more or less how i do it, but i tend to support just one OS etc so its quite simplistic | ||
| [2010/08/04 14:18:44] <benkevan> Volcane: ah.. very interesting.. I may have to go through some of my modules.. that looks like a good structure.. | ||
| [2010/08/04 14:19:23] <Volcane> nod, its ok. i do simple things though | ||
| [2010/08/04 14:19:32] <benkevan> but earlier you indicated that the ::<something> should be <something>.pp .. ? hummm. | ||
| [2010/08/04 14:20:16] <Volcane> foo::bar in bar.pp yes | ||
| [2010/08/04 14:20:49] <benkevan> ok.. so using the link above you have an install.pp config.pp etc? and just import *.pp ? | ||
| [2010/08/04 14:21:30] @ tecto_ joined channel #puppet | ||
| [2010/08/04 14:21:40] <Volcane> forget about import, wtf | ||
| [2010/08/04 14:21:53] <Volcane> just name the files correctly and stop with the importing :) | ||
| [2010/08/04 14:22:27] <Volcane> see http://docs.reductivelabs.com/guides/modules.html and then the paragraph that starts...Let’s say your autofs module has a class defined in | ||
| [2010/08/04 14:31:27] @ Quit: gmason: Quit: gmason | ||
| [2010/08/04 14:35:00] <benkevan> haha.. k | ||
| [2010/08/04 14:35:47] @ goraxe joined channel #puppet | ||
| [2010/08/04 14:37:36] @ teebes joined channel #puppet | ||
| [2010/08/04 14:37:50] @ teebes left channel #puppet () | ||
| [2010/08/04 14:41:18] @ fredden joined channel #puppet | ||
| [2010/08/04 14:42:36] @ joestewart| joined channel #puppet | ||
| [2010/08/04 14:43:11] @ Alagar joined channel #puppet | ||
| [2010/08/04 14:44:28] @ alch joined channel #puppet | ||
| [2010/08/04 14:45:48] @ Quit: ]oestewart: Ping timeout: 265 seconds | ||
| [2010/08/04 14:50:07] @ scoday joined channel #puppet | ||
| [2010/08/04 14:52:21] @ booi joined channel #puppet | ||
| [2010/08/04 14:53:22] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/04 14:53:25] <booi> hey guys, I'm trying to use the puppet rpms from EPEL but it seems like libselinux-ruby doesn't exist for my platform (FC6). Any suggestions? We do not use selinux so it would seem like it should be ignorable? | ||
| [2010/08/04 14:54:20] <dan__t> Don't reboot that machine. It might never come back up. | ||
| [2010/08/04 14:55:37] <Tonnerre> fc6? Wow, that's extreme | ||
| [2010/08/04 14:55:44] <booi> :P | ||
| [2010/08/04 14:55:57] <Volcane> booi: rebuild the src rpms and exclude the dependency | ||
| [2010/08/04 14:56:26] @ gniks joined channel #puppet | ||
| [2010/08/04 14:56:29] <booi> puppet is smart enough to know the bindings do not exist right? | ||
| [2010/08/04 14:56:45] <Volcane> yup | ||
| [2010/08/04 14:57:05] <booi> cool. thanks. And yes i know it's super old. I'll update the machines when I have time. | ||
| [2010/08/04 14:57:16] <booi> There's just a lot of them. | ||
| [2010/08/04 14:57:24] <booi> Don't fix what ain't broken? | ||
| [2010/08/04 14:58:23] <Volcane> neglected machines thats not been patched are broken | ||
| [2010/08/04 14:58:49] @ Quit: ashp: Ping timeout: 245 seconds | ||
| [2010/08/04 15:00:37] @ Quit: labrown: Quit: Leaving | ||
| [2010/08/04 15:01:03] @ Quit: gniks: Client Quit | ||
| [2010/08/04 15:03:14] @ Quit: radkin: Remote host closed the connection | ||
| [2010/08/04 15:03:55] <booi> yeah i know :( | ||
| [2010/08/04 15:04:57] @ ashp joined channel #puppet | ||
| [2010/08/04 15:05:11] @ Quit: scoday: Quit: Page closed | ||
| [2010/08/04 15:08:23] @ Quit: ecapriolo: Ping timeout: 260 seconds | ||
| [2010/08/04 15:09:39] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/08/04 15:12:41] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/04 15:12:48] @ Quit: joestewart|: Ping timeout: 265 seconds | ||
| [2010/08/04 15:13:35] @ jhaddad joined channel #puppet | ||
| [2010/08/04 15:18:07] @ rodnet joined channel #puppet | ||
| [2010/08/04 15:19:01] @ joestewart| joined channel #puppet | ||
| [2010/08/04 15:23:52] @ muckraker left channel #puppet () | ||
| [2010/08/04 15:25:15] @ Quit: pugnacity: Ping timeout: 258 seconds | ||
| [2010/08/04 15:25:46] @ biopete_ joined channel #puppet | ||
| [2010/08/04 15:26:34] @ Quit: kaptk2: Quit: Leaving. | ||
| [2010/08/04 15:27:43] @ Quit: RedPepper: Ping timeout: 276 seconds | ||
| [2010/08/04 15:28:31] @ RedPepper joined channel #puppet | ||
| [2010/08/04 15:30:01] @ torrancew joined channel #puppet | ||
| [2010/08/04 15:30:04] @ Quit: gm1959: | ||
| [2010/08/04 15:30:07] @ pugnacity joined channel #puppet | ||
| [2010/08/04 15:31:07] @ Quit: runrig: Remote host closed the connection | ||
| [2010/08/04 15:33:31] @ plathrop is now known as plathrop-away | ||
| [2010/08/04 15:41:06] @ Quit: bobbyz_: Ping timeout: 246 seconds | ||
| [2010/08/04 15:44:02] @ Quit: alch: Ping timeout: 258 seconds | ||
| [2010/08/04 15:53:53] @ Quit: joestewart|: Ping timeout: 260 seconds | ||
| [2010/08/04 15:56:48] <benkevan> Volcane: I think i'm getting a hang of the naming (or thought I was).. until I made one called syslog::config (which is in config.pp) and in my init.pp I have include syslog::config (however it says it's not found) | ||
| [2010/08/04 15:58:24] <benkevan> ah.. had to name it to syslog::files | ||
| [2010/08/04 15:58:57] <imran_> i'm trying to use the mysql lens on /etc/my.cnf that comes with augeas, and it lists sections as target[1] etc. Is that the correct behaviour or should it be the actual subsection names such as mysqld etc.? | ||
| [2010/08/04 16:02:18] <benkevan> this is probably a stupid question .. but what is files vs templates? I thought template would have appended to something (but it doesn't).. in what instance would you use a template or file over one another? | ||
| [2010/08/04 16:02:49] <imran_> templates get processed, you can fill in variables etc. files are just copied straight to the target | ||
| [2010/08/04 16:08:30] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/04 16:10:22] <torrancew> benkevan: templates are useful when pushing out configurations that will change for every server (postfix configs, etc), and require things like the fqdn or hostname, etc. | ||
| [2010/08/04 16:11:10] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 16:11:14] <benkevan> torrancew: will a file not use the puppet variables? facters? etc? or is it an EXACT copy of the said file | ||
| [2010/08/04 16:11:29] <torrancew> a file is the EXACT copy | ||
| [2010/08/04 16:11:30] <mikey_p> exactly, it's a copy | ||
| [2010/08/04 16:11:46] <torrancew> good for things like vimrc, etc | ||
| [2010/08/04 16:11:53] <benkevan> ah.. ok.. cool.. so template you use variables.. to modify or customize said settings.. nice nice.. thanks.. | ||
| [2010/08/04 16:12:04] <benkevan> on another note.. i'm working on auto import for modules .. and it's not liking smt::cron :( | ||
| [2010/08/04 16:13:12] <torrancew> that all depends on how your modules are set up, I believe. I'm a fairly new puppet user myself, though | ||
| [2010/08/04 16:13:24] <benkevan> torrancew: same here.. I think I got it .. yay.. | ||
| [2010/08/04 16:14:49] @ bodepd joined channel #puppet | ||
| [2010/08/04 16:14:59] <benkevan> yay.. now is time to test syslog sending to a syslog-ng server.. | ||
| [2010/08/04 16:16:01] <benkevan> yay.. | ||
| [2010/08/04 16:16:04] <benkevan> works just fine as expected | ||
| [2010/08/04 16:16:16] <benkevan> hummm.. want to exclude nmbd stuff though | ||
| [2010/08/04 16:19:01] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/04 16:19:15] @ littleidea joined channel #puppet | ||
| [2010/08/04 16:22:10] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/08/04 16:24:14] @ Quit: itguru: Remote host closed the connection | ||
| [2010/08/04 16:28:40] @ pheezy joined channel #puppet | ||
| [2010/08/04 16:29:43] @ Quit: benkevan: Quit: leaving | ||
| [2010/08/04 16:30:05] @ Quit: christophermlee: Quit: christophermlee | ||
| [2010/08/04 16:32:48] @ p3rror joined channel #puppet | ||
| [2010/08/04 16:34:22] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 16:40:31] @ Quit: jaredrhine: Ping timeout: 276 seconds | ||
| [2010/08/04 16:41:35] @ Quit: jmccune: Ping timeout: 248 seconds | ||
| [2010/08/04 16:44:50] @ Quit: alfism: Quit: alfism | ||
| [2010/08/04 16:50:27] @ Quit: p3rror: Ping timeout: 265 seconds | ||
| [2010/08/04 16:52:38] @ bodepd joined channel #puppet | ||
| [2010/08/04 16:52:44] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/04 16:55:40] @ wayland76 joined channel #puppet | ||
| [2010/08/04 16:55:46] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/08/04 16:55:51] @ jmccune joined channel #puppet | ||
| [2010/08/04 17:03:33] @ p3rror joined channel #puppet | ||
| [2010/08/04 17:06:38] @ Quit: e1mer: Read error: Connection reset by peer | ||
| [2010/08/04 17:10:24] @ lak joined channel #puppet | ||
| [2010/08/04 17:11:04] <rodnet> Has anyone got any idea where I can check out what puppet 2.6 can do when it's running on a windows machine ? The home page of puppetlabs says it has preliminary windows support but I can't seem to find any details on what support it has | ||
| [2010/08/04 17:11:44] <miah> read the source? | ||
| [2010/08/04 17:12:00] <jmccune> rodnet: I'm not sure there's a ton of information yet. I haven't started playing with puppet on windows yet myself. | ||
| [2010/08/04 17:12:29] <jmccune> rodnet: Have you tried the puppet-users mailing list? | ||
| [2010/08/04 17:13:09] <joevano> is there a recommended structure/best practice for organizing your manifest files documented somewhere? | ||
| [2010/08/04 17:13:25] <rodnet> yeah i figured information would be pretty thin if its just preliminary but was hoping something would be in the wiki or something that I could check out | ||
| [2010/08/04 17:14:03] <jmccune> joevano: http://docs.reductivelabs.com/guides/modules.html | ||
| [2010/08/04 17:15:48] <joevano> jmccune: i saw that for modules, but not everything can be squeezed into modules can it? | ||
| [2010/08/04 17:16:55] <jmccune> joevano: everything should be in modules in my opinion. | ||
| [2010/08/04 17:17:06] <jmccune> joevano: Also, this thread is a good read about the subject: http://groups.google.com/group/puppet-users/browse_thread/thread/811ffe49b4ce3978 | ||
| [2010/08/04 17:17:32] <jmccune> joevano: The only thing that shouldn't be is the meachanism you employ to classify nodes. | ||
| [2010/08/04 17:17:53] <jmccune> Either an external node classifier, like the dashboard, or node declarations in site.pp | ||
| [2010/08/04 17:18:31] @ imran_ left channel #puppet () | ||
| [2010/08/04 17:18:41] <joevano> thanks.. I am just getting started and don't want to have to reorganize very much later | ||
| [2010/08/04 17:21:08] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/08/04 17:25:01] @ Quit: brothers: Quit: brothers | ||
| [2010/08/04 17:25:15] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/08/04 17:25:24] @ tecto__ joined channel #puppet | ||
| [2010/08/04 17:25:24] @ Quit: tecto__: Changing host | ||
| [2010/08/04 17:25:24] @ tecto__ joined channel #puppet | ||
| [2010/08/04 17:25:51] @ Quit: tecto_: Ping timeout: 264 seconds | ||
| [2010/08/04 17:27:04] <greg__> anyone know what happened to puppetshow? both of the links provided on puppetlabs.com don't work | ||
| [2010/08/04 17:27:28] @ Quit: lak: Quit: lak | ||
| [2010/08/04 17:31:23] @ PaulWay[w] joined channel #puppet | ||
| [2010/08/04 17:31:33] <miah> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Show ? | ||
| [2010/08/04 17:31:48] <greg__> yea.. | ||
| [2010/08/04 17:32:19] <miah> its not in git? | ||
| [2010/08/04 17:32:24] <greg__> nope | ||
| [2010/08/04 17:32:55] <miah> does puppetdashboard do everything | ||
| [2010/08/04 17:32:58] <greg__> 404 on both of the links provided | ||
| [2010/08/04 17:33:31] <greg__> Im new to this, and just getting things set up.. I wanted to try them both. | ||
| [2010/08/04 17:33:40] <greg__> is puppet-dashboard the way to go? | ||
| [2010/08/04 17:33:47] <miah> i think so | ||
| [2010/08/04 17:33:55] @ seryl joined channel #puppet | ||
| [2010/08/04 17:34:41] <greg__> is the puppetshow project dead then? | ||
| [2010/08/04 17:34:47] <seryl> If I setup a class, and I create a define in it, how do I call that? Is there an example somewhere? (been looking through puppets wiki, and some example projects). I can find where they define the function, but never see it called anywhere -- | ||
| [2010/08/04 17:35:02] <miah> seems that way, but i dont know for certain | ||
| [2010/08/04 17:35:19] <greg__> ok thanks | ||
| [2010/08/04 17:36:02] <miah> you call your define like | ||
| [2010/08/04 17:36:13] <miah> foo:fah { "name": | ||
| [2010/08/04 17:36:18] <miah> value1 => "a" | ||
| [2010/08/04 17:36:22] <miah> value2 => "b" | ||
| [2010/08/04 17:36:23] <miah> } | ||
| [2010/08/04 17:36:49] <seryl> k. Cool, thanks. | ||
| [2010/08/04 17:38:00] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 17:38:59] @ Quit: pinoyskull: Quit: Leaving | ||
| [2010/08/04 17:39:09] @ lak joined channel #puppet | ||
| [2010/08/04 17:40:13] @ bodepd joined channel #puppet | ||
| [2010/08/04 17:42:11] <bodepd> grep__: puppetshow is dead, use the dashboard | ||
| [2010/08/04 17:47:39] <greg__> thanks | ||
| [2010/08/04 17:48:21] <greg__> looks like the documentation I am reading is old/deprecated | ||
| [2010/08/04 17:48:57] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/08/04 17:50:50] @ tecto_ joined channel #puppet | ||
| [2010/08/04 17:53:19] @ Quit: tecto__: Ping timeout: 276 seconds | ||
| [2010/08/04 18:00:10] @ Quit: WALoeIII: Quit: Bai. | ||
| [2010/08/04 18:01:35] @ Quit: \ask: Ping timeout: 248 seconds | ||
| [2010/08/04 18:06:20] @ Quit: seryl: Quit: leaving | ||
| [2010/08/04 18:07:50] @ ]oestewart joined channel #puppet | ||
| [2010/08/04 18:09:06] @ christophermlee joined channel #puppet | ||
| [2010/08/04 18:10:19] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 18:11:03] @ thekad is now known as thekad-afk | ||
| [2010/08/04 18:11:29] @ e1mer joined channel #puppet | ||
| [2010/08/04 18:14:28] @ Quit: RussS: Quit: Leaving | ||
| [2010/08/04 18:15:47] @ Quit: nicklewis: Ping timeout: 252 seconds | ||
| [2010/08/04 18:16:55] @ bodepd joined channel #puppet | ||
| [2010/08/04 18:17:29] @ Quit: christophermlee: Quit: christophermlee | ||
| [2010/08/04 18:18:14] @ Quit: lak: Quit: lak | ||
| [2010/08/04 18:19:03] @ Quit: greg__: Quit: greg__ | ||
| [2010/08/04 18:20:12] @ Quit: kubicek: Quit: kubicek | ||
| [2010/08/04 18:23:58] @ Quit: e1mer: Read error: Connection reset by peer | ||
| [2010/08/04 18:35:10] @ e1mer joined channel #puppet | ||
| [2010/08/04 18:37:08] @ Quit: e1mer: Read error: Connection reset by peer | ||
| [2010/08/04 18:39:26] @ pheezy joined channel #puppet | ||
| [2010/08/04 18:42:56] @ e1mer joined channel #puppet | ||
| [2010/08/04 18:43:48] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 18:48:21] @ Quit: e1mer: Ping timeout: 246 seconds | ||
| [2010/08/04 18:49:22] @ tecto__ joined channel #puppet | ||
| [2010/08/04 18:49:23] @ Quit: tecto__: Changing host | ||
| [2010/08/04 18:49:23] @ tecto__ joined channel #puppet | ||
| [2010/08/04 18:50:27] @ Quit: jmccune: Ping timeout: 264 seconds | ||
| [2010/08/04 18:51:19] @ Quit: tecto_: Ping timeout: 245 seconds | ||
| [2010/08/04 18:55:48] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/04 18:56:19] @ pheezy joined channel #puppet | ||
| [2010/08/04 18:59:52] @ Quit: emiddd: Read error: Connection reset by peer | ||
| [2010/08/04 19:00:29] @ emiddd joined channel #puppet | ||
| [2010/08/04 19:10:22] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:11:02] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:17:45] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:18:52] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:22:34] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:23:19] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:23:56] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:25:59] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:27:46] @ alex joined channel #puppet | ||
| [2010/08/04 19:29:02] @ jmccune joined channel #puppet | ||
| [2010/08/04 19:30:54] @ Quit: Alagar: Ping timeout: 245 seconds | ||
| [2010/08/04 19:34:58] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:35:30] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:37:20] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/08/04 19:48:40] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/04 19:49:15] @ Quit: bix0r: Ping timeout: 264 seconds | ||
| [2010/08/04 19:49:58] @ bix0r joined channel #puppet | ||
| [2010/08/04 19:50:21] @ Quit: ]oestewart: Quit: This computer has gone to sleep | ||
| [2010/08/04 19:51:03] @ gniks joined channel #puppet | ||
| [2010/08/04 19:51:13] @ AimanA joined channel #puppet | ||
| [2010/08/04 19:51:45] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/04 20:02:16] @ Quit: rodnet: Quit: rodnet | ||
| [2010/08/04 20:02:43] @ littleidea joined channel #puppet | ||
| [2010/08/04 20:09:32] @ e1mer joined channel #puppet | ||
| [2010/08/04 20:12:47] @ ahuman joined channel #puppet | ||
| [2010/08/04 20:19:42] @ Quit: tecto__: Ping timeout: 246 seconds | ||
| [2010/08/04 20:22:23] @ Quit: pting: Quit: Ex-Chat | ||
| [2010/08/04 20:22:42] @ jaredrhine joined channel #puppet | ||
| [2010/08/04 20:22:54] @ \ask joined channel #puppet | ||
| [2010/08/04 20:23:20] @ tecto_ joined channel #puppet | ||
| [2010/08/04 20:25:34] @ cliff-hm joined channel #puppet | ||
| [2010/08/04 20:33:33] <n3kl> Hi. Anyone in here from puppet labs? | ||
| [2010/08/04 20:41:22] @ jens_ joined channel #puppet | ||
| [2010/08/04 20:44:02] @ Quit: bug: Quit: bug | ||
| [2010/08/04 20:44:52] @ Quit: jense: Ping timeout: 265 seconds | ||
| [2010/08/04 20:48:12] @ alcy joined channel #puppet | ||
| [2010/08/04 20:51:33] @ Quit: mclarke: Quit: mclarke | ||
| [2010/08/04 20:52:15] @ Quit: Bass10: Ping timeout: 264 seconds | ||
| [2010/08/04 21:00:14] @ AimanA is now known as HouseAway | ||
| [2010/08/04 21:06:32] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/04 21:39:45] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/04 21:40:03] @ pinoyskull joined channel #puppet | ||
| [2010/08/04 21:43:17] @ mclarke joined channel #puppet | ||
| [2010/08/04 21:47:43] @ bodepd joined channel #puppet | ||
| [2010/08/04 22:03:24] @ gebi joined channel #puppet | ||
| [2010/08/04 22:04:18] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 22:15:39] @ Quit: tecto_: Ping timeout: 240 seconds | ||
| [2010/08/04 22:22:03] @ Quit: fcami: Quit: new mesa. | ||
| [2010/08/04 22:24:28] @ bodepd joined channel #puppet | ||
| [2010/08/04 22:24:34] @ fcami joined channel #puppet | ||
| [2010/08/04 22:27:41] @ Quit: jcape: Ping timeout: 258 seconds | ||
| [2010/08/04 22:38:20] @ \ask joined channel #puppet | ||
| [2010/08/04 22:43:45] @ yannL joined channel #puppet | ||
| [2010/08/04 22:44:31] @ spacex joined channel #puppet | ||
| [2010/08/04 22:45:59] @ nexex joined channel #puppet | ||
| [2010/08/04 22:46:29] @ Quit: alex: Disconnected by services | ||
| [2010/08/04 22:46:43] @ alexine_dsouza joined channel #puppet | ||
| [2010/08/04 22:47:01] @ nexex left channel #puppet () | ||
| [2010/08/04 22:49:01] @ Quit: spacex: Quit: Leaving. | ||
| [2010/08/04 22:55:02] @ hMz joined channel #puppet | ||
| [2010/08/04 22:56:08] @ mattock joined channel #puppet | ||
| [2010/08/04 22:56:51] @ nexx joined channel #puppet | ||
| [2010/08/04 22:57:54] @ kenneho joined channel #puppet | ||
| [2010/08/04 23:01:41] <alcy> was there any puppet release where puppetca binary was in /var/lib/puppet/ssl/puppetca ? i am just trying to diagnose this error/notice thrown by foreman http://pastie.org/1076762 | ||
| [2010/08/04 23:01:47] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/04 23:01:52] @ Quit: jmccune: Ping timeout: 240 seconds | ||
| [2010/08/04 23:01:52] @ Quit: fredden: Quit: Leaving | ||
| [2010/08/04 23:03:37] @ ckauhaus joined channel #puppet | ||
| [2010/08/04 23:06:52] <bodepd> alcy: I am pretty confident it was never there, its a binary. | ||
| [2010/08/04 23:08:04] <alcy> bodepd: yup, it shouldn't be. i think the notice is referring to just the path of signed certs. | ||
| [2010/08/04 23:08:13] <bodepd> looks like it | ||
| [2010/08/04 23:08:19] @ nakano is now known as nakano_ | ||
| [2010/08/04 23:09:55] @ Quit: Edgan: Ping timeout: 265 seconds | ||
| [2010/08/04 23:11:05] @ tecto_ joined channel #puppet | ||
| [2010/08/04 23:11:05] @ Quit: tecto_: Changing host | ||
| [2010/08/04 23:11:05] @ tecto_ joined channel #puppet | ||
| [2010/08/04 23:13:49] @ adrian_broher joined channel #puppet | ||
| [2010/08/04 23:27:01] @ Quit: Ramonster: Quit: Computer has gone to sleep | ||
| [2010/08/04 23:28:17] @ Edgan joined channel #puppet | ||
| [2010/08/04 23:31:49] @ jmccune joined channel #puppet | ||
| [2010/08/04 23:31:59] @ tecto__ joined channel #puppet | ||
| [2010/08/04 23:33:09] @ Quit: tecto_: Ping timeout: 240 seconds | ||
| [2010/08/04 23:34:30] @ Quit: gebi: Read error: Operation timed out | ||
| [2010/08/04 23:35:01] @ Deesl joined channel #puppet | ||
| [2010/08/04 23:35:53] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/04 23:36:54] <zipkid> Goodmorning! | ||
| [2010/08/04 23:37:03] <zipkid> ...if it is that is.... | ||
| [2010/08/04 23:37:48] @ ohookins joined channel #puppet | ||
| [2010/08/04 23:45:12] @ alch joined channel #puppet | ||
| [2010/08/04 23:47:04] @ mikey_p joined channel #puppet | ||
| [2010/08/04 23:48:09] @ wilmoore joined channel #puppet | ||
| [2010/08/04 23:50:08] @ Quit: mikey_p: Client Quit | ||
| [2010/08/04 23:50:57] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/08/04 23:52:25] @ Quit: ckauhaus: Ping timeout: 276 seconds | ||
| [2010/08/04 23:54:18] @ ckauhaus joined channel #puppet | ||
| [2010/08/04 23:56:36] @ elementai joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!