| [2011/11/01 00:00:51] @ Log started by gepetto | ||
| [2011/11/01 00:00:51] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 00:00:56] @ hal-j joined channel #puppet | ||
| [2011/11/01 00:01:32] @ Quit: BrickBag: Remote host closed the connection | ||
| [2011/11/01 00:01:40] @ BrickBag joined channel #puppet | ||
| [2011/11/01 00:04:07] @ artkrz joined channel #puppet | ||
| [2011/11/01 00:06:16] @ pisco joined channel #puppet | ||
| [2011/11/01 00:07:14] @ Quit: BrickBag: Ping timeout: 256 seconds | ||
| [2011/11/01 00:10:33] @ larstobi joined channel #puppet | ||
| [2011/11/01 00:16:05] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/01 00:19:13] @ BrickBag joined channel #puppet | ||
| [2011/11/01 00:20:53] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 00:21:01] @ skm joined channel #puppet | ||
| [2011/11/01 00:21:55] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 00:23:17] @ Vasik|work joined channel #puppet | ||
| [2011/11/01 00:24:31] @ erthad joined channel #puppet | ||
| [2011/11/01 00:24:31] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/01 00:24:55] @ Quit: erthad: Changing host | ||
| [2011/11/01 00:24:55] @ erthad joined channel #puppet | ||
| [2011/11/01 00:31:50] @ DJClean joined channel #puppet | ||
| [2011/11/01 00:32:51] @ Quit: BrickBag: Ping timeout: 260 seconds | ||
| [2011/11/01 00:34:04] @ MattyM joined channel #puppet | ||
| [2011/11/01 00:36:44] @ matchaw___ joined channel #puppet | ||
| [2011/11/01 00:36:56] @ Quit: Guest69312: | ||
| [2011/11/01 00:37:20] @ Quit: matchaw_: Ping timeout: 248 seconds | ||
| [2011/11/01 00:38:46] @ hal-j joined channel #puppet | ||
| [2011/11/01 00:39:30] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 00:40:21] @ Quit: dgillies: Remote host closed the connection | ||
| [2011/11/01 00:43:49] @ Quit: abetterlie_: Ping timeout: 240 seconds | ||
| [2011/11/01 00:46:51] @ AlanJenkins joined channel #puppet | ||
| [2011/11/01 00:50:44] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 00:50:44] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 00:50:49] @ Quit: fragfutter: Quit: leaving | ||
| [2011/11/01 00:52:46] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 00:54:39] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/11/01 00:56:13] @ pieter_ joined channel #puppet | ||
| [2011/11/01 01:00:33] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI] | ||
| [2011/11/01 01:04:09] @ skm joined channel #puppet | ||
| [2011/11/01 01:05:40] @ jaytaph joined channel #puppet | ||
| [2011/11/01 01:06:09] @ Quit: xHans: Ping timeout: 252 seconds | ||
| [2011/11/01 01:06:23] @ Quit: AndrewHendry: Quit: Page closed | ||
| [2011/11/01 01:06:39] @ fragfutter joined channel #puppet | ||
| [2011/11/01 01:06:41] @ Quit: claussen: Quit: claussen | ||
| [2011/11/01 01:07:09] @ xHans joined channel #puppet | ||
| [2011/11/01 01:07:44] @ Quit: jsm: Ping timeout: 248 seconds | ||
| [2011/11/01 01:07:48] @ Quit: liff: Ping timeout: 244 seconds | ||
| [2011/11/01 01:08:19] @ ezryx joined channel #puppet | ||
| [2011/11/01 01:09:20] @ jsm joined channel #puppet | ||
| [2011/11/01 01:11:40] @ lkoranda joined channel #puppet | ||
| [2011/11/01 01:12:03] @ Quit: lkoranda: Client Quit | ||
| [2011/11/01 01:12:32] @ lkoranda joined channel #puppet | ||
| [2011/11/01 01:13:03] @ liff joined channel #puppet | ||
| [2011/11/01 01:16:39] @ jongrocho joined channel #puppet | ||
| [2011/11/01 01:21:26] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/01 01:22:55] @ hal-j joined channel #puppet | ||
| [2011/11/01 01:22:59] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 01:27:49] @ Quit: hggh: Ping timeout: 240 seconds | ||
| [2011/11/01 01:27:54] @ hggh joined channel #puppet | ||
| [2011/11/01 01:28:08] @ MartVisser joined channel #puppet | ||
| [2011/11/01 01:30:39] @ Gwayne joined channel #puppet | ||
| [2011/11/01 01:34:41] @ Ramonster joined channel #puppet | ||
| [2011/11/01 01:36:32] @ trickyf joined channel #puppet | ||
| [2011/11/01 01:38:13] @ Quit: brunix: Ping timeout: 240 seconds | ||
| [2011/11/01 01:38:27] @ brunix joined channel #puppet | ||
| [2011/11/01 01:39:21] @ Quit: AlanJenkins: Ping timeout: 260 seconds | ||
| [2011/11/01 01:39:41] @ gwmngilfen joined channel #puppet | ||
| [2011/11/01 01:39:48] @ BrickBag joined channel #puppet | ||
| [2011/11/01 01:41:50] @ ckauhaus joined channel #puppet | ||
| [2011/11/01 01:45:36] @ Quit: flamboz: Ping timeout: 240 seconds | ||
| [2011/11/01 01:45:49] @ Quit: BrickBag: Remote host closed the connection | ||
| [2011/11/01 01:46:10] @ BrickBag joined channel #puppet | ||
| [2011/11/01 01:47:28] @ cielo joined channel #puppet | ||
| [2011/11/01 01:50:52] @ cielo left channel #puppet () | ||
| [2011/11/01 01:52:32] @ Quit: BrickBag: Ping timeout: 248 seconds | ||
| [2011/11/01 01:53:34] @ BrickBag joined channel #puppet | ||
| [2011/11/01 01:54:16] @ jodok joined channel #puppet | ||
| [2011/11/01 01:54:17] @ Quit: jodok: Changing host | ||
| [2011/11/01 01:54:17] @ jodok joined channel #puppet | ||
| [2011/11/01 01:56:47] @ toi joined channel #puppet | ||
| [2011/11/01 01:57:12] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/01 01:57:26] @ verwilst joined channel #puppet | ||
| [2011/11/01 01:57:27] @ mmoya joined channel #puppet | ||
| [2011/11/01 01:58:03] @ magicalt1out is now known as magicaltrout | ||
| [2011/11/01 01:58:24] @ Quit: BrickBag: Ping timeout: 248 seconds | ||
| [2011/11/01 01:58:38] @ BrickBag joined channel #puppet | ||
| [2011/11/01 02:00:19] @ flamboz joined channel #puppet | ||
| [2011/11/01 02:02:49] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 02:02:49] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 02:03:30] @ jbraeuer joined channel #puppet | ||
| [2011/11/01 02:03:36] <jbraeuer> | ||
| [2011/11/01 02:04:19] @ csanchez joined channel #puppet | ||
| [2011/11/01 02:04:33] @ Quit: BrickBag: Ping timeout: 245 seconds | ||
| [2011/11/01 02:16:27] <jbraeuer> I currently enhance the mcollective package plugin. Anybody in here, who could help me with the rspec-tests? They fail for me. | ||
| [2011/11/01 02:19:21] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 02:22:02] @ BrickBag joined channel #puppet | ||
| [2011/11/01 02:22:50] @ sebnash joined channel #puppet | ||
| [2011/11/01 02:23:53] <Raboo> is there a simple puppet module template | ||
| [2011/11/01 02:24:01] <Raboo> i'm going to write my own module | ||
| [2011/11/01 02:25:42] @ Andorka joined channel #puppet | ||
| [2011/11/01 02:27:39] <Andorka> hello | ||
| [2011/11/01 02:27:40] <henk> Raboo: The directory structure is given in the docs. | ||
| [2011/11/01 02:27:49] <Andorka> where i must keep custom functions? | ||
| [2011/11/01 02:28:00] @ Quit: BrickBag: Ping timeout: 255 seconds | ||
| [2011/11/01 02:28:03] <Andorka> i place my firsh function in ./puppet/parser/functions/fetch.rb | ||
| [2011/11/01 02:28:20] @ BrickBag joined channel #puppet | ||
| [2011/11/01 02:29:17] @ nomyself joined channel #puppet | ||
| [2011/11/01 02:31:43] @ xizhendu joined channel #puppet | ||
| [2011/11/01 02:32:58] <Andorka> # puppet apply layman.pp | ||
| [2011/11/01 02:32:58] <Andorka> Function 'fetch' does not return a value at /home/andor/puppet/layman.pp:9 on node localhost | ||
| [2011/11/01 02:33:06] <Andorka> obviously | ||
| [2011/11/01 02:33:49] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/11/01 02:34:10] @ Quit: xizhendu_: Ping timeout: 252 seconds | ||
| [2011/11/01 02:34:14] @ Quit: nomyself: Remote host closed the connection | ||
| [2011/11/01 02:36:11] @ Quit: BrickBag: Ping timeout: 260 seconds | ||
| [2011/11/01 02:36:35] <Raboo> the module i'm going to write, needs to fetch files, depending on OS and architecture | ||
| [2011/11/01 02:36:47] <Raboo> and only if it aint installed. | ||
| [2011/11/01 02:36:55] <Raboo> so where should i begin? | ||
| [2011/11/01 02:37:15] <Raboo> a case with architecture, OS? or a if? | ||
| [2011/11/01 02:37:45] <Andorka> Raboo: http://docs.puppetlabs.com/references/stable/type.html#file | ||
| [2011/11/01 02:38:04] <Andorka> look at examples in "source" | ||
| [2011/11/01 02:38:43] <Raboo> but i'm speaking of the design of the module | ||
| [2011/11/01 02:39:01] <Raboo> what should be my first step. | ||
| [2011/11/01 02:39:02] <Andorka> oh, sorrt | ||
| [2011/11/01 02:39:05] <Andorka> *sorry | ||
| [2011/11/01 02:39:20] <Raboo> 1. checking for arch, 2. checking for os, 3. checking if it is installed | ||
| [2011/11/01 02:39:23] @ carltonb joined channel #puppet | ||
| [2011/11/01 02:39:41] <Raboo> like which order i should use those three | ||
| [2011/11/01 02:39:47] <Raboo> i've never written a module before | ||
| [2011/11/01 02:40:10] <henk> Raboo: That’s not related to modules… | ||
| [2011/11/01 02:40:39] <Raboo> not? | ||
| [2011/11/01 02:40:54] <Raboo> well a class then? | ||
| [2011/11/01 02:41:11] <henk> A module is only a collection of manifests, files, templates and such. What your manifest does is in almost no way dependent on whether it is in a module or not… | ||
| [2011/11/01 02:41:45] <Raboo> ok. I'm writing a class, not a module. I stand corrected. | ||
| [2011/11/01 02:41:52] <Raboo> or a manifest | ||
| [2011/11/01 02:42:27] <henk> It has to contain classes named like the module in its manifests. | ||
| [2011/11/01 02:43:06] <dcarley> henk: don't be such a pedant :) | ||
| [2011/11/01 02:43:20] <henk> What you do, how you do it and in which order you do it just depends on what you actually want to achieve. | ||
| [2011/11/01 02:43:39] <henk> dcarley: Why not? Computers are usually too and that’s what we are working with here :) | ||
| [2011/11/01 02:44:03] @ Quit: zekus: Quit: Page closed | ||
| [2011/11/01 02:45:13] @ sihil joined channel #puppet | ||
| [2011/11/01 02:48:00] @ adreams3 is now known as adreams | ||
| [2011/11/01 02:48:55] <Raboo> well none of that anwsers my question | ||
| [2011/11/01 02:49:07] @ skm joined channel #puppet | ||
| [2011/11/01 02:50:18] <dcarley> Raboo: i suggest you attack it any which way you fancy. then you have something that you can test and refine upon. | ||
| [2011/11/01 02:50:53] <dcarley> Raboo: if you're talking simply about file resources then you don't care about 3) checking if it's installed. puppet will do this for you. | ||
| [2011/11/01 02:50:56] @ m1ndsurfer joined channel #puppet | ||
| [2011/11/01 02:51:14] <Raboo> dcarley i want to do it correct from the start.. since i'm not a programmer and this will be my first puppet class, i ask those with more experience | ||
| [2011/11/01 02:52:14] <Raboo> dcarley well it's more than that. I have u upload files from the puppet server with tared rpms, run a script localy the checks for prerequirees and then install | ||
| [2011/11/01 02:52:17] @ kolla joined channel #puppet | ||
| [2011/11/01 02:52:45] <Raboo> i'm gonig to create module, containing a manifest, containing a class to install HP OpenView Agents | ||
| [2011/11/01 02:52:48] @ sunny_ joined channel #puppet | ||
| [2011/11/01 02:52:50] <m1ndsurfer> What's the correct way to ensure a directory and all its contents are owned by a particular user/group? I used recurse=>true and it's taking an *age*. | ||
| [2011/11/01 02:53:00] <Raboo> henk did i get it right this time ?;) | ||
| [2011/11/01 02:53:33] <henk> Raboo: ACK :) | ||
| [2011/11/01 02:53:43] @ Quit: Mandus: Ping timeout: 245 seconds | ||
| [2011/11/01 02:54:03] <sunny_> I am trying to install the mcollective plugin called "service".... while installing it gives me an error service.rb:10: uninitialized constant MCollective::Agent::RPC (NameError) | ||
| [2011/11/01 02:55:12] <henk> Raboo: IMHO the part about copying rpms, running scripts and such is pretty unclean, the cleanest manifest will still look like a mess IMHO, but, as dcarley said, I actually am a pedant and IMHO a repository to install the software using a package resource from would be much more elegant. | ||
| [2011/11/01 03:00:51] <dcarley> Raboo: if you don't feel comfortable putting down real code then start by writing pseduo code into a pastie. | ||
| [2011/11/01 03:01:45] <dcarley> Raboo: it's hard to people to make suggestions if they don't have a complete picture to work from. currently only you have that. | ||
| [2011/11/01 03:02:28] @ Mandus joined channel #puppet | ||
| [2011/11/01 03:03:12] @ valentin joined channel #puppet | ||
| [2011/11/01 03:04:33] @ valentin1 joined channel #puppet | ||
| [2011/11/01 03:08:16] @ Quit: valentin: Ping timeout: 260 seconds | ||
| [2011/11/01 03:09:03] @ valentin1 is now known as valentin | ||
| [2011/11/01 03:09:54] <Raboo> hmm | ||
| [2011/11/01 03:10:05] <Raboo> i can do that | ||
| [2011/11/01 03:10:56] @ hal-j joined channel #puppet | ||
| [2011/11/01 03:11:02] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/01 03:11:17] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 03:12:51] <Raboo> this is my basic layout idea: | ||
| [2011/11/01 03:12:53] <Raboo> http://www.pastie.org/2792661 | ||
| [2011/11/01 03:13:11] <Raboo> one question that comes to mind directly | ||
| [2011/11/01 03:13:30] <Raboo> can i do a include with a parameter as in the parameterized classed | ||
| [2011/11/01 03:13:33] <Raboo> classeS* | ||
| [2011/11/01 03:19:24] @ Quit: valentin: Quit: Leaving. | ||
| [2011/11/01 03:19:28] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/11/01 03:20:12] <Raboo> or perhaps it's better to have the $architecture in ovo::linux | ||
| [2011/11/01 03:21:03] @ nopassword joined channel #puppet | ||
| [2011/11/01 03:22:19] @ nopassword1 joined channel #puppet | ||
| [2011/11/01 03:22:20] @ Quit: nopassword1: Client Quit | ||
| [2011/11/01 03:22:33] @ skm joined channel #puppet | ||
| [2011/11/01 03:25:46] @ Quit: nopassword: Ping timeout: 260 seconds | ||
| [2011/11/01 03:25:50] @ Holocaine joined channel #puppet | ||
| [2011/11/01 03:27:06] <sunny_> I am trying to install the mcollective plugin called "service".... while installing it gives me an error service.rb:10: uninitialized constant MCollective::Agent::RPC (NameError) | ||
| [2011/11/01 03:27:44] @ BrickBag joined channel #puppet | ||
| [2011/11/01 03:33:15] @ Quit: BrickBag: Ping timeout: 255 seconds | ||
| [2011/11/01 03:33:19] <Raboo> sunny_ try #mcollective perhaps | ||
| [2011/11/01 03:33:52] @ BrickBag joined channel #puppet | ||
| [2011/11/01 03:34:43] <dcarley> Raboo: do you have linux distros not listed in that case statement that you're worried about accidentally installing to? | ||
| [2011/11/01 03:35:07] <Raboo> nope... | ||
| [2011/11/01 03:35:13] <Raboo> well, maybe | ||
| [2011/11/01 03:35:29] <dcarley> then you can simplify the manifest by throwing that logic away. | ||
| [2011/11/01 03:35:32] <Raboo> cause these openview package comes with rpms | ||
| [2011/11/01 03:35:48] <Raboo> does that work on ubuntu and debian? | ||
| [2011/11/01 03:35:49] @ Quit: arnihermann: Ping timeout: 240 seconds | ||
| [2011/11/01 03:35:54] @ arnihermann joined channel #puppet | ||
| [2011/11/01 03:36:02] <dcarley> same for the architecture case statement. | ||
| [2011/11/01 03:36:30] <Raboo> but there are diffrent agents for linux and solaris and hp-ux | ||
| [2011/11/01 03:36:52] <henk> Raboo: No, ubuntu and debian need .debs | ||
| [2011/11/01 03:37:15] <dcarley> probably not. but frankly, if you're not at the stage of publishing modules yet, then don't worry about compatibility that you'll never need to support. | ||
| [2011/11/01 03:38:11] <dcarley> it's a deep dark rabbit warren. keep things simple to begin with. | ||
| [2011/11/01 03:38:17] <Raboo> but i want to write it so not only i can use it. So the community can use it.. | ||
| [2011/11/01 03:38:52] <Raboo> but i atleast want a design, that can work for other OS's | ||
| [2011/11/01 03:39:03] <henk> Noble goal… | ||
| [2011/11/01 03:39:11] <Raboo> for instance i can have a empty class that does nothing in hp-ux as of now | ||
| [2011/11/01 03:40:09] <Raboo> but dcarley instead of having all those distros listed, what should i have instead? is there a "Linux-general"? | ||
| [2011/11/01 03:40:19] <Raboo> or should i use "default" | ||
| [2011/11/01 03:41:26] @ Quit: BrickBag: Ping timeout: 256 seconds | ||
| [2011/11/01 03:43:22] <henk> Write what you need and what you are capable of. Skip the rest. IMHO. | ||
| [2011/11/01 03:44:56] @ slap_stick joined channel #puppet | ||
| [2011/11/01 03:48:18] @ Quit: doo: Read error: Connection reset by peer | ||
| [2011/11/01 03:48:29] <slap_stick> Hey say I have a module bob and in manifests I had init.pp class bob {} but then had subdirectories address and number.pp class bob::address::number {} I'm guessing I can include that class without including address::name In the main init.pp? | ||
| [2011/11/01 03:48:36] @ skoom joined channel #puppet | ||
| [2011/11/01 03:48:53] @ Quit: sunny_: Quit: Page closed | ||
| [2011/11/01 03:49:04] @ Quit: skoom: Read error: Connection reset by peer | ||
| [2011/11/01 03:49:09] <dcarley> Raboo: that's cool. but don't go overboard while starting out. start simple and then iterate when you can test. | ||
| [2011/11/01 03:49:26] @ doo joined channel #puppet | ||
| [2011/11/01 03:49:38] <Raboo> ok | ||
| [2011/11/01 03:49:43] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/11/01 03:49:57] <Raboo> i've updated the paste with my progress | ||
| [2011/11/01 03:50:00] <Raboo> :) | ||
| [2011/11/01 03:52:10] <henk> slap_stick: I don’t think so, but you could just give it a try ;) | ||
| [2011/11/01 03:52:46] <dcarley> Raboo: you can probably switch on $::kernel, SunOS or Linux. | ||
| [2011/11/01 03:53:38] @ Quit: Enf: Quit: Leaving | ||
| [2011/11/01 03:53:46] <dcarley> Raboo: the separate architectures for linux probably don't warrant different classes. if the only difference is a package name. | ||
| [2011/11/01 03:54:33] <Raboo> ok | ||
| [2011/11/01 03:54:56] <Raboo> is puppets file server good to use? | ||
| [2011/11/01 03:55:57] <dcarley> Raboo: it's great for config files. it's not suited for pushing out binaries like packages though. they are best distributed by your OS's normal package mechanism, like a Yum repository. | ||
| [2011/11/01 03:56:17] <Raboo> but this is HP crap | ||
| [2011/11/01 03:56:39] <Raboo> the package contains a bunch of tared rpms | ||
| [2011/11/01 03:56:43] <Raboo> with a install script | ||
| [2011/11/01 03:56:47] <dcarley> are they real RPMs? or shell scripts with binary content embedded? | ||
| [2011/11/01 03:57:12] <Raboo> that checks for prequiries and sets the OV server and certificate server settings | ||
| [2011/11/01 03:58:26] <Raboo> here is a snip from that script | ||
| [2011/11/01 03:58:29] <Raboo> preinst="gzip -d -f ${DIRNAME}/${FS_name}.${package_extention}" | ||
| [2011/11/01 03:58:29] <Raboo> exeinst="rpm ${inst_flag} ${DIRNAME}/${FS_name}.rpm" | ||
| [2011/11/01 03:59:12] <Raboo> and every rpm got a .xml file with same namne | ||
| [2011/11/01 03:59:15] @ BrickBag joined channel #puppet | ||
| [2011/11/01 03:59:33] <Raboo> # wc -l opc_inst | ||
| [2011/11/01 03:59:34] <Raboo> 9184 opc_inst | ||
| [2011/11/01 03:59:37] <Raboo> it's a big script | ||
| [2011/11/01 03:59:40] <dcarley> sheesh. | ||
| [2011/11/01 03:59:54] <Raboo> i'm not planning disect it. | ||
| [2011/11/01 04:01:07] <henk> Why can’t vendors just provide stuff in standardized formats!? 'sigh' | ||
| [2011/11/01 04:01:19] <Raboo> don't know | ||
| [2011/11/01 04:01:21] @ Quit: mosen: Remote host closed the connection | ||
| [2011/11/01 04:01:26] <henk> Raboo: Do you actually _need_ that stuff or is it just nice to have? | ||
| [2011/11/01 04:01:34] <Raboo> why can't all distros use same package manager? | ||
| [2011/11/01 04:02:00] <Raboo> henk the openview? | ||
| [2011/11/01 04:02:14] <Raboo> it's our surveillance agents | ||
| [2011/11/01 04:02:21] <henk> Raboo: Anything packaged in a non-standard way… | ||
| [2011/11/01 04:02:34] <Raboo> well i can't do anything about it | ||
| [2011/11/01 04:02:38] <henk> I guess that’s supposed to be a “yes” | ||
| [2011/11/01 04:02:59] <henk> i.e. “I need it, no way around it”, my sympathies | ||
| [2011/11/01 04:03:48] <Raboo> yes | ||
| [2011/11/01 04:07:11] @ bobra left channel #puppet () | ||
| [2011/11/01 04:07:34] @ bobra joined channel #puppet | ||
| [2011/11/01 04:07:40] <henk> IIRC hp offers some apt repository. But as everything on the HP homepage it is hidden very well behind lots of different layouts and a confusing website structure. Have you considered that there might be a repo for your OS’ from HP? | ||
| [2011/11/01 04:08:50] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 04:08:50] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 04:10:58] @ RhysMorgan joined channel #puppet | ||
| [2011/11/01 04:14:18] @ ingarS joined channel #puppet | ||
| [2011/11/01 04:15:17] @ ken_barber joined channel #puppet | ||
| [2011/11/01 04:16:29] @ Quit: BrickBag: Ping timeout: 252 seconds | ||
| [2011/11/01 04:16:57] @ BrickBag joined channel #puppet | ||
| [2011/11/01 04:19:56] @ Razique joined channel #puppet | ||
| [2011/11/01 04:20:50] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/01 04:23:14] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/01 04:24:59] @ Quit: slap_stick: Remote host closed the connection | ||
| [2011/11/01 04:25:32] <Raboo> henk my searches run dry | ||
| [2011/11/01 04:25:47] @ skm joined channel #puppet | ||
| [2011/11/01 04:26:22] @ Quit: sam_: Quit: leaving | ||
| [2011/11/01 04:26:49] @ DJClean joined channel #puppet | ||
| [2011/11/01 04:27:35] <bobra> Raboo: im not sure whether this is what you are looking for http://h18004.www1.hp.com/products/servers/linux/documentation.html | ||
| [2011/11/01 04:29:08] @ Quit: BrickBag: Ping timeout: 245 seconds | ||
| [2011/11/01 04:30:20] <Raboo> not quite | ||
| [2011/11/01 04:32:48] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/01 04:33:34] @ jonhattan joined channel #puppet | ||
| [2011/11/01 04:34:05] @ Quit: nated: Ping timeout: 252 seconds | ||
| [2011/11/01 04:35:23] @ johnston joined channel #puppet | ||
| [2011/11/01 04:35:49] @ DJClean joined channel #puppet | ||
| [2011/11/01 04:36:44] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 04:36:44] @ hal-j joined channel #puppet | ||
| [2011/11/01 04:42:56] @ mauve_ is now known as mauve | ||
| [2011/11/01 04:45:21] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/01 04:47:02] @ kelseyhightower joined channel #puppet | ||
| [2011/11/01 04:50:16] @ lwhalen joined channel #puppet | ||
| [2011/11/01 04:52:36] @ Stenbryggen joined channel #puppet | ||
| [2011/11/01 04:52:39] @ DJClean joined channel #puppet | ||
| [2011/11/01 04:53:48] @ Quit: flamboz: Ping timeout: 276 seconds | ||
| [2011/11/01 04:56:10] @ Latro7 joined channel #puppet | ||
| [2011/11/01 05:00:35] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 05:00:47] @ Quit: Holocaine: | ||
| [2011/11/01 05:00:49] @ hal-j joined channel #puppet | ||
| [2011/11/01 05:05:11] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/01 05:06:09] @ DJClean joined channel #puppet | ||
| [2011/11/01 05:06:12] @ Quit: choonming: Quit: Leaving | ||
| [2011/11/01 05:10:15] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/01 05:14:34] @ ja-s joined channel #puppet | ||
| [2011/11/01 05:15:36] @ spiette joined channel #puppet | ||
| [2011/11/01 05:16:53] @ sidbe15 joined channel #puppet | ||
| [2011/11/01 05:17:18] @ lkoranda joined channel #puppet | ||
| [2011/11/01 05:17:38] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/01 05:17:44] @ Quit: sidbe15: Client Quit | ||
| [2011/11/01 05:19:57] @ Quit: carltonb: Quit: Client Exiting | ||
| [2011/11/01 05:30:00] @ Quit: sihil: Read error: Connection reset by peer | ||
| [2011/11/01 05:31:32] @ astrostl joined channel #puppet | ||
| [2011/11/01 05:34:17] @ sduchesneau joined channel #puppet | ||
| [2011/11/01 05:34:38] @ frostynova joined channel #puppet | ||
| [2011/11/01 05:38:56] @ edahs joined channel #puppet | ||
| [2011/11/01 05:39:42] @ Quit: Gwayne: Remote host closed the connection | ||
| [2011/11/01 05:40:09] <edahs> is there a way to run the puppet client so it just alerts to changes needed and then execute those changes via puppetrun? | ||
| [2011/11/01 05:40:44] @ Evolution left channel #puppet ("http://www.bofh-hunter.com") | ||
| [2011/11/01 05:41:01] @ hooper joined channel #puppet | ||
| [2011/11/01 05:41:40] <edahs> i considered running with noop but then if executing with puppetrun, it appears to still run in noop | ||
| [2011/11/01 05:43:21] @ jrcarlsen joined channel #puppet | ||
| [2011/11/01 05:43:54] <jrcarlsen> How do you use multidimensional arrays in Puppet templates? | ||
| [2011/11/01 05:44:05] <jrcarlsen> Does anyone have an example? | ||
| [2011/11/01 05:44:51] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 05:44:58] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 05:45:27] <jrcarlsen> In my case I want to define some backends for haproxy: backends = [['back01', '10.10.10.1'], ['back02', '10.10.10.4']] | ||
| [2011/11/01 05:47:22] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/11/01 05:47:32] <fragfutter> jrcarlsen: should be <%= backends[0][0] %> -> back01 | ||
| [2011/11/01 05:48:51] @ Latro7 left channel #puppet () | ||
| [2011/11/01 05:49:07] @ Quit: m1ndsurfer: Ping timeout: 265 seconds | ||
| [2011/11/01 05:50:44] <jrcarlsen> fragfutter: I tried that, hold on I'll drop my template on pastebin | ||
| [2011/11/01 05:52:19] @ Quit: edahs: Quit: BitchX: now with flavor crystals! | ||
| [2011/11/01 05:52:37] @ Quit: hooper: Ping timeout: 240 seconds | ||
| [2011/11/01 05:53:27] @ caviwipes joined channel #puppet | ||
| [2011/11/01 05:53:33] @ slap_stick joined channel #puppet | ||
| [2011/11/01 05:54:01] <jrcarlsen> <% front01_sdv_backends.each do |backend| -%> | ||
| [2011/11/01 05:54:01] <jrcarlsen> # server <%= backend[0] %> <%= backend[1] %>:80 check | ||
| [2011/11/01 05:54:01] <jrcarlsen> <% end -%> | ||
| [2011/11/01 05:54:27] <jrcarlsen> fragfutter: I tried to loop over the backends | ||
| [2011/11/01 05:55:33] @ Quit: bobra: Ping timeout: 276 seconds | ||
| [2011/11/01 05:55:36] @ rsnhyperion joined channel #puppet | ||
| [2011/11/01 05:55:50] <jrcarlsen> # server 98 97:80 check | ||
| [2011/11/01 05:56:01] @ cliff-hm joined channel #puppet | ||
| [2011/11/01 05:56:04] <jrcarlsen> fragfutter: This is what ends up in my config file | ||
| [2011/11/01 05:58:39] <fragfutter> so your array is not a 2d array. | ||
| [2011/11/01 05:58:49] <fragfutter> or has the wrong content | ||
| [2011/11/01 05:58:57] @ Quit: labrown: Quit: Leaving | ||
| [2011/11/01 05:59:44] <fragfutter> this works as expected http://pastie.org/2793274 | ||
| [2011/11/01 06:01:48] @ seanmil joined channel #puppet | ||
| [2011/11/01 06:02:05] <jrcarlsen> fragfutter: thanks, I'll take a look | ||
| [2011/11/01 06:06:53] <jrcarlsen> root@front01:~# cat /tmp/test | ||
| [2011/11/01 06:06:55] <jrcarlsen> server 98 97;server 49 48;server 98 97;server 49 48; | ||
| [2011/11/01 06:07:01] <jrcarlsen> fragfutter: same result | ||
| [2011/11/01 06:07:06] @ zwi joined channel #puppet | ||
| [2011/11/01 06:07:13] @ Quit: slap_stick: Remote host closed the connection | ||
| [2011/11/01 06:07:25] @ Quit: jodok: Quit: jodok | ||
| [2011/11/01 06:08:01] <jrcarlsen> fragfutter: root@front01:~# puppetd -V | ||
| [2011/11/01 06:08:02] <jrcarlsen> 2.6.1 | ||
| [2011/11/01 06:08:32] <lisa> hrmph. yumrepo type doesn't support the sslcacert attribute, which appears in a .repo file. | ||
| [2011/11/01 06:09:27] @ jodok joined channel #puppet | ||
| [2011/11/01 06:09:27] @ Quit: jodok: Changing host | ||
| [2011/11/01 06:09:28] @ jodok joined channel #puppet | ||
| [2011/11/01 06:11:30] @ Quit: oholiab: Ping timeout: 258 seconds | ||
| [2011/11/01 06:13:05] @ Quit: ashp: Quit: Lost terminal | ||
| [2011/11/01 06:13:13] @ ashp joined channel #puppet | ||
| [2011/11/01 06:13:50] @ abetterlie joined channel #puppet | ||
| [2011/11/01 06:14:51] <jrcarlsen> fragfutter: Did you try your own example? | ||
| [2011/11/01 06:15:49] <unixdaemon> lisa: looks easy enough to patch in | ||
| [2011/11/01 06:15:54] <RhysMorgan> Hi All, is there an install guide for the latest release of puppet on SLES 11? | ||
| [2011/11/01 06:16:11] <lisa> unixdaemon: i'll just manage a .repo file instead. seems to be more flexible. | ||
| [2011/11/01 06:16:51] <unixdaemon> lisa: raise a ticket for it to be added - won't help you now but will in a month or two. | ||
| [2011/11/01 06:17:18] <lisa> unixdaemon: there are too many shortcomings of the yumrepo type. it is honestly better for people to simply manage a file. | ||
| [2011/11/01 06:17:41] <lisa> besides, i don't think i have an account on the issue tracker. | ||
| [2011/11/01 06:17:46] @ ldlework joined channel #puppet | ||
| [2011/11/01 06:17:48] <unixdaemon> I can see your point but it'll never get better unless people log what's missing from it. | ||
| [2011/11/01 06:17:58] <lisa> it would be better for it to go away. | ||
| [2011/11/01 06:18:01] <lisa> it's redundant | ||
| [2011/11/01 06:18:06] <unixdaemon> Heh | ||
| [2011/11/01 06:18:07] @ blentz joined channel #puppet | ||
| [2011/11/01 06:18:10] @ oholiab_ joined channel #puppet | ||
| [2011/11/01 06:20:15] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 06:20:54] @ anthonysomerset joined channel #puppet | ||
| [2011/11/01 06:21:40] @ Quit: kolla: Remote host closed the connection | ||
| [2011/11/01 06:22:26] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/01 06:22:27] @ Quit: Razique: Ping timeout: 244 seconds | ||
| [2011/11/01 06:22:38] @ Quit: ldlework: Quit: Leaving | ||
| [2011/11/01 06:23:20] @ ldlework joined channel #puppet | ||
| [2011/11/01 06:23:36] @ mcarpent joined channel #puppet | ||
| [2011/11/01 06:24:05] @ lborda joined channel #puppet | ||
| [2011/11/01 06:26:13] <anthonysomerset> hi i'm trying to find some updated documentation for using puppet with nginx and passenger, is there any available? | ||
| [2011/11/01 06:31:08] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/01 06:31:21] @ zwi joined channel #puppet | ||
| [2011/11/01 06:34:39] <jmslagle> Hrm | ||
| [2011/11/01 06:34:49] <jmslagle> I don't see where Katello is using foreman... | ||
| [2011/11/01 06:37:56] @ MrPunch joined channel #puppet | ||
| [2011/11/01 06:38:58] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/11/01 06:39:23] <MrPunch> Hi, can anyone point me to some good docs on puppet file resources? I'm getting 400 errors with a "not authorized to find file on xxx" errors | ||
| [2011/11/01 06:39:53] @ codehotter joined channel #puppet | ||
| [2011/11/01 06:40:24] <MrPunch> I've checked here - http://docs.puppetlabs.com/guides/file_serving.html and i'm pretty sure my config is ok but need some pointers figuring it out | ||
| [2011/11/01 06:40:43] <MrPunch> err: /Stage[main]/Sudo/File[/etc/sudoers]: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/files/etc/sudoers Could not retrieve file metadata for puppet://watford-puppetmaster.pbi.global.pvt/files/etc/sudoers: Error 400 on SERVER: Not authorized to call find on /file_metadata/files/etc/sudoers at /etc/puppet/manifests/site.pp:7 | ||
| [2011/11/01 06:40:55] <codehotter> I put a node in /etc/puppet/manifests/nodes/u603.mydomain.test.pp | ||
| [2011/11/01 06:41:08] <codehotter> then I run puppet agent --test --noop on the node with that hostname | ||
| [2011/11/01 06:41:24] <jmslagle> codehotter: Check the fileserver.conf | ||
| [2011/11/01 06:42:03] <jmslagle> That's an anti-pattern these days though. The current recommendation is that files are included with the modules they support. | ||
| [2011/11/01 06:42:18] <MrPunch> that's what i've done | ||
| [2011/11/01 06:42:39] <jmslagle> Oh I'm mixing people up :) | ||
| [2011/11/01 06:42:46] <MrPunch> so i've followed the first section of that doc that basically says don't but anything in fileserver.conf | ||
| [2011/11/01 06:42:46] <jmslagle> MrPunch is having the 400's | ||
| [2011/11/01 06:42:47] <codehotter> jmslagle: I assume you were answering MrPunch but the same answer applies to me. My issue was my fileserver.conf | ||
| [2011/11/01 06:42:51] @ Quit: kubicek: Excess Flood | ||
| [2011/11/01 06:42:54] <codehotter> I'm having 400s too | ||
| [2011/11/01 06:43:02] <codehotter> Thanks! | ||
| [2011/11/01 06:43:20] <jmslagle> The file should be something along the lines of puppet:///modules/modulename/sudoers | ||
| [2011/11/01 06:43:36] <jmslagle> puppet://watford-puppetmaster.pbi.global.pvt/modules/sudo/sudoers would work | ||
| [2011/11/01 06:43:40] <jmslagle> Assuming the module is called sudo | ||
| [2011/11/01 06:43:42] @ kubicek joined channel #puppet | ||
| [2011/11/01 06:43:44] <codehotter> Can you explain what you mean with "Files should be inculded with the modules they support?" What's the rationale behind that? Is that true even if the module is used by many nodes? | ||
| [2011/11/01 06:43:48] <jmslagle> then put it in the files directory as sudoers | ||
| [2011/11/01 06:43:54] <codehotter> shouldn't the module be generic, used in many installations, while the files are not? | ||
| [2011/11/01 06:44:19] <jmslagle> codehotter: You can handle that by passing an array of file references to allow them to be different | ||
| [2011/11/01 06:44:20] <codehotter> Forgive me if askin gstupid questions | ||
| [2011/11/01 06:44:21] <jmslagle> Something like | ||
| [2011/11/01 06:44:24] <MrPunch> my file is /etc/puppet/modules/sudo/files/etc/sudoers | ||
| [2011/11/01 06:44:51] @ Quit: VladGh: Remote host closed the connection | ||
| [2011/11/01 06:44:59] <jmslagle> source => [ "puppet:///modules/sudo/sudoers.${hostname}", "puppet:///modules/sudo/sudoers" ], | ||
| [2011/11/01 06:45:06] <jmslagle> MrPunch: Try puppet | ||
| [2011/11/01 06:45:07] <lisa> the only stupid questions are the ones unasked. | ||
| [2011/11/01 06:45:19] <jmslagle> puppet:///modules/sudo/etc/sudoers | ||
| [2011/11/01 06:45:37] <MrPunch> and my source is source => "puppet:///modules/sudo/etc/sudoers", | ||
| [2011/11/01 06:45:43] <jmslagle> The hostname is optional - if you don't specify it it'll connect back to the server it's talking to | ||
| [2011/11/01 06:46:10] <MrPunch> yep, I have that | ||
| [2011/11/01 06:46:22] <fragfutter> jrcarlsen: yes i tried it. | ||
| [2011/11/01 06:46:34] <jmslagle> MrPunch: Can you pastie the manifest and the error from the puppetmaster log? | ||
| [2011/11/01 06:47:23] <MrPunch> sure, this is just from the pro puppet book | ||
| [2011/11/01 06:47:32] <MrPunch> class sudo { package { sudo: ensure => present, } file { owner => "root", group => "root", mode => 0440, source => "puppet:///modules/sudo/etc/sudoers", require => Package['sudo'], } } | ||
| [2011/11/01 06:47:48] <jmslagle> MrPunch: pastie.org | ||
| [2011/11/01 06:47:49] <jmslagle> :) | ||
| [2011/11/01 06:47:56] <jmslagle> Throw the log from the master there | ||
| [2011/11/01 06:48:02] <codehotter> jmslagle: but that would require me to deploy installation-specific data as if it were part of the module. What's the reasoning behind this? If you hadn't told me I'd have expected best practice to be ["puppet:///files/$hostname/sudo/etc/sudoers", "puppet:///files/sudo/etc/sudoers"] | ||
| [2011/11/01 06:48:39] <jmslagle> codehotter: While that works, it doesn't bundle the needed files with the module, so they can get spatted all over. | ||
| [2011/11/01 06:48:45] @ cityLights joined channel #puppet | ||
| [2011/11/01 06:49:00] <jmslagle> The reason they get bundled with the module is so they are in source control with the module | ||
| [2011/11/01 06:49:44] <cityLights> how can I tell which class invokes an erb? | ||
| [2011/11/01 06:49:58] <codehotter> hmmm- but that's exactly what is confusing me. The module is generic across many installations, I would expect it to be in source control separately from files specific to one installation of that module. | ||
| [2011/11/01 06:50:08] <cityLights> in the erb, can I use $class tell which class called me? | ||
| [2011/11/01 06:50:10] <jmslagle> codehotter: Define installations? | ||
| [2011/11/01 06:50:21] <jmslagle> Are you running seperate puppetmasters? | ||
| [2011/11/01 06:50:27] <codehotter> jmslagle: pupet server at company A, puppet server at company B, etc | ||
| [2011/11/01 06:50:31] <ohadlevy> jmslagle: not in the first katello release | ||
| [2011/11/01 06:50:34] <jmslagle> Ahh | ||
| [2011/11/01 06:50:44] <jmslagle> When you bundle modules you genericize them. | ||
| [2011/11/01 06:51:26] <jmslagle> But for instance, how would you share an ssh module that didn't come with any configs or templates :) | ||
| [2011/11/01 06:51:35] @ anthonysomerset left channel #puppet () | ||
| [2011/11/01 06:51:37] <jmslagle> It's expected when you use a module you will likely edit the stuff in files/ | ||
| [2011/11/01 06:51:42] <jmslagle> ohadlevy: Ahh | ||
| [2011/11/01 06:51:44] @ anthonysomerset joined channel #puppet | ||
| [2011/11/01 06:52:14] @ uphillian joined channel #puppet | ||
| [2011/11/01 06:52:21] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/01 06:52:36] @ kermit joined channel #puppet | ||
| [2011/11/01 06:52:46] <codehotter> jmslagle: alright, that makes sense. I'd have thought the files/ stuff contain files that are used in many installations of the module and each installation separately keeps the files specific to their installation. | ||
| [2011/11/01 06:52:54] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 06:52:55] <cityLights> I know I can use $architecture | ||
| [2011/11/01 06:52:57] <codehotter> but I'm starting to see the benefits of your recommendation | ||
| [2011/11/01 06:53:02] @ hal-j joined channel #puppet | ||
| [2011/11/01 06:53:22] <MrPunch> aha, fixed my problem - two things were causing it | ||
| [2011/11/01 06:53:24] @ Quit: toi: Ping timeout: 276 seconds | ||
| [2011/11/01 06:53:44] <jmslagle> cityLights: I'm looking | ||
| [2011/11/01 06:54:34] @ bretm joined channel #puppet | ||
| [2011/11/01 06:55:54] <MrPunch> theres a typo in the book cp /etc/sudoers /etc/puppet/manifests/files/etc/sudoers should read cp /etc/sudoers /etc/puppet/modules/sudo/files/etc/sudoers | ||
| [2011/11/01 06:56:20] <MrPunch> and there was a typo in the name of my file clause in init.pp | ||
| [2011/11/01 06:56:22] <jmslagle> MrPunch: Ahh probably :) | ||
| [2011/11/01 06:56:36] <jmslagle> James had said he's trying to get a second printing because of the typos | ||
| [2011/11/01 06:56:43] @ kaptk2 joined channel #puppet | ||
| [2011/11/01 06:56:54] <MrPunch> marvellous | ||
| [2011/11/01 06:56:58] @ illsci joined channel #puppet | ||
| [2011/11/01 06:57:00] <codehotter> hmm, I checked my fileserver.conf and I still get error 400 o.o | ||
| [2011/11/01 06:57:02] <jmslagle> http://www.apress.com/9781430230571 | ||
| [2011/11/01 06:57:08] <MrPunch> cheers for the help - was getting frustrated | ||
| [2011/11/01 06:57:08] <jmslagle> Under errata | ||
| [2011/11/01 06:57:10] <codehotter> I even remebered to restart puppetmaster (in case that was necessary) | ||
| [2011/11/01 06:57:19] <jmslagle> codehotter: pastie the manifest in question | ||
| [2011/11/01 06:57:47] <codehotter> jmslagle: the error is that it cannot find default node or by name u603.company.test | ||
| [2011/11/01 06:58:01] <codehotter> jmslagle: that file exists in /etc/puppet/manifests/nodes/u603.company.test.pp | ||
| [2011/11/01 06:58:35] <codehotter> jmslagle: it is working just fine with the other client u602.company.test | ||
| [2011/11/01 06:58:50] <jmslagle> You have a full node definination there? | ||
| [2011/11/01 06:58:57] <jmslagle> and are importing it from site.pp? | ||
| [2011/11/01 07:00:12] <codehotter> oops | ||
| [2011/11/01 07:00:18] <codehotter> Thanks a lot! | ||
| [2011/11/01 07:00:19] @ oholiab_ left channel #puppet () | ||
| [2011/11/01 07:00:31] <jmslagle> :) | ||
| [2011/11/01 07:00:32] @ Quit: semiosis: Remote host closed the connection | ||
| [2011/11/01 07:00:44] <jmslagle> It won't find nodes like that | ||
| [2011/11/01 07:00:58] <jmslagle> But you can do import nodes/*.pp | ||
| [2011/11/01 07:01:24] <jmslagle> in site.pp and just make sure that they have full node definitions | ||
| [2011/11/01 07:01:32] <jmslagle> Also don't use node inheritence :P | ||
| [2011/11/01 07:01:36] <jmslagle> I'm undoing that mess here now :P | ||
| [2011/11/01 07:01:55] <frapzzt> | ||
| [2011/11/01 07:02:06] <jmslagle> Meeting back shortly | ||
| [2011/11/01 07:02:29] @ Quit: maes_`: Ping timeout: 260 seconds | ||
| [2011/11/01 07:02:31] @ ed209 joined channel #puppet | ||
| [2011/11/01 07:03:10] @ Razique joined channel #puppet | ||
| [2011/11/01 07:04:07] @ labrown joined channel #puppet | ||
| [2011/11/01 07:04:12] @ dallas_ joined channel #puppet | ||
| [2011/11/01 07:06:50] <codehotter> How should I handle passwords in puppet files? | ||
| [2011/11/01 07:07:25] <dallas_> @codehotter you can keep public keys | ||
| [2011/11/01 07:07:39] <dallas_> does anyone know how to have a class inherit from another in ruby dsl? | ||
| [2011/11/01 07:07:54] <codehotter> I would like to use puppet to manage mysql. Which means I would like puppet to install mysql, set the root password and various non-root database accounts+passwords | ||
| [2011/11/01 07:08:51] <codehotter> do I just put the password in the manifest? | ||
| [2011/11/01 07:09:07] @ swygue joined channel #puppet | ||
| [2011/11/01 07:09:07] <dallas_> i can see in the source that the class declaration will accept options, however i'm not exactly sure what i can stuff in there. | ||
| [2011/11/01 07:09:15] <dallas_> @codehotter, that sounds like a pretty bad idea. | ||
| [2011/11/01 07:09:17] <boklm> codehotter: you can put the password in the manifest, or if you don't want to do that, you can use extlookup to store the passwords outside | ||
| [2011/11/01 07:09:53] <ken_barber> codehotter/boklm: or hiera-gpg if you want to keep it encrypted somewhere | ||
| [2011/11/01 07:10:10] <dallas_> codehotter: one of the things you could do is use mysql's password hash and store that. you can keep sql files that can be run by puppet to add the users using the hashed passwords. this is the way i have managed passwords | ||
| [2011/11/01 07:12:01] <dallas_> codehotter: when you grant, just use IDENTIFIED BY '@hash' instead of IDENTIFIED BY PASSWORD '' | ||
| [2011/11/01 07:12:09] @ Quit: carlasouza: Quit: WeeChat 0.3.4 | ||
| [2011/11/01 07:12:15] <Hunner> codehotter: boklm: http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hiera-and-gpg/ talks about how to set up passwords securely | ||
| [2011/11/01 07:12:55] @ carlasouza joined channel #puppet | ||
| [2011/11/01 07:13:32] @ semiosis joined channel #puppet | ||
| [2011/11/01 07:14:23] <boklm> an other solution is to use extlookup. Like this : http://svnweb.mageia.org/adm/puppet/manifests/extlookup.pp?revision=93&view=markup with passwords used in this manifest: http://svnweb.mageia.org/adm/puppet/deployment/wikis/manifests/init.pp?revision=2075&view=markup | ||
| [2011/11/01 07:14:45] <codehotter> Hunner: that's brilliant, looks like exactly what I need. | ||
| [2011/11/01 07:15:02] <boklm> and passwords are stored in file /etc/puppet/extdata/common.csv on the puppet server | ||
| [2011/11/01 07:16:07] @ Quit: countskm: Remote host closed the connection | ||
| [2011/11/01 07:16:24] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/01 07:16:29] @ countskm joined channel #puppet | ||
| [2011/11/01 07:17:02] @ Quit: MrPunch: Quit: Page closed | ||
| [2011/11/01 07:17:08] <codehotter> dallas_: Not a generic solution but it's a lot better to use the hash instead of the plaintext pass. Thanks! | ||
| [2011/11/01 07:18:07] <dallas_> anyone know how to have a class inherit from another in ruby dsl? or how to require another class in ruby dsl? | ||
| [2011/11/01 07:18:10] <codehotter> how do I pass a variable on to a class? I have a class that installs mysql and sets the password, but the password needs to be different for every node using that class? | ||
| [2011/11/01 07:18:22] <erthad> hiall | ||
| [2011/11/01 07:18:34] <erthad> is it possible to use puppet hiera backend from commandline? | ||
| [2011/11/01 07:18:49] <boklm> codehotter: with parameterized classes | ||
| [2011/11/01 07:19:01] <boklm> http://docs.puppetlabs.com/guides/parameterized_classes.html | ||
| [2011/11/01 07:20:03] @ neonflux joined channel #puppet | ||
| [2011/11/01 07:20:30] @ kangman joined channel #puppet | ||
| [2011/11/01 07:20:40] <cityLights> jmslagle: did you find the var that is the current class? | ||
| [2011/11/01 07:22:32] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 07:22:41] <erthad> I mean is it possible to read with hiera puppet variables set in ::data classes? | ||
| [2011/11/01 07:22:44] @ hal-j joined channel #puppet | ||
| [2011/11/01 07:25:01] @ Quit: dallas_: Quit: dallas_ | ||
| [2011/11/01 07:25:19] <maxb> I am a bit confused by the 'file' resource's 'type' parameter. From the documentation, I believed it to be a way of asserting that the resource needed to be that type, or application should fail. But that doesn't seem to be the case. | ||
| [2011/11/01 07:25:34] <maxb> err: Failed to apply catalog: Parameter type failed: type is read-only at /etc/puppet/modules/cron/manifests/init.pp:17 | ||
| [2011/11/01 07:25:37] <maxb> ^ is what I get | ||
| [2011/11/01 07:25:51] <Volcane> you cant set type on file | ||
| [2011/11/01 07:26:07] <maxb> I was trying to use it to say "This directory should be mode 755, but don't set the mode to 755 if it is actually a file" | ||
| [2011/11/01 07:26:46] @ Quit: Zinja: Quit: leaving | ||
| [2011/11/01 07:27:02] @ ed2091 joined channel #puppet | ||
| [2011/11/01 07:28:47] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 07:29:01] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 07:29:38] <RoyK> maxb: iirc 755 will set files to 644 by default | ||
| [2011/11/01 07:29:44] <Raboo> anyone here uses gepetto? | ||
| [2011/11/01 07:29:52] <Raboo> geppetto | ||
| [2011/11/01 07:29:55] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/01 07:30:01] <maxb> RoyK: I thought it was that 644 would set directories to 755 by default? | ||
| [2011/11/01 07:30:04] <RoyK> Raboo: something like gestapo? | ||
| [2011/11/01 07:30:13] <RoyK> maxb: erm - you might be right ;) | ||
| [2011/11/01 07:30:15] <Raboo> RoyK it's similar | ||
| [2011/11/01 07:30:22] <maxb> Still, that's probably good enough | ||
| [2011/11/01 07:30:36] <Raboo> i wanted to put a variable $operatingsystem, it told me i should have $::operatingsystem | ||
| [2011/11/01 07:30:43] <RoyK> maxb: it's a bit confusing in regard to umask | ||
| [2011/11/01 07:31:00] @ Quit: ed209: Ping timeout: 260 seconds | ||
| [2011/11/01 07:31:11] <RoyK> Raboo: IIRC $::operatingsystem will specifically refer to the global variable, which is better | ||
| [2011/11/01 07:31:25] <Raboo> what does IIRC stand for? | ||
| [2011/11/01 07:31:30] <RoyK> if I remember correctly | ||
| [2011/11/01 07:31:51] <Raboo> RoyK so if i | ||
| [2011/11/01 07:32:00] <Raboo> RoyK so if i'm doing a case of which OS is runnin | ||
| [2011/11/01 07:32:10] <Raboo> using $::operatingsystem is betteR? | ||
| [2011/11/01 07:32:29] <RoyK> just use $::operatingsystem - the point is that $operatingsystem may be locally overridden, the global may not | ||
| [2011/11/01 07:32:41] <Raboo> ok | ||
| [2011/11/01 07:33:32] <dcarley> $fact will also fail to work in future versions. | ||
| [2011/11/01 07:33:33] @ themadcanudist joined channel #puppet | ||
| [2011/11/01 07:34:02] <Raboo> so geppetto did correct me for good reasons | ||
| [2011/11/01 07:34:19] <dcarley> yeah :) | ||
| [2011/11/01 07:37:36] @ inglesita joined channel #puppet | ||
| [2011/11/01 07:41:03] <inglesita> Hi, the WSJ published a story about the demand for "puppet" skills. How do you learn #puppet ? Is there a certification process? | ||
| [2011/11/01 07:41:34] @ ssgelm joined channel #puppet | ||
| [2011/11/01 07:42:22] <RhysMorgan> Has anyone got any experience of setting up a 2.7.6 puppetmaster on SLES 11 SP1? | ||
| [2011/11/01 07:42:28] <jrcarlsen> fragfutter: what version of puppet do you have? | ||
| [2011/11/01 07:42:57] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/01 07:45:06] @ Quit: doo: Remote host closed the connection | ||
| [2011/11/01 07:45:28] @ MartVisser left channel #puppet ("Leaving") | ||
| [2011/11/01 07:45:46] @ MartVisser joined channel #puppet | ||
| [2011/11/01 07:46:44] @ Quit: Wolfspyre1: Quit: Leaving. | ||
| [2011/11/01 07:47:18] @ doo joined channel #puppet | ||
| [2011/11/01 07:47:27] <ssgelm> I just set up a new centos server that won't run puppet as a daemon for some reason. I'm running puppet 2.7.5. When I run "puppetd --test" it works fine, but if I start the daemon, all I get in the logs is "puppet-agent[2606]: Starting Puppet client version 2.7.5" and it just hangs there. Any ideas? | ||
| [2011/11/01 07:47:40] @ Wolfspyre joined channel #puppet | ||
| [2011/11/01 07:47:54] @ Davea1 joined channel #puppet | ||
| [2011/11/01 07:50:09] @ Quit: ed2091: Quit: Leaving. | ||
| [2011/11/01 07:52:41] <inglesita> [~Davea1@64.244.160.9] Are you my brother? | ||
| [2011/11/01 07:53:04] <Davea1> no I am not your brother :) | ||
| [2011/11/01 07:53:08] <Raboo> lol | ||
| [2011/11/01 07:53:15] <Davea1> :) | ||
| [2011/11/01 07:53:20] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/11/01 07:53:27] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/11/01 07:53:28] <Raboo> Davea1 have you lost your brother? | ||
| [2011/11/01 07:53:47] <Davea1> I have no siblings! | ||
| [2011/11/01 07:54:07] <inglesita> [~Davea1@64.244.160.9] My brother David A. is a programmer in Texas. Small world. :) | ||
| [2011/11/01 07:54:08] <Davea1> but my wife and I have ensured that our children have plenty | ||
| [2011/11/01 07:54:12] @ rcrowley joined channel #puppet | ||
| [2011/11/01 07:54:31] <Davea1> yes quite small | ||
| [2011/11/01 07:54:56] <Raboo> i'm not understanding this | ||
| [2011/11/01 07:55:06] <Raboo> is inglesita pasting what Davea1 is writing | ||
| [2011/11/01 07:55:26] <Raboo> or is inglesita questioning Davea1? | ||
| [2011/11/01 07:55:42] <Davea1> time for coffee! | ||
| [2011/11/01 07:55:47] <inglesita> Sorry, Raboo. Just trying to private message. Don't know how to use this interface. | ||
| [2011/11/01 07:55:53] <Raboo> lol | ||
| [2011/11/01 07:57:16] <inglesita> Don't know what CTCP Version is. I'm NOT a programmer, but want to learn. | ||
| [2011/11/01 07:58:03] <crayfishx> This is doing my nut, I'm probably being blind but can anyone spot why mysql service is not started before the exec is run.. yes I've checked for rogue pid files...etc | ||
| [2011/11/01 07:58:13] <crayfishx> http://www.pastie.org/2793740 | ||
| [2011/11/01 07:58:50] <Raboo> inglesita i was just looking what IRC client you where using | ||
| [2011/11/01 08:00:34] @ ghanima joined channel #puppet | ||
| [2011/11/01 08:00:35] @ Quit: hal-j1: Read error: Connection reset by peer | ||
| [2011/11/01 08:00:44] @ hal-j joined channel #puppet | ||
| [2011/11/01 08:01:26] <Volcane> crayfishx: does it log an attempt to start service at all later on then? | ||
| [2011/11/01 08:01:54] <crayfishx> Volcane: nope, it never tries to start the service | ||
| [2011/11/01 08:02:03] <Volcane> then it probably thinks its already running | ||
| [2011/11/01 08:02:06] <crayfishx> if it did, it would run fine (as service mysqld start after the puppet run returns no errors) | ||
| [2011/11/01 08:02:13] @ Quit: anthonysomerset: | ||
| [2011/11/01 08:02:14] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/01 08:03:21] <dcarley> crayfishx: is it using hasstatus or ps|grep? | ||
| [2011/11/01 08:03:30] <crayfishx> Aaaaaaaah | ||
| [2011/11/01 08:03:32] @ benkevan joined channel #puppet | ||
| [2011/11/01 08:03:44] <crayfishx> root 12835 0.0 0.0 58928 512 pts/2 S 14:23 0:00 tail -f /var/log/mysqld.log | ||
| [2011/11/01 08:03:49] <crayfishx> dcarley: well spotted! :D | ||
| [2011/11/01 08:03:56] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/01 08:04:02] <dcarley> once bitten, twice shy. | ||
| [2011/11/01 08:04:08] <crayfishx> lol | ||
| [2011/11/01 08:04:53] @ jsurfer joined channel #puppet | ||
| [2011/11/01 08:05:11] @ ghg joined channel #puppet | ||
| [2011/11/01 08:05:35] <crayfishx> thanks | ||
| [2011/11/01 08:06:15] <crayfishx> tempted to add a Service { hasrestart => true } to my base.pp now :) | ||
| [2011/11/01 08:06:18] @ Quit: magicaltrout: Ping timeout: 244 seconds | ||
| [2011/11/01 08:06:26] <Volcane> this is the default in recent puppets | ||
| [2011/11/01 08:06:32] <crayfishx> after 2.6.6 I take it | ||
| [2011/11/01 08:06:54] <Volcane> yeah normally you'd think this wouldnt happen mid point release, alas. | ||
| [2011/11/01 08:06:58] <Volcane> not sure where that came in | ||
| [2011/11/01 08:07:00] @ magicaltrout joined channel #puppet | ||
| [2011/11/01 08:08:22] <fragfutter> jrcarlsen: 2.7.1 | ||
| [2011/11/01 08:08:34] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 08:08:37] @ nycko joined channel #puppet | ||
| [2011/11/01 08:08:52] @ hal-j joined channel #puppet | ||
| [2011/11/01 08:08:56] <Volcane> yeah looks like 2.7.0 actually | ||
| [2011/11/01 08:09:09] <crayfishx> its a much more sensible default than "ps" :) | ||
| [2011/11/01 08:09:10] @ lkoranda_ joined channel #puppet | ||
| [2011/11/01 08:09:15] <Volcane> with a doc fix in 2.7.3 | ||
| [2011/11/01 08:09:25] @ Quit: csanchez: Quit: csanchez | ||
| [2011/11/01 08:09:36] @ Quit: lkoranda: Ping timeout: 248 seconds | ||
| [2011/11/01 08:10:48] @ negronjl joined channel #puppet | ||
| [2011/11/01 08:13:07] @ ccaum joined channel #puppet | ||
| [2011/11/01 08:13:51] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/01 08:14:34] <Raboo> even if i run puppet master trough apache+passenger. The fileservering function is not good for binary files? | ||
| [2011/11/01 08:14:37] <nycko> hello, is there any easy way to add a line to a file on the client server? | ||
| [2011/11/01 08:14:57] <Volcane> Raboo: its not 'binary files' its 'large files' | ||
| [2011/11/01 08:15:01] <nycko> specifically / etc / hosts | ||
| [2011/11/01 08:15:02] <Volcane> binary or not doesnt matter | ||
| [2011/11/01 08:15:14] <Raboo> how large is large? | ||
| [2011/11/01 08:15:18] <crayfishx> nycko: check out the "host" resource, otherwise you can do in line editing of files using the augeas type. | ||
| [2011/11/01 08:15:32] <Volcane> Raboo: kilobytes rather than megabytes | ||
| [2011/11/01 08:15:47] <Raboo> ok, then it is a large file | ||
| [2011/11/01 08:15:48] <Volcane> Raboo: puppet is a config management system, presumably kilobytes handles all config files | ||
| [2011/11/01 08:16:57] @ Quit: Vasik|work: Remote host closed the connection | ||
| [2011/11/01 08:17:12] @ ed209 joined channel #puppet | ||
| [2011/11/01 08:17:22] <Raboo> so best way to solve my problem is to use exec and execute a wget or a curl? | ||
| [2011/11/01 08:17:34] @ nated joined channel #puppet | ||
| [2011/11/01 08:17:42] <nycko> crayfishx: thanks, I'll get out there | ||
| [2011/11/01 08:17:43] <Raboo> if i'm going to download a large file | ||
| [2011/11/01 08:18:24] @ Quit: tizzo-afk: Ping timeout: 240 seconds | ||
| [2011/11/01 08:18:26] <Volcane> package managers are good at big files | ||
| [2011/11/01 08:18:41] <Volcane> what is this big file? | ||
| [2011/11/01 08:18:51] <matchaw___> Hey all, anyone know how to pass an array to a class, then use in a augeas "set" command? | ||
| [2011/11/01 08:18:56] <Raboo> a HP custom crap installer | ||
| [2011/11/01 08:19:13] @ sumsuch joined channel #puppet | ||
| [2011/11/01 08:19:22] <walkeran> Yaaayyyy! Custom crap FTW :) | ||
| [2011/11/01 08:19:37] <Volcane> Raboo: check out fpm it will probably help make that less shit | ||
| [2011/11/01 08:21:09] <Raboo> ohh | ||
| [2011/11/01 08:21:21] <Raboo> i thught effing whas someone that was trying to not curse | ||
| [2011/11/01 08:22:11] @ gniks joined channel #puppet | ||
| [2011/11/01 08:23:56] @ Quit: sumsuch: Client Quit | ||
| [2011/11/01 08:24:56] <kjetilho> vcsrepo seems like a good alternative when using the packaging system is appropriate | ||
| [2011/11/01 08:25:25] @ Quit: ed209: Ping timeout: 252 seconds | ||
| [2011/11/01 08:25:46] @ Quit: mykhyggz: Quit: leaving | ||
| [2011/11/01 08:25:50] @ tavist0 joined channel #puppet | ||
| [2011/11/01 08:26:08] @ mykhyggz joined channel #puppet | ||
| [2011/11/01 08:26:22] @ Quit: lkoranda_: Quit: Ex-Chat | ||
| [2011/11/01 08:27:28] <Raboo> there is a puppetmodule target | ||
| [2011/11/01 08:27:44] @ asteve joined channel #puppet | ||
| [2011/11/01 08:27:44] @ Quit: asteve: Changing host | ||
| [2011/11/01 08:27:44] @ asteve joined channel #puppet | ||
| [2011/11/01 08:31:16] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com | ||
| [2011/11/01 08:36:54] @ Quit: scobal: Remote host closed the connection | ||
| [2011/11/01 08:41:00] @ soh joined channel #puppet | ||
| [2011/11/01 08:41:35] @ kenperkins joined channel #puppet | ||
| [2011/11/01 08:41:45] @ Quit: mykhyggz: Quit: leaving | ||
| [2011/11/01 08:42:22] @ scobal joined channel #puppet | ||
| [2011/11/01 08:43:34] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/01 08:44:18] @ alanevans joined channel #puppet | ||
| [2011/11/01 08:44:31] @ mykhyggz joined channel #puppet | ||
| [2011/11/01 08:44:33] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/01 08:45:01] @ joe-mac joined channel #puppet | ||
| [2011/11/01 08:45:23] @ Quit: negronjl: Read error: Operation timed out | ||
| [2011/11/01 08:45:42] @ joshcooper joined channel #puppet | ||
| [2011/11/01 08:46:21] @ Quit: inglesita: Quit: Page closed | ||
| [2011/11/01 08:46:37] @ jwhitlock_zzz is now known as jwhitlock | ||
| [2011/11/01 08:47:11] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/11/01 08:48:15] @ RoyK^ joined channel #puppet | ||
| [2011/11/01 08:49:53] @ Quit: RoyK^: Client Quit | ||
| [2011/11/01 08:51:11] @ RoyK^ joined channel #puppet | ||
| [2011/11/01 08:51:12] @ Quit: lofidellity: Ping timeout: 240 seconds | ||
| [2011/11/01 08:51:45] @ lborda joined channel #puppet | ||
| [2011/11/01 08:52:48] @ Quit: RoyK^: Client Quit | ||
| [2011/11/01 08:53:48] @ Quit: RoyK: Quit: reconfiguring server..... | ||
| [2011/11/01 08:54:18] @ toi joined channel #puppet | ||
| [2011/11/01 08:55:07] @ gob_bluth joined channel #puppet | ||
| [2011/11/01 08:56:41] <gob_bluth> Hi everybody, I've got an issue with puppet. I've converted puppetmaster to be used via Apache/Passenger and that works great with all the nodes. The problem now is trying to get Puppet to update itself (puppet-agent on the puppet-master). When I enable puppetmaster as a WEBrick server, everything goes swimmingly. When I have it on Apache/Passenger, it fails on "tlsv1 decrypt error". ... | ||
| [2011/11/01 08:56:43] <gob_bluth> ...Any ideas or explanations as to this ? | ||
| [2011/11/01 08:57:14] <asteve> i'm having similar problems | ||
| [2011/11/01 08:57:24] <asteve> mine actually applies the manifests though | ||
| [2011/11/01 09:00:02] @ RoyK joined channel #puppet | ||
| [2011/11/01 09:00:19] @ maes_ joined channel #puppet | ||
| [2011/11/01 09:00:24] @ Quit: toi: Ping timeout: 255 seconds | ||
| [2011/11/01 09:01:11] @ Quit: soh: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/01 09:01:28] @ the_ramink joined channel #puppet | ||
| [2011/11/01 09:02:06] <gob_bluth> at least i know i'm not alone lolo | ||
| [2011/11/01 09:02:10] @ craftytech joined channel #puppet | ||
| [2011/11/01 09:02:35] @ mhiggs joined channel #puppet | ||
| [2011/11/01 09:04:26] <craftytech> hello, does anyone have a way in puppet to exit a run if a certain condition exists? | ||
| [2011/11/01 09:05:26] <nottings> craftytech: fail() | ||
| [2011/11/01 09:05:28] <nottings> http://docs.puppetlabs.com/references/stable/function.html#fail | ||
| [2011/11/01 09:05:59] @ brtl joined channel #puppet | ||
| [2011/11/01 09:06:04] @ lofidellity joined channel #puppet | ||
| [2011/11/01 09:06:40] <nottings> example, http://pastebin.com/r4KkfWYA | ||
| [2011/11/01 09:06:44] <craftytech> so I can say, if `condition exist`; then fail ? | ||
| [2011/11/01 09:06:58] <nottings> basically | ||
| [2011/11/01 09:07:11] <fragfutter> if pleasefail { fail('as requested') } | ||
| [2011/11/01 09:07:20] <craftytech> sweet | ||
| [2011/11/01 09:07:23] <jbraeuer> has anyone in here used mcollective-rspec together with MCollective 1.2.1? | ||
| [2011/11/01 09:07:24] <craftytech> thanks notting | ||
| [2011/11/01 09:07:29] <nottings> np | ||
| [2011/11/01 09:07:41] <jbraeuer> It seems to work for application, but fails for the agent | ||
| [2011/11/01 09:08:02] <Volcane> jbraeuer: not sure if it will work on 1.2.1 tbh but more information would be helpful | ||
| [2011/11/01 09:08:14] <fragfutter> nottings: you now facter variable lsbmajdistrelease ? | ||
| [2011/11/01 09:08:25] @ lofidellity_ joined channel #puppet | ||
| [2011/11/01 09:08:33] <nottings> yeah, you get that if the redhat-lsb pacakge is installed | ||
| [2011/11/01 09:08:42] @ dan__t_ joined channel #puppet | ||
| [2011/11/01 09:08:43] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 09:08:47] @ hal-j joined channel #puppet | ||
| [2011/11/01 09:08:49] <nottings> or the lsb package for your distro | ||
| [2011/11/01 09:08:51] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/11/01 09:08:57] <jbraeuer> Volcane: Should I post here or do you prefer pastebin ? | ||
| [2011/11/01 09:09:13] <Volcane> pastebin | ||
| [2011/11/01 09:09:39] @ nfagerlund joined channel #puppet | ||
| [2011/11/01 09:09:47] <fragfutter> nottings: i just looked at your pastebin and wondered if you knew. | ||
| [2011/11/01 09:10:36] <nottings> oh yeah... i'm actually doing something different with that example than what meets the eye...would have to paste a lot more for it to make sense :) | ||
| [2011/11/01 09:10:48] @ Quit: lofidellity: Ping timeout: 240 seconds | ||
| [2011/11/01 09:10:48] @ lofidellity_ is now known as lofidellity | ||
| [2011/11/01 09:11:29] <n1x0n> Hi, any suggestions how to tackle this : http://pastie.org/private/r3spv6jlqmwvojnip5uagw <- I'm basically generating a line 'foo,bar' but I think I'll end up with 'foo,bar,' , any suggestions appreciated :) | ||
| [2011/11/01 09:12:03] <jbraeuer> Volcane: This is the test file: http://pastebin.com/9CP4RLsW And this the error http://pastebin.com/N3Pbrtwb | ||
| [2011/11/01 09:12:18] <fragfutter> n1x0n: you want to use join | ||
| [2011/11/01 09:13:08] <n1x0n> fragfutter: thanks, any more hints on what do I google for , or code example ? (http://docs.puppetlabs.com/guides/templating.html doesn't have it) | ||
| [2011/11/01 09:13:31] <fragfutter> n1x0n: erb is ruby. lookup what you can do in ruby. | ||
| [2011/11/01 09:13:42] <n1x0n> kk will do, thanks again | ||
| [2011/11/01 09:13:45] * fragfutter has no clue about ruby ;) | ||
| [2011/11/01 09:14:35] @ ba6 joined channel #puppet | ||
| [2011/11/01 09:14:48] <jbraeuer> Volcane: Can it be as dump as findddlfile looks for a .ddl with the name of the agent? I just have to rename it to puppet-packages.ddl? | ||
| [2011/11/01 09:15:59] <jbraeuer> Volcane: No, would have been to easy ;-) | ||
| [2011/11/01 09:16:40] @ Vulcan[OMNI] joined channel #puppet | ||
| [2011/11/01 09:19:12] @ los324 joined channel #puppet | ||
| [2011/11/01 09:19:43] <stn_> hi, im having a file definition like in http://pastebin.com/fFfxHBtp but its not notifying when any file changes, is it possible to do like this? | ||
| [2011/11/01 09:21:06] @ lak joined channel #puppet | ||
| [2011/11/01 09:21:06] @ Quit: lak: Changing host | ||
| [2011/11/01 09:21:06] @ lak joined channel #puppet | ||
| [2011/11/01 09:23:32] <ashp> anyone got a tested (and relatively) safe pattern for making filesystems in puppet? | ||
| [2011/11/01 09:23:54] <ashp> I have to mkfs the /dev/xvd* cloudy temp storage things to fit oracle onto aws | ||
| [2011/11/01 09:24:04] <ashp> but i don't want to risk blowing away the filesystem on each run by making a shoddy exec | ||
| [2011/11/01 09:24:06] @ miche joined channel #puppet | ||
| [2011/11/01 09:24:51] @ soh joined channel #puppet | ||
| [2011/11/01 09:25:10] <jbraeuer> ashp: I use a exec with mkfs and then mount the fs. this will keep future runs from re-formatting. also guarding it with onlyif is possible | ||
| [2011/11/01 09:25:25] <jbraeuer> ashp: using this since some month and just works. | ||
| [2011/11/01 09:25:39] @ Quit: xzu: Ping timeout: 258 seconds | ||
| [2011/11/01 09:25:46] <ashp> jbraeuer: I was going to do something similar, what do you have in the onlyif, save me from figuring it out myself? :) | ||
| [2011/11/01 09:25:53] <fragfutter> jbraeuer: and what happens if you forget to mount it? | ||
| [2011/11/01 09:26:04] <Volcane> jbraeuer: u need to rename puppet-package.rb to package.rb | ||
| [2011/11/01 09:26:45] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 09:26:45] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 09:27:14] <ashp> i'm sure there must be a way to check if a device has a fs non-destructive and without mounting | ||
| [2011/11/01 09:27:19] @ dds_ joined channel #puppet | ||
| [2011/11/01 09:27:30] @ langworthy joined channel #puppet | ||
| [2011/11/01 09:27:33] <jbraeuer> Volcane: I figured that too, but now it blows up here: http://pastebin.com/cNzG9gNw | ||
| [2011/11/01 09:27:55] <wollviech> i'd be interested in that part as well, because right now that is in my (rather short) "things it maybe is not a good idea to manage with puppet" list | ||
| [2011/11/01 09:28:07] <jbraeuer> Volcane: looks like I need to add .libdir() to the mock setup, right? | ||
| [2011/11/01 09:28:07] <craftytech> ok, here's another one... how do I do a system call from puppet? for instance, I want to have a varial, let's say var1 = `pgrep $process` | ||
| [2011/11/01 09:28:35] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/01 09:29:11] @ Quit: dds: Ping timeout: 260 seconds | ||
| [2011/11/01 09:29:16] <fragfutter> ashp: vol_id | ||
| [2011/11/01 09:29:27] <jbraeuer> ashp: Find my class here: http://pastebin.com/3ZVWN73Z | ||
| [2011/11/01 09:29:46] <vStone> what are valid ways to split a string in multiple lines in a puppet manifest? | ||
| [2011/11/01 09:30:30] @ sumsuch joined channel #puppet | ||
| [2011/11/01 09:30:57] @ panger joined channel #puppet | ||
| [2011/11/01 09:31:09] <ashp> fragfutter: thanks! | ||
| [2011/11/01 09:31:17] <Volcane> jbraeuer: yeah looks like it | ||
| [2011/11/01 09:31:27] <fragfutter> ashp: or blkid (if vol_id is not available) | ||
| [2011/11/01 09:32:14] <dan__t_> Hello. | ||
| [2011/11/01 09:32:17] <dan__t_> Today, is Passenger Day. | ||
| [2011/11/01 09:32:30] <dan__t_> Or, in otherwords, "make any excuse possible to not use Mongrel" day. | ||
| [2011/11/01 09:33:56] @ alfism joined channel #puppet | ||
| [2011/11/01 09:34:17] <ashp> that is all the days | ||
| [2011/11/01 09:34:18] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/01 09:34:33] <dan__t_> fact. | ||
| [2011/11/01 09:34:35] <dcarley> Volcane: when you say "lines"; what are you going to do with them? | ||
| [2011/11/01 09:34:52] <dcarley> craftytech: what are you going to do with the PID? | ||
| [2011/11/01 09:36:04] @ Quit: jrcarlsen: Quit: leaving | ||
| [2011/11/01 09:36:19] <Volcane> dcarley: wrong tab completion ;p | ||
| [2011/11/01 09:36:39] <craftytech> that's just an example... for logging information notfify { "The process running is $var1: } | ||
| [2011/11/01 09:36:49] <dcarley> oops. s/Volcane/vStone/ | ||
| [2011/11/01 09:36:52] @ Quit: los324: Read error: Connection reset by peer | ||
| [2011/11/01 09:36:52] <vStone> get them below 80 columns | ||
| [2011/11/01 09:36:53] <vStone> :) | ||
| [2011/11/01 09:37:31] <craftytech> but mainly, I want to create a file block in puppet that only executes if a certain process is not running.. a process not managed by puppet | ||
| [2011/11/01 09:38:52] <vStone> dcarley: a long text that exceeds the 80 columns limit. hence, it needs to be split up somehow. | ||
| [2011/11/01 09:39:01] @ tavist0 left channel #puppet () | ||
| [2011/11/01 09:39:16] @ zwi joined channel #puppet | ||
| [2011/11/01 09:39:19] <panger> http://adultfriendfinder.com/go/g828955 friends for fun | ||
| [2011/11/01 09:39:20] @ Quit: panger: Killed (idoru (Spam is off topic on freenode.)) | ||
| [2011/11/01 09:39:45] <dcarley> vStone: how is it going to be used - a file template? | ||
| [2011/11/01 09:40:04] @ Quit: pisco: Quit: pisco | ||
| [2011/11/01 09:40:17] <vStone> assignment to a variable | ||
| [2011/11/01 09:40:37] <dcarley> craftytech: calling pgrep from a manifest won't do what you'd imagine. because it's parsed and compiled on the server side, rather than the client. | ||
| [2011/11/01 09:41:29] <dcarley> vStone: you can probably use split() to form an array. but it does depend how you're going to subsequently use it. | ||
| [2011/11/01 09:41:35] @ Quit: MartVisser: Quit: This computer has gone to sleep | ||
| [2011/11/01 09:41:47] <vStone> $var = 'this text is waaaaaaaaaay to long and needs to be split up round about ^HERE' | ||
| [2011/11/01 09:42:01] <vStone> it seemed a bit silly to me to write it as an array and put a function to concat it arround it | ||
| [2011/11/01 09:42:53] <craftytech> gotcha.., but I'm still at loss.. I have this customized script that I'm trying to automate, I have it done for the most part, but I still need to provide for that condition. basically, the file block shouldn't exucute, if a certain process is running. has anyone done someting like this? | ||
| [2011/11/01 09:43:19] <jbraeuer> Volcane: Thanks for the help. Turned out the code was already where, the test just has to set the libdir | ||
| [2011/11/01 09:44:38] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/01 09:45:08] @ williemach joined channel #puppet | ||
| [2011/11/01 09:45:47] @ los324 joined channel #puppet | ||
| [2011/11/01 09:46:02] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2011/11/01 09:46:36] <dcarley> craftytech: write a fact, probably. what happens if the file is created when the process is running? | ||
| [2011/11/01 09:46:48] <dcarley> vStone: that's why i asked what you're going to do with it :) | ||
| [2011/11/01 09:48:01] @ los324 left channel #puppet () | ||
| [2011/11/01 09:48:08] <craftytech> I'm not 100% on the consequences of runnning it anyway...but let me look into creating a fact for it... thanks | ||
| [2011/11/01 09:48:21] <Volcane> jbraeuer: kewl | ||
| [2011/11/01 09:48:50] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 09:48:56] @ hal-j joined channel #puppet | ||
| [2011/11/01 09:49:37] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI] | ||
| [2011/11/01 09:50:14] @ mitchellh joined channel #puppet | ||
| [2011/11/01 09:52:10] @ ianbrandt joined channel #puppet | ||
| [2011/11/01 09:53:25] @ waseem joined channel #puppet | ||
| [2011/11/01 09:53:48] <waseem> hello guys | ||
| [2011/11/01 09:53:59] <waseem> Is this the chat room for puppet labs | ||
| [2011/11/01 09:54:00] @ trickyf left channel #puppet () | ||
| [2011/11/01 09:54:07] <waseem> technical support | ||
| [2011/11/01 09:54:29] <Volcane> its a channel full of community members who help if they can and if they have time | ||
| [2011/11/01 09:54:35] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 09:54:51] @ hal-j joined channel #puppet | ||
| [2011/11/01 09:55:07] @ ronan_2 joined channel #puppet | ||
| [2011/11/01 09:56:07] <waseem> i want to know how puppet helps in automation of the system | ||
| [2011/11/01 09:56:55] @ benjiedmund joined channel #puppet | ||
| [2011/11/01 09:56:57] <ewoud> waseem: in short: you can describe what your system must (and must not) do | ||
| [2011/11/01 09:57:28] <Volcane> waseem: it lets you express the desired state of a machine - it should have these files, services, users etc - and then it can take a clean machine and turn it into that state or take a running machine and maintain that state | ||
| [2011/11/01 09:57:41] <Volcane> waseem: avoiding the usual cycle of wiki's and manual labour to build a server | ||
| [2011/11/01 09:57:54] @ Quit: ronan_1: Ping timeout: 244 seconds | ||
| [2011/11/01 09:58:30] <ewoud> often those wiki's are outdated | ||
| [2011/11/01 09:58:56] <ewoud> or if you have a larger number of servers you forget one or more so their configurations start to diverge | ||
| [2011/11/01 09:59:21] <waseem> so that means puppet automates installation of programs or services on a larger group of server eg clusters | ||
| [2011/11/01 09:59:32] <waseem> guys please correct me if i am wrong . | ||
| [2011/11/01 09:59:39] <ewoud> by delegating this task to puppet you can prevent these things because puppet *is* the documentation as well as enforcing it | ||
| [2011/11/01 09:59:40] <Volcane> waseem: yes, equally usable on just 1 machine | ||
| [2011/11/01 09:59:59] @ cthulhup joined channel #puppet | ||
| [2011/11/01 10:00:30] <waseem> My another question how does the set up work do you need to write a batch file to excute the tasks | ||
| [2011/11/01 10:00:50] <waseem> how can puppet classes run on a group of clean servers | ||
| [2011/11/01 10:00:50] <Volcane> it has its own minimal programming language that you use to describe the desired state | ||
| [2011/11/01 10:01:10] <waseem> thanks for the support so far guys | ||
| [2011/11/01 10:01:38] <waseem> i am applying for a professinal services engineer role in london and it is great help to understand the system before u apply | ||
| [2011/11/01 10:01:58] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/01 10:02:09] <ewoud> waseem: in my experience the best way to learn puppet is install a few VMs and play with it | ||
| [2011/11/01 10:02:22] <waseem> thanks | ||
| [2011/11/01 10:02:30] @ Quit: waseem: Quit: Page closed | ||
| [2011/11/01 10:02:56] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 10:02:57] <ewoud> but in short you write a manifest which describes the desired situation | ||
| [2011/11/01 10:03:19] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 10:03:25] <ken_barber> hmm | ||
| [2011/11/01 10:03:29] <ken_barber> interesting | ||
| [2011/11/01 10:03:34] <ken_barber> :-) | ||
| [2011/11/01 10:03:55] <ewoud> for example adding 'package {"httpd": ensure => installed, }' to a node definition ensures the httpd package is installed | ||
| [2011/11/01 10:04:05] <ken_barber> ewoud: he's left | ||
| [2011/11/01 10:05:04] <ewoud> ken_barber: ah yes | ||
| [2011/11/01 10:05:43] <hajile> I realize this may be a stupid question.. but I'm trying to upgrade to 2.7.6 from 0.25.5 and the only major issue I'm hitting is that it doesn't like locally scoped variables inside types.. for instance: $version="something" and then file { "some-file-$version.tar.gz": ... | ||
| [2011/11/01 10:05:48] <ken_barber> ewoud: I'm the PS guy in london. Which is why I considered the last statement interesting. | ||
| [2011/11/01 10:05:55] <gob_bluth> man london is all over puppet like fat kids on cake | ||
| [2011/11/01 10:06:05] <hajile> I tried scoping the local variable with $class::variable, but it didn't fix it | ||
| [2011/11/01 10:06:19] <ken_barber> 'fat kids on cake' … lol | ||
| [2011/11/01 10:06:27] <gob_bluth> i've got puppet on my resume and i've kept getting calls from recruiters nonstop, had to pull down my cv | ||
| [2011/11/01 10:06:47] @ scsinutz joined channel #puppet | ||
| [2011/11/01 10:06:51] @ hal-j joined channel #puppet | ||
| [2011/11/01 10:07:04] <ken_barber> gob_bluth: hahaha … so err … wanna job working for puppet? ;-) … lol | ||
| [2011/11/01 10:07:21] @ Quit: hal-j1: Ping timeout: 252 seconds | ||
| [2011/11/01 10:07:28] @ Quit: ronan_2: Read error: Connection reset by peer | ||
| [2011/11/01 10:07:28] @ scsinutz left channel #puppet () | ||
| [2011/11/01 10:07:42] <gob_bluth> ken_barber: heh, will prob go into automation and HA consulting after this gig | ||
| [2011/11/01 10:07:44] @ ronan_1 joined channel #puppet | ||
| [2011/11/01 10:08:02] @ Quit: bretm: Quit: Leaving | ||
| [2011/11/01 10:08:28] <ewoud> ken_barber: how do you know you're the PS guy in london? | ||
| [2011/11/01 10:08:41] <ken_barber> ewoud: its in my job description? | ||
| [2011/11/01 10:09:54] @ claussen joined channel #puppet | ||
| [2011/11/01 10:10:17] <ewoud> ken_barber: but it could be a different company, right? | ||
| [2011/11/01 10:11:00] <ken_barber> ewoud: I bet you a dollar he's talking about the one we are advertising :-). | ||
| [2011/11/01 10:11:09] @ Quit: gob_bluth: Read error: Connection reset by peer | ||
| [2011/11/01 10:11:37] @ gob_bluth joined channel #puppet | ||
| [2011/11/01 10:12:31] <ewoud> ken_barber: :) | ||
| [2011/11/01 10:12:57] <ashp> goddamn, group{} can't manage group memberships :/ | ||
| [2011/11/01 10:13:16] <ewoud> though I must say kudos for being smart enough to ask on #puppet and being honest enough about why | ||
| [2011/11/01 10:13:32] @ langworthy joined channel #puppet | ||
| [2011/11/01 10:15:20] <dcarley> i hope he gives ewoud and Volcane a cut of the salary. | ||
| [2011/11/01 10:15:51] <ewoud> dcarley: now that'd be nice :) | ||
| [2011/11/01 10:17:01] @ Quit: _nono_: Ping timeout: 244 seconds | ||
| [2011/11/01 10:17:02] @ Quit: zaargy: Ping timeout: 244 seconds | ||
| [2011/11/01 10:17:43] @ newtMcKerr joined channel #puppet | ||
| [2011/11/01 10:17:49] @ zaargy joined channel #puppet | ||
| [2011/11/01 10:19:47] @ stevie-bash joined channel #puppet | ||
| [2011/11/01 10:20:44] @ Sub_Oracle joined channel #puppet | ||
| [2011/11/01 10:20:58] @ shadoi joined channel #puppet | ||
| [2011/11/01 10:21:14] @ Quit: Whoop: Ping timeout: 258 seconds | ||
| [2011/11/01 10:21:40] @ Quit: SubOracle: Ping timeout: 244 seconds | ||
| [2011/11/01 10:21:40] @ Quit: dcarley: Ping timeout: 244 seconds | ||
| [2011/11/01 10:21:41] @ Quit: martin-: Ping timeout: 244 seconds | ||
| [2011/11/01 10:22:31] @ Whoop joined channel #puppet | ||
| [2011/11/01 10:22:32] @ Quit: Whoop: Changing host | ||
| [2011/11/01 10:22:32] @ Whoop joined channel #puppet | ||
| [2011/11/01 10:23:13] <hajile> so should i be able to declare a local variable in a manifest and then use that variable in a source or file line in puppet 2.7.6? | ||
| [2011/11/01 10:23:21] @ Quit: bartavelle: Ping timeout: 276 seconds | ||
| [2011/11/01 10:23:33] @ dcarley joined channel #puppet | ||
| [2011/11/01 10:23:43] <hajile> like say $variable=1 and then use source => "...../somefile-$variable.blah" | ||
| [2011/11/01 10:23:44] @ bretm joined channel #puppet | ||
| [2011/11/01 10:25:06] @ Quit: cityLights: Remote host closed the connection | ||
| [2011/11/01 10:27:01] <gob_bluth> yeah | ||
| [2011/11/01 10:27:19] @ bartavelle joined channel #puppet | ||
| [2011/11/01 10:27:28] <gob_bluth> oh wait, i don't know if you can declare vars in a manifest | ||
| [2011/11/01 10:27:43] <hajile> yeah, i'm doing a painful upgrade from 0.25.5 to 2.7.6 ;) | ||
| [2011/11/01 10:27:54] <gob_bluth> deb 5 to deb 6 ? | ||
| [2011/11/01 10:27:57] <hajile> i've been able to declare variables in manifests up until now | ||
| [2011/11/01 10:28:19] @ martin- joined channel #puppet | ||
| [2011/11/01 10:28:20] <hajile> no puppet 0.25.5 to 2.7.6 | ||
| [2011/11/01 10:28:27] <hajile> centos 5.6 is my os | ||
| [2011/11/01 10:28:57] <gob_bluth> hajile: you should be able to declare variables, but i think it has to be within a resource | ||
| [2011/11/01 10:30:15] @ djm68 joined channel #puppet | ||
| [2011/11/01 10:30:18] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/01 10:30:22] @ Quit: Davea1: Quit: Leaving | ||
| [2011/11/01 10:30:26] <hajile> interesting. | ||
| [2011/11/01 10:30:31] <hajile> has this changed recently? | ||
| [2011/11/01 10:30:40] <hajile> because i was able to get 2.7.4 working without modifying this stuff | ||
| [2011/11/01 10:30:46] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 10:30:46] <dan__t_> well. run stages won't work. | ||
| [2011/11/01 10:30:56] <dan__t_> if they can't include other modules. | ||
| [2011/11/01 10:31:11] @ Quit: hal-j: Ping timeout: 252 seconds | ||
| [2011/11/01 10:31:16] <hajile> huh | ||
| [2011/11/01 10:31:18] <dan__t_> What's my alternative? Guess I could use tags, and always run initial runs with a --tag initial | ||
| [2011/11/01 10:31:23] @ Quit: gob_bluth: Remote host closed the connection | ||
| [2011/11/01 10:31:23] <hajile> oh | ||
| [2011/11/01 10:31:23] <hajile> sorry | ||
| [2011/11/01 10:31:23] <dan__t_> or something like that. | ||
| [2011/11/01 10:31:23] <hajile> haha | ||
| [2011/11/01 10:31:29] <craftytech> has anyone seen this error before?: Puppet::Parser::AST::Resource failed with error ArgumentError | ||
| [2011/11/01 10:31:43] <craftytech> http://pastie.org/2794453 | ||
| [2011/11/01 10:31:44] <setient> no i have not | ||
| [2011/11/01 10:31:54] <n1x0n> fragfutter: <% b = memcached_servers.collect { |host| "tcp://#{host}/:11211?persistent=1&binary=1" }.join(",") -%> and then <%= b %> did the trick, thanks for a hint ! | ||
| [2011/11/01 10:32:08] <dan__t_> n1x0n, what's that do? | ||
| [2011/11/01 10:32:16] <hajile> gob_bluth: i'm confused why you would want to declare a variable just in the resource.. let's say i have a version number i've been storing in $version. I do this so I only have to change one place instead of changing it in the 15 resources listed in the manifest.. | ||
| [2011/11/01 10:32:37] @ alop joined channel #puppet | ||
| [2011/11/01 10:33:06] <n1x0n> dan__t_: you feed it with list of ips, and it generates one like like : tcp://127.0.0.1:11211?persistent=1&binary=1,tcp://1.1.1.111211?persistent=1&binary=1 | ||
| [2011/11/01 10:33:24] <dan__t_> What's the b = memcached_servers.collect { part in particular? | ||
| [2011/11/01 10:33:34] <dan__t_> that's ruby, right | ||
| [2011/11/01 10:33:41] <hajile> i would expect that if i scoped it by saying $class::version, it should work.. unfortunately, it's not | ||
| [2011/11/01 10:33:58] <n1x0n> yeah , don't ask me for details - spent 30 minutes on testing different things until it worked, Never wrote anything in ruby | ||
| [2011/11/01 10:34:11] <dan__t_> haha | ||
| [2011/11/01 10:34:13] <dan__t_> netiehr have i | ||
| [2011/11/01 10:34:15] <n1x0n> =] | ||
| [2011/11/01 10:34:23] @ Quit: sascha_: Read error: Connection reset by peer | ||
| [2011/11/01 10:34:40] <hajile> what's the ruby question? | ||
| [2011/11/01 10:34:49] <hajile> i may be confused by my problem, but i do know some ruby :) | ||
| [2011/11/01 10:34:54] @ mcarpent joined channel #puppet | ||
| [2011/11/01 10:35:01] @ Quit: tim|buntu: Ping timeout: 240 seconds | ||
| [2011/11/01 10:35:59] <n1x0n> why is it so slow | ||
| [2011/11/01 10:36:01] <n1x0n> ;-) | ||
| [2011/11/01 10:36:07] <hajile> haha | ||
| [2011/11/01 10:36:13] <hajile> ruby is awesome, don't be a hater | ||
| [2011/11/01 10:36:27] <hajile> dan__t: collect is used as an iterator | ||
| [2011/11/01 10:36:41] <hajile> so it will iterate over all the elements stored in memcached_servers | ||
| [2011/11/01 10:36:45] @ kelseyhightower joined channel #puppet | ||
| [2011/11/01 10:37:27] <dan__t_> Where does memcached_servers come from, what is it? An array? | ||
| [2011/11/01 10:37:29] <hajile> each element will be fed into the block in the curly braces, with "host" being the current item | ||
| [2011/11/01 10:37:38] <hajile> it is likely an array, yes | ||
| [2011/11/01 10:38:03] <hajile> you could throw all this code into irb | ||
| [2011/11/01 10:38:05] <dan__t_> n1x0n, where's memcached_servers come from? How do you get it? | ||
| [2011/11/01 10:38:20] <hajile> and just run a puts memcached_servers.inspect | ||
| [2011/11/01 10:38:22] <hajile> to see what's in it | ||
| [2011/11/01 10:38:30] <hajile> bbiaf | ||
| [2011/11/01 10:41:06] @ tilgovi joined channel #puppet | ||
| [2011/11/01 10:41:09] <dan__t_> thanks. | ||
| [2011/11/01 10:41:23] @ tim|buntu joined channel #puppet | ||
| [2011/11/01 10:42:41] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/01 10:43:20] @ Chris_ joined channel #puppet | ||
| [2011/11/01 10:43:25] <ashp> i have performed a work of great evil | ||
| [2011/11/01 10:43:28] <ashp> and i now have an oracle module | ||
| [2011/11/01 10:43:29] @ LenR joined channel #puppet | ||
| [2011/11/01 10:43:46] @ Chris_ is now known as Guest84064 | ||
| [2011/11/01 10:44:03] @ Guest84064 is now known as Chris03 | ||
| [2011/11/01 10:47:40] @ Quit: miche: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/01 10:48:13] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/11/01 10:48:44] @ scsinutz joined channel #puppet | ||
| [2011/11/01 10:49:05] @ scsinutz left channel #puppet () | ||
| [2011/11/01 10:51:32] @ Quit: lindenle: Ping timeout: 258 seconds | ||
| [2011/11/01 10:51:38] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com | ||
| [2011/11/01 10:52:14] @ codehotter left channel #puppet () | ||
| [2011/11/01 10:52:25] <dan__t_> I don't recall - can I specify variable value pairs on the agent command line? | ||
| [2011/11/01 10:52:28] <n1x0n> dan__t_: yeah I pass an array as a paremeter to my class | ||
| [2011/11/01 10:53:01] <dan__t_> Say I want to check that variable in a class | ||
| [2011/11/01 10:53:12] <n1x0n> then I work on that array in the template | ||
| [2011/11/01 10:53:14] @ rdegges_ is now known as rdegges | ||
| [2011/11/01 10:53:29] <dan__t_> ah ok, cool. where's the array come from though? | ||
| [2011/11/01 10:53:34] <dan__t_> like external node data or something? | ||
| [2011/11/01 10:53:41] <n1x0n> no - I just call it from my class that node includes | ||
| [2011/11/01 10:53:43] <n1x0n> something like | ||
| [2011/11/01 10:53:53] <n1x0n> node foo {include foohosts} | ||
| [2011/11/01 10:53:58] <n1x0n> and in foohosts I do | ||
| [2011/11/01 10:54:21] <n1x0n> class whatever { memecached_servers = ['one','two'] ... | ||
| [2011/11/01 10:54:26] @ jab_doa joined channel #puppet | ||
| [2011/11/01 10:54:34] <n1x0n> then the template works on these parameters | ||
| [2011/11/01 10:54:38] <n1x0n> and generates 1 line | ||
| [2011/11/01 10:55:24] <n1x0n> if that makes sense | ||
| [2011/11/01 10:57:02] @ Quit: hobbeswalsh: Remote host closed the connection | ||
| [2011/11/01 11:00:03] @ Quit: ccaum: Quit: ccaum | ||
| [2011/11/01 11:00:06] <dan__t_> ahhh | ||
| [2011/11/01 11:00:10] <dan__t_> yep, sure does. | ||
| [2011/11/01 11:00:13] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/01 11:00:25] <dan__t_> for as much as I use puppet, I sure aught to know some ruby. | ||
| [2011/11/01 11:00:29] <dan__t_> i'm sure it would make things a lot nicer. | ||
| [2011/11/01 11:01:31] @ mattva01 joined channel #puppet | ||
| [2011/11/01 11:01:38] @ Quit: mattva01: Changing host | ||
| [2011/11/01 11:01:38] @ mattva01 joined channel #puppet | ||
| [2011/11/01 11:01:39] <n1x0n> I prefer to KISS so I use it only when I have to. | ||
| [2011/11/01 11:01:51] <s0enke> what's the syntax to include a parameterized class? | ||
| [2011/11/01 11:04:13] <n1x0n> s0enke: include as in call it with parameters ? if yes then http://docs.puppetlabs.com/guides/parameterized_classes.html | ||
| [2011/11/01 11:04:19] <n1x0n> says | ||
| [2011/11/01 11:04:20] <n1x0n> class {'webserver': | ||
| [2011/11/01 11:04:20] <n1x0n> packages => 'apache2', | ||
| [2011/11/01 11:04:20] <n1x0n> vhost_dir => '/etc/apache2/sites-enabled', | ||
| [2011/11/01 11:04:20] <n1x0n> } | ||
| [2011/11/01 11:04:24] <n1x0n> I do it that way and it works | ||
| [2011/11/01 11:04:25] <n1x0n> =] | ||
| [2011/11/01 11:05:47] @ Quit: Volcane: Quit: bbiab | ||
| [2011/11/01 11:05:48] @ Quit: MattyM: Read error: Connection reset by peer | ||
| [2011/11/01 11:06:10] <s0enke> n1x0n, ah ok. i wonder why it's not include class(param1, ...) | ||
| [2011/11/01 11:06:17] <s0enke> rhx anyways ;) | ||
| [2011/11/01 11:06:43] @ lindenle joined channel #puppet | ||
| [2011/11/01 11:06:46] @ hal-j joined channel #puppet | ||
| [2011/11/01 11:07:11] @ Quit: hal-j1: Read error: Connection reset by peer | ||
| [2011/11/01 11:07:42] @ tlocalhos joined channel #puppet | ||
| [2011/11/01 11:08:07] <n1x0n> np | ||
| [2011/11/01 11:10:16] @ bmahe joined channel #puppet | ||
| [2011/11/01 11:10:17] @ Quit: bmahe: Changing host | ||
| [2011/11/01 11:10:17] @ bmahe joined channel #puppet | ||
| [2011/11/01 11:10:43] @ maxmartin joined channel #puppet | ||
| [2011/11/01 11:10:58] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 11:11:05] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 11:11:34] <illsci> I have some puppet/hiera questions... I think... I have reached a point where I'm going to have host specific data... like vpn ip's that have to be different than other hosts ips and I need a way to say this host should have 10.1.0.1 and this other host should have 10.2.0.1... I'm trying to think where I can store that information. I can "tag" my servers with roles in rightscale... and that's what I'm doing right now to determine or set a servers role but I' | ||
| [2011/11/01 11:11:43] <illsci> I can do this... with hiera perhaps... | ||
| [2011/11/01 11:12:10] <illsci> but im still not sure even if I use hiera to hold my data and apply it to a host I would still have to tag the servers anyway to uniquely identify t hem | ||
| [2011/11/01 11:12:36] @ Quit: astrostl: | ||
| [2011/11/01 11:12:53] @ BartVB joined channel #puppet | ||
| [2011/11/01 11:12:55] <jkoppe> is there a way to get my custom facts to work without sudo on my puppet agents? http://pastie.org/private/uvt3hfkddaevlh5d2w | ||
| [2011/11/01 11:13:39] @ Quit: caviwipes: Quit: Computer has gone to sleep. | ||
| [2011/11/01 11:13:57] <jkoppe> using facter | ||
| [2011/11/01 11:15:46] <hacim> does anyone know how to get around the Mongrel is not installed on this platform (ArgumentError) issue? | ||
| [2011/11/01 11:16:53] <BartVB> jkoppe; no idea but you might try running a diff of 'facter -p' between both cases, maybe that gives you a clue was to what's happening? | ||
| [2011/11/01 11:17:56] @ rharrison joined channel #puppet | ||
| [2011/11/01 11:18:49] @ Quit: Razique: Quit: Razique | ||
| [2011/11/01 11:19:16] <jkoppe> good idea | ||
| [2011/11/01 11:19:26] <jkoppe> stuff from dmidecode is in the sudo one | ||
| [2011/11/01 11:19:30] <jkoppe> and my custom facts | ||
| [2011/11/01 11:20:11] <BartVB> dmidecode makes sense :) | ||
| [2011/11/01 11:20:44] <jkoppe> yeh | ||
| [2011/11/01 11:21:32] @ diq joined channel #puppet | ||
| [2011/11/01 11:23:04] <hajile> hacim: upgrade to the newest puppet on yum.puppetlabs.com if you're using an rpm | ||
| [2011/11/01 11:23:19] <hacim> hajile: i'm not using rpm | ||
| [2011/11/01 11:23:25] <hajile> hmm, well then download the patch | ||
| [2011/11/01 11:23:56] @ sppadic joined channel #puppet | ||
| [2011/11/01 11:24:17] <hacim> hajile: i did, and it didn't work, and I reopened the issue as a result | ||
| [2011/11/01 11:24:24] <hajile> oh bummer | ||
| [2011/11/01 11:24:32] <BartVB> I think I'm starting to go blind :+ I'm getting a syntax error but I can't figure out what's wrong for the life of me: http://pastebin.com/G5dRW0Gd Tried just about anything but Puppet keeps complaining about the syntax :\ | ||
| [2011/11/01 11:24:35] <hajile> i used the rpm and it fixed that problem for me | ||
| [2011/11/01 11:24:48] <HCoyote> BartVB: it seems to work correctly if you do something like FACTLIB=/var/lib/puppet/lib/facter facter -p <custom puppet fact> | ||
| [2011/11/01 11:25:01] <HCoyote> it's like it's not aware of where the puppet fact dir is when run with -p. | ||
| [2011/11/01 11:25:03] <jkoppe> BartVB: end " in line with source | ||
| [2011/11/01 11:25:30] <jkoppe> line 5 :) | ||
| [2011/11/01 11:25:35] <BartVB> jkoppe; eeehm, you're right :+ It's a good thing that you can't see me blushing :+ Thanks! | ||
| [2011/11/01 11:26:43] <illsci> Is something like this going to work out... content => template("ovpn/$ovpn::params::service_config.erb"), | ||
| [2011/11/01 11:27:11] @ Dantman joined channel #puppet | ||
| [2011/11/01 11:27:19] @ jameswhite is now known as drunkjames | ||
| [2011/11/01 11:27:37] @ drunkjames is now known as jameswhite | ||
| [2011/11/01 11:28:49] @ nsmc-audax joined channel #puppet | ||
| [2011/11/01 11:29:48] @ Quit: Nadir_Seen_Fire: Ping timeout: 255 seconds | ||
| [2011/11/01 11:29:58] @ ghaskins joined channel #puppet | ||
| [2011/11/01 11:30:13] @ Quit: devdas: Ping timeout: 240 seconds | ||
| [2011/11/01 11:30:48] @ hooper joined channel #puppet | ||
| [2011/11/01 11:31:09] @ Quit: nottings: Remote host closed the connection | ||
| [2011/11/01 11:31:22] @ Quit: nsmc-audax: Client Quit | ||
| [2011/11/01 11:31:32] @ nottings joined channel #puppet | ||
| [2011/11/01 11:32:09] <dan__t_> does using --tags imply any order of precedence or does it just mean "all together"? | ||
| [2011/11/01 11:34:11] @ Quit: sppadic: Quit: Leaving | ||
| [2011/11/01 11:34:36] @ Quit: Mandus: Quit: leaving | ||
| [2011/11/01 11:34:42] @ Mandus joined channel #puppet | ||
| [2011/11/01 11:34:55] <walkeran> dan__t_: afaik, the same precedence/relationships apply as would apply when running the full catalog | ||
| [2011/11/01 11:34:59] @ kelseyhightower joined channel #puppet | ||
| [2011/11/01 11:35:07] @ Mandus left channel #puppet () | ||
| [2011/11/01 11:35:08] <walkeran> dan__t_: Of course, only resources which match those tags will be used | ||
| [2011/11/01 11:35:45] @ Volcane joined channel #puppet | ||
| [2011/11/01 11:36:48] @ xzu joined channel #puppet | ||
| [2011/11/01 11:36:48] @ Quit: xzu: Client Quit | ||
| [2011/11/01 11:37:52] <the_ramink> illsci: should work though I'd put curly brackets around the variable for clarity. | ||
| [2011/11/01 11:38:27] @ negronjl joined channel #puppet | ||
| [2011/11/01 11:38:32] @ Quit: hal-j1: Read error: Connection reset by peer | ||
| [2011/11/01 11:38:46] @ hal-j joined channel #puppet | ||
| [2011/11/01 11:38:52] <hajile> so | ||
| [2011/11/01 11:39:12] <hajile> now i'm really confused, because in the parameterized class example, they show declaring local variables that then get used by resources | ||
| [2011/11/01 11:39:15] <hajile> http://docs.puppetlabs.com/guides/parameterized_classes.html | ||
| [2011/11/01 11:39:23] <hajile> at the bottom.. | ||
| [2011/11/01 11:39:44] <hajile> so why can't i use local variables in my manifests with 2.7.6 | ||
| [2011/11/01 11:39:47] * hajile confused. | ||
| [2011/11/01 11:39:54] @ Quit: kubicek: Excess Flood | ||
| [2011/11/01 11:40:17] @ eightbits joined channel #puppet | ||
| [2011/11/01 11:40:57] @ kubicek joined channel #puppet | ||
| [2011/11/01 11:41:05] <eightbits> How can I get the path to a module in ruby code within a puppet template? | ||
| [2011/11/01 11:41:06] <illsci> hmmm | ||
| [2011/11/01 11:41:19] @ williemach left channel #puppet () | ||
| [2011/11/01 11:41:21] <dan__t_> thanks, walkeran. | ||
| [2011/11/01 11:42:11] <walkeran> yw | ||
| [2011/11/01 11:42:14] <illsci> I'm going to set a bunch of tags on a ec2 instance like mdb1,mdb2,mdb3... and I need to check to see if the server instance has each tag and if it does pull in a template... | ||
| [2011/11/01 11:42:24] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/01 11:42:44] @ p3rror joined channel #puppet | ||
| [2011/11/01 11:42:54] <hajile> walkeran: are you aware of any limitations imposed by 2.7.x on using local variables in manifests? Do they have to be unquoted? | ||
| [2011/11/01 11:42:57] @ Quit: lindenle: Ping timeout: 260 seconds | ||
| [2011/11/01 11:43:03] <illsci> hmmm I guess I can use defines for this... | ||
| [2011/11/01 11:43:25] @ Quit: shadoi: Ping timeout: 252 seconds | ||
| [2011/11/01 11:44:04] <walkeran> hajile: Not that I know of.. at least I don't think any of the conventions have changed. Just the usual best-practices from the style guide | ||
| [2011/11/01 11:44:11] <hajile> i wonder if this is a stage issue | ||
| [2011/11/01 11:45:10] <dan__t_> i know how/where to use tags, just didn't know the details | ||
| [2011/11/01 11:45:33] <hajile> http://pastebin.com/7Syavs9x | ||
| [2011/11/01 11:46:09] <hajile> so when i run that manifest under 2.7.6, the resulting catalog tries to access "/LikewiseOpen--linux-x86_64-rpm.sh" | ||
| [2011/11/01 11:46:31] <walkeran> hajile: Oh, you'll want to use brackets, for sure | ||
| [2011/11/01 11:46:39] <hajile> oh | ||
| [2011/11/01 11:46:44] <hajile> #{version} ? | ||
| [2011/11/01 11:46:48] <hajile> or ${version} | ||
| [2011/11/01 11:46:53] <hajile> ? | ||
| [2011/11/01 11:46:53] <walkeran> hajile: Not sure if that will fix it, but quite possibly... ${version} | ||
| [2011/11/01 11:46:58] <hajile> hmm | ||
| [2011/11/01 11:47:15] <hajile> ok let me give that a shot | ||
| [2011/11/01 11:47:33] <walkeran> I know there is an issue with preceding/trailing hyphens when you don't use brackets, so that's quite possibly your problem | ||
| [2011/11/01 11:47:45] <hajile> when was that introduced? | ||
| [2011/11/01 11:47:49] <hajile> any idea? | ||
| [2011/11/01 11:47:55] <hajile> it works fine under 0.25.5 right now | ||
| [2011/11/01 11:47:59] <walkeran> Couldn't tell ya... I think either 2.6 or 2.7, though | ||
| [2011/11/01 11:48:02] <hajile> ok | ||
| [2011/11/01 11:48:02] <hajile> yeah | ||
| [2011/11/01 11:48:03] <walkeran> Ah, yeah, that could be it | ||
| [2011/11/01 11:48:11] <hajile> i could have sworn i didn't hit this error on 2.7.4 | ||
| [2011/11/01 11:48:23] <hajile> but maybe i didn't try these modules | ||
| [2011/11/01 11:48:36] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/01 11:49:04] @ Quit: tessier: Changing host | ||
| [2011/11/01 11:49:04] @ tessier joined channel #puppet | ||
| [2011/11/01 11:51:17] <hajile> thanks for the suggestion! i'll let you know if it works.. | ||
| [2011/11/01 11:52:07] @ jaytaph joined channel #puppet | ||
| [2011/11/01 11:53:12] @ Quit: negronjl: Ping timeout: 240 seconds | ||
| [2011/11/01 11:53:58] @ Quit: Chris03: Quit: Page closed | ||
| [2011/11/01 11:54:44] @ Quit: misc: Ping timeout: 260 seconds | ||
| [2011/11/01 11:56:05] @ illsci left channel #puppet () | ||
| [2011/11/01 11:56:12] @ Razique joined channel #puppet | ||
| [2011/11/01 11:56:32] @ lindenle joined channel #puppet | ||
| [2011/11/01 11:57:06] @ Vulcan[OMNI] joined channel #puppet | ||
| [2011/11/01 11:57:34] <eightbits> I'm trying to perform conditional inclusion of a template within another template in a puppet module. If the file exists, include it with scope.function_template() else do nothing. But how can I find the path to the file from the ruby code embedded in the template? | ||
| [2011/11/01 11:57:43] @ tilgovi joined channel #puppet | ||
| [2011/11/01 11:57:43] @ Quit: tilgovi: Changing host | ||
| [2011/11/01 11:57:44] @ tilgovi joined channel #puppet | ||
| [2011/11/01 11:59:01] <hajile> walkeran: thank you!!! | ||
| [2011/11/01 11:59:08] <hajile> that fixed it :) | ||
| [2011/11/01 11:59:12] <walkeran> hajile: Glad that worked for ya :) No prob | ||
| [2011/11/01 11:59:17] <hajile> same here. | ||
| [2011/11/01 11:59:28] <hajile> I have to get off 0.25.5.. it's ridiculous now. | ||
| [2011/11/01 12:00:38] <walkeran> Hah, I know whatcha mean. That's been my project for the last 4-5 months | ||
| [2011/11/01 12:00:38] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 12:00:52] <hajile> so far, this is the only issue i hit | ||
| [2011/11/01 12:00:52] @ hal-j joined channel #puppet | ||
| [2011/11/01 12:00:59] <hajile> lots of deprecation warnings, but i can fix those | ||
| [2011/11/01 12:01:08] <matchaw___> Hi, could anyone show an example of passing an array to a define to then use within a function? | ||
| [2011/11/01 12:01:16] <hajile> ok i gotta run, thanks again!! | ||
| [2011/11/01 12:02:24] @ simmerz left channel #puppet () | ||
| [2011/11/01 12:05:08] <eightbits> matchaw__, I never actually tried that. But would this work to pass the array: option => [ "$arrayName" ] | ||
| [2011/11/01 12:06:26] <kjetilho> eightbits: no | ||
| [2011/11/01 12:07:02] <kjetilho> matchaw___: what do you mean by "use within a function"? | ||
| [2011/11/01 12:07:22] <eightbits> Didn't think so. I never actually pass arrays. I define a hash within a module or class and just use it. | ||
| [2011/11/01 12:07:54] <matchaw___> I am trying to pass an array to a define, then hand of the array to a custom ruby function, but the array I think gets interpolated. | ||
| [2011/11/01 12:09:21] <matchaw___> eightbits, I need the variable to constantly change, hence why I need to pass the variable into a define. | ||
| [2011/11/01 12:10:05] @ duerF joined channel #puppet | ||
| [2011/11/01 12:10:21] <eightbits> You cannot change the value of a variable within a scope. | ||
| [2011/11/01 12:10:40] @ jkoppe left channel #puppet () | ||
| [2011/11/01 12:10:53] <eightbits> Or are you trying to use the Ruby DSL? | ||
| [2011/11/01 12:11:01] <kjetilho> matchaw___: [[1,2], [2,3]] doesn't work. it is flattened | ||
| [2011/11/01 12:12:22] <matchaw___> 2 mins, and I will show you the source. | ||
| [2011/11/01 12:12:25] <kjetilho> matchaw___: there is an ugly (and usually useless) workaround: $a = [1,2] $b = [2,3] [$a, $b] | ||
| [2011/11/01 12:12:39] @ Quit: maxmartin: Remote host closed the connection | ||
| [2011/11/01 12:13:52] <jeremywf> hi - I'm working with puppet-dashboard 1.2.1 and was having trouble with a permission denied error when the workers tried to process reports in /usr/share/puppet-dashboard/spool - until I started running the workers as root | ||
| [2011/11/01 12:14:30] <jeremywf> has anyone else run into this and if so, were you able to solve it and still run the workers as the puppet-dashboard user? | ||
| [2011/11/01 12:15:52] <matchaw___> kjetilho :: http://pastie.org/2794963 | ||
| [2011/11/01 12:16:02] <matchaw___> this is an example of what I am trying to do. | ||
| [2011/11/01 12:17:47] <matchaw___> I am trying to pass $array as an array into the define and then call the function to loop through the array | ||
| [2011/11/01 12:17:55] <matchaw___> any ideas? | ||
| [2011/11/01 12:18:20] <kjetilho> so what's not working? | ||
| [2011/11/01 12:19:40] @ Quit: LenR: Quit: Page closed | ||
| [2011/11/01 12:20:49] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/01 12:21:27] <matchaw___> kjetilho: basically it sees the variable as foobar, and only does one loop in the function, the function does not see it as an array. | ||
| [2011/11/01 12:22:16] <kjetilho> oh wow | ||
| [2011/11/01 12:22:22] <matchaw___> if you look in the function, the function passes back "changes" and this only contains the single line with "foobar" yet it should contain 2 lines | ||
| [2011/11/01 12:22:53] @ misc joined channel #puppet | ||
| [2011/11/01 12:23:08] @ verwilst joined channel #puppet | ||
| [2011/11/01 12:23:22] @ devdas joined channel #puppet | ||
| [2011/11/01 12:23:48] @ negronjl joined channel #puppet | ||
| [2011/11/01 12:24:22] <matchaw___> if I was to set for example args=[foo,bar] within the function then this will work, so some where along the line it does not pass it to the function as an array, and I can't see it :) | ||
| [2011/11/01 12:25:11] <kjetilho> well, try my workaround suggestion, ie. just a dummy variable? | ||
| [2011/11/01 12:25:24] <kjetilho> obviously not a solution you would want to use, though | ||
| [2011/11/01 12:26:33] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/01 12:27:05] <matchaw___> where would I put your suggestion? | ||
| [2011/11/01 12:27:18] @ Quit: misc: Remote host closed the connection | ||
| [2011/11/01 12:27:23] @ misc joined channel #puppet | ||
| [2011/11/01 12:27:41] <kjetilho> before the call to the testdefine? | ||
| [2011/11/01 12:28:05] <ashp> I thought mount{} would modify fstab? | ||
| [2011/11/01 12:28:15] <ashp> For some reason it's not doing that, then just doing mount /mntpoint | ||
| [2011/11/01 12:28:38] @ sduchesneau joined channel #puppet | ||
| [2011/11/01 12:29:01] @ mapu joined channel #puppet | ||
| [2011/11/01 12:29:23] @ Quit: mapu: Client Quit | ||
| [2011/11/01 12:29:32] <matchaw___> kjetilho: If I run notify{"The value is: ${array}": } in the define, for some reason it prints the whole array? | ||
| [2011/11/01 12:29:46] <matchaw___> how can I test printing the array? | ||
| [2011/11/01 12:31:21] @ Quit: Elwell: Ping timeout: 610 seconds | ||
| [2011/11/01 12:32:03] @ Quit: misc: Ping timeout: 276 seconds | ||
| [2011/11/01 12:32:04] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/01 12:32:45] @ Elwell joined channel #puppet | ||
| [2011/11/01 12:32:50] <kjetilho> matchaw___: use a define :-) | ||
| [2011/11/01 12:33:11] @ Quit: mattva01: Ping timeout: 265 seconds | ||
| [2011/11/01 12:33:37] <kjetilho> define notify_each { notify { "Value is: $name" } } | ||
| [2011/11/01 12:33:38] <asteve> I have a module named "control"; inside of control/files is a directory called "control": modules/control/files/control; inside that directory are two scripts that start and stop instances; when I made a change to the start script today, the md5 was updated on the node but the changed script was not copied over; here is the manifest entry: http://pastie.org/2795059 | ||
| [2011/11/01 12:33:41] <asteve> what did I do wrong? | ||
| [2011/11/01 12:33:46] <kjetilho> notify_each { $array: } | ||
| [2011/11/01 12:33:47] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/01 12:35:51] @ Stenbryggen joined channel #puppet | ||
| [2011/11/01 12:37:08] @ Quit: negronjl: Ping timeout: 258 seconds | ||
| [2011/11/01 12:39:28] @ Quit: craftytech: Ping timeout: 265 seconds | ||
| [2011/11/01 12:42:14] @ mitchellh joined channel #puppet | ||
| [2011/11/01 12:44:48] @ paxos joined channel #puppet | ||
| [2011/11/01 12:49:14] @ jongrocho joined channel #puppet | ||
| [2011/11/01 12:50:26] @ Quit: Razique: Quit: Razique | ||
| [2011/11/01 12:50:40] @ eightbits left channel #puppet () | ||
| [2011/11/01 12:51:05] @ d3c joined channel #puppet | ||
| [2011/11/01 12:51:10] <asteve> does anyone have advice on my problem? | ||
| [2011/11/01 12:51:31] <asteve> i'm try to ensure that all files that change in /etc/puppet/module/control/files/control get pushed to /usr/local/control/ | ||
| [2011/11/01 12:51:43] <asteve> i'm seeing the update in syslog of the md5 but the file isn't changing | ||
| [2011/11/01 12:55:25] @ mlg9000 joined channel #puppet | ||
| [2011/11/01 12:59:10] <mlg9000> I don't think this is currently possible but maybe someone can tell me otherwise.... it there a way to tell puppet to not report a system as changed even though one specific file that I don't care about has changed? | ||
| [2011/11/01 12:59:39] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 12:59:58] <rodjek> mlg9000: write your own report plugin? | ||
| [2011/11/01 13:01:05] <mlg9000> seems like a decnt feature request anyway | ||
| [2011/11/01 13:01:27] <walkeran> mlg9000: audit => false? | ||
| [2011/11/01 13:01:43] <walkeran> mlg9000: I've never tried it, but it seems to me that I've heard mumblings of that in the past | ||
| [2011/11/01 13:03:39] <walkeran> Hrmm.. I might be wrong there.. looking at the metaparameter docs for audit doesn't make it seem like that would be the solution. But, I guess it's always worth a shot | ||
| [2011/11/01 13:04:44] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 13:04:51] @ misc joined channel #puppet | ||
| [2011/11/01 13:04:58] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 13:05:37] <mlg9000> well. lets see | ||
| [2011/11/01 13:06:11] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/01 13:08:50] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/01 13:09:13] @ Quit: misc: Ping timeout: 252 seconds | ||
| [2011/11/01 13:09:57] @ Quit: brtl: Quit: Leaving. | ||
| [2011/11/01 13:10:05] @ lborda joined channel #puppet | ||
| [2011/11/01 13:10:06] @ caviwipes joined channel #puppet | ||
| [2011/11/01 13:10:50] @ misc joined channel #puppet | ||
| [2011/11/01 13:11:39] @ toi joined channel #puppet | ||
| [2011/11/01 13:12:41] <walkeran> mlg9000: Bleh, sorry to lead you off-track, but it doesn't look like the audit metaparameter will do what you want, at all :( | ||
| [2011/11/01 13:13:41] <mlg9000> nope | ||
| [2011/11/01 13:14:23] <mlg9000> I'll put in a feature request and see if puppetlabs bites | ||
| [2011/11/01 13:15:23] @ Quit: misc: Ping timeout: 245 seconds | ||
| [2011/11/01 13:16:51] @ misc joined channel #puppet | ||
| [2011/11/01 13:17:06] <walkeran> mlg9000: Oh! It looks like you might be able to use loglevel to your advantage, though. I just set my loglevel => 'debug' in a file resource, and when the contents were changed it was logged to debug, which (probably) doesn't end up in your reports | ||
| [2011/11/01 13:18:46] @ hal-j joined channel #puppet | ||
| [2011/11/01 13:18:46] @ Quit: hal-j1: Read error: Connection reset by peer | ||
| [2011/11/01 13:22:37] <mlg9000> nope it does | ||
| [2011/11/01 13:22:38] <walkeran> mlg9000: I guess that probably means it will still show up as a changed resource, though... you just won't see the log | ||
| [2011/11/01 13:22:39] @ Quit: arnihermann: Max SendQ exceeded | ||
| [2011/11/01 13:22:41] <walkeran> mlg9000: Meh... ok. I'm done playing with this. I think your idea of adding a feature request is probably the best :P | ||
| [2011/11/01 13:22:54] @ Quit: lbt: Excess Flood | ||
| [2011/11/01 13:22:56] <mlg9000> yeah, thanks for trying though ;) | ||
| [2011/11/01 13:23:23] @ Quit: misc: Ping timeout: 252 seconds | ||
| [2011/11/01 13:23:26] @ Quit: diq: Quit: Leaving | ||
| [2011/11/01 13:23:29] @ arnihermann joined channel #puppet | ||
| [2011/11/01 13:23:31] @ lbt joined channel #puppet | ||
| [2011/11/01 13:23:32] @ Quit: lbt: Changing host | ||
| [2011/11/01 13:23:32] @ lbt joined channel #puppet | ||
| [2011/11/01 13:23:42] @ Quit: Espen-_o: Max SendQ exceeded | ||
| [2011/11/01 13:23:59] @ Espen-_o joined channel #puppet | ||
| [2011/11/01 13:27:47] @ quit (seeya) | ||
| [2011/11/01 13:31:12] @ Joined channel #puppet | ||
| [2011/11/01 13:31:12] @ Topic is "Important Security Announcement: http://bit.ly/AltNames | Thanks for coming to PuppetConf! Videos available http://www.youtube.com/user/puppetlabsinc | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A." | ||
| [2011/11/01 13:31:12] @ Topic set by stahnma!~stahnma@fedora/stahnma on Mon Oct 24 13:04:13 -0700 2011 | ||
| [2011/11/01 13:31:25] @ Mode +Ccnt by hubbard.freenode.net | ||
| [2011/11/01 13:31:44] <jpalmer> I guess what I'm getting at is: If something is being changed on every puppet run, or often enough that logging it is annoying, there is probably a better way to do it. | ||
| [2011/11/01 13:31:54] <walkeran> jpalmer: MY use case is, I want puppet's last run time to be in my /etc/motd... but I don't want to see it every time it's changed. | ||
| [2011/11/01 13:32:19] @ paroneay` joined channel #puppet | ||
| [2011/11/01 13:32:22] <walkeran> jpalmer: And, I know that's a silly reason, and there are multiple ways around it, but they are all more complexity that it's really worth, and I've just done without it :) | ||
| [2011/11/01 13:33:01] @ fredden joined channel #puppet | ||
| [2011/11/01 13:33:26] @ devicenull joined channel #puppet | ||
| [2011/11/01 13:33:29] <jpalmer> walkeran: but in that use case.. maybe it's better to have a script called via cron, that looks at the puppet catalog, determines it's last run, and generates an motd file based on that? is puppet the *right* place for changing a file on literally every run? | ||
| [2011/11/01 13:33:32] <mlg9000> facts are only part of the yaml, I add (and remove things) from what would be in the puppet copy | ||
| [2011/11/01 13:33:37] @ Quit: paroneayea: Ping timeout: 240 seconds | ||
| [2011/11/01 13:33:38] @ Quit: mutex: Ping timeout: 240 seconds | ||
| [2011/11/01 13:33:39] @ Quit: fredden: Remote host closed the connection | ||
| [2011/11/01 13:33:43] @ paroneay` is now known as paroneayea | ||
| [2011/11/01 13:33:56] @ fredden joined channel #puppet | ||
| [2011/11/01 13:34:42] <walkeran> jpalmer: True :) I'll admit that using puppet for that specific case is probably not the best idea :) | ||
| [2011/11/01 13:34:52] <jpalmer> keep in mind, you both know your environments better than I do. so I'm not telling you "you're doing it wrong" I'm just wondering if maybe there is a better, or more appropriate way to handle these tasks | ||
| [2011/11/01 13:34:54] <Harzilein> hmm | ||
| [2011/11/01 13:35:28] <Harzilein> will an onylif check only get executed once the package requirements are met? i.e. can it rely on having programs from those packages present? | ||
| [2011/11/01 13:35:32] @ misc joined channel #puppet | ||
| [2011/11/01 13:36:15] <jpalmer> Harzilein: onlyif will check until the value returned is 'true' so you can configure your onlyif, so return true if the package exists. | ||
| [2011/11/01 13:36:19] <mlg9000> I have a few other use cases.. and mine doesn't change that often... but it becomes and issue when you have 1000's of systems reporting trivial changes | ||
| [2011/11/01 13:37:00] @ jokajak joined channel #puppet | ||
| [2011/11/01 13:37:22] @ Quit: paroneayea: Changing host | ||
| [2011/11/01 13:37:22] @ paroneayea joined channel #puppet | ||
| [2011/11/01 13:38:15] <jpalmer> mlg9000: I hear you. may concern is.. lets say this request gets added to puppet. now lets say you have an admin on your team who realizes he's about to be fired.. so he makes a small change in your puppet infra, and sets it to this "not report" setting. while there are other ways to find the change has been made, I'm wondering if it's in the best interest of the puppet project (on the whole) to even make such a thing possible. | ||
| [2011/11/01 13:38:47] @ Quit: jonhattan: Quit: Ex-Chat | ||
| [2011/11/01 13:38:58] @ Quit: jcustenborder: Read error: Connection reset by peer | ||
| [2011/11/01 13:39:09] @ jcustenborder joined channel #puppet | ||
| [2011/11/01 13:39:17] <jpalmer> (yes, totally made up scenario. but there are a lot of "what if's" that'd concern me about that capability | ||
| [2011/11/01 13:39:42] <Harzilein> jpalmer: my question was different | ||
| [2011/11/01 13:40:19] @ Quit: misc: Ping timeout: 276 seconds | ||
| [2011/11/01 13:40:19] @ csanchez joined channel #puppet | ||
| [2011/11/01 13:40:21] <Harzilein> jpalmer: say my check needs some other package present to work. will the install of that package happen first, or the onlyif? | ||
| [2011/11/01 13:40:41] <mlg9000> jpalmer: yeah I can see the security implications | ||
| [2011/11/01 13:40:41] <jpalmer> Harzilein: that depends on how you define your scoping and requires | ||
| [2011/11/01 13:41:33] <jpalmer> err, not scoping. I forget what puppet calls it | ||
| [2011/11/01 13:41:36] <jpalmer> stages | ||
| [2011/11/01 13:41:36] <mlg9000> although access to puppet manifests is always going to be a security risk.. I could just turn reporting completely off to the same effect | ||
| [2011/11/01 13:42:40] <jpalmer> mlg9000: I'd venture to say most places would spot reports not happening at all, a lot faster than they'd see "hey, this one small change is occuring, but not being logged" | ||
| [2011/11/01 13:43:11] <jpalmer> for me, I have opsview check the puppet catalogs and reports. if they aren't happening at the expected intervals, I get an alert. | ||
| [2011/11/01 13:44:02] <mlg9000> we make users submit changes via subversion and their own users | ||
| [2011/11/01 13:44:08] <mlg9000> as* | ||
| [2011/11/01 13:44:14] @ jcustenborder1 joined channel #puppet | ||
| [2011/11/01 13:44:17] <jpalmer> but that is *your* workflow. not every place does that. | ||
| [2011/11/01 13:44:28] <Harzilein> jpalmer: exec { "pwgen_for_some_app": command => { "appclient --setpasswd `pwgen something | tee /tmp/foo` ; gnupg < /tmp/foo ; rm /tmp/foo" }, onlyif => "appclient --checkpassword ''", require => [Package["pwgen"], Package["appclient"], Package["appserver"]]} | ||
| [2011/11/01 13:44:40] <mlg9000> right but there are ways to protect yourself | ||
| [2011/11/01 13:44:57] <Harzilein> jpalmer: will appclient will be already present for this test? | ||
| [2011/11/01 13:45:01] <Harzilein> -will | ||
| [2011/11/01 13:46:08] <jpalmer> mlg9000: all I can say is, if you want the feature, feel free to request it. I'd probably vote it down, as I think your workflow is putting my infra at more risk as a consequence, but ultimately.. it's up to puppetlabs to decide if it's worthwhile. | ||
| [2011/11/01 13:46:24] @ Quit: jcustenborder: Ping timeout: 240 seconds | ||
| [2011/11/01 13:47:20] <jpalmer> Harzilein: based on what you just posted, it looks like the applications would be available. however, the best way to find out, is to do a puppet run, possibly with --graph | ||
| [2011/11/01 13:47:43] @ soh joined channel #puppet | ||
| [2011/11/01 13:48:17] @ Quit: stevie-bash: Quit: Verlassend | ||
| [2011/11/01 13:49:34] @ misc joined channel #puppet | ||
| [2011/11/01 13:50:01] <ken_barber> mlg9000: the facts.yaml no reporting case has been discussed before | ||
| [2011/11/01 13:50:11] <ken_barber> mlg9000: I have a feeling there was a ticket raised on this recently | ||
| [2011/11/01 13:51:25] <ken_barber> mlg9000: #7555 | ||
| [2011/11/01 13:51:26] <gepetto> ken_barber: mlg9000: #7555 is http://projects.puppetlabs.com/issues/show/7555 "Puppet - Feature #7555: should be able to exclude a resource from reporting. It has a status of Needs More Information and is assigned to Nigel Kersten" | ||
| [2011/11/01 13:52:14] @ mayh3m12 joined channel #puppet | ||
| [2011/11/01 13:53:22] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/01 13:53:27] <mlg9000> ken_barber: ah excellent.. from the mcollective guy himself | ||
| [2011/11/01 13:53:42] <ken_barber> mlg9000: we've been over that issue from a number of angles | ||
| [2011/11/01 13:53:45] @ Quit: jedi4ever: Read error: Connection reset by peer | ||
| [2011/11/01 13:54:02] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 13:54:12] @ i0n is now known as evilsushi | ||
| [2011/11/01 13:54:51] <mayh3m12> hello #ruby.. I am attempting to rake a database but I am running into an error where ruby does not seem to recognize that I have glibc installed http://pastebin.com/XfbX9WBL | ||
| [2011/11/01 13:54:53] <mlg9000> maybe a better way is is reporting audit levels..... | ||
| [2011/11/01 13:55:09] @ mattva01 joined channel #puppet | ||
| [2011/11/01 13:55:14] <mlg9000> report as changed: critical, normal, trivial | ||
| [2011/11/01 13:55:22] <jpalmer> the original request is from soneone trying to do an apt-get on every run. it still seems like they are tackling the issue from the wrong direction. maybe a better solution there is, puppetize a cron job. the cron job calls apt-get. the cron job itself doesn't need to change on every run. | ||
| [2011/11/01 13:55:37] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/11/01 13:55:58] <jpalmer> I think the comment about allowing the reporting tools to decide to ignore it or not, is much better than not having it submitted in the report at all. | ||
| [2011/11/01 13:56:05] <mlg9000> yeah in that case who cares | ||
| [2011/11/01 13:56:16] @ Quit: csanchez: Quit: csanchez | ||
| [2011/11/01 13:56:26] <ken_barber> you can certainly have your facts.yaml generated from a cron. | ||
| [2011/11/01 13:56:33] <ken_barber> you just lose the scope vars in that case | ||
| [2011/11/01 13:58:08] <jpalmer> ken_barber: speaking of mcollective.. you shoulda seen all the activity a few days ago. pienaar retweeted your tweet about us having added ascendos support. people were crawling out of the woodwork. hehe | ||
| [2011/11/01 13:58:25] <mattva01> having a very strange issue...on ubuntu, the puppet agent starts on boot, but does not seem to ever try to download a manifest, restarting the daemon fixes the issue, but rebooting brings it back again | ||
| [2011/11/01 13:58:44] @ csanchez joined channel #puppet | ||
| [2011/11/01 13:58:45] <ken_barber> jpalmer: cool. ascendos does look promising. | ||
| [2011/11/01 13:58:53] @ Quit: jedi4ever: Client Quit | ||
| [2011/11/01 13:58:58] <ken_barber> jpalmer: well - it has a nice web page :-) | ||
| [2011/11/01 13:59:31] <jpalmer> ken_barber: I just submitted apull request to them, fixing the "select Minimal gets you a full desktop" issue | ||
| [2011/11/01 14:00:16] @ thenulldevice joined channel #puppet | ||
| [2011/11/01 14:00:24] <ken_barber> jpalmer: lol. just like windows right? | ||
| [2011/11/01 14:00:24] <d3c> I'm looking for a way to share some config files between bootstrap scripts (mcollective-server-provisioner) and puppet. e.g. I need to put dhclient-script+dhclient.conf to get my DNS working before puppet etc gets installed but afterwards, puppet should manage those files. any ideas how to do this? | ||
| [2011/11/01 14:00:41] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/01 14:00:43] @ hal-j1 joined channel #puppet | ||
| [2011/11/01 14:01:03] <d3c> put ... on nodes, that is | ||
| [2011/11/01 14:01:13] @ mattva01_ joined channel #puppet | ||
| [2011/11/01 14:01:33] <jpalmer> ken_barber: hah. not if my pull request is accepted :P | ||
| [2011/11/01 14:02:56] @ peridot joined channel #puppet | ||
| [2011/11/01 14:03:04] @ Quit: mattva01: Ping timeout: 265 seconds | ||
| [2011/11/01 14:04:43] @ carpenoctem joined channel #puppet | ||
| [2011/11/01 14:04:59] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/11/01 14:05:04] @ Quit: csanchez: Ping timeout: 260 seconds | ||
| [2011/11/01 14:05:07] @ jnvilo joined channel #puppet | ||
| [2011/11/01 14:05:08] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/11/01 14:05:47] <peridot> Hi all, can anyone help with a custom function problem? I'm trying to call one of my other custom functions from another, but it comes up with the error: "Error 400 on SERVER: wrong number of arguments (2 for 1)" | ||
| [2011/11/01 14:06:26] <rodjek> peridot: gist/pastebin your code | ||
| [2011/11/01 14:07:03] <Volcane> peridot: functions takes a single array as argument | ||
| [2011/11/01 14:07:10] <Volcane> generally | ||
| [2011/11/01 14:07:35] <carpenoctem> anyone implemented in puppet the actions implemented by the mysql_secure_installation script? | ||
| [2011/11/01 14:07:37] <rodjek> that too | ||
| [2011/11/01 14:07:48] <peridot> Thanks Volcane, I'm new to ruby. | ||
| [2011/11/01 14:07:58] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/01 14:08:28] <Volcane> then its best u show the code on a pastebin | ||
| [2011/11/01 14:10:59] <peridot> Volcane,rodjek: with that in mind, will play around with it a bit more | ||
| [2011/11/01 14:11:20] <rodjek> umm ok | ||
| [2011/11/01 14:11:29] @ pugnacity joined channel #puppet | ||
| [2011/11/01 14:13:25] @ AlanJenkins joined channel #puppet | ||
| [2011/11/01 14:13:58] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/01 14:15:39] @ Quit: cliff-hm: Ping timeout: 258 seconds | ||
| [2011/11/01 14:17:43] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/01 14:20:30] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 14:21:04] @ mitchellh joined channel #puppet | ||
| [2011/11/01 14:22:13] <dan__t_> say i make a definition in Pupet | ||
| [2011/11/01 14:22:15] <dan__t_> Puppet, too. | ||
| [2011/11/01 14:22:19] <dan__t_> how do I actually.... use it? | ||
| [2011/11/01 14:23:36] @ ja-s left channel #puppet () | ||
| [2011/11/01 14:23:45] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/01 14:24:21] @ Quit: misc: Ping timeout: 260 seconds | ||
| [2011/11/01 14:24:26] @ Quit: AlanJenkins: Remote host closed the connection | ||
| [2011/11/01 14:24:48] <dan__t_> and where can I instantiate it? in a node definition? | ||
| [2011/11/01 14:25:01] @ Quit: zahna: Ping timeout: 240 seconds | ||
| [2011/11/01 14:25:11] <Volcane> define print() { notify{$name: } } | ||
| [2011/11/01 14:25:18] <Volcane> print{"using my awesome define": } | ||
| [2011/11/01 14:25:28] <dan__t_> got it. | ||
| [2011/11/01 14:25:35] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/01 14:28:07] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/01 14:28:24] <dan__t_> how can I explicitly require that a value be defined as an argument for the define to even work? | ||
| [2011/11/01 14:28:44] <Volcane> define print($what) { notify{$what: } } | ||
| [2011/11/01 14:29:06] <dan__t_> ahh | ||
| [2011/11/01 14:29:13] <Volcane> print{"meh": } <-- fails print{"meh": what => "hello world"} <-- works | ||
| [2011/11/01 14:29:21] @ Quit: rcrowley: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/01 14:29:33] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/01 14:29:42] @ gniks joined channel #puppet | ||
| [2011/11/01 14:29:48] @ Quit: toi: Ping timeout: 255 seconds | ||
| [2011/11/01 14:30:44] @ misc joined channel #puppet | ||
| [2011/11/01 14:30:59] <dan__t_> yss. | ||
| [2011/11/01 14:31:08] <d3c> does anyone know when hasreload will be available for services? I'm on 2.6.4 and it's not there yet. | ||
| [2011/11/01 14:31:14] @ Quit: labrown: Quit: Leaving | ||
| [2011/11/01 14:32:30] @ Quit: gniks: Read error: Operation timed out | ||
| [2011/11/01 14:33:40] @ gnat42 joined channel #puppet | ||
| [2011/11/01 14:34:17] <gnat42> hello - two questions. #1) if I edit a file being served by puppet it will automatically notice that it changed I presume... they do checksums on each run? | ||
| [2011/11/01 14:34:17] <gepetto> gnat42: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions. It has a status of Closed and is assigned to Luke Kanies" | ||
| [2011/11/01 14:34:26] <eric0> d3c: i think you mean 'hasrestart', theres no 'hasreload' even in 2.7.6. | ||
| [2011/11/01 14:34:38] <gnat42> ah fun chat bots! | ||
| [2011/11/01 14:35:16] <gnat42> the 2nd question is I'm wondering if I can configure puppet to check the moment it finds its connected to the internet instead of the 30 min interval its set to use? | ||
| [2011/11/01 14:35:49] @ Quit: misc: Remote host closed the connection | ||
| [2011/11/01 14:36:00] <Volcane> gnat42: yeah it checksums - and you can hook into your network manager or somethings up hook | ||
| [2011/11/01 14:36:32] <gnat42> Volcane: so when it gets connected it triggers a run, after that does it fall back to every 30 minutes? or is it one vs the other? | ||
| [2011/11/01 14:36:40] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/11/01 14:37:26] <d3c> eric0: nope, I mean hasreload. I'd like puppet to reload only in some cases. long story short, I'm running puppet via mcollective (and mcprovision) which is waiting for the puppet process to return with an exitcode. however, puppet decides to kill itself during the first run since it gets a new config. anyway, I think I solved it now by sending SIGHUP to puppet. | ||
| [2011/11/01 14:37:42] @ Holocaine joined channel #puppet | ||
| [2011/11/01 14:39:05] <jpalmer> gnat42: for the first, yes. the files are checked on each puppet run. for the second, normally you run puppet agent as a daemon, or from cron. However, you could probably add it to whatever your OS uses for an "interface up" script. | ||
| [2011/11/01 14:39:38] <jpalmer> doh, volcane beat me to it. | ||
| [2011/11/01 14:39:54] <lindenle> Hi guys. Is there a way to shutdown puppet after it runs once and have that report back to the dashboard . I am running a service resource to shut it down and it never reports back that it finished even thouth this is the last resource I apply. | ||
| [2011/11/01 14:39:56] <kjetilho> d3c: so how would Puppet know when to do reload and when to do restart? | ||
| [2011/11/01 14:40:26] <kjetilho> d3c: fwiw, I do something like restart => "apache2ctl graceful" for Apache | ||
| [2011/11/01 14:40:40] <jpalmer> gnat42: in your "interface up" script, you can specify --runonce and such, to make it only run the one time. then you can let the normal service or crontab handle the normal operation. | ||
| [2011/11/01 14:40:49] <gnat42> jpalmer: ah | ||
| [2011/11/01 14:40:52] <kjetilho> but it's a problem that a resource can only get one kind of signal, "refresh" | ||
| [2011/11/01 14:41:00] <gnat42> good to know I'll have to look at it | ||
| [2011/11/01 14:41:02] <jpalmer> lindenle: --runonce would likely work for you, too. | ||
| [2011/11/01 14:41:10] <gnat42> in this case its for netbooks that will be rarely connected to the internet | ||
| [2011/11/01 14:41:14] <gnat42> and usually through wifi | ||
| [2011/11/01 14:41:31] <gnat42> so NetworkManager is at play.. I'll see if there are ways to automate this | ||
| [2011/11/01 14:41:39] <d3c> kjetilho: well, my puppet config class notifies a reload class. so if config file changes, it'll execute a '/bin/kill -HUP `cat /var/run/puppet/agent.pid`' command with refreshonly set. | ||
| [2011/11/01 14:41:52] <lindenle> <jpalmer>: yeah but I am using the natural start of the service to do the first run...then I want to set everything up and stop it | ||
| [2011/11/01 14:41:57] <d3c> kjetilho: wouldn't that work? | ||
| [2011/11/01 14:42:17] <jpalmer> lindenle: I don't follow. sorry | ||
| [2011/11/01 14:42:34] @ Quit: caviwipes: Quit: Computer has gone to sleep. | ||
| [2011/11/01 14:42:37] <lindenle> <jpalmer>: think of it as using puppet just to roll out a machine to a given state and then stop managing it | ||
| [2011/11/01 14:42:53] <kjetilho> d3c: yes, but I don't see how it is relevant to your reload vs. restart as Service properties | ||
| [2011/11/01 14:42:57] @ misc joined channel #puppet | ||
| [2011/11/01 14:43:28] <jpalmer> lindenle: I'd bootstrap puppet via your kickstart. then have your kickstart (or whatever your OS's equivelant is) do a puppet run in %post | ||
| [2011/11/01 14:43:51] <lindenle> <jpalmer>: can do that, need the host to be up under its actual kernel etc | ||
| [2011/11/01 14:44:07] <d3c> kjetilho: would be nice if puppet reloaded on config file changes instead of restarting. that's what I thought hasreload would be used for. dunno how puppet should determine when to do what though. anyway, just saw some tickets for this and was wondering if it was available | ||
| [2011/11/01 14:44:10] <lindenle> what I have now works as far as getting the install correct, just dont have any report coming back | ||
| [2011/11/01 14:44:30] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/01 14:44:48] <jpalmer> lindenle: rather than me throwing out suggestions, and you telling me new requirements.. why not give all the requirements up front? | ||
| [2011/11/01 14:44:52] <kjetilho> d3c: ah, ok. so a shortcut for restart => "service $name reload" | ||
| [2011/11/01 14:45:42] <d3c> kjetilho: yeah, I guess. I didn't know about restart => ... though. I guess I'll just do restart => 'service puppet reload' then | ||
| [2011/11/01 14:46:10] @ gnat42 left channel #puppet () | ||
| [2011/11/01 14:48:16] <d3c> kjetilho: or hang on, that wouldn't work in my case. I'm letting the File (config) notify my reload class. the service itself doesn't do this. I mean, the service should still be able to restart normally. this is just for config changes. see what I Mean? | ||
| [2011/11/01 14:48:22] @ maxmartin joined channel #puppet | ||
| [2011/11/01 14:48:38] @ shadoi joined channel #puppet | ||
| [2011/11/01 14:48:55] <kjetilho> when should it restart? | ||
| [2011/11/01 14:49:32] <d3c> kjetilho: dunno - I just figured it would sometimes have to. if it doesn't, then it would work | ||
| [2011/11/01 14:49:37] @ ghg joined channel #puppet | ||
| [2011/11/01 14:49:46] <d3c> kjetilho: new version or something maybe. idk | ||
| [2011/11/01 14:50:18] <kjetilho> d3c: mhm. in Debian/Ubuntu, the package manager does that | ||
| [2011/11/01 14:50:24] @ soh joined channel #puppet | ||
| [2011/11/01 14:50:34] <kjetilho> whereas RHEL leaves running daemons alone when upgrading packages | ||
| [2011/11/01 14:51:01] @ Quit: kaptk2: Quit: Leaving. | ||
| [2011/11/01 14:51:34] <Volcane> kjetilho: mostly they do condrestart during upgrades | ||
| [2011/11/01 14:51:50] <kjetilho> they do? hmm. | ||
| [2011/11/01 14:52:01] <peridot> OK, Volcane and rodjek: I tried some more things, but can't figure it out. Any help would be appreciated. I've added some comments which further explain the situation, and my code: http://pastebin.com/qLxCBRwk | ||
| [2011/11/01 14:53:17] <d3c> anyway, I've created mcollective::reload and puppet::reload classes that the respective config files notify. I'll stick with this approach. thanks to you volcane for pointing me to it. | ||
| [2011/11/01 14:53:49] @ mlg9000 left channel #puppet ("PONG :calvino.freenode.net") | ||
| [2011/11/01 14:54:02] <Volcane> peridot: probably on line 21 you assume the function will return a nested hash when in this case it returns something unexpected | ||
| [2011/11/01 14:54:36] <Volcane> peridot: ie. @yamlips doesnt have in it what u think it does maybe | ||
| [2011/11/01 14:54:46] <peridot> When I replace the function calls with the expected strings, it works. | ||
| [2011/11/01 14:55:21] <Volcane> you can log to the server log what they return with like Puppet.notice("the value is '#{foo}'") etc | ||
| [2011/11/01 14:55:24] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/01 14:55:28] @ rsnhyperion_ joined channel #puppet | ||
| [2011/11/01 14:55:50] <peridot> OK, thanks, will try that. | ||
| [2011/11/01 14:56:18] @ Quit: rsnhyperion_: Client Quit | ||
| [2011/11/01 14:56:21] @ justin_donaldson joined channel #puppet | ||
| [2011/11/01 14:56:41] @ Quit: thenulldevice: Quit: Leaving. | ||
| [2011/11/01 14:56:51] @ Quit: ldlework: Ping timeout: 258 seconds | ||
| [2011/11/01 14:56:57] @ peridot left channel #puppet () | ||
| [2011/11/01 14:58:18] @ Quit: rsnhyperion: Ping timeout: 260 seconds | ||
| [2011/11/01 15:01:14] @ Quit: benkevan: Quit: leaving | ||
| [2011/11/01 15:01:46] <dan__t_> Can I eval an external command for logic inside a class? I want to extract some data and use that as a conditional. | ||
| [2011/11/01 15:01:57] <dan__t_> The equiv of a command exiting 1 or 0 | ||
| [2011/11/01 15:03:46] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/01 15:05:41] @ Quit: doo: Remote host closed the connection | ||
| [2011/11/01 15:06:30] <dan__t_> generate | ||
| [2011/11/01 15:06:33] @ nul0op joined channel #puppet | ||
| [2011/11/01 15:06:36] @ tizzo-afk joined channel #puppet | ||
| [2011/11/01 15:06:41] <d3c> btw, I'm still looking for ideas on how to share files between bootstrapping scripts (such as mcprovision) and puppet. I have some files (e.g. dhclient.conf) that I need to get onto nodes before puppet runs but they should be managed by puppet afterwards. I could of course host a copy of my puppet repo on the local network via nginx or something (and allow bootstrapping scripts to fetch from there) but it seems a bit hacky. | ||
| [2011/11/01 15:06:44] @ benkevan joined channel #puppet | ||
| [2011/11/01 15:07:31] @ pugnacity joined channel #puppet | ||
| [2011/11/01 15:07:39] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/01 15:07:39] @ benkevan_ joined channel #puppet | ||
| [2011/11/01 15:08:35] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/11/01 15:09:53] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/01 15:10:23] @ soh joined channel #puppet | ||
| [2011/11/01 15:11:09] <setient> so anyone here have experience with custom facts and assigning variables based on those custom facts | ||
| [2011/11/01 15:11:22] <setient> i am looking for good examples and it is a pita | ||
| [2011/11/01 15:11:35] @ nsmc-audax joined channel #puppet | ||
| [2011/11/01 15:11:37] @ murkk joined channel #puppet | ||
| [2011/11/01 15:11:39] <murkk> lyc0w | ||
| [2011/11/01 15:11:54] @ murkk left channel #puppet () | ||
| [2011/11/01 15:12:26] @ murkk joined channel #puppet | ||
| [2011/11/01 15:12:27] @ ed209 joined channel #puppet | ||
| [2011/11/01 15:12:36] @ jaminja joined channel #puppet | ||
| [2011/11/01 15:13:03] @ BManojlovic joined channel #puppet | ||
| [2011/11/01 15:14:22] @ cliff-hm joined channel #puppet | ||
| [2011/11/01 15:14:23] <Volcane> setient: what do u mean | ||
| [2011/11/01 15:14:37] @ Quit: mayh3m12: Ping timeout: 265 seconds | ||
| [2011/11/01 15:14:39] @ pcerrato joined channel #puppet | ||
| [2011/11/01 15:16:17] <pcerrato> quick question: I am doing research for a potential devops project here at Warner Bros. and I am interested in puppet's ability to do configuration mgmt for networking devices (cisco, palo alto, brocade,etc) | ||
| [2011/11/01 15:16:37] <setient> you would be better off wrapping something in rancid | ||
| [2011/11/01 15:16:43] <setient> puppet does not run on cisco devices | ||
| [2011/11/01 15:16:55] <setient> ack wrapping smoething around rancid | ||
| [2011/11/01 15:17:02] <setient> like php/python/ruby/perl | ||
| [2011/11/01 15:17:12] <Volcane> puppet can manage cisco devices | ||
| [2011/11/01 15:17:16] <setient> wut? | ||
| [2011/11/01 15:17:36] <setient> i mean i guess you could use it to write configs and have a cron that pushes those configs out | ||
| [2011/11/01 15:17:39] <devdas> masterzen has committed code for that | ||
| [2011/11/01 15:17:39] <Volcane> http://puppetlabs.com/blog/puppet-network-device-management/ | ||
| [2011/11/01 15:17:47] <devdas> There's also netomata | ||
| [2011/11/01 15:18:48] <setient> sounds like they wrapped rancid around it | ||
| [2011/11/01 15:18:52] <setient> or something | ||
| [2011/11/01 15:18:58] <setient> basically it sshes or telnets in | ||
| [2011/11/01 15:20:08] <Volcane> what else would it do? | ||
| [2011/11/01 15:20:18] <Volcane> but no it doesnt just wrap rancid | ||
| [2011/11/01 15:20:35] <setient> i meant it does similiar things | ||
| [2011/11/01 15:20:43] <setient> rancid is just a fancy way of sshing into a cisco device | ||
| [2011/11/01 15:20:48] <setient> well any network device really | ||
| [2011/11/01 15:20:57] <setient> clogin, jlogin whatever | ||
| [2011/11/01 15:20:59] @ rcrowley joined channel #puppet | ||
| [2011/11/01 15:21:57] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/11/01 15:23:33] <d3c> I got an exit code 6 from puppet agent with detailed-exitcodes enabled. this isn't found in the docs AFAIK. does it mean that there were both changes and errors? (2+4) | ||
| [2011/11/01 15:25:36] <kjetilho> setient: yeah, implemented in Expect *shudder* | ||
| [2011/11/01 15:25:42] <setient> yar | ||
| [2011/11/01 15:25:52] <setient> didn't say it was great | ||
| [2011/11/01 15:27:00] <grim_radical> d3c: yes, the codes are bitwise OR-ed...it means both changes and failures occurred | ||
| [2011/11/01 15:27:41] <d3c> grim_radical: alright, thanks | ||
| [2011/11/01 15:28:34] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/01 15:29:18] <colon_D> anyone distribute source-compiled packages using puppet? know of any example modules out there I could look at for ideas? was curious if anyone had a creative way of getting this done. | ||
| [2011/11/01 15:29:44] @ Quit: n8: Quit: n8 | ||
| [2011/11/01 15:29:48] <Volcane> whats a source-compiled package? | ||
| [2011/11/01 15:29:50] <nevyn> colon_D: that would seem to be more like abuse. | ||
| [2011/11/01 15:30:16] <colon_D> I mean a package built from source, distributed with puppet | ||
| [2011/11/01 15:30:17] <nevyn> colon_D: why not just build a platform package and throw it in a yum/pkgutil/blah repo? | ||
| [2011/11/01 15:30:36] <Volcane> so is it compiled from source or packaged? | ||
| [2011/11/01 15:30:38] <colon_D> that may be the easier way to get it done | ||
| [2011/11/01 15:30:40] <nevyn> colon_D: automating the from source build seems ... wrong. | ||
| [2011/11/01 15:31:08] <nevyn> not to mention having build environments on all your systems seems VERY wrong. | ||
| [2011/11/01 15:31:18] @ duerF joined channel #puppet | ||
| [2011/11/01 15:31:24] <colon_D> that's what I want to avoid :/ | ||
| [2011/11/01 15:31:45] <pcerrato> a quick read of the rancid and netomata docs tells me we don't have a closed-loop system that can monitor and deploy configuration changes to firewalls/load balancers/etc ... hmmm ... anything else I should look at? | ||
| [2011/11/01 15:32:23] @ gniks joined channel #puppet | ||
| [2011/11/01 15:32:55] <nevyn> colon_D: so if you don't have a network installation method for every platform you have. I'd fetch it via http and install it with a package resource | ||
| [2011/11/01 15:33:02] <nevyn> and have the package depend on the file. | ||
| [2011/11/01 15:33:21] <setient> that is the right way colon_D, to throw it in a repo | ||
| [2011/11/01 15:33:45] <colon_D> how easy is it maintaining a ubuntu PPA? this seems the proper method since I'm ubuntu across the board for this deployment | ||
| [2011/11/01 15:33:52] <nevyn> trivial | ||
| [2011/11/01 15:34:37] <colon_D> cool... thanks for the ideas guys, this is helpful :-) | ||
| [2011/11/01 15:36:32] @ Quit: kangman: Remote host closed the connection | ||
| [2011/11/01 15:37:02] <setient> pcerrato: as was said above rancid is just a expect sript really. btw with puppet it doesn't guarentee configs i do not think | ||
| [2011/11/01 15:37:24] <setient> oh wait it does. it checks the device state | ||
| [2011/11/01 15:37:54] <Volcane> its just like any other puppet resource | ||
| [2011/11/01 15:38:54] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/01 15:39:10] @ dgillies joined channel #puppet | ||
| [2011/11/01 15:40:59] @ Quit: RoyK: Read error: Connection reset by peer | ||
| [2011/11/01 15:41:02] <setient> Volcane: do you happen to know a ton about custom facts? | ||
| [2011/11/01 15:41:09] <Volcane> yes | ||
| [2011/11/01 15:41:34] <setient> sweet. i got some issues if you don't mind helping. | ||
| [2011/11/01 15:41:48] @ pugnacity joined channel #puppet | ||
| [2011/11/01 15:42:03] @ Quit: d3c: Quit: Lost terminal | ||
| [2011/11/01 15:42:07] @ mosen joined channel #puppet | ||
| [2011/11/01 15:42:17] @ Quit: purpleidea: Ping timeout: 258 seconds | ||
| [2011/11/01 15:42:55] <Ahlee> anybody have a good template example that takes two values? I'm attempting to pass in IP and a $foo, it sees IP, but I can't get it to take $foo, and don't see what I'm doing wrong. The tracsite example on docs.puppetlabs isn't clear to me where it's taking these variables in | ||
| [2011/11/01 15:43:03] <setient> i have a custom fact that is used to determine location. i want to use this fact to assign a variable based on location but i can't seem to do it with an if or a case | ||
| [2011/11/01 15:43:16] <setient> and it is for another custom variable in an erb file i am deploying | ||
| [2011/11/01 15:43:30] <Volcane> setient: how do you mean? | ||
| [2011/11/01 15:43:32] @ gregp76 joined channel #puppet | ||
| [2011/11/01 15:43:34] @ neonflux joined channel #puppet | ||
| [2011/11/01 15:43:42] <Volcane> if ($location == "foo") { $bar == 1 } | ||
| [2011/11/01 15:43:50] <Volcane> there's also case statements and selectors | ||
| [2011/11/01 15:44:09] <jsm> how do i pass multiple values to a define? | ||
| [2011/11/01 15:44:09] <Volcane> the http://docs.puppetlabs.com/guides/language_tutorial.html has various examples | ||
| [2011/11/01 15:44:32] <jsm> i'm passing a list of users i want to add, as well as a hash of all the users.. | ||
| [2011/11/01 15:45:29] <whack> you have a list of users and a hash of users? I'm confused | ||
| [2011/11/01 15:45:43] <whack> you can do this: my::custom::define { ["val1", "val2", "val3"]: ...; } | ||
| [2011/11/01 15:45:46] <jsm> a list of users i want to add, and a hash of users with all of the user details | ||
| [2011/11/01 15:45:51] <jsm> (ssh keys, etc) | ||
| [2011/11/01 15:45:51] <bob2> sounds confusing | ||
| [2011/11/01 15:46:01] <bob2> but define args basically work exactly as you'd expect | ||
| [2011/11/01 15:46:09] <jsm> i could very well be doing it not the right way | ||
| [2011/11/01 15:46:12] <bob2> http://bpaste.net/ it | ||
| [2011/11/01 15:46:49] <jsm> i'm happy to take suggestions... i have all my users in hiera as a hash, and i have a list of the users i want to add to a particular machine in a list.. | ||
| [2011/11/01 15:47:02] <bob2> oh, dictionary | ||
| [2011/11/01 15:47:06] <jsm> i wanted to get the user data out of the module stuff | ||
| [2011/11/01 15:47:28] @ zwi joined channel #puppet | ||
| [2011/11/01 15:48:05] @ purpleidea joined channel #puppet | ||
| [2011/11/01 15:48:05] @ Quit: purpleidea: Changing host | ||
| [2011/11/01 15:48:05] @ purpleidea joined channel #puppet | ||
| [2011/11/01 15:48:42] <setient> AH, maybe that is why i am doing it wrong | ||
| [2011/11/01 15:48:52] <jsm> maybe it makes more sense to pass the list of users i want to add to a class that already has all the user information in a dictionary | ||
| [2011/11/01 15:49:05] <jsm> that way i don't pass the hash/dictionary for each user | ||
| [2011/11/01 15:51:44] <setient> Volcane: hmm. let me try one more hting | ||
| [2011/11/01 15:52:45] @ hal-j joined channel #puppet | ||
| [2011/11/01 15:53:19] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/01 15:53:51] @ rmckee joined channel #puppet | ||
| [2011/11/01 15:54:08] @ Quit: bretm: Ping timeout: 245 seconds | ||
| [2011/11/01 15:55:03] <Volcane> setient: best to show code showing what you are trying to do - or even just a fact with value foo and you want variable bar to have this contents etc. its hard to know when you dont give details | ||
| [2011/11/01 15:55:04] @ doo joined channel #puppet | ||
| [2011/11/01 15:55:38] @ thenulldevice joined channel #puppet | ||
| [2011/11/01 15:56:04] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/01 15:57:36] @ Quit: jnvilo: Quit: Leaving | ||
| [2011/11/01 15:57:48] @ sfire||mouse joined channel #puppet | ||
| [2011/11/01 15:58:42] <sfire||mouse> for augeas, does it execute the changes in order? I'm going to be running two mset's and the second command depends on the results of the first | ||
| [2011/11/01 15:59:09] <Volcane> add require => properties | ||
| [2011/11/01 15:59:54] <pcerrato> thanks for the pointers ... | ||
| [2011/11/01 16:01:10] @ Quit: alop: Quit: alop | ||
| [2011/11/01 16:02:51] @ Quit: alfism: Quit: alfism | ||
| [2011/11/01 16:03:34] <jsm> Volcane & bob2: here's what i'm trying to do http://fpaste.org/9Cp7/ | ||
| [2011/11/01 16:03:41] @ Quit: kelseyhightower: Read error: Connection reset by peer | ||
| [2011/11/01 16:03:57] @ kelseyhightower joined channel #puppet | ||
| [2011/11/01 16:04:31] <Volcane> jsm: [$foo, $bar] is a nested array of arrays making any use of those in puppet is going to suck | ||
| [2011/11/01 16:04:59] <Volcane> just do users{$foo: } and users{$bar: } | ||
| [2011/11/01 16:06:14] <jsm> Volcane: ok, with that err: Could not retrieve catalog from remote server: Error 400 on SERVER: uninitialized constant Puppet::ParserError at /etc/puppet/environments/cloud/modules/user/manifests/virtual.pp:20 on node ip-10-85-163-154.ec2.internal | ||
| [2011/11/01 16:06:17] <jsm> shiit | ||
| [2011/11/01 16:06:20] <setient> Volcane: figured it out | ||
| [2011/11/01 16:06:22] <jsm> sorry, didn't realize it was so long | ||
| [2011/11/01 16:06:29] <setient> it isn't being globally included, the fact that is. i assumed it was correctly | ||
| [2011/11/01 16:06:31] <setient> guess not | ||
| [2011/11/01 16:06:46] <Volcane> setient: facts are global yes | ||
| [2011/11/01 16:06:49] @ Quit: mattva01_: Ping timeout: 265 seconds | ||
| [2011/11/01 16:07:33] <Volcane> oh $user_list isnt just a list of users? | ||
| [2011/11/01 16:07:44] <Volcane> like an array of usernames? | ||
| [2011/11/01 16:07:51] <Volcane> its a big hash of all the users data? | ||
| [2011/11/01 16:08:10] <jsm> Volcane: it's a hash | ||
| [2011/11/01 16:08:11] <jsm> correct | ||
| [2011/11/01 16:08:27] @ Moe__ joined channel #puppet | ||
| [2011/11/01 16:08:37] <Volcane> user::virtual::localuser { [$users_to_add, $user_list]: } then does something else entirely | ||
| [2011/11/01 16:08:45] <Volcane> you're making some mixed mash up of variables | ||
| [2011/11/01 16:09:09] <Volcane> add a property to the define - say user::virtual::localuser {$users_to_add: users => $user_list} | ||
| [2011/11/01 16:09:10] <jsm> yes, i fixed that | ||
| [2011/11/01 16:09:18] <Volcane> then in the define you can use $users as your list of users | ||
| [2011/11/01 16:09:19] <jsm> http://fpaste.org/4wdz/ is the yaml for my user_list | ||
| [2011/11/01 16:11:31] <tim|buntu> ssh_authorized_key doesn't support spaces in the name anymore? | ||
| [2011/11/01 16:11:36] <Volcane> jsm: you fixed what? | ||
| [2011/11/01 16:12:43] <jsm> Volcane: sorry, I had change { [$users_to_add, $user_list]: } to { $users_to_add: }... now trying to add the property to the define | ||
| [2011/11/01 16:13:23] @ Quit: nsmc-audax: Quit: nsmc-audax | ||
| [2011/11/01 16:15:11] @ Quit: dcsobralWork: Remote host closed the connection | ||
| [2011/11/01 16:16:47] <^conner> GPFS is packaged in a crazy way... you have to install the .0 release of gpfs.base and then the updated gpfs.base. The update has an rpm replacement of the .0 base but the pre scripts enforce the ordering... thus you can't just install the latest gpfs.base | ||
| [2011/11/01 16:16:52] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/01 16:17:01] <^conner> Is there a way to get puppet to install both packages on the same run? http://pastebin.com/FJFpAcF0 | ||
| [2011/11/01 16:17:06] <^conner> in the proper order | ||
| [2011/11/01 16:17:13] <^conner> my example requires two runs to converge | ||
| [2011/11/01 16:18:02] @ rdegges left channel #puppet () | ||
| [2011/11/01 16:19:19] <setient> ^conner: sure, you could have puppet distribute a shell script that is run at once that installes them in the appropriate order | ||
| [2011/11/01 16:19:24] <setient> but that is a hax | ||
| [2011/11/01 16:19:30] <setient> but that is what is great about puppet, you can do that. | ||
| [2011/11/01 16:19:46] <^conner> setient, i really don't like depending on exec | ||
| [2011/11/01 16:20:09] <setient> could you recompile the rpm th make it depend on the other one | ||
| [2011/11/01 16:20:29] <^conner> ya, I've thought of fpming it | ||
| [2011/11/01 16:20:34] @ maes_` joined channel #puppet | ||
| [2011/11/01 16:21:35] <^conner> i sort of don't want to do that to a vendor supplied binary thou | ||
| [2011/11/01 16:21:44] <^conner> as the puppet mod will break on the next -0 release | ||
| [2011/11/01 16:23:00] <^conner> i think i'm hosed since puppet caches the package list at start up | ||
| [2011/11/01 16:23:24] <^conner> tried chaning | ||
| [2011/11/01 16:23:27] @ Quit: maes_: Ping timeout: 276 seconds | ||
| [2011/11/01 16:23:28] <^conner> oh... what about stages? | ||
| [2011/11/01 16:24:02] <setient> maybe | ||
| [2011/11/01 16:24:41] <jsm> Volcane: I now have : http://fpaste.org/qO16/ , but get " Error 400 on SERVER: Invalid parameter users" | ||
| [2011/11/01 16:25:14] <^conner> can you even stage a Type? | ||
| [2011/11/01 16:25:23] <^conner> probably need wrapper classes | ||
| [2011/11/01 16:25:24] <Volcane> jsm: you need to add the parameter to the defined type before you can use it | ||
| [2011/11/01 16:25:40] <Volcane> jsm: define foo($bar) { } is needed before you can foo{"blah": bar => ...} | ||
| [2011/11/01 16:25:45] @ Quit: cliff-hm: Ping timeout: 252 seconds | ||
| [2011/11/01 16:26:39] <carpenoctem> I see several mysql modules on puppetforge. What is the "standard" module for doing package, file, service plus some post one-time mysql commands (drop, create, etc)? | ||
| [2011/11/01 16:26:58] <carpenoctem> FYI, completely new to puppet | ||
| [2011/11/01 16:27:54] <jsm> Volcane: I appreciate your help, but sorry, i'm not following you. | ||
| [2011/11/01 16:28:04] <jsm> I don't understand what you mean. | ||
| [2011/11/01 16:28:16] <Volcane> jsm: you cant pass a users argument if you dont tell the define to expect a users argument | ||
| [2011/11/01 16:28:24] <jsm> ah | ||
| [2011/11/01 16:28:28] <jsm> makes sense | ||
| [2011/11/01 16:28:48] <gepetto> ::redmine:: Wiki edit: Release_Notes (#141) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=141 (by Michael Stahnke) | ||
| [2011/11/01 16:30:03] <^conner> setient, stages doesn't work either | ||
| [2011/11/01 16:30:19] @ Quit: benkevan: Quit: leaving | ||
| [2011/11/01 16:30:21] <^conner> the rpm provider must have some understanding of package versions | ||
| [2011/11/01 16:30:43] <Volcane> any single resource - like package x - can only have one state in a given puppet run | ||
| [2011/11/01 16:30:53] <Volcane> you cant say make it version 1 then 2 in the same run | ||
| [2011/11/01 16:32:42] <^conner> Volcane, aye... proven that ;) | ||
| [2011/11/01 16:32:46] @ Quit: jmeeuwen: Write error: Broken pipe | ||
| [2011/11/01 16:33:23] <jsm> Volcane: getting close i think: SERVER: uninitialized constant Puppet::ParserError at /etc/puppet/environments/cloud/modules/user/manifests/virtual.pp:20 .. http://fpaste.org/pxgu/ | ||
| [2011/11/01 16:33:25] <^conner> i guess I can just have kickstart invoke puppet multiple times | ||
| [2011/11/01 16:33:31] @ jmeeuwen joined channel #puppet | ||
| [2011/11/01 16:34:01] @ Quit: benkevan_: Read error: Operation timed out | ||
| [2011/11/01 16:34:13] <^conner> Volcane, this isn't the first time I've wished puppet had an execution mode that made it keep re running the agent until no changes were applied | ||
| [2011/11/01 16:34:36] <jsm> sounds like a for loop :) | ||
| [2011/11/01 16:34:53] <jsm> while loop even | ||
| [2011/11/01 16:35:01] <^conner> jsm, beat me too it... | ||
| [2011/11/01 16:35:02] <^conner> lol | ||
| [2011/11/01 16:35:27] <^conner> although it would need a repeat limit | ||
| [2011/11/01 16:35:40] <^conner> mcelogd's init script is broken on rhel6 | ||
| [2011/11/01 16:35:52] <^conner> start doesn't start | ||
| [2011/11/01 16:35:58] <^conner> however, restart will start it ;) | ||
| [2011/11/01 16:36:11] <^conner> so puppet sit there and 'start's it on every run | ||
| [2011/11/01 16:36:14] @ kelseyhightower_ joined channel #puppet | ||
| [2011/11/01 16:36:39] @ jaschal joined channel #puppet | ||
| [2011/11/01 16:37:05] @ kelseyhightower_ left channel #puppet () | ||
| [2011/11/01 16:37:59] <jsm> Volcane: ah.. the problem i think is i'm passing an array of hashes, an interable, so doing $users[$usernames] isn't going to pick that up i don't think | ||
| [2011/11/01 16:38:50] @ Quit: kelseyhightower: Ping timeout: 244 seconds | ||
| [2011/11/01 16:43:52] @ Kazuhiro joined channel #puppet | ||
| [2011/11/01 16:44:05] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/11/01 16:44:56] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/11/01 16:45:14] <Volcane> ^conner: a simple bash script you mean that checks the exit code? | ||
| [2011/11/01 16:45:22] <Volcane> ^conner: and loops based on it? | ||
| [2011/11/01 16:45:27] @ williemach joined channel #puppet | ||
| [2011/11/01 16:45:46] <^conner> Volcane, not that simple for puppetd | ||
| [2011/11/01 16:45:52] @ nsmc-audax joined channel #puppet | ||
| [2011/11/01 16:46:08] <^conner> Volcane, but ya, that would work in kickstart for me | ||
| [2011/11/01 16:46:36] <^conner> Volcane, are you going to tell me to stop using puppetd and use MC to invoke puppet locally? :) | ||
| [2011/11/01 16:47:41] @ Quit: nsmc-audax: Client Quit | ||
| [2011/11/01 16:48:06] @ johnmorr left channel #puppet () | ||
| [2011/11/01 16:49:30] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/01 16:50:40] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/01 16:51:59] <^conner> groan | ||
| [2011/11/01 16:52:03] <^conner> bug | ||
| [2011/11/01 16:54:02] @ newtMcKerr joined channel #puppet | ||
| [2011/11/01 16:57:01] @ Quit: jsurfer: Ping timeout: 256 seconds | ||
| [2011/11/01 16:57:32] @ jamescollins joined channel #puppet | ||
| [2011/11/01 16:58:16] @ cyflea joined channel #puppet | ||
| [2011/11/01 17:00:40] @ cliff-hm joined channel #puppet | ||
| [2011/11/01 17:04:56] <^conner> Bug #10445 :) | ||
| [2011/11/01 17:04:57] <gepetto> ^conner: #10445 is http://projects.puppetlabs.com/issues/show/10445 "Puppet - Bug #10445: package type reports failure when actually installing the package. It has a status of Unreviewed and is assigned to -" | ||
| [2011/11/01 17:06:08] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/01 17:06:56] @ ssvarma joined channel #puppet | ||
| [2011/11/01 17:06:58] @ Quit: bosszaru: Quit: Leaving. | ||
| [2011/11/01 17:07:50] @ ssvarma left channel #puppet () | ||
| [2011/11/01 17:09:50] @ kelseyhightower joined channel #puppet | ||
| [2011/11/01 17:11:13] @ Quit: mhiggs: Quit: Leaving. | ||
| [2011/11/01 17:12:20] @ Quit: williemach: Quit: Leaving. | ||
| [2011/11/01 17:15:51] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/01 17:16:57] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/01 17:17:20] <^conner> setient, can I ended up having to exec ;) | ||
| [2011/11/01 17:17:36] <^conner> setient, meh, and I ... | ||
| [2011/11/01 17:18:41] @ jrickman left channel #puppet ("Leaving...") | ||
| [2011/11/01 17:19:11] @ Kazuhiro left channel #puppet () | ||
| [2011/11/01 17:19:52] @ Quit: mitchellh: Quit: ZOMG BYE | ||
| [2011/11/01 17:22:36] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/01 17:28:57] @ Quit: dan__t_: Ping timeout: 244 seconds | ||
| [2011/11/01 17:29:09] @ Quit: jsm: Quit: Leaving. | ||
| [2011/11/01 17:30:19] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/01 17:33:10] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/11/01 17:36:35] @ nibalizer joined channel #puppet | ||
| [2011/11/01 17:39:08] @ Quit: carpenoctem: Ping timeout: 265 seconds | ||
| [2011/11/01 17:41:07] @ frostynova joined channel #puppet | ||
| [2011/11/01 17:41:46] @ Quit: gregp76: Quit: gregp76 | ||
| [2011/11/01 17:46:15] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/01 17:46:58] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/01 17:47:24] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/01 17:50:52] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/01 17:54:56] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/01 18:02:35] @ benjiedmund joined channel #puppet | ||
| [2011/11/01 18:02:53] @ soh joined channel #puppet | ||
| [2011/11/01 18:03:14] @ newtMcKerr joined channel #puppet | ||
| [2011/11/01 18:06:22] @ Quit: cyflea: Read error: Connection reset by peer | ||
| [2011/11/01 18:06:46] @ Gwayne joined channel #puppet | ||
| [2011/11/01 18:06:46] @ Quit: Gwayne: Changing host | ||
| [2011/11/01 18:06:46] @ Gwayne joined channel #puppet | ||
| [2011/11/01 18:12:33] @ negronjl joined channel #puppet | ||
| [2011/11/01 18:15:22] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 18:16:57] @ skm joined channel #puppet | ||
| [2011/11/01 18:18:22] <sfire||mouse> How can I find out why the augeas module doesn't understand setm | ||
| [2011/11/01 18:18:34] @ jsurfer joined channel #puppet | ||
| [2011/11/01 18:21:24] @ Quit: abetterlie: Read error: Operation timed out | ||
| [2011/11/01 18:22:14] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/01 18:24:21] @ Quit: jodok: Quit: jodok | ||
| [2011/11/01 18:25:18] @ Quit: hooper: Ping timeout: 260 seconds | ||
| [2011/11/01 18:25:30] <sfire||mouse> looks like /usr/lib/ruby/site_ruby/1.8/puppet/provider/augeas/augeas.rb doesn't have it listed | ||
| [2011/11/01 18:26:05] @ Quit: seanmil: Remote host closed the connection | ||
| [2011/11/01 18:26:30] @ flamboz joined channel #puppet | ||
| [2011/11/01 18:27:25] @ Quit: djm68: Quit: leaving | ||
| [2011/11/01 18:29:21] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/01 18:31:04] @ abetterlie joined channel #puppet | ||
| [2011/11/01 18:34:10] @ Enf joined channel #puppet | ||
| [2011/11/01 18:35:02] @ joe-mac1 joined channel #puppet | ||
| [2011/11/01 18:35:44] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/11/01 18:36:19] @ skm joined channel #puppet | ||
| [2011/11/01 18:39:38] @ maxmartin joined channel #puppet | ||
| [2011/11/01 18:40:42] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/01 18:41:10] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/01 18:45:49] @ Quit: abetterlie: Ping timeout: 252 seconds | ||
| [2011/11/01 18:47:37] @ abetterlie joined channel #puppet | ||
| [2011/11/01 18:51:50] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/01 18:57:12] @ Quit: `mx: Ping timeout: 258 seconds | ||
| [2011/11/01 18:58:03] @ `mx joined channel #puppet | ||
| [2011/11/01 19:05:47] @ Quit: BManojlovic: Remote host closed the connection | ||
| [2011/11/01 19:06:51] @ cyflea joined channel #puppet | ||
| [2011/11/01 19:10:26] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/01 19:12:09] @ Quit: rmckee: Ping timeout: 258 seconds | ||
| [2011/11/01 19:12:59] @ davea1 joined channel #puppet | ||
| [2011/11/01 19:13:04] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/01 19:13:22] @ jsurfer joined channel #puppet | ||
| [2011/11/01 19:14:14] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/01 19:14:23] @ orinoko joined channel #puppet | ||
| [2011/11/01 19:18:07] <orinoko> Trying to use a type attribute on the right hand side of a selector statement and failing miserably... Can anyone see what I'm trying to do and suggest a better way (see the mode setting) http://pastie.org/2796727 | ||
| [2011/11/01 19:18:27] <orinoko> Better meaning, a way that works :-) | ||
| [2011/11/01 19:24:14] @ Quit: mmoya: Ping timeout: 260 seconds | ||
| [2011/11/01 19:26:58] @ ghg27 joined channel #puppet | ||
| [2011/11/01 19:27:41] @ Quit: ghg: Ping timeout: 258 seconds | ||
| [2011/11/01 19:27:41] @ ghg27 is now known as ghg | ||
| [2011/11/01 19:28:13] @ Quit: bzrk: Ping timeout: 240 seconds | ||
| [2011/11/01 19:29:04] @ bzrk joined channel #puppet | ||
| [2011/11/01 19:30:04] <orinoko> What's the best way to create a directory tree, with certain subdirectories having permissions to others? | ||
| [2011/11/01 19:30:11] @ Quit: negronjl: Ping timeout: 252 seconds | ||
| [2011/11/01 19:30:13] <orinoko> *different to others | ||
| [2011/11/01 19:30:26] @ jongrocho joined channel #puppet | ||
| [2011/11/01 19:36:15] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 19:37:39] @ Quit: jaschal: Quit: jaschal | ||
| [2011/11/01 19:39:59] @ themadcanudist joined channel #puppet | ||
| [2011/11/01 19:42:59] @ the_ramink joined channel #puppet | ||
| [2011/11/01 19:46:07] @ jongrocho joined channel #puppet | ||
| [2011/11/01 19:47:49] @ langworthy joined channel #puppet | ||
| [2011/11/01 19:49:15] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/01 19:50:21] @ Quit: ed209: Ping timeout: 252 seconds | ||
| [2011/11/01 19:55:44] @ joshcooper joined channel #puppet | ||
| [2011/11/01 19:56:23] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 20:05:50] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/01 20:06:15] @ jsurfer joined channel #puppet | ||
| [2011/11/01 20:08:18] @ Disconnect left channel #puppet () | ||
| [2011/11/01 20:08:51] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/01 20:10:13] @ lwhalen joined channel #puppet | ||
| [2011/11/01 20:12:13] @ Quit: cliff-hm: Ping timeout: 244 seconds | ||
| [2011/11/01 20:12:47] @ jongrocho joined channel #puppet | ||
| [2011/11/01 20:13:38] @ Quit: jimi_c: Remote host closed the connection | ||
| [2011/11/01 20:14:10] @ scsinutz joined channel #puppet | ||
| [2011/11/01 20:18:01] @ TheDigitalNinja joined channel #puppet | ||
| [2011/11/01 20:19:13] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/01 20:23:54] @ choonming joined channel #puppet | ||
| [2011/11/01 20:24:03] @ jimi_c joined channel #puppet | ||
| [2011/11/01 20:24:33] @ Sackbert joined channel #puppet | ||
| [2011/11/01 20:25:53] @ Quit: orinoko: Ping timeout: 265 seconds | ||
| [2011/11/01 20:26:57] <Sackbert> anybody know if {module}/lib/puppet/parser/functions is still the right place to put custom functions in 2.7.1? | ||
| [2011/11/01 20:29:30] <eric0> Sackbert: yep | ||
| [2011/11/01 20:30:07] @ Quit: dgillies: Remote host closed the connection | ||
| [2011/11/01 20:31:25] @ Phungis joined channel #puppet | ||
| [2011/11/01 20:32:46] <Sackbert> ok thanks eric, started getting "undefined method" errors after moving to the new version | ||
| [2011/11/01 20:33:08] <Sackbert> must be something else | ||
| [2011/11/01 20:36:00] @ ndietsch_ joined channel #puppet | ||
| [2011/11/01 20:36:48] @ kenperkins joined channel #puppet | ||
| [2011/11/01 20:37:01] @ sako joined channel #puppet | ||
| [2011/11/01 20:41:05] <eric0> i dont thnk i've had to change any custom functions going from 2.6->2.7 | ||
| [2011/11/01 20:41:07] <eric0> YMMV of course | ||
| [2011/11/01 20:41:23] @ Quit: sako: Client Quit | ||
| [2011/11/01 20:44:18] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/11/01 20:44:53] @ skm joined channel #puppet | ||
| [2011/11/01 20:46:29] @ test1112 joined channel #puppet | ||
| [2011/11/01 20:46:33] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/11/01 20:46:46] <Sackbert> are you calling them from erb? | ||
| [2011/11/01 20:47:07] @ Quit: test1112: Client Quit | ||
| [2011/11/01 20:47:55] @ jsm joined channel #puppet | ||
| [2011/11/01 20:50:08] @ Quit: nul0op: Ping timeout: 248 seconds | ||
| [2011/11/01 20:50:15] <jsm> getting a strange error on a custom function: undefined local variable or method `arg' .. my custom function: http://fpaste.org/7fu4/ | ||
| [2011/11/01 20:54:23] <TheDigitalNinja> Any suggestions for a good alternative to zenoss? Something better suited for elastic computing perhaps. | ||
| [2011/11/01 20:54:51] <bob2> elastic computing -> drink | ||
| [2011/11/01 20:55:12] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/01 20:59:19] <TheDigitalNinja> lol *drinks* | ||
| [2011/11/01 21:03:54] @ gaveen joined channel #puppet | ||
| [2011/11/01 21:03:54] @ Quit: gaveen: Changing host | ||
| [2011/11/01 21:03:54] @ gaveen joined channel #puppet | ||
| [2011/11/01 21:06:12] @ dgillies joined channel #puppet | ||
| [2011/11/01 21:06:31] <eric0> jsm: you sure that function is implicated? there isn't a singular 'arg' in it at all. whats user/manifests/init.pp ? | ||
| [2011/11/01 21:08:36] @ Quit: ghaskins: Quit: Leaving | ||
| [2011/11/01 21:11:16] <jsm> eric0: something was wonky with puppetmaster caching the old one.. had to restart | ||
| [2011/11/01 21:11:41] <jsm> eric0: trying to fix another issue now.. (first time ruby coding here) | ||
| [2011/11/01 21:15:33] @ AshishH joined channel #puppet | ||
| [2011/11/01 21:17:32] @ sumsuch joined channel #puppet | ||
| [2011/11/01 21:17:56] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/01 21:20:20] @ bobra joined channel #puppet | ||
| [2011/11/01 21:20:26] <thenulldevice> hi guys, i'm getting this error and i'm not sure what's causing the issue | ||
| [2011/11/01 21:20:33] <thenulldevice> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '.'; expected '}' at /etc/puppet/modules/firewall/manifests/init.pp:4 on node sub.domain.com | ||
| [2011/11/01 21:20:42] <thenulldevice> http://pastie.org/2797082 | ||
| [2011/11/01 21:20:54] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/01 21:21:02] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/11/01 21:21:05] <bob2> forgot to quote "sub.domain.com" | ||
| [2011/11/01 21:21:37] @ skm joined channel #puppet | ||
| [2011/11/01 21:22:00] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 21:22:03] @ kenperkins joined channel #puppet | ||
| [2011/11/01 21:22:08] <thenulldevice> thanks bunch, forgot about that | ||
| [2011/11/01 21:22:15] @ Phungis joined channel #puppet | ||
| [2011/11/01 21:26:03] @ countskm_ joined channel #puppet | ||
| [2011/11/01 21:26:06] @ ghaskins joined channel #puppet | ||
| [2011/11/01 21:27:42] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/01 21:28:43] @ mosen joined channel #puppet | ||
| [2011/11/01 21:32:16] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 21:32:36] @ Phungis joined channel #puppet | ||
| [2011/11/01 21:32:51] <jsm> how are you supposed to debug custom functions? | ||
| [2011/11/01 21:35:09] @ maxmartin joined channel #puppet | ||
| [2011/11/01 21:42:48] @ adimania joined channel #puppet | ||
| [2011/11/01 21:42:50] @ aditya_ joined channel #puppet | ||
| [2011/11/01 21:43:02] @ Quit: aditya_: Remote host closed the connection | ||
| [2011/11/01 21:46:03] @ ed209 joined channel #puppet | ||
| [2011/11/01 21:48:19] <eric0> jsm: you can put Puppet.debug("emit whatever") in them and run 'puppet master --no-daemonize --debug' | ||
| [2011/11/01 21:48:29] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/01 21:48:46] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/01 21:50:46] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/11/01 21:51:09] @ Quit: Sackbert: Quit: Page closed | ||
| [2011/11/01 21:52:20] @ Quit: ed209: Ping timeout: 260 seconds | ||
| [2011/11/01 21:54:24] @ Quit: jaminja: Ping timeout: 240 seconds | ||
| [2011/11/01 21:55:45] @ Quit: fredden: Quit: Leaving | ||
| [2011/11/01 21:56:11] @ alanevans joined channel #puppet | ||
| [2011/11/01 22:00:29] @ Quit: flamboz: Ping timeout: 260 seconds | ||
| [2011/11/01 22:03:27] @ jaminja joined channel #puppet | ||
| [2011/11/01 22:06:26] @ farrell joined channel #puppet | ||
| [2011/11/01 22:06:54] @ soh joined channel #puppet | ||
| [2011/11/01 22:07:46] @ ftnk joined channel #puppet | ||
| [2011/11/01 22:09:07] <farrell> trying to run server less puppet with hiera and getting error of Unknown function hiera, what am i missing? | ||
| [2011/11/01 22:11:13] @ Quit: tripoux: Ping timeout: 245 seconds | ||
| [2011/11/01 22:11:14] @ Quit: Harzilein: Ping timeout: 245 seconds | ||
| [2011/11/01 22:11:36] @ tripoux joined channel #puppet | ||
| [2011/11/01 22:12:03] @ Quit: FaUl: Ping timeout: 245 seconds | ||
| [2011/11/01 22:12:09] @ FaUl joined channel #puppet | ||
| [2011/11/01 22:12:19] @ rdegges joined channel #puppet | ||
| [2011/11/01 22:12:28] @ Quit: nico: Ping timeout: 245 seconds | ||
| [2011/11/01 22:12:40] @ nico joined channel #puppet | ||
| [2011/11/01 22:12:43] @ Quit: lusis: Excess Flood | ||
| [2011/11/01 22:12:50] @ Wolfspyre1 joined channel #puppet | ||
| [2011/11/01 22:12:51] @ Quit: Espen-_o: Max SendQ exceeded | ||
| [2011/11/01 22:12:53] @ Quit: CoolCold: Ping timeout: 245 seconds | ||
| [2011/11/01 22:12:58] <rdegges> Hi guys, I've got a problem with puppet hanging. I've got a manifest for a node that removes files older than a week using tidy (recursively). There are thousands of files it's tidying, but it just hangs and never removes anything. | ||
| [2011/11/01 22:13:05] <rdegges> Is this common? Is there anything I can do to fix it? | ||
| [2011/11/01 22:13:29] @ CoolCold joined channel #puppet | ||
| [2011/11/01 22:15:44] @ Quit: ReinH: Quit: leaving | ||
| [2011/11/01 22:16:07] @ lusis joined channel #puppet | ||
| [2011/11/01 22:17:26] @ jmeeuwen_ joined channel #puppet | ||
| [2011/11/01 22:18:48] @ hooper joined channel #puppet | ||
| [2011/11/01 22:19:08] @ Quit: tmz: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:09] @ Quit: jmeeuwen: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:10] @ Quit: hggh: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:10] @ Quit: zorzar: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:10] @ Quit: johwir: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:11] @ Quit: lynxman: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:14] @ hggh joined channel #puppet | ||
| [2011/11/01 22:19:22] @ jmeeuwen_ is now known as jmeeuwen | ||
| [2011/11/01 22:19:26] @ johwir joined channel #puppet | ||
| [2011/11/01 22:19:28] @ lynxman joined channel #puppet | ||
| [2011/11/01 22:19:45] @ Quit: nokia3510: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:46] @ Quit: Dyresen: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:46] @ Quit: samppah: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:46] @ Quit: chadh: Ping timeout: 260 seconds | ||
| [2011/11/01 22:19:49] @ samppah joined channel #puppet | ||
| [2011/11/01 22:19:50] @ Dyresen joined channel #puppet | ||
| [2011/11/01 22:19:55] @ zorzar joined channel #puppet | ||
| [2011/11/01 22:19:59] @ chadh joined channel #puppet | ||
| [2011/11/01 22:20:26] @ Quit: Moe__: Remote host closed the connection | ||
| [2011/11/01 22:20:37] @ nokia3510 joined channel #puppet | ||
| [2011/11/01 22:24:05] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/01 22:24:11] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/01 22:24:33] @ Espen-_o joined channel #puppet | ||
| [2011/11/01 22:31:43] <eric0> whats strace show? | ||
| [2011/11/01 22:31:57] <nevyn> syscalls | ||
| [2011/11/01 22:32:27] <eric0> thanks smartass :) | ||
| [2011/11/01 22:38:54] @ Quit: scsinutz: Quit: Leaving. | ||
| [2011/11/01 22:39:29] @ maxmartin joined channel #puppet | ||
| [2011/11/01 22:40:43] @ Quit: jsm: Quit: Leaving. | ||
| [2011/11/01 22:41:04] @ flamboz joined channel #puppet | ||
| [2011/11/01 22:45:19] * nevyn pastebins his screen with only three lines of actual content on it. | ||
| [2011/11/01 22:45:28] <nevyn> and the rest being parts/joins/quits | ||
| [2011/11/01 22:51:39] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/01 22:52:45] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 22:53:01] @ Phungis joined channel #puppet | ||
| [2011/11/01 22:55:06] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/01 22:57:00] <bobra> lol | ||
| [2011/11/01 22:57:33] @ Quit: jwhitlock: Ping timeout: 258 seconds | ||
| [2011/11/01 22:59:54] @ jwhitlock joined channel #puppet | ||
| [2011/11/01 23:01:46] @ Quit: jaminja: Ping timeout: 260 seconds | ||
| [2011/11/01 23:01:55] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 23:03:43] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/01 23:04:15] @ jwhitlock is now known as jwhitlock_zzz | ||
| [2011/11/01 23:05:31] @ mitchellh joined channel #puppet | ||
| [2011/11/01 23:06:17] @ Quit: jedi4ever: Read error: Connection reset by peer | ||
| [2011/11/01 23:06:54] @ jedi4ever joined channel #puppet | ||
| [2011/11/01 23:07:51] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 23:08:09] @ Phungis joined channel #puppet | ||
| [2011/11/01 23:12:57] @ Quit: claussen: Quit: claussen | ||
| [2011/11/01 23:13:08] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 23:13:35] @ Phungis joined channel #puppet | ||
| [2011/11/01 23:14:12] @ ezmobius joined channel #puppet | ||
| [2011/11/01 23:21:06] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/01 23:21:29] @ jaminja joined channel #puppet | ||
| [2011/11/01 23:23:04] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 23:23:25] @ Phungis joined channel #puppet | ||
| [2011/11/01 23:23:28] @ Quit: gaveen: Ping timeout: 256 seconds | ||
| [2011/11/01 23:27:13] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/01 23:27:23] @ Quit: Holocaine: Ping timeout: 260 seconds | ||
| [2011/11/01 23:27:26] @ langworthy joined channel #puppet | ||
| [2011/11/01 23:28:20] @ riha joined channel #puppet | ||
| [2011/11/01 23:28:29] @ jongrocho joined channel #puppet | ||
| [2011/11/01 23:29:22] @ brtl joined channel #puppet | ||
| [2011/11/01 23:32:15] @ maxmartin joined channel #puppet | ||
| [2011/11/01 23:32:15] @ Meier joined channel #puppet | ||
| [2011/11/01 23:34:36] @ jaydg joined channel #puppet | ||
| [2011/11/01 23:35:24] @ gaveen joined channel #puppet | ||
| [2011/11/01 23:35:32] @ Quit: gaveen: Changing host | ||
| [2011/11/01 23:35:32] @ gaveen joined channel #puppet | ||
| [2011/11/01 23:36:56] <eric0> irssi? 'ignores = ( { levels = "JOINS PARTS QUITS NICKS"; channels = "#puppet" } )' | ||
| [2011/11/01 23:37:13] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/01 23:37:28] @ Quit: gaveen: Client Quit | ||
| [2011/11/01 23:37:56] @ nuknad joined channel #puppet | ||
| [2011/11/01 23:38:17] <Rince> Guten Morgen | ||
| [2011/11/01 23:38:42] <misc> hi | ||
| [2011/11/01 23:38:43] <mosen> morgen Rince | ||
| [2011/11/01 23:40:54] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/01 23:46:45] @ toi joined channel #puppet | ||
| [2011/11/01 23:47:09] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/01 23:47:18] @ Quit: jamescollins: Quit: jamescollins | ||
| [2011/11/01 23:49:48] @ artkrz joined channel #puppet | ||
| [2011/11/01 23:53:13] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/01 23:53:30] @ Phungis joined channel #puppet | ||
| [2011/11/01 23:53:36] @ Quit: Phungis: Client Quit | ||
| [2011/11/01 23:54:40] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/01 23:54:51] @ hal-j joined channel #puppet | ||
| [2011/11/01 23:56:14] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/01 23:57:38] @ Stenbryggen joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!