| [2010/07/29 00:03:42] @ Log started by gepetto | ||
| [2010/07/29 00:03:42] @ Quit: bipolar: Ping timeout: 260 seconds | ||
| [2010/07/29 00:04:14] @ Quit: nexx: Quit: quit | ||
| [2010/07/29 00:04:58] @ bipolar joined channel #puppet | ||
| [2010/07/29 00:07:49] @ nasrat joined channel #puppet | ||
| [2010/07/29 00:12:14] @ mattock1 joined channel #puppet | ||
| [2010/07/29 00:14:15] @ Quit: mattock: Ping timeout: 240 seconds | ||
| [2010/07/29 00:15:26] @ gebi joined channel #puppet | ||
| [2010/07/29 00:16:28] @ Quit: wilmoore: Remote host closed the connection | ||
| [2010/07/29 00:17:51] @ thekad is now known as thekad-afk | ||
| [2010/07/29 00:20:25] @ alexine_dsouza joined channel #puppet | ||
| [2010/07/29 00:21:18] <blahdeblah> jamesturnbull: Got a minute to give an opinion about working in .us from a .au perspective? | ||
| [2010/07/29 00:22:23] <jamesturnbull> blahdeblah: sure | ||
| [2010/07/29 00:22:33] <blahdeblah> pm ok? | ||
| [2010/07/29 00:22:49] <jamesturnbull> blahdeblah: sure | ||
| [2010/07/29 00:23:28] @ mattock joined channel #puppet | ||
| [2010/07/29 00:24:54] @ Quit: mattock1: Ping timeout: 260 seconds | ||
| [2010/07/29 00:39:55] @ Quit: bobinabottle: Quit: bobinabottle | ||
| [2010/07/29 00:40:41] @ alban2 joined channel #puppet | ||
| [2010/07/29 00:41:04] <madduck> why can't I seem to use an expression like <% sysctl_rp_filter ? 1 : 0 %> in a template? | ||
| [2010/07/29 00:41:15] <madduck> there's no error either, just no output | ||
| [2010/07/29 00:41:31] <ohadlevy> madduck: add the <%= | ||
| [2010/07/29 00:43:06] @ Quit: kubicek: Quit: kubicek | ||
| [2010/07/29 00:43:43] @ Naresh joined channel #puppet | ||
| [2010/07/29 00:44:40] @ Quit: Naresh: Changing host | ||
| [2010/07/29 00:44:40] @ Naresh joined channel #puppet | ||
| [2010/07/29 00:44:49] @ elementai joined channel #puppet | ||
| [2010/07/29 00:46:31] @ kubicek joined channel #puppet | ||
| [2010/07/29 00:50:38] @ akriventsov left channel #puppet ("HotCoffee áåðóò íà http://www.coffee-project.com") | ||
| [2010/07/29 00:51:30] @ Quit: project2501a: Ping timeout: 265 seconds | ||
| [2010/07/29 00:52:18] @ blahdeblah left channel #puppet () | ||
| [2010/07/29 00:53:01] <madduck> ohadlevy: oh, thanks | ||
| [2010/07/29 00:53:11] <madduck> next question: is there a way I can add values to an array in the template? | ||
| [2010/07/29 00:53:25] <madduck> backgrond: I have $interfaces and I want to add "default" and "all" | ||
| [2010/07/29 00:53:33] <madduck> but in the template, not in puppet | ||
| [2010/07/29 00:56:38] @ Quit: ckk: Quit: leaving | ||
| [2010/07/29 00:57:44] <ohadlevy> madduck: can you give a better example? | ||
| [2010/07/29 00:57:47] @ ckk joined channel #puppet | ||
| [2010/07/29 01:02:22] @ ckauhaus joined channel #puppet | ||
| [2010/07/29 01:02:40] @ Quit: gebi: Quit: leaving | ||
| [2010/07/29 01:02:57] @ gebi joined channel #puppet | ||
| [2010/07/29 01:03:24] <madduck> not sure there is a better example. | ||
| [2010/07/29 01:03:30] <madduck> i have an array foo | ||
| [2010/07/29 01:03:42] <madduck> and for each item in foo i want to output a line to the result | ||
| [2010/07/29 01:03:52] <madduck> but i also want to output two lines for entries all and default | ||
| [2010/07/29 01:04:06] <madduck> so the most elegant way would be to add all and default to the array before the iteration | ||
| [2010/07/29 01:04:14] <madduck> instead of duplicating the lines | ||
| [2010/07/29 01:04:19] <madduck> outside of the iteration | ||
| [2010/07/29 01:08:59] @ Quit: masterzen: Read error: Operation timed out | ||
| [2010/07/29 01:09:30] @ Quit: larne: Ping timeout: 260 seconds | ||
| [2010/07/29 01:10:17] @ ashp_ joined channel #puppet | ||
| [2010/07/29 01:10:49] @ larne joined channel #puppet | ||
| [2010/07/29 01:10:50] <sejo> Schmidt: ping | ||
| [2010/07/29 01:10:58] @ Quit: ashp: Ping timeout: 265 seconds | ||
| [2010/07/29 01:11:43] @ masterzen joined channel #puppet | ||
| [2010/07/29 01:13:15] @ andyhold joined channel #puppet | ||
| [2010/07/29 01:13:56] <madduck> yay ruby! | ||
| [2010/07/29 01:14:00] @ nul0op joined channel #puppet | ||
| [2010/07/29 01:14:22] <madduck> <% interfaces.each do |iface| -%> iterates the facter array of interfaces like it should (or is that not an array???) | ||
| [2010/07/29 01:14:32] <madduck> <% interfaces << "all" << "default" %> | ||
| [2010/07/29 01:14:51] <madduck> causes the iteration to run once for "eth0alldefault" | ||
| [2010/07/29 01:14:54] <madduck> AWESOMENESS | ||
| [2010/07/29 01:15:11] @ Quit: larne: Ping timeout: 248 seconds | ||
| [2010/07/29 01:15:13] <Volcane> probably not an array then | ||
| [2010/07/29 01:16:29] <dcarley> you might want to entertain using interfaces.split(',') first and then add your additional items. | ||
| [2010/07/29 01:16:50] <madduck> Volcane: yeah, but then I just can't help but scratch my head | ||
| [2010/07/29 01:17:01] <madduck> dcarley: thanks for the tip | ||
| [2010/07/29 01:17:17] @ Quit: bigon: Ping timeout: 253 seconds | ||
| [2010/07/29 01:18:23] <dcarley> but yeah, it's all ruby, so you have the freedom. | ||
| [2010/07/29 01:18:23] <madduck> <% ifaces = interfaces.split(',') << "all" << "default" %> | ||
| [2010/07/29 01:18:23] <madduck> <% ifaces.each do |iface| -%> | ||
| [2010/07/29 01:18:39] <madduck> oh yeah, for relatively weird values of "freedom" ;) | ||
| [2010/07/29 01:19:12] @ Quit: freshtonic: Quit: freshtonic | ||
| [2010/07/29 01:19:34] <madduck> can i use puppet somehow to do the splitting too? | ||
| [2010/07/29 01:19:40] @ bigon joined channel #puppet | ||
| [2010/07/29 01:19:40] @ Quit: bigon: Changing host | ||
| [2010/07/29 01:19:40] @ bigon joined channel #puppet | ||
| [2010/07/29 01:19:50] <Volcane> there's a split function | ||
| [2010/07/29 01:20:24] <sejo> bleh coming across this: http://www.mail-archive.com/puppet-users@googlegroups.com/msg00322.html | ||
| [2010/07/29 01:20:29] <sejo> no solution ot this time? | ||
| [2010/07/29 01:20:38] <sejo> someone resolved this? | ||
| [2010/07/29 01:21:28] <madduck> Volcane: thanks! | ||
| [2010/07/29 01:21:32] @ macfly1 joined channel #puppet | ||
| [2010/07/29 01:25:10] <madduck> $ifaces = split($interfaces, ',') | ||
| [2010/07/29 01:25:11] <madduck> $ifaces_alldefault = ['default',$ifaces,'all'] | ||
| [2010/07/29 01:26:42] <Volcane> that'll make a nested array | ||
| [2010/07/29 01:26:54] <Volcane> when using it in a template ifaces_alldefault.flatten | ||
| [2010/07/29 01:27:54] <madduck> how can I make a flat array? | ||
| [2010/07/29 01:28:21] <Volcane> not in a manifest, there's an append to string thing but i've never used it reallt | ||
| [2010/07/29 01:28:45] <madduck> Volcane: actually, puppet has a built-in "feature": http://projects.puppetlabs.com/issues/1048 ;) | ||
| [2010/07/29 01:28:58] <madduck> i.e. it cannot actually create nested arrays! | ||
| [2010/07/29 01:29:20] <madduck> anyway, + does not work. | ||
| [2010/07/29 01:29:46] <Volcane> madduck: if u look at yours in a template it'll be nested, you couldnt use it in puppet though when its like that :) | ||
| [2010/07/29 01:30:00] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/07/29 01:32:43] <madduck> the template iterates it just fine, it seems | ||
| [2010/07/29 01:32:55] <Volcane> weird | ||
| [2010/07/29 01:33:02] <Volcane> must be an old issue i am thinking about then | ||
| [2010/07/29 01:36:57] @ jab_doa joined channel #puppet | ||
| [2010/07/29 01:38:55] <Schmidt> sejo: pong, although i think you are looking for Schmitt =) | ||
| [2010/07/29 01:40:58] <sejo> ach my apologies then | ||
| [2010/07/29 01:41:14] <sejo> it's about his shorewall module | ||
| [2010/07/29 01:41:15] <sejo> so | ||
| [2010/07/29 01:43:58] <madduck> so to recap: it is *impossible* in puppet to obtain a flat array of interfaces, augmented with interfaces that facter does not return (e.g. http://bugs.debian.org/590498, or sysctl's "default" or "all" ifaces) | ||
| [2010/07/29 01:56:16] @ Quit: robthoms: Ping timeout: 240 seconds | ||
| [2010/07/29 01:56:43] <Filbert> anyone know if it's possible to include a template from a template? | ||
| [2010/07/29 01:57:12] <dcarley> madduck: you could form an intermediate variable with the additional items. | ||
| [2010/07/29 01:58:48] @ Quit: mizzy: Ping timeout: 265 seconds | ||
| [2010/07/29 01:59:41] <dcarley> madduck: http://pastie.org/1065148 | ||
| [2010/07/29 02:00:03] <dcarley> or even, roll your own fact that sucks in the interfaces fact. | ||
| [2010/07/29 02:00:49] @ TREllis joined channel #puppet | ||
| [2010/07/29 02:01:02] <Filbert> ah, RTFM (how have I never seen this before? | ||
| [2010/07/29 02:01:07] <Filbert> template(template1, template2) | ||
| [2010/07/29 02:05:08] @ rene joined channel #puppet | ||
| [2010/07/29 02:05:35] @ rene is now known as Guest84241 | ||
| [2010/07/29 02:06:37] @ rmiller4pi81 joined channel #puppet | ||
| [2010/07/29 02:06:50] @ robthoms joined channel #puppet | ||
| [2010/07/29 02:07:34] @ Quit: elasticdog: Ping timeout: 245 seconds | ||
| [2010/07/29 02:07:46] @ Quit: lilnick: Ping timeout: 276 seconds | ||
| [2010/07/29 02:08:09] @ Quit: kubicek: Quit: kubicek | ||
| [2010/07/29 02:08:26] @ lilnick joined channel #puppet | ||
| [2010/07/29 02:08:28] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/07/29 02:09:30] @ elasticdog joined channel #puppet | ||
| [2010/07/29 02:16:08] <bigon> hi | ||
| [2010/07/29 02:16:16] <bigon> any idea? err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Mysql_grant[puppet@localhost/puppet] cannot override local resource on node garlic.cegeka.punchtelematix.net | ||
| [2010/07/29 02:18:23] @ mizzy joined channel #puppet | ||
| [2010/07/29 02:26:41] <bigon> allright it was in the faq | ||
| [2010/07/29 02:32:54] @ rasputnik joined channel #puppet | ||
| [2010/07/29 02:35:21] @ zorzar_ joined channel #puppet | ||
| [2010/07/29 02:36:01] @ Quit: mattock: Ping timeout: 276 seconds | ||
| [2010/07/29 02:38:23] @ Quit: zorzar: Ping timeout: 248 seconds | ||
| [2010/07/29 02:44:14] @ Quit: Guest84241: Remote host closed the connection | ||
| [2010/07/29 02:46:52] @ rene joined channel #puppet | ||
| [2010/07/29 02:47:20] @ rene is now known as Guest2782 | ||
| [2010/07/29 02:52:39] @ Quit: Guest2782: Ping timeout: 240 seconds | ||
| [2010/07/29 02:54:21] <gilesw> lo puppetiers | ||
| [2010/07/29 02:54:33] <gilesw> is there an equivilent of yumrepo for aptrepos? | ||
| [2010/07/29 02:56:27] <Tonnerre> apt-ftparchive or something | ||
| [2010/07/29 02:58:36] <gilesw> ah sorry i meant a puppet type | ||
| [2010/07/29 03:02:49] <Tonnerre> No, I typically just put files into /etc/apt/sources.list.d and invoke apt-key add | ||
| [2010/07/29 03:02:59] <tim|mac> gilesw: no, but there are a lot of examples on the web to show you how others do it :) | ||
| [2010/07/29 03:04:49] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 03:05:58] @ andrewh joined channel #puppet | ||
| [2010/07/29 03:11:36] @ Quit: gebi: Remote host closed the connection | ||
| [2010/07/29 03:12:59] @ racerx joined channel #puppet | ||
| [2010/07/29 03:13:41] @ larne joined channel #puppet | ||
| [2010/07/29 03:13:58] <gilesw> time for my first puppetforge visit methinks heh | ||
| [2010/07/29 03:15:26] <racerx> Hiya, Im trying to write a manifest that will add a file of mysql-server package installed.. Ive been reading the language_tut but it doesnt really go into depth with it | ||
| [2010/07/29 03:15:41] <racerx> *if mysql-server | ||
| [2010/07/29 03:16:46] <tim|mac> racerx: do you install mysql-server via puppet too? | ||
| [2010/07/29 03:17:11] <racerx> tim|mac: no unfortunately... thats why i cant use the require => | ||
| [2010/07/29 03:17:49] <tim|mac> racerx: then you need to either create a fact for it or install it via puppet :) | ||
| [2010/07/29 03:18:08] <racerx> grr.. thanx | ||
| [2010/07/29 03:18:20] <tim|mac> racerx: depending on things that aren't done by puppet is hard | ||
| [2010/07/29 03:18:26] <tim|mac> not really the way puppet is meant to be used | ||
| [2010/07/29 03:18:28] <gilesw> puppetforge is bursting with apt modules | ||
| [2010/07/29 03:18:36] <gilesw> not | ||
| [2010/07/29 03:19:03] <tim|mac> racerx: I've created a fact that checks the version of the augeas package, I think you can adapt it easily to get what you want | ||
| [2010/07/29 03:19:09] @ andyhold left channel #puppet () | ||
| [2010/07/29 03:19:15] <racerx> tim|mac: If I installed mysql-server via puppet on a couple of servers.. then could I use the require => in another manifest? | ||
| [2010/07/29 03:19:25] <racerx> tim|mac: really? could I take a look? | ||
| [2010/07/29 03:19:40] <tim|mac> racerx: no, but you could do "if defined(Package["mysql-server"]) { # bla }" | ||
| [2010/07/29 03:19:47] <tim|mac> racerx: sure, just a sec, need to find the url | ||
| [2010/07/29 03:20:00] <racerx> thanx | ||
| [2010/07/29 03:21:02] <tim|mac> racerx: http://blog.kumina.nl/2010/03/puppet-tipstricks-getting-the-version-from-a-package/ | ||
| [2010/07/29 03:21:48] <madduck> dcarley: | ||
| [2010/07/29 03:21:48] <madduck> $ifaces = split($interfaces, ',') | ||
| [2010/07/29 03:21:49] <madduck> $ifaces_alldefault = split("default,$interfaces,all", ',') | ||
| [2010/07/29 03:22:03] <madduck> calls split twice, but I prefer that over a fake variable … maybe ;) | ||
| [2010/07/29 03:27:35] <groove> if i have noop=true set for puppetd and it is listening, is there a way to overrride that when using puppetrun from the master? | ||
| [2010/07/29 03:28:31] <racerx> tim|mac: thanks for that... will take a look. The other example you gave, "if defined..." if If Im managing mysql server via puppet then this should work? | ||
| [2010/07/29 03:30:50] <tim|mac> racerx: yeah, in recent puppet versions | ||
| [2010/07/29 03:32:17] <racerx> thanks | ||
| [2010/07/29 03:43:50] <dcarley> madduck: you shouldn't need the first split(), since the $interfaces fact isn't an array to begin with. | ||
| [2010/07/29 03:43:57] <Volcane> madduck: why would you even file a puppet bug against debian bug tracker? | ||
| [2010/07/29 03:44:19] @ Quit: rmiller4pi81: Read error: Connection reset by peer | ||
| [2010/07/29 03:44:38] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 03:48:07] @ vad3R joined channel #puppet | ||
| [2010/07/29 03:49:28] @ Quit: pinoyskull: Ping timeout: 276 seconds | ||
| [2010/07/29 03:50:13] <madduck> Volcane: because i can do that via email, rather than having to use a web browser. | ||
| [2010/07/29 03:50:46] <Volcane> so you'd rather waste time of a whole lot of people, and get some other person to open a ticket on your behalf than spend the 2 minutes to do the right thing yourself | ||
| [2010/07/29 03:50:48] <madduck> Volcane: i know, i should probably not, but I also believe that the debian bug tracker is the primary point of reference for a user of the debian package | ||
| [2010/07/29 03:50:50] <Volcane> classy | ||
| [2010/07/29 03:51:14] <madduck> Volcane: fact is that I am on a really shitty connection which makes HTTP a royal pain to use | ||
| [2010/07/29 03:51:22] <madduck> (and IRC too) | ||
| [2010/07/29 03:51:39] <madduck> usually i do file bugs against puppet directly | ||
| [2010/07/29 03:52:30] <madduck> dcarley: split() creates an array. Point is I want $ifaces to be an array. | ||
| [2010/07/29 03:53:03] <madduck> Volcane: so it's more like 5–10 minutes to file a bug due to the crappy connection | ||
| [2010/07/29 03:53:20] <dcarley> in future, after creating a redmine account - tickets@puppetlabs.com | ||
| [2010/07/29 03:53:23] <madduck> and btw, if someone files a bug against mdadm, even if it's a kernel issue, I forward it. | ||
| [2010/07/29 03:53:42] <madduck> dcarley: is there a document out there describing use of this bug address? | ||
| [2010/07/29 03:54:43] <dcarley> madduck: http://tiny.cc/k8h2u | ||
| [2010/07/29 03:55:56] @ gebi joined channel #puppet | ||
| [2010/07/29 03:56:26] <madduck> dcarley: very cool, thanks. this shall make things easier for me in the future | ||
| [2010/07/29 03:56:39] @ Quit: n3kl: Ping timeout: 240 seconds | ||
| [2010/07/29 03:58:28] @ n3kl joined channel #puppet | ||
| [2010/07/29 04:05:03] @ Quit: n3kl: Ping timeout: 252 seconds | ||
| [2010/07/29 04:06:08] @ pinoyskull joined channel #puppet | ||
| [2010/07/29 04:06:59] @ n3kl joined channel #puppet | ||
| [2010/07/29 04:07:17] @ Quit: rmiller4pi8: Read error: Connection reset by peer | ||
| [2010/07/29 04:10:12] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 04:10:25] @ sdog joined channel #puppet | ||
| [2010/07/29 04:11:36] @ Quit: n3kl: Ping timeout: 265 seconds | ||
| [2010/07/29 04:13:28] @ n3kl joined channel #puppet | ||
| [2010/07/29 04:13:28] @ Quit: n3kl: Changing host | ||
| [2010/07/29 04:13:28] @ n3kl joined channel #puppet | ||
| [2010/07/29 04:16:39] @ Quit: rmiller4pi8: Ping timeout: 240 seconds | ||
| [2010/07/29 04:17:03] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 04:21:17] @ robinbowes_nb joined channel #puppet | ||
| [2010/07/29 04:21:19] @ Quit: n3kl: Ping timeout: 248 seconds | ||
| [2010/07/29 04:22:55] @ Quit: robinbowes_nb: Client Quit | ||
| [2010/07/29 04:23:01] @ n3kl joined channel #puppet | ||
| [2010/07/29 04:27:11] @ kubicek joined channel #puppet | ||
| [2010/07/29 04:29:19] @ Quit: sdog: Changing host | ||
| [2010/07/29 04:29:19] @ sdog joined channel #puppet | ||
| [2010/07/29 04:36:06] @ nakano is now known as nakano_ | ||
| [2010/07/29 04:39:03] @ rgevaert joined channel #puppet | ||
| [2010/07/29 04:40:03] <rgevaert> hello, I'm using 2.6 and trying to use modules (from the forge) and environments, I get this error: Could not retrieve catalog from remote server: Error 400 on SERVER: No source module metadata provided for collectd | ||
| [2010/07/29 04:40:40] @ mgk joined channel #puppet | ||
| [2010/07/29 04:40:53] @ Quit: Demosthenes: Quit: leaving | ||
| [2010/07/29 04:41:12] <zipkid> Dag Rudy :-) | ||
| [2010/07/29 04:41:45] <rgevaert> goeiemiddag :) | ||
| [2010/07/29 04:51:35] @ rmiller4pi81 joined channel #puppet | ||
| [2010/07/29 04:51:48] @ Quit: FOCer: Remote host closed the connection | ||
| [2010/07/29 04:52:04] @ Quit: rmiller4pi8: Read error: Connection reset by peer | ||
| [2010/07/29 04:59:12] @ strangeloop joined channel #puppet | ||
| [2010/07/29 04:59:44] <strangeloop> how to get facter facts from the shell which contain an underline? | ||
| [2010/07/29 05:00:04] <strangeloop> facter uptime says => 21:03 hours | ||
| [2010/07/29 05:00:17] <strangeloop> but facter uptime_seconds says nothing | ||
| [2010/07/29 05:00:33] @ ahasenack joined channel #puppet | ||
| [2010/07/29 05:05:16] @ joevano joined channel #puppet | ||
| [2010/07/29 05:06:27] @ Quit: rmiller4pi81: Read error: Connection reset by peer | ||
| [2010/07/29 05:06:38] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 05:07:45] @ nakano_ is now known as nakano | ||
| [2010/07/29 05:11:50] <mgk> dont you need to convert ? or is there a fact called uptime_seconds? | ||
| [2010/07/29 05:16:00] @ Quit: pinoyskull: Ping timeout: 265 seconds | ||
| [2010/07/29 05:19:56] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/07/29 05:21:02] <hal-j> mgk: if you run facter manually on a client, you'll get a list of the facts | ||
| [2010/07/29 05:22:15] <madduck> Volcane: I've just seen http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php and so I figure you must know — what if you wanted to parametrise e.g. $ntp_server (ntp.conf being a template)? | ||
| [2010/07/29 05:22:43] <Volcane> madduck: i use extlookup | ||
| [2010/07/29 05:23:02] <madduck> right, same, but do you use extlookup in the module? | ||
| [2010/07/29 05:23:12] <Volcane> use extlookup everywhere | ||
| [2010/07/29 05:23:32] <madduck> yeah, i am about → ← this close from doing so | ||
| [2010/07/29 05:23:43] <Volcane> i have 100s of extlookup vars | ||
| [2010/07/29 05:23:46] <madduck> although I really don't like depending on optional, external components in modules | ||
| [2010/07/29 05:23:54] <Volcane> every package version for example | ||
| [2010/07/29 05:24:10] <Volcane> extlookup("foo_pk", "present") in the define that installs packages | ||
| [2010/07/29 05:24:20] <Volcane> then i can just set it to absent/specific version etc through extlookup | ||
| [2010/07/29 05:24:25] <Volcane> no insane inherits etc | ||
| [2010/07/29 05:24:28] <strangeloop> hal-j, ok i could use facter | grep uptime_seconds | ||
| [2010/07/29 05:24:40] <strangeloop> but facter uptime_seconds would be much more convienient | ||
| [2010/07/29 05:24:43] <madduck> does ensure actually work with version numbers yet? or just not on debian? | ||
| [2010/07/29 05:25:12] <madduck> i wonder when something like extlookup will become available in the puppet core | ||
| [2010/07/29 05:25:14] <Volcane> for ages | ||
| [2010/07/29 05:25:18] <Volcane> as long as i can remember | ||
| [2010/07/29 05:25:23] <hal-j> ahh sorry, didn't read far enough back :) | ||
| [2010/07/29 05:25:29] <madduck> oh really? I thought it does not yet | ||
| [2010/07/29 05:25:41] <Volcane> you can even rollback with aptitute | ||
| [2010/07/29 05:25:58] <Volcane> downgrades i mean | ||
| [2010/07/29 05:26:58] @ uphillian joined channel #puppet | ||
| [2010/07/29 05:27:11] <madduck> okay, I confused it to pinning it to releases | ||
| [2010/07/29 05:27:20] <madduck> e.g. "the latest version available in lenny-backports" | ||
| [2010/07/29 05:27:23] <madduck> you can't do that yet | ||
| [2010/07/29 05:27:29] <mgk> has anyone had any luck with puppetmaster + passenger on debian? Tried a few guides and reading some documents but i'm getting internal server errors from the client | ||
| [2010/07/29 05:27:31] <Volcane> yeah that u need to config through your apt | ||
| [2010/07/29 05:27:33] <Volcane> and thank god | ||
| [2010/07/29 05:27:38] <Volcane> cos think if you didnt do it in puppet | ||
| [2010/07/29 05:27:45] <Volcane> and then do a apt distro update or something | ||
| [2010/07/29 05:27:50] <Volcane> it would fsck everything up | ||
| [2010/07/29 05:28:07] <Volcane> pinning is absolutely the answer to that | ||
| [2010/07/29 05:29:06] <madduck> well, my thought is that if I say "ensure => lenny-backports", that it would also maintain a pin in /etc/apt/preferences.d | ||
| [2010/07/29 05:29:25] <madduck> anyway, same thing goes for ensure => "0.1.2" | ||
| [2010/07/29 05:29:36] <madduck> if you upgrade, it might get upgraded and puppet then has to downgrade, no? | ||
| [2010/07/29 05:30:56] @ [GuS] joined channel #puppet | ||
| [2010/07/29 05:32:34] <Volcane> i generally only set specific version on non core os stuff, where you'd want to pin specifically cos you want to do weird things possibly overwriting non core os stuff | ||
| [2010/07/29 05:33:28] @ Quit: ohadlevy: Ping timeout: 260 seconds | ||
| [2010/07/29 05:33:33] <madduck> yeah, sure, but an upgrade without a pin might still change that, forcing puppet to later downgrade | ||
| [2010/07/29 05:34:08] <Volcane> it'll only change it if i specifically added a new version to the repos | ||
| [2010/07/29 05:34:24] <Volcane> and given how awesome (not) most debian repos are with multiple versions of the same package | ||
| [2010/07/29 05:34:38] <Volcane> you're in trouble anyway, and setting it to a specific version is geneerally more hassle than anything | ||
| [2010/07/29 05:36:04] <hal-j> maintaining your own repo is generally a good thing, gives you a bit more control | ||
| [2010/07/29 05:36:17] <Volcane> yup, dont trust 3rd party repos | ||
| [2010/07/29 05:36:32] <hal-j> and if you do decide to use an external one, ensure => present :) | ||
| [2010/07/29 05:36:39] @ Quit: rmiller4pi8: Read error: Connection reset by peer | ||
| [2010/07/29 05:36:40] <hal-j> or else things get changed out from under you without you knowing | ||
| [2010/07/29 05:36:49] <hal-j> good if you like adventure I guess | ||
| [2010/07/29 05:37:06] <madduck> i don't think we are talking about the same thing | ||
| [2010/07/29 05:37:43] <Volcane> madduck: we are, i am just saying how to just simply avoid the problem and not to think adding that feature to puppet is a good idea cos its a terrible one | ||
| [2010/07/29 05:38:29] <madduck> and i am saying that ensure => "1.2-1" on a package is exactly as bad as pinning to a release because puppet's apt provider does not integrate with APT. | ||
| [2010/07/29 05:39:17] <Volcane> madduck: and so my answer was that i dont ensure xxx a std os package only stuff in my repos which i control anyway, and i then roll out soon after adding to the repo in a controlled manner to the latest | ||
| [2010/07/29 05:39:25] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 05:39:34] <Volcane> madduck: so i never have a long term situation where i am ensure'ing to a version not in the repo or not the latest | ||
| [2010/07/29 05:40:02] <madduck> ah ok | ||
| [2010/07/29 05:40:27] <madduck> well, i continue to think that the apt provider should integrate with APT and write pins for such cases | ||
| [2010/07/29 05:40:37] <madduck> and if it can do that, you can just as well pin to repositories | ||
| [2010/07/29 05:42:00] @ ohadlevy joined channel #puppet | ||
| [2010/07/29 05:44:27] <madduck> Volcane: do you have any idea if/when extlookup will become standard? | ||
| [2010/07/29 05:44:29] * Peanut has to side with madduck a bit on that - if you don't pin, apt-get upgrade (not even dst-upgrade) and puppet are going to end up disagreeing once a newer version of a package becomes available. And in fact, even when you have your own repos it might be worthwhile to have different versions of a package on specific clients. | ||
| [2010/07/29 05:44:35] <Volcane> madduck: its in 2.6 | ||
| [2010/07/29 05:44:42] @ DK_ joined channel #puppet | ||
| [2010/07/29 05:44:43] <madduck> \o/ | ||
| [2010/07/29 05:44:56] @ DK_ left channel #puppet () | ||
| [2010/07/29 05:44:58] @ herdingcat joined channel #puppet | ||
| [2010/07/29 05:45:40] @ DK_ joined channel #puppet | ||
| [2010/07/29 05:45:43] * Peanut has been fighting that a bit too much lately, and ended up side-stepping the issue by creating a repo per release-level, but that's hardly elegant. | ||
| [2010/07/29 05:46:40] @ Quit: DK_: Client Quit | ||
| [2010/07/29 05:46:45] @ DK_ joined channel #puppet | ||
| [2010/07/29 05:46:55] <madduck> Volcane: the only remaining issue then I have is that now I have to maintain information about a node in two places: site.pp and extlookup. Have you thought about ways to re-integrate the two? | ||
| [2010/07/29 05:47:08] <madduck> e.g. some manifest syntax that extlookup can read? | ||
| [2010/07/29 05:47:17] <Volcane> madduck: i just dont maintain any info about the node in site.pp other than nodes file that includes classes. | ||
| [2010/07/29 05:47:33] <madduck> that is information… | ||
| [2010/07/29 05:47:41] @ DK_ left channel #puppet () | ||
| [2010/07/29 05:48:35] <madduck> i wonder how hard it would be for a start to extend extlookup to make all variables defined in a node available under that node's lookup key? | ||
| [2010/07/29 05:49:01] <Volcane> that doesnt even make sense | ||
| [2010/07/29 05:49:07] <Volcane> not even remotely | ||
| [2010/07/29 05:51:42] @ darrenk joined channel #puppet | ||
| [2010/07/29 05:51:42] @ Quit: rmiller4pi8: Read error: Connection reset by peer | ||
| [2010/07/29 05:52:04] <Volcane> you cannot answer 'what varaibles are for this node' conclusively | ||
| [2010/07/29 05:52:18] <Volcane> cos extlookup("foo") can return different answers based on class scope | ||
| [2010/07/29 05:52:41] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 05:54:02] @ Bass10 joined channel #puppet | ||
| [2010/07/29 05:55:46] <mgk> do other users have /usr/lib/ruby/1.8/puppet/application/master.rb ? | ||
| [2010/07/29 05:56:03] @ Quit: darrenk: Ping timeout: 252 seconds | ||
| [2010/07/29 05:56:08] <mgk> on their masters? | ||
| [2010/07/29 06:00:06] @ rmiller4pi81 joined channel #puppet | ||
| [2010/07/29 06:00:46] <madduck> Volcane: true, that was oversimplistic of me | ||
| [2010/07/29 06:01:15] @ Quit: rmiller4pi8: Ping timeout: 264 seconds | ||
| [2010/07/29 06:01:15] <madduck> Volcane: don't you see the need/desire to ingrate class inheritance/inclusion with paramterisation? | ||
| [2010/07/29 06:02:06] @ darrenkangurs joined channel #puppet | ||
| [2010/07/29 06:02:08] <Volcane> madduck: classes now supports parameters | ||
| [2010/07/29 06:02:21] @ Quit: darrenkangurs: Client Quit | ||
| [2010/07/29 06:04:37] <Volcane> madduck: and we'll add the ability for extlookup to load data from inside a module as well | ||
| [2010/07/29 06:05:09] <madduck> you mean 2.6 added parametrized classes? | ||
| [2010/07/29 06:05:21] <Volcane> yes | ||
| [2010/07/29 06:05:36] <madduck> oh cool | ||
| [2010/07/29 06:05:51] <madduck> now it's just a question of whether it's ready and painless to upgrade 0.25.5 to 2.6 | ||
| [2010/07/29 06:05:57] <Volcane> not yet :) | ||
| [2010/07/29 06:06:21] * rgevaert suffering a lot of pain at the moment ;p | ||
| [2010/07/29 06:06:27] <madduck> :( | ||
| [2010/07/29 06:06:40] <ohadlevy> rgevaert: which kind? I didnt start just yet | ||
| [2010/07/29 06:07:44] <rgevaert> I was eagerly awaiting 2.6 to have modules working in environments, now I'm hitting ' Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo' | ||
| [2010/07/29 06:07:50] <hal-j> I'm hoping to get "phase 1" of the reorg of newco's puppet setup into production in the next week or so. Maybe I'll venture down the path to 2.6 once I get that done | ||
| [2010/07/29 06:09:12] @ autowidget joined channel #puppet | ||
| [2010/07/29 06:09:28] <Naresh> well, one of my colleagues accidently put the 2.6.0 RPM in the local repo | ||
| [2010/07/29 06:09:35] <Naresh> and puppet got upgraded on a few machines :/ | ||
| [2010/07/29 06:09:48] <Naresh> didn't face any issues - except on rhel4 machines | ||
| [2010/07/29 06:11:10] <rgevaert> I also think puppet 2.6 has problems with passenger | ||
| [2010/07/29 06:11:31] @ ghg joined channel #puppet | ||
| [2010/07/29 06:11:55] <rgevaert> I now switched to webrick to debug some issues, as with passenger nothing was happening anymore | ||
| [2010/07/29 06:14:15] <ohadlevy> rgevaert: you need to modify passenger config.nu file... and modules and environments works well since 0.24.x | ||
| [2010/07/29 06:14:30] <madduck> with parametrised classes, it still won't be possible to override parameters in derived classes, right? like the ntp_server example, I probably can't just make the default node a ntp client and override the ntp_server in derived nodes? | ||
| [2010/07/29 06:15:11] <ohadlevy> madduck: there is a good reason why extlookup is inside puppet now :) | ||
| [2010/07/29 06:15:36] <madduck> ohadlevy: but it requires you to keep information about a node in two separate places. | ||
| [2010/07/29 06:15:55] <ohadlevy> madduck: you dont have to | ||
| [2010/07/29 06:16:03] <rgevaert> ohadlevy, very strange I saw several posts on the ml pointing to 2.6 to be fixed, I was running 0.25.x before, I changed the config.ru file so it started the master process, maybe some other changes are need too? | ||
| [2010/07/29 06:16:39] <ohadlevy> rgevaert: with my very quick tests, a couple of config changes are requied for it to run, i saw that rc1 has updated the example config | ||
| [2010/07/29 06:19:54] <madduck> ohadlevy: yes you do, you /have to/ define a node, and if you want to parametrise, you /have to/ add an extlookup recordset | ||
| [2010/07/29 06:20:27] <ohadlevy> madduck: you can always switch to external nodes ;) | ||
| [2010/07/29 06:21:03] <madduck> ohadlevy: i might have to look into that. | ||
| [2010/07/29 06:22:14] <rgevaert> ohadlevy, my config.ru looks the same as on http://github.com/reductivelabs/puppet/tree/master/ext/rack/files/, anyway, for now I don't have any problem using webrick, except my modules aren't working :( | ||
| [2010/07/29 06:22:57] @ goraxe joined channel #puppet | ||
| [2010/07/29 06:25:30] @ Quit: autowidget: Quit: autowidget | ||
| [2010/07/29 06:28:47] @ windowsr1fund is now known as windowsrefund | ||
| [2010/07/29 06:28:50] <windowsrefund> hello | ||
| [2010/07/29 06:29:15] @ gmason joined channel #puppet | ||
| [2010/07/29 06:29:48] <madduck> ohadlevy: ah, so external nodes could be used to replace extlookup altogether, it seems. | ||
| [2010/07/29 06:29:56] <madduck> since it includes parameters | ||
| [2010/07/29 06:30:23] <madduck> and I'd just have to write a lookup script that would implement lookup precedence, e.g. $fqdn, $domain, DEFAULT | ||
| [2010/07/29 06:30:24] <ohadlevy> yep | ||
| [2010/07/29 06:30:24] <windowsrefund> is the following syntax valid for overrides? Host[foo, bar] { require => File["/tmp/foo"] } | ||
| [2010/07/29 06:30:34] <ohadlevy> madduck: such things already exists :) | ||
| [2010/07/29 06:30:45] <ohadlevy> madduck: if you want to avoid coding :) | ||
| [2010/07/29 06:30:52] <madduck> ohadlevy: okay, will look, unless you have a pointer. ;) | ||
| [2010/07/29 06:31:06] <ohadlevy> madduck: I wrote one | ||
| [2010/07/29 06:31:11] <ohadlevy> madduck: theforeman.org | ||
| [2010/07/29 06:31:31] <ohadlevy> madduck: sure you can find other limitations in it ;) | ||
| [2010/07/29 06:32:48] <sejo> lol | ||
| [2010/07/29 06:33:16] @ Quit: rasputnik: Ping timeout: 258 seconds | ||
| [2010/07/29 06:34:46] <madduck> ohadlevy: ;) | ||
| [2010/07/29 06:34:47] <madduck> thanks | ||
| [2010/07/29 06:36:38] @ Quit: Naresh: Ping timeout: 259 seconds | ||
| [2010/07/29 06:39:32] @ rasputnik joined channel #puppet | ||
| [2010/07/29 06:40:47] @ Quit: rgevaert: Read error: Connection reset by peer | ||
| [2010/07/29 06:43:27] @ reyjrar joined channel #puppet | ||
| [2010/07/29 06:46:12] @ Quit: windowsrefund: Ping timeout: 252 seconds | ||
| [2010/07/29 06:46:50] @ glaw joined channel #puppet | ||
| [2010/07/29 06:48:12] @ windowsrefund joined channel #puppet | ||
| [2010/07/29 06:48:55] @ Quit: SEJeff_work: Read error: Connection reset by peer | ||
| [2010/07/29 06:52:26] @ joe-mac left channel #puppet () | ||
| [2010/07/29 06:54:03] @ ninjazjb joined channel #puppet | ||
| [2010/07/29 06:57:35] @ Quit: Bass10: Ping timeout: 240 seconds | ||
| [2010/07/29 06:59:35] @ Quit: rmiller4pi81: Ping timeout: 240 seconds | ||
| [2010/07/29 07:02:54] @ jmslagle joined channel #puppet | ||
| [2010/07/29 07:02:58] @ Quit: p3rror: Ping timeout: 276 seconds | ||
| [2010/07/29 07:03:08] <jmslagle> Ohad around? | ||
| [2010/07/29 07:03:33] @ MPSimmons joined channel #puppet | ||
| [2010/07/29 07:03:56] <ohadlevy> jmslagle: yep | ||
| [2010/07/29 07:05:00] @ pheezy joined channel #puppet | ||
| [2010/07/29 07:05:57] @ failshell joined channel #puppet | ||
| [2010/07/29 07:07:12] <failshell> hey guys. since i upgraded to 2.6, it seems it takes a lot longer than with 0.24 to run the client. it seems to check for which format it supports to always pick pson. is it possible force that somehow to speed up the process? | ||
| [2010/07/29 07:08:07] <ohadlevy> failshell: there were some discussions on it, maybe you can try the 2.6.1 rc1 - it should be faster | ||
| [2010/07/29 07:08:16] @ windowsrefund left channel #puppet () | ||
| [2010/07/29 07:08:55] <failshell> id rather stick to a stable branch | ||
| [2010/07/29 07:10:26] @ Quit: herdingcat: Ping timeout: 265 seconds | ||
| [2010/07/29 07:11:29] @ notbrien joined channel #puppet | ||
| [2010/07/29 07:14:33] <jmslagle> ohadlevy: Your foreman module is dragging in rubygem-sqlite3 | ||
| [2010/07/29 07:14:40] <jmslagle> Which conflicts with ruby-sqlite3 | ||
| [2010/07/29 07:14:47] <jmslagle> Do they provide the same mojo? | ||
| [2010/07/29 07:15:00] <jmslagle> huggie: Will my things depending on ruby-sqlite3 (storeconfigs) work with rubygem-sqlite3 | ||
| [2010/07/29 07:15:04] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/07/29 07:15:07] <jmslagle> Stupid nick complete. | ||
| [2010/07/29 07:15:23] @ voodookid joined channel #puppet | ||
| [2010/07/29 07:15:25] <ohadlevy> jmslagle: i'm guessing you can just change it, for which os? | ||
| [2010/07/29 07:15:34] <jmslagle> I know this is a RHEL specific question but I don't want to hose my storeconfigs :) | ||
| [2010/07/29 07:15:37] @ autowidget joined channel #puppet | ||
| [2010/07/29 07:16:00] <jmslagle> ruby-sqlite3.x86_64 : A Ruby interface for the SQLite database engine | ||
| [2010/07/29 07:16:03] <jmslagle> rubygem-sqlite3-ruby.x86_64 : Allows Ruby scripts to interface with a SQLite3 | ||
| [2010/07/29 07:16:03] <jmslagle> : database | ||
| [2010/07/29 07:16:08] <jmslagle> Those are the 2 packages | ||
| [2010/07/29 07:16:18] <jmslagle> To me, the gem one just seems like a newer version of the other | ||
| [2010/07/29 07:16:36] @ kaptk2 joined channel #puppet | ||
| [2010/07/29 07:17:33] <ohadlevy> jmslagle: I'm not 100% sure, but do you use sqlite or mysql for storeconfigs? | ||
| [2010/07/29 07:19:12] @ taiky joined channel #puppet | ||
| [2010/07/29 07:21:58] @ bug joined channel #puppet | ||
| [2010/07/29 07:23:33] @ Bass10 joined channel #puppet | ||
| [2010/07/29 07:24:02] <jmslagle> Oh yeah :P | ||
| [2010/07/29 07:24:04] <jmslagle> I use mysql. | ||
| [2010/07/29 07:24:11] <jmslagle> So this is irrelevant. | ||
| [2010/07/29 07:24:52] @ joe-mac joined channel #puppet | ||
| [2010/07/29 07:25:41] @ Quit: ghg: Quit: ghg | ||
| [2010/07/29 07:26:17] @ Quit: bronto: Quit: Leaving. | ||
| [2010/07/29 07:26:26] * jmslagle lets the foreman module do it's thing. | ||
| [2010/07/29 07:27:45] * jmslagle troubleshoots. | ||
| [2010/07/29 07:28:21] <jmslagle> Need to move new puppet to passenger too | ||
| [2010/07/29 07:28:46] <madduck> ohadlevy: external nodes look interesting, but they are mutually exclusive with extlookup because if you use them, you essentially parametrise classes while with extlookup, you seek out to external storage from within the class | ||
| [2010/07/29 07:28:47] <joe-mac> jmslagle: i would be careful with that | ||
| [2010/07/29 07:28:52] <joe-mac> i tried it, and it sorta worked, but had a lot of problems | ||
| [2010/07/29 07:29:00] <jmslagle> puppet under passenger? | ||
| [2010/07/29 07:29:13] <jmslagle> It's working fine for me on my old puppet infrastructure | ||
| [2010/07/29 07:29:26] <madduck> the former would be okay and extlookup would be unnecessary with external nodes, if there was a better way to handle the situation when a parameter is undefined than what you have right now | ||
| [2010/07/29 07:29:41] <madduck> with 2.6 and parametrised classes, you'll be able to specify defaults in the class definition | ||
| [2010/07/29 07:30:19] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 07:30:20] <ohadlevy> madduck: yeah, I'm not 100% sure of how to provide that data, but I would expect it should be possible to provide values to classes with external nodes in the near future | ||
| [2010/07/29 07:30:23] <madduck> but before 2.6 is stable and can replace 0.25.5 seamlessly, your module has to do $foo = $foo ? { "" => "defaultvalue", default => $foo } for *every* parameter | ||
| [2010/07/29 07:30:27] <jmslagle> Hrm! | ||
| [2010/07/29 07:30:51] <ohadlevy> madduck: with foreman you can provide global defaults | ||
| [2010/07/29 07:30:58] <ohadlevy> madduck: and override them in various levels | ||
| [2010/07/29 07:30:58] <jmslagle> Does foreman under passenger assume puppet under passenger? | ||
| [2010/07/29 07:31:03] <ohadlevy> jmslagle: no | ||
| [2010/07/29 07:32:01] <joe-mac> jmslagle: ah, i thought you meant you were moving off of like nginx or apache | ||
| [2010/07/29 07:32:06] <madduck> ohadlevy: while I am sure foreman has its usecase, I have not looked because for now, I want to stay at plain puppet and make things work at this level first | ||
| [2010/07/29 07:32:10] <joe-mac> if you've got the versions and all this settled in i think you'll be fine | ||
| [2010/07/29 07:32:16] <madduck> maybe later I'll invest time in learning a new layer of abstraction | ||
| [2010/07/29 07:32:42] <joe-mac> i ran into weird problems that freaked me out too much to continue trying, not to mention problems with 2.6 itself, but most of those i think will be addressed in .1 | ||
| [2010/07/29 07:32:45] <ohadlevy> madduck: no prob :) most people using it first for reporting | ||
| [2010/07/29 07:32:50] <jmslagle> Yeah | ||
| [2010/07/29 07:32:56] <jmslagle> I'm looking at it for reporting :) | ||
| [2010/07/29 07:33:41] <joe-mac> yea | ||
| [2010/07/29 07:33:49] <joe-mac> i didn't have it around long enough to really look into the reporting | ||
| [2010/07/29 07:34:49] @ Quit: strangeloop: Read error: Operation timed out | ||
| [2010/07/29 07:35:27] @ Quit: ninjazjb: Ping timeout: 248 seconds | ||
| [2010/07/29 07:36:05] <jmslagle> Hrm! | ||
| [2010/07/29 07:36:08] <ohadlevy> joe-mac: maybe its time to look again ;) | ||
| [2010/07/29 07:37:25] <joe-mac> at 2.6? | ||
| [2010/07/29 07:37:45] <mgk> has anyone seen a good guide to puppet and passenger for debian based distros? | ||
| [2010/07/29 07:38:08] <joe-mac> i think my endeavor with 2.6 can best be described as 'catastrophe' due to the empty manifest bug and much worse, the extlookup bug | ||
| [2010/07/29 07:38:48] * jmslagle ponders passenger not finding Puppet::Rails | ||
| [2010/07/29 07:40:08] @ Quit: failshell: Quit: Leaving | ||
| [2010/07/29 07:40:08] <joe-mac> jmslagle: yea i think i ran into that one | ||
| [2010/07/29 07:40:18] <joe-mac> i forget what i did to fix it though | ||
| [2010/07/29 07:40:25] <jmslagle> I'll find it | ||
| [2010/07/29 07:40:40] @ tonyskapunk joined channel #puppet | ||
| [2010/07/29 07:42:58] @ Quit: tecto_: Quit: tecto_ | ||
| [2010/07/29 07:44:18] @ jdcasey joined channel #puppet | ||
| [2010/07/29 07:46:37] @ reyjrar joined channel #puppet | ||
| [2010/07/29 07:50:01] @ strangeloop joined channel #puppet | ||
| [2010/07/29 07:50:44] <jmslagle> Hrm! | ||
| [2010/07/29 07:50:54] <madduck> ohadlevy: I cannot find your external node script on the site. do i need to download the code? | ||
| [2010/07/29 07:51:04] @ bronto joined channel #puppet | ||
| [2010/07/29 07:51:28] <ohadlevy> madduck: the logic is inside the app it self.. you can view the code in the site or at github | ||
| [2010/07/29 07:51:50] <ohadlevy> madduck: the actual script is really a simple http get request from foreman | ||
| [2010/07/29 07:52:11] <madduck> oh, okay | ||
| [2010/07/29 07:52:24] <madduck> i suppose then I might look elsewhere for a very basic starting point first | ||
| [2010/07/29 07:52:55] <madduck> i could just start from scratch, it seems extremely silly that puppetmaster does not come with one or two simple, generic versions, or examples. | ||
| [2010/07/29 07:53:07] @ Quit: voodookid: Quit: Leaving. | ||
| [2010/07/29 07:53:11] @ voodookid joined channel #puppet | ||
| [2010/07/29 07:53:13] <joe-mac> there are examples in /ext of the source checkout madduck | ||
| [2010/07/29 07:53:22] <joe-mac> along with a few other really useful (almost essential) scripts | ||
| [2010/07/29 07:53:37] @ benkevan joined channel #puppet | ||
| [2010/07/29 07:54:19] @ shenson|lappy joined channel #puppet | ||
| [2010/07/29 07:54:26] <jmslagle> Have you seen the unitialized constant error before Ohad? | ||
| [2010/07/29 07:54:32] <jmslagle> My ruby debugging foo is weak :( | ||
| [2010/07/29 07:54:48] @ shenson|lappy is now known as shenson | ||
| [2010/07/29 07:55:03] <ohadlevy> jmslagle: which one? | ||
| [2010/07/29 07:55:30] <jmslagle> uninitialized constant Puppet::Rails | ||
| [2010/07/29 07:55:34] <jmslagle> When I hit the passenger page | ||
| [2010/07/29 07:55:50] <ohadlevy> jmslagle: foreman or puppet? | ||
| [2010/07/29 07:55:54] <jmslagle> foreman | ||
| [2010/07/29 07:56:05] <jmslagle> Installed via the puppet module | ||
| [2010/07/29 07:56:08] <ohadlevy> jmslagle: which version of puppet? | ||
| [2010/07/29 07:56:12] <jmslagle> with using_passenger=true | ||
| [2010/07/29 07:56:20] <jmslagle> puppet-server-2.6.0-0.6.rc4.el5 | ||
| [2010/07/29 07:56:25] <jmslagle> I guess I should update that :) | ||
| [2010/07/29 07:56:36] <fluxdude> I have a bunch of tidies, with an age of 3 days. Every time I run puppetd --test (which I do a _lot_) I see messages about the tidies stating the files don't exist, doing nothing effectively, just cluttering up my screen | ||
| [2010/07/29 07:56:40] <fluxdude> is there a way of silencing them? | ||
| [2010/07/29 07:56:49] <ohadlevy> jmslagle: hmm.. i didnt had much time working on the 2.6. changes, so I'm guessing its something they changed in the 2.6. series | ||
| [2010/07/29 07:56:52] <fluxdude> I hate seeing that output all the time, it's useless | ||
| [2010/07/29 07:59:23] <joe-mac> fluxdude: you run pupept in verbose mode all the time? | ||
| [2010/07/29 07:59:44] <fluxdude> no I run puppetd --test a lot | ||
| [2010/07/29 07:59:47] <fluxdude> for testing | ||
| [2010/07/29 08:00:01] <joe-mac> so do i, however -t implies verbose | ||
| [2010/07/29 08:00:02] <fluxdude> re-writing puppet manifests and testing before deployments etc | ||
| [2010/07/29 08:00:11] <fluxdude> I do no include the --verbose switch | ||
| [2010/07/29 08:00:12] <groove> i find tidies are a bit irritating for that reason | ||
| [2010/07/29 08:00:19] <fluxdude> just --test or --test --environment=dev | ||
| [2010/07/29 08:00:19] <joe-mac> fluxdude: like i said, -t implies verbose | ||
| [2010/07/29 08:00:26] <groove> so i prefer to use file { foo: ensure => absent; } | ||
| [2010/07/29 08:00:26] <joe-mac> -t is a few different options togethjer | ||
| [2010/07/29 08:00:32] <fluxdude> is there a way of running --test without verbose? | ||
| [2010/07/29 08:00:33] <joe-mac> --no-daemonize --verbose and something else | ||
| [2010/07/29 08:00:48] <jmslagle> onetime I think | ||
| [2010/07/29 08:00:53] <joe-mac> yea that's it | ||
| [2010/07/29 08:00:59] <joe-mac> so run puppetd --no-daemonize --onetime | ||
| [2010/07/29 08:01:09] <fluxdude> or triggering a run with another switch like --environment? | ||
| [2010/07/29 08:01:16] <fluxdude> something along the lines of the SIGUSR1 call | ||
| [2010/07/29 08:01:18] <fluxdude> ? | ||
| [2010/07/29 08:02:48] <fluxdude> or a way of running puppetd on the command line without --verbose | ||
| [2010/07/29 08:02:54] <fluxdude> some alternative to --test perhaps | ||
| [2010/07/29 08:03:08] <fluxdude> or some swtich to go along with it like --quiet? | ||
| [2010/07/29 08:03:22] <fluxdude> so you only see useful stuff | ||
| [2010/07/29 08:03:54] <jmslagle> <joe-mac> so run puppetd --no-daemonize --onetime | ||
| [2010/07/29 08:05:02] @ Quit: sdog: Quit: Leaving. | ||
| [2010/07/29 08:06:16] @ Quit: benoit__: Ping timeout: 240 seconds | ||
| [2010/07/29 08:06:38] @ jmccune joined channel #puppet | ||
| [2010/07/29 08:06:54] @ Quit: strangeloop: Quit: Leaving | ||
| [2010/07/29 08:07:08] @ Quit: tuf: Quit: Look whos tuf now.. | ||
| [2010/07/29 08:13:31] <madduck> does Eric Sorenson use IRC? | ||
| [2010/07/29 08:13:35] @ nexx joined channel #puppet | ||
| [2010/07/29 08:14:05] <madduck> does anyone know of an external node qualifier, which implements inheritance in some way? | ||
| [2010/07/29 08:14:41] <madduck> i like being able to define base nodes of various types and inheriting from them to constitute actual nodes, e.g. inherit from debian_node and zurich_node to create a node that runs debian in zurich | ||
| [2010/07/29 08:14:52] <Disconnect> foreman has groups that can do that. | ||
| [2010/07/29 08:15:02] <madduck> i don't want to use foreman (yet) | ||
| [2010/07/29 08:15:22] @ tecto_ joined channel #puppet | ||
| [2010/07/29 08:15:22] @ Quit: tecto_: Changing host | ||
| [2010/07/29 08:15:22] @ tecto_ joined channel #puppet | ||
| [2010/07/29 08:15:25] <madduck> since puppet's language tips over basic inheritance concepts, I wonder if someone has implemented it correctly using external nodes? | ||
| [2010/07/29 08:16:00] <robthoms> madduck, Where do you want to define your nodes? | ||
| [2010/07/29 08:16:01] <Disconnect> you can't change the language with external classifiers. all it does is tell puppet "here are some parameters, and include these classes" | ||
| [2010/07/29 08:16:32] <madduck> robthoms: ideally in one place, and for now that could be on the filesystem | ||
| [2010/07/29 08:17:15] @ Quit: rmiller4pi8: Quit: Leaving. | ||
| [2010/07/29 08:17:15] <madduck> Disconnect: what I mean is that you define a host in some file using some syntax which allows you to say that this file is-a debian_node and is-a zurich_node | ||
| [2010/07/29 08:17:35] <madduck> and the external node qualifier then creates a node for puppet | ||
| [2010/07/29 08:17:36] @ p3rror joined channel #puppet | ||
| [2010/07/29 08:17:38] <Disconnect> node { "foo": include debian / include zurich } | ||
| [2010/07/29 08:18:04] <robthoms> madduck, I imagine this is a quite simple script.. for example: define all nodes as YAML (or other dictionary format). If you have a key called "include" with comma separated values, dictionary values will be evaluated from those and merged into the current dictionary.. and finally the rest of the current node's keys will be evaluated.. | ||
| [2010/07/29 08:18:06] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 08:18:17] <robthoms> madduck, And we'll ignore circular references. :) | ||
| [2010/07/29 08:18:18] <Disconnect> or you use foreman/iclassify to tag it with "debian" and "zurich" | ||
| [2010/07/29 08:18:25] <madduck> robthoms: yeah, now where is tha script? ;) | ||
| [2010/07/29 08:18:56] <robthoms> madduck, 10 mins in Python, 3 hrs in Ruby.. | ||
| [2010/07/29 08:19:02] <madduck> robthoms: lol ;) | ||
| [2010/07/29 08:19:05] <robthoms> But that's just me. ;-) | ||
| [2010/07/29 08:19:27] <taiky> hi | ||
| [2010/07/29 08:19:35] <Disconnect> by the time you write the config file you could have just statically defined the node in puppet ... | ||
| [2010/07/29 08:19:40] @ Quit: voodookid: Ping timeout: 265 seconds | ||
| [2010/07/29 08:19:51] @ Pyretic left channel #puppet () | ||
| [2010/07/29 08:20:17] <madduck> Disconnect: the include solution you provide allows one to do classes, but what if all zurich nodes needed to have $debian_mirror_uri set to the swiss mirror, while all munich nodes needed to have that variable set to the german mirror? | ||
| [2010/07/29 08:20:18] * Disconnect doesn't see a huge difference between "node { "foo": include bar; include baz }" and "foo: bar, baz" if you're already messing with flat files.. | ||
| [2010/07/29 08:20:32] @ benoit__ joined channel #puppet | ||
| [2010/07/29 08:20:36] @ Quit: racerx: Remote host closed the connection | ||
| [2010/07/29 08:20:39] <taiky> maybe, there is a pb with the templates | ||
| [2010/07/29 08:20:45] <madduck> Disconnect: the point is not about classes, the point is really about parameters and where the default value comes from | ||
| [2010/07/29 08:21:03] <madduck> like extlookup searches different places and takes the first match | ||
| [2010/07/29 08:21:09] <taiky> i use a 0.24.5 lenny puppetmaster | ||
| [2010/07/29 08:21:13] <Disconnect> madduck: class debian { if (tagged("munich")) { $mirror="foo" } else if tagged ("zurich") { .. } else { $mirror="default" } } | ||
| [2010/07/29 08:21:21] @ thekad-afk is now known as thekad | ||
| [2010/07/29 08:21:29] <madduck> except I want to replace nodes.pp and extlookup with a single-location solution, and it seems like external nodes is the way to go | ||
| [2010/07/29 08:21:52] <taiky> the template seems to be evaluated at the startup of the puppet client. | ||
| [2010/07/29 08:22:06] <madduck> Disconnect: that breaks the logic-vs-data separation. Plus, there is nothing from preventing me from tagging a node with munich and zurich, causing undefined behaviour. | ||
| [2010/07/29 08:22:09] <Disconnect> that what external classifiers are for, but afaik it doesn't get simpler than extlookup. for things that are more complicated, you want iclassify or foreman or.. | ||
| [2010/07/29 08:22:20] <taiky> i have change the template but the client doesn't update is conf | ||
| [2010/07/29 08:22:36] <taiky> does anyboby have the same pb ? | ||
| [2010/07/29 08:22:39] <madduck> foreman looks like it's a sledgehammer right now; maybe later | ||
| [2010/07/29 08:23:09] <madduck> iclassify is yet another layer of complexity and more ruby, so I tend to shy away from that | ||
| [2010/07/29 08:23:28] <Volcane> no sane person would even lok at iclassify | ||
| [2010/07/29 08:23:30] <Volcane> look | ||
| [2010/07/29 08:23:59] <madduck> ha! | ||
| [2010/07/29 08:24:18] <Volcane> seriously, why would you? | ||
| [2010/07/29 08:24:27] <madduck> i really just need a simple yaml merger for now, I think | ||
| [2010/07/29 08:24:29] <Volcane> dead as dead can be software | ||
| [2010/07/29 08:24:38] @ Quit: ecolitan: Remote host closed the connection | ||
| [2010/07/29 08:24:47] <madduck> then I have a yaml file DEFAULT and a yaml file for zurich and one for debian | ||
| [2010/07/29 08:25:01] <madduck> and then a yaml file for each host, which specifies which yaml files to merge into it | ||
| [2010/07/29 08:25:15] <madduck> in such a way that merged files' parameters are overwritten by local parameters | ||
| [2010/07/29 08:25:17] <madduck> and off I go | ||
| [2010/07/29 08:25:32] <Volcane> sounds like a hours work | ||
| [2010/07/29 08:25:34] <madduck> maybe there's a better syntax than yaml for this even | ||
| [2010/07/29 08:25:56] <madduck> Volcane: yeah, but it's another reinvented wheel giving me the NIH-shivers | ||
| [2010/07/29 08:26:10] <Volcane> puppet is a framework | ||
| [2010/07/29 08:26:27] <madduck> oh, is that what you call it? ;) | ||
| [2010/07/29 08:26:45] <madduck> i call it a tradeoff | ||
| [2010/07/29 08:26:54] <Volcane> its what it is, its an extendable framework to build solutions with | ||
| [2010/07/29 08:27:03] <Volcane> dont like how nodes work, fine whatever, build some other way | ||
| [2010/07/29 08:27:11] <Volcane> dont like exported resources? no worries, build something else | ||
| [2010/07/29 08:27:20] <Volcane> need more functions, yeah, BYO | ||
| [2010/07/29 08:27:40] <Volcane> I've completely replaced stored confs with something else in less than 1/2 a day | ||
| [2010/07/29 08:27:42] <madduck> for each built solution, it raises 3 questions, grows 15 grey hairs, exposes 2 design deficiencies, doubles my blood pressure, and reminds me about 50 times why I hate ruby. | ||
| [2010/07/29 08:28:00] <Volcane> madduck: you have an attitude problem, not a software problem. | ||
| [2010/07/29 08:28:21] <madduck> you may be right. ;) | ||
| [2010/07/29 08:28:22] <groove> ah, so that's why i have so many grey hairs, i was wondering ;) | ||
| [2010/07/29 08:29:59] <jmslagle> mad: Why do you need an external classifier at all. | ||
| [2010/07/29 08:30:19] <jmslagle> What you're trying to do sounds like something a manifest could just as eaisly do. | ||
| [2010/07/29 08:30:51] <Disconnect> jmslagle: thats not as much fun apparantly. | ||
| [2010/07/29 08:31:10] @ Demosthenes joined channel #puppet | ||
| [2010/07/29 08:31:11] <Disconnect> but yah, you can skip the ruby part entirely by just writing out a node def with the inherited parameters and such already set.. | ||
| [2010/07/29 08:31:16] <Disconnect> (using your language of choice.) | ||
| [2010/07/29 08:33:12] @ Quit: vad3R: Read error: Connection reset by peer | ||
| [2010/07/29 08:33:22] @ vad3R joined channel #puppet | ||
| [2010/07/29 08:33:42] <madduck> jmslagle: I want to parametrise my nodes using inheritance, and I want to have all information about a node in one single location. | ||
| [2010/07/29 08:34:16] <jmslagle> Ok. | ||
| [2010/07/29 08:34:30] <madduck> ooooooh, there is yaml_nodes.rb with inheritance | ||
| [2010/07/29 08:34:50] <jmslagle> So what I'm hearing is that you're too lazy to write that in a manifest, and you want someone else to write a solution for you to use the external node classifier. Check. | ||
| [2010/07/29 08:34:53] @ voodookid joined channel #puppet | ||
| [2010/07/29 08:35:01] <madduck> jmslagle: no. | ||
| [2010/07/29 08:35:03] * jmslagle goes back to tinkering with foreman. | ||
| [2010/07/29 08:35:28] <madduck> jmslagle: fact is that puppet's inheritance does not allow you to override parameters in derived classes/nodes | ||
| [2010/07/29 08:35:32] <madduck> that is the whole problem. | ||
| [2010/07/29 08:35:57] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/07/29 08:36:14] <madduck> if I could include e.g. ntp in basenode, derive mynode from basenode, and define $ntp_server = "foo" in mynode and it would be in effect for the ntp class included in basenode, then I wouldn't have these problems | ||
| [2010/07/29 08:37:17] <hajile> does anyone know when puppet 2.6.0 is set to appear in epel-testing? I assumed it would be right away, apparently it's not being picked up.. | ||
| [2010/07/29 08:37:37] <Volcane> hajile: why would you assume right away? | ||
| [2010/07/29 08:37:43] @ groove left channel #puppet ("Leaving.") | ||
| [2010/07/29 08:38:01] <hajile> Since every other release has shown up more or less right away | ||
| [2010/07/29 08:38:06] <Volcane> incorrect | ||
| [2010/07/29 08:38:36] <hajile> Since I've been using it, they've all shown up within a week.. given, I've only been using puppet for 6-9 months | ||
| [2010/07/29 08:38:41] @ rcrowley joined channel #puppet | ||
| [2010/07/29 08:39:01] * hajile shrugs | ||
| [2010/07/29 08:39:02] <Volcane> hajile: epel will only take things once its known to be stable and so forth and so on | ||
| [2010/07/29 08:39:15] <jmslagle> I thought 0.25 took a bit to appear | ||
| [2010/07/29 08:39:20] <hajile> correct, standard epel.. i'm talking about epel-testing | ||
| [2010/07/29 08:39:32] <jmslagle> But once it did all the new 0.25 releases appeared pretty quick | ||
| [2010/07/29 08:39:44] <hajile> ahh | ||
| [2010/07/29 08:39:47] <hajile> hm | ||
| [2010/07/29 08:39:56] <jmslagle> [tmz-puppet] | ||
| [2010/07/29 08:39:56] <jmslagle> name=Puppet for EL $releasever - $basearch | ||
| [2010/07/29 08:39:56] <jmslagle> baseurl=http://tmz.fedorapeople.org/repo/puppet/epel/$releasever/$basearch | ||
| [2010/07/29 08:39:56] <jmslagle> enabled=1 | ||
| [2010/07/29 08:39:56] <jmslagle> gpgcheck=1 | ||
| [2010/07/29 08:39:56] <jmslagle> gpgkey=http://tmz.fedorapeople.org/repo/RPM-GPG-KEY-tmz | ||
| [2010/07/29 08:39:59] <jmslagle> There :) | ||
| [2010/07/29 08:40:07] <hajile> yeah, i'll likely have to just go that direction ;) | ||
| [2010/07/29 08:40:07] <jmslagle> I guess I should have pastebin'd that. | ||
| [2010/07/29 08:40:29] <jmslagle> I think tmz might be the guy packaging it for EPEL | ||
| [2010/07/29 08:40:39] <hajile> that'd be perfect | ||
| [2010/07/29 08:40:42] @ thekad is now known as thekad-afk | ||
| [2010/07/29 08:40:57] <jmslagle> So what you see in his repo will eventually find it's way to epel | ||
| [2010/07/29 08:41:28] <Volcane> major puppet releases take a point release or two to settle | ||
| [2010/07/29 08:42:30] <robthoms> madduck, http://dpaste.org/9usY/ | ||
| [2010/07/29 08:43:15] @ Quit: benoit__: Ping timeout: 240 seconds | ||
| [2010/07/29 08:43:42] <robthoms> madduck, Of course you'd want to be smarter with classes, to append to a list rather than clobber it. :-) | ||
| [2010/07/29 08:44:32] <robthoms> (and it took me less than 10 mins - just got distracted by work :-) | ||
| [2010/07/29 08:45:49] <robthoms> Ciao all. | ||
| [2010/07/29 08:47:58] <MrHeavy> Did something in the 0.25 series happen to make the literal string 'true' convert to the boolean value true internally, and stop comparing true to the string 'true'? | ||
| [2010/07/29 08:50:11] @ benoit__ joined channel #puppet | ||
| [2010/07/29 08:50:54] @ Quit: robthoms: Ping timeout: 245 seconds | ||
| [2010/07/29 08:52:25] @ robthoms joined channel #puppet | ||
| [2010/07/29 08:53:28] @ Quit: voodookid: Ping timeout: 240 seconds | ||
| [2010/07/29 08:54:25] @ squirrel_labs joined channel #puppet | ||
| [2010/07/29 08:56:48] @ thekad-afk is now known as thekad | ||
| [2010/07/29 08:57:20] @ mapu joined channel #puppet | ||
| [2010/07/29 09:00:38] @ Quit: reyjrar: Remote host closed the connection | ||
| [2010/07/29 09:00:47] @ reyjrar joined channel #puppet | ||
| [2010/07/29 09:00:53] @ Quit: tecto_: Quit: tecto_ | ||
| [2010/07/29 09:04:20] @ Quit: rasputnik: Read error: Operation timed out | ||
| [2010/07/29 09:07:07] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 09:07:07] @ iniazi joined channel #puppet | ||
| [2010/07/29 09:07:43] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 09:08:18] @ Quit: TREllis: Quit: leaving | ||
| [2010/07/29 09:11:09] @ Quit: joe-mac: Ping timeout: 240 seconds | ||
| [2010/07/29 09:12:38] @ Quit: HouseAway: Remote host closed the connection | ||
| [2010/07/29 09:14:28] @ littleidea joined channel #puppet | ||
| [2010/07/29 09:16:40] @ scashin133 joined channel #puppet | ||
| [2010/07/29 09:21:03] @ DavidWhite joined channel #puppet | ||
| [2010/07/29 09:25:02] @ lak joined channel #puppet | ||
| [2010/07/29 09:29:09] @ gniks joined channel #puppet | ||
| [2010/07/29 09:29:49] @ Quit: notbrien: Quit: notbrien | ||
| [2010/07/29 09:30:55] @ rasputnik joined channel #puppet | ||
| [2010/07/29 09:31:04] @ Quit: rasputnik: Client Quit | ||
| [2010/07/29 09:31:33] @ AimanA joined channel #puppet | ||
| [2010/07/29 09:32:42] @ zeeby joined channel #puppet | ||
| [2010/07/29 09:32:57] @ Quit: vad3R: Quit: Fighting for Freedom is like f***ing for Virginity | ||
| [2010/07/29 09:33:18] @ mclarke joined channel #puppet | ||
| [2010/07/29 09:34:43] <zeeby> hey guys, would really appreciate a hand with an issue. I've been trying to migrate puppet + passenger to unicorn + nginx | ||
| [2010/07/29 09:35:08] <zeeby> and while unicorn and nginx are working properly, ie. I'm seeing ssl_client_verify's as successes, I am getting forbidden requests for everything | ||
| [2010/07/29 09:35:52] <zeeby> The only thing that seems to "fix it" is by changing auth.conf's last rule from 'path /, auth yes, allow *' to 'path /, auth no, allow *' | ||
| [2010/07/29 09:36:20] <zeeby> I'm using a generic auth.conf that I think is from an ubuntu release - http://pastebin.com/Y3CMYav6 | ||
| [2010/07/29 09:36:35] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2010/07/29 09:36:42] <zeeby> Anyone have any ideas? | ||
| [2010/07/29 09:37:35] @ santoroj joined channel #puppet | ||
| [2010/07/29 09:37:43] @ santoroj left channel #puppet () | ||
| [2010/07/29 09:37:58] <wilco> zeeby: are the ssl_client_verify's being passed to puppet or are you only sure you're seeing them in nginx? | ||
| [2010/07/29 09:39:06] <zeeby> they're being passed to puppet, I ran netcat for upstream to unicorn | ||
| [2010/07/29 09:39:11] <zeeby> and saw the headers being passed to puppet | ||
| [2010/07/29 09:39:20] <zeeby> and they were SUCCESS | ||
| [2010/07/29 09:39:37] <zeeby> so... its as if puppet is ignoring that, or my auth.conf is broken, or something else is interfering | ||
| [2010/07/29 09:39:40] <wilco> hm, I don't think we're even using an auth.conf | ||
| [2010/07/29 09:40:42] <zeeby> the setup is almost mimicking passenger down to the t, and it works without any issues there | ||
| [2010/07/29 09:41:02] <zeeby> so its really strange to see this behaviour now | ||
| [2010/07/29 09:41:17] <zeeby> I'll try removing the auth.conf altogether, see what happens | ||
| [2010/07/29 09:42:10] @ notbrien joined channel #puppet | ||
| [2010/07/29 09:43:00] <zeeby> yeah same result | ||
| [2010/07/29 09:43:19] <zeeby> Forbidden request: *** access to /catalog/*** | ||
| [2010/07/29 09:44:02] @ Quit: mqr: Quit: mqr | ||
| [2010/07/29 09:44:20] @ joe-mac joined channel #puppet | ||
| [2010/07/29 09:44:59] @ hd3 joined channel #puppet | ||
| [2010/07/29 09:45:09] @ ckauhaus joined channel #puppet | ||
| [2010/07/29 09:45:36] <hd3> is there anyway that I can save the includepkgs of the yumrepo as a variable? | ||
| [2010/07/29 09:46:46] <Volcane> hd3: http://docs.puppetlabs.com/references/stable/type.html#yumrepo | ||
| [2010/07/29 09:48:30] <hd3> @Volcane I understand that..and I already had it opened. I would like to add additional packages to the INCLUDEPKGS parameter without deleting the current packages in that list | ||
| [2010/07/29 09:49:25] <Volcane> hd3: you should define in puppet what you want, not have the behavior change by what is on the machine - a much reliable model | ||
| [2010/07/29 09:50:04] <hd3> @Volcane I understand but with the older machines that we have, some of them have packages that we need to keep on them | ||
| [2010/07/29 09:50:17] <hd3> so we need to have a way to do this | ||
| [2010/07/29 09:50:28] <Volcane> look at augeas | ||
| [2010/07/29 09:50:38] <hd3> ive been looking at augeas | ||
| [2010/07/29 09:50:52] <hd3> it does the same thing puppet seems to do regarding yumrepo | ||
| [2010/07/29 09:50:53] @ Quit: lak: Quit: lak | ||
| [2010/07/29 09:51:48] @ Quit: husimon: Quit: Leaving | ||
| [2010/07/29 09:55:22] @ Quit: glaw: Ping timeout: 265 seconds | ||
| [2010/07/29 09:56:37] <joe-mac> you're looking at doing some sed magic then, or figuring out the class of the machine somehow and serving out a file with the right config | ||
| [2010/07/29 09:56:55] <joe-mac> you're in a sub-optimal situation, so basically no matter what your solution is going to be sup-optimal in some way | ||
| [2010/07/29 09:57:12] @ Quit: benoit__: Ping timeout: 260 seconds | ||
| [2010/07/29 09:58:12] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/07/29 09:58:50] @ plathrop-away is now known as plathrop | ||
| [2010/07/29 10:02:20] @ voodookid joined channel #puppet | ||
| [2010/07/29 10:06:29] @ Quit: iniazi: Ping timeout: 252 seconds | ||
| [2010/07/29 10:08:36] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 10:09:22] <gilesw> anyone suffering from multiple mcollective procs running? | ||
| [2010/07/29 10:10:49] <Volcane> gilesw: try #mcollective | ||
| [2010/07/29 10:10:59] @ benoit__ joined channel #puppet | ||
| [2010/07/29 10:11:06] <gilesw> oops sorry | ||
| [2010/07/29 10:12:01] <hd3> ok, so if i have two variables $first = "/etc/" and $second = "storeage" how can I combine to the two variables together/ | ||
| [2010/07/29 10:12:07] <hd3> like a $third = $first + $second | ||
| [2010/07/29 10:12:14] <hd3> so its /etc/storage | ||
| [2010/07/29 10:12:20] <Volcane> "${one}${two}" | ||
| [2010/07/29 10:12:26] @ WALoeIII joined channel #puppet | ||
| [2010/07/29 10:14:03] <zeeby> Does anyone here run any deployments with 1k+ nodes? | ||
| [2010/07/29 10:14:09] @ Quit: ohadlevy: Ping timeout: 240 seconds | ||
| [2010/07/29 10:14:31] @ gmcquillan joined channel #puppet | ||
| [2010/07/29 10:15:23] <bhearsum> zeeby: it,'s not quite that high, but i have one which is ~500 | ||
| [2010/07/29 10:17:09] <hd3> @Volcane so its like $three = ${one}${two}? | ||
| [2010/07/29 10:19:03] @ Quit: andrewh: Ping timeout: 265 seconds | ||
| [2010/07/29 10:20:06] @ Quit: nexx: Remote host closed the connection | ||
| [2010/07/29 10:24:46] <joe-mac> anyone using 10.04 lts? just wanna make sure that you watch otu for 400 bad request errors from 10.04 nodes talking to a 10.04 master with the ubuntu packages- something is happening with ssl truncating request headers | ||
| [2010/07/29 10:25:05] <joe-mac> resulting in ridiculous errors from apache with requests that make no sense, cause they're getting cut | ||
| [2010/07/29 10:25:16] @ Quit: mikepea: Quit: mikepea | ||
| [2010/07/29 10:26:20] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/07/29 10:26:54] @ rgsteele joined channel #puppet | ||
| [2010/07/29 10:27:01] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 10:29:22] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 10:31:26] @ alcy joined channel #puppet | ||
| [2010/07/29 10:34:10] @ adrian_broher joined channel #puppet | ||
| [2010/07/29 10:36:53] @ Quit: mgk: Read error: Operation timed out | ||
| [2010/07/29 10:41:15] @ mattock joined channel #puppet | ||
| [2010/07/29 10:41:15] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Firefox 3.6.6/20100625231939] | ||
| [2010/07/29 10:42:46] @ jdcasey joined channel #puppet | ||
| [2010/07/29 10:45:57] @ e1mer joined channel #puppet | ||
| [2010/07/29 10:46:39] <joe-mac> nico: you around? | ||
| [2010/07/29 10:46:45] @ robinbowes_nb joined channel #puppet | ||
| [2010/07/29 10:47:21] @ Days` joined channel #puppet | ||
| [2010/07/29 10:47:23] @ Quit: Days`: Client Quit | ||
| [2010/07/29 10:52:26] @ tecto_ joined channel #puppet | ||
| [2010/07/29 10:53:07] @ tecto__ joined channel #puppet | ||
| [2010/07/29 10:53:40] @ lak joined channel #puppet | ||
| [2010/07/29 10:56:08] @ Quit: Demosthenes: Quit: leaving | ||
| [2010/07/29 10:56:56] @ Quit: ahuman: Remote host closed the connection | ||
| [2010/07/29 10:57:01] @ Quit: benoit__: Ping timeout: 252 seconds | ||
| [2010/07/29 10:57:13] @ Quit: tecto_: Ping timeout: 260 seconds | ||
| [2010/07/29 10:58:56] @ iniazi joined channel #puppet | ||
| [2010/07/29 11:02:48] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/07/29 11:05:27] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/07/29 11:06:10] @ mqr joined channel #puppet | ||
| [2010/07/29 11:08:16] @ pjr_atl joined channel #puppet | ||
| [2010/07/29 11:10:17] @ Quit: hd3: Ping timeout: 252 seconds | ||
| [2010/07/29 11:16:13] @ mgk joined channel #puppet | ||
| [2010/07/29 11:19:56] @ jgelin joined channel #puppet | ||
| [2010/07/29 11:20:41] <jgelin> blist | ||
| [2010/07/29 11:24:12] @ Quit: joe-mac: Remote host closed the connection | ||
| [2010/07/29 11:25:41] @ nexx joined channel #puppet | ||
| [2010/07/29 11:27:51] @ joe-mac joined channel #puppet | ||
| [2010/07/29 11:30:52] @ SEJeff joined channel #puppet | ||
| [2010/07/29 11:31:35] <SEJeff> So I've got 2 systems that need a template. If $hostname == "init1" then the template needs to spit out init2, if $hostname == "init2" then the template needs to spit out init1 | ||
| [2010/07/29 11:32:09] <SEJeff> Or ideally, it just matches (\w+)(\d+) and the "init" part isn't as important | ||
| [2010/07/29 11:32:20] @ Quit: mgk: Quit: mgk | ||
| [2010/07/29 11:32:27] <SEJeff> What is the best way to do that in an erb template? | ||
| [2010/07/29 11:33:32] * hal-j has no idea what you just said | ||
| [2010/07/29 11:34:07] <SEJeff> hal-j, In a template. If (the fact) $hostname is init1, spit out init2. If the $hostname fact is init2, spit out init1 | ||
| [2010/07/29 11:34:27] <SEJeff> But ideally, match init with a regex so "init" isn't hardcoded | ||
| [2010/07/29 11:36:52] @ Quit: p3rror: Ping timeout: 265 seconds | ||
| [2010/07/29 11:39:37] @ styroteqe joined channel #puppet | ||
| [2010/07/29 11:39:44] @ styroteqe left channel #puppet () | ||
| [2010/07/29 11:40:43] @ Quit: iniazi: Ping timeout: 252 seconds | ||
| [2010/07/29 11:40:47] @ pluban joined channel #puppet | ||
| [2010/07/29 11:40:48] @ sdog joined channel #puppet | ||
| [2010/07/29 11:40:58] @ Quit: sdog: Changing host | ||
| [2010/07/29 11:40:58] @ sdog joined channel #puppet | ||
| [2010/07/29 11:41:45] <pluban> if i have a puppet manifest that has some cron entries in it, and one of those entries contains an environment parameter with an email address, and i want to remove that env param all together, how can I do that? | ||
| [2010/07/29 11:42:09] <pluban> if i delete the line, the crontab does not get updated accordingly | ||
| [2010/07/29 11:47:09] @ mgk joined channel #puppet | ||
| [2010/07/29 11:49:50] @ p3rror joined channel #puppet | ||
| [2010/07/29 11:50:38] @ tecto_ joined channel #puppet | ||
| [2010/07/29 11:52:31] <madduck> ensure => absent ? | ||
| [2010/07/29 11:53:15] @ Quit: tecto__: Ping timeout: 240 seconds | ||
| [2010/07/29 11:53:31] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/29 11:56:24] @ pjr_atl left channel #puppet () | ||
| [2010/07/29 11:56:49] @ pburkholder joined channel #puppet | ||
| [2010/07/29 11:57:00] <pluban> ensure => absent within the cron directive will remove the entire job | ||
| [2010/07/29 11:58:06] <nico> joe-mac: \o_ | ||
| [2010/07/29 11:58:29] @ Quit: lak: Quit: lak | ||
| [2010/07/29 11:59:37] <joe-mac> nico: you have libshadow-ruby on any of your obsd boxen? | ||
| [2010/07/29 11:59:51] <nico> joe-mac: checking | ||
| [2010/07/29 12:00:03] @ craftytech_ joined channel #puppet | ||
| [2010/07/29 12:00:20] <joe-mac> i can't set the password on the openbsd boxes via puppet since apparently i can't have libshadow-ruby on openbsd. can't find it anywhere. | ||
| [2010/07/29 12:00:50] <pburkholder> Can I run puppetd as a non-root user? | ||
| [2010/07/29 12:00:55] <nico> nope, doesn't exists | ||
| [2010/07/29 12:00:58] <pburkholder> I'd like to test some per-host templating | ||
| [2010/07/29 12:01:02] @ thekad is now known as thekad-afk | ||
| [2010/07/29 12:01:02] @ Quit: nul0op: Ping timeout: 265 seconds | ||
| [2010/07/29 12:01:04] <nico> joe-mac: using gsed here to do this | ||
| [2010/07/29 12:01:10] @ thekad-afk is now known as thekad | ||
| [2010/07/29 12:01:19] @ thekad is now known as thekad-afk | ||
| [2010/07/29 12:01:26] @ thekad-afk is now known as thekad | ||
| [2010/07/29 12:01:29] <craftytech_> Hello.. Can anyone tell me how to set multiple repo under one file? All the examples that I see only setup on repo per file.. | ||
| [2010/07/29 12:02:30] <joe-mac> nico, could you show me some code as an example? i mean i know i can set a password as a variable in a file then use an exec that requires the user blah blah but | ||
| [2010/07/29 12:02:37] <joe-mac> if someone else has solved this, i'd like to see their implementation | ||
| [2010/07/29 12:03:18] <nico> joe-mac: yup | ||
| [2010/07/29 12:04:12] <nico> joe-mac: http://pastie.org/private/ys7nkouq5huntowa2kdyzg | ||
| [2010/07/29 12:04:21] <pburkholder> crafttech: what do you mean by multiple repo? | ||
| [2010/07/29 12:04:24] @ Alagar joined channel #puppet | ||
| [2010/07/29 12:04:47] @ Quit: mattock: Ping timeout: 265 seconds | ||
| [2010/07/29 12:04:47] @ MattyM joined channel #puppet | ||
| [2010/07/29 12:05:34] <joe-mac> nico, thanks | ||
| [2010/07/29 12:05:38] <joe-mac> fyi, usermod takes -p | ||
| [2010/07/29 12:05:49] @ Demosthenes joined channel #puppet | ||
| [2010/07/29 12:05:53] <craftytech_> like with the default CentosBase repository.. you can have diff repos setup under one file all defined under [base] baseurl, etc the [3rdparty] baseurl etc | ||
| [2010/07/29 12:05:55] @ Quit: Demosthenes: Client Quit | ||
| [2010/07/29 12:06:40] <nico> joe-mac: great ! thanks :) | ||
| [2010/07/29 12:06:50] @ mattock joined channel #puppet | ||
| [2010/07/29 12:07:23] <craftytech_> I just want to use one file "base.repo" that has all the repos that I need for my env | ||
| [2010/07/29 12:07:47] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:07:48] @ Quit: tecto__: Changing host | ||
| [2010/07/29 12:07:48] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:07:48] <craftytech_> in all the examples I see, you only define one | ||
| [2010/07/29 12:08:50] @ Quit: tecto_: Read error: No route to host | ||
| [2010/07/29 12:09:13] @ Quit: scashin133: Quit: scashin133 | ||
| [2010/07/29 12:09:22] @ tecto_ joined channel #puppet | ||
| [2010/07/29 12:10:23] @ thekad is now known as thekad-afk | ||
| [2010/07/29 12:12:22] @ Quit: tecto__: Ping timeout: 252 seconds | ||
| [2010/07/29 12:12:29] <pburkholder> craftytech_: Can't you use somethign like http://www.mail-archive.com/puppet-users@googlegroups.com/msg03720.html | ||
| [2010/07/29 12:12:31] @ pjr_atl joined channel #puppet | ||
| [2010/07/29 12:12:51] <pburkholder> and define multiple file: resources for the yum.repos.d/ | ||
| [2010/07/29 12:13:14] <pburkholder> e.g. | ||
| [2010/07/29 12:13:17] <pburkholder> file { "/etc/yum.repos.d/CentOS-Base.repo" : | ||
| [2010/07/29 12:13:18] <pburkholder> and | ||
| [2010/07/29 12:13:20] <pburkholder> file { "/etc/yum.repos.d/CentOS-Base.repo" : | ||
| [2010/07/29 12:13:24] <pburkholder> oops | ||
| [2010/07/29 12:13:49] @ littleidea joined channel #puppet | ||
| [2010/07/29 12:13:50] <pburkholder> and file { "/etc/yum.repos.d/CentOS-extras.repo" " | ||
| [2010/07/29 12:14:43] <pburkholder> and by 'define' and I think I mean specify, not a formal puppet define | ||
| [2010/07/29 12:15:09] <pburkholder> Anyhow... Does anyone here know if it's feasible to run puppetd as a non-root user? | ||
| [2010/07/29 12:15:19] <pburkholder> I'd like to do so for testing some templating | ||
| [2010/07/29 12:15:30] <pburkholder> while building out a puppet POC here at $WORK | ||
| [2010/07/29 12:15:57] <pburkholder> My attempts so far just end up with puppetd echoing a configuration to stdout | ||
| [2010/07/29 12:16:48] <pburkholder> testingn with puppet 0.25.4 on MacOSX | ||
| [2010/07/29 12:17:18] <pburkholder> against a puppetmaster that I already know is working | ||
| [2010/07/29 12:17:41] @ pluban left channel #puppet () | ||
| [2010/07/29 12:17:45] <craftytech_> thanks <pburkholder>.. but I was hoping to do it via Yumrepo definition... | ||
| [2010/07/29 12:17:54] <Volcane> pburkholder: you used --genconfig to create your config file? | ||
| [2010/07/29 12:18:23] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:18:49] <Volcane> yeah | ||
| [2010/07/29 12:19:24] <Volcane> oops. | ||
| [2010/07/29 12:19:41] @ thekad-afk is now known as thekad | ||
| [2010/07/29 12:20:14] @ \ask joined channel #puppet | ||
| [2010/07/29 12:21:05] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 12:21:47] <pburkholder> yes, I used -genconfig | ||
| [2010/07/29 12:21:48] @ Quit: tecto_: Ping timeout: 260 seconds | ||
| [2010/07/29 12:22:32] <Volcane> pburkholder: thats not really a great idea for several reasons. but for right now you set the option configprint=on and then you make a config file with all active settings - includeing that setting | ||
| [2010/07/29 12:22:39] <Volcane> pburkholder: so go into the file and disable configprint | ||
| [2010/07/29 12:23:02] @ tecto_ joined channel #puppet | ||
| [2010/07/29 12:23:31] @ Quit: bje: Quit: . | ||
| [2010/07/29 12:23:46] <pburkholder> crafttech: http://projects.puppetlabs.com/issues/2062 have you seen this bug? | ||
| [2010/07/29 12:24:08] @ bje joined channel #puppet | ||
| [2010/07/29 12:24:49] <pburkholder> Volcane: Thanks, although I'm curious as to the reasons why it's a "bad idea" | ||
| [2010/07/29 12:25:39] @ Quit: Alagar: Ping timeout: 240 seconds | ||
| [2010/07/29 12:25:51] @ Quit: tecto__: Ping timeout: 264 seconds | ||
| [2010/07/29 12:26:20] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:26:46] @ jmccune joined channel #puppet | ||
| [2010/07/29 12:27:30] <craftytech_> <pburkholder> ahhh... no wonder... | ||
| [2010/07/29 12:29:17] @ Quit: tecto_: Ping timeout: 240 seconds | ||
| [2010/07/29 12:29:31] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 12:35:50] @ Alagar joined channel #puppet | ||
| [2010/07/29 12:35:50] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 12:37:41] @ tecto_ joined channel #puppet | ||
| [2010/07/29 12:37:41] @ Quit: tecto_: Changing host | ||
| [2010/07/29 12:37:41] @ tecto_ joined channel #puppet | ||
| [2010/07/29 12:39:44] @ Quit: tecto__: Ping timeout: 258 seconds | ||
| [2010/07/29 12:46:30] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:46:30] @ Quit: tecto__: Changing host | ||
| [2010/07/29 12:46:30] @ tecto__ joined channel #puppet | ||
| [2010/07/29 12:47:10] @ Alagar joined channel #puppet | ||
| [2010/07/29 12:47:10] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 12:48:17] @ Quit: mattock: Ping timeout: 265 seconds | ||
| [2010/07/29 12:48:53] @ Quit: [GuS]: Remote host closed the connection | ||
| [2010/07/29 12:49:55] @ Quit: axisys: Remote host closed the connection | ||
| [2010/07/29 12:50:02] @ thekad is now known as thekad-afk | ||
| [2010/07/29 12:50:55] @ Quit: tecto_: Ping timeout: 276 seconds | ||
| [2010/07/29 12:51:25] @ Quit: tecto__: Client Quit | ||
| [2010/07/29 12:52:08] @ Quit: bug: Quit: bug | ||
| [2010/07/29 12:52:55] @ thekad-afk is now known as thekad | ||
| [2010/07/29 12:54:26] @ muffintop joined channel #puppet | ||
| [2010/07/29 12:55:03] @ axisys joined channel #puppet | ||
| [2010/07/29 12:55:44] <muffintop> hello, I've noticed that when I manage packages with puppet, it always runs "yum -y install pkgname" every time puppet runs. This holds the yum pid lock and breaks some of my functionality. Is there a way anyone has come up with to prevent this from happening? | ||
| [2010/07/29 12:56:33] <Volcane> muffintop: it shouldnt...i suspect you might have a mistake in your package name | ||
| [2010/07/29 12:56:41] <Volcane> muffintop: maybe calling it by a virtual name rather than real name | ||
| [2010/07/29 12:58:16] @ Quit: yannL: Remote host closed the connection | ||
| [2010/07/29 12:58:52] <muffintop> I have in my manifest: package { python-simplejson: ensure => true } | ||
| [2010/07/29 12:59:31] <Volcane> rpm -q python-simplejson | ||
| [2010/07/29 12:59:34] <muffintop> then I noticed this was running: root 29459 5.8 2.2 32948 23772 ? Rs 15:49 0:03 /usr/bin/python /usr/bin/yum -d 0 -e 0 -y install python-simplejson | ||
| [2010/07/29 12:59:39] @ Quit: mclarke: Ping timeout: 245 seconds | ||
| [2010/07/29 13:00:00] <muffintop> [root@snort-sensor5 ~]# rpm -q python-simplejson | ||
| [2010/07/29 13:00:01] <muffintop> python-simplejson-2.0.9-1.el5 | ||
| [2010/07/29 13:00:07] <Volcane> hmm | ||
| [2010/07/29 13:00:16] <Volcane> ralsh package python-simplejson | ||
| [2010/07/29 13:00:20] <muffintop> ya, right? seems bizarre | ||
| [2010/07/29 13:00:49] <muffintop> [root@snort-sensor5 ~]# ralsh package python-simplejson | ||
| [2010/07/29 13:00:50] <muffintop> warning: Package gpg-pubkey found in both yum and yum; skipping the yum version | ||
| [2010/07/29 13:00:50] <muffintop> warning: Package kernel found in both yum and yum; skipping the yum version | ||
| [2010/07/29 13:00:50] <muffintop> warning: Package kernel found in both yum and yum; skipping the yum version | ||
| [2010/07/29 13:00:50] <muffintop> package { 'python-simplejson': | ||
| [2010/07/29 13:00:50] <muffintop> ensure => '2.0.9-1.el5' | ||
| [2010/07/29 13:00:50] <muffintop> } | ||
| [2010/07/29 13:00:58] <Volcane> well then its bloody odd :) | ||
| [2010/07/29 13:02:16] @ mclarke joined channel #puppet | ||
| [2010/07/29 13:03:59] @ lak joined channel #puppet | ||
| [2010/07/29 13:04:25] @ Quit: nexx: Quit: quit | ||
| [2010/07/29 13:04:41] <muffintop> yupp, keeps coming back to be installed | ||
| [2010/07/29 13:05:07] <muffintop> maybe I should just remove it as being ensured, it is only a dependency of certmaster... | ||
| [2010/07/29 13:05:13] <muffintop> which is ensured properly it seems | ||
| [2010/07/29 13:05:14] <Volcane> oh | ||
| [2010/07/29 13:05:18] <Volcane> ensure => true | ||
| [2010/07/29 13:05:20] <Volcane> thats wrong | ||
| [2010/07/29 13:05:24] <Volcane> set to ensure => present | ||
| [2010/07/29 13:06:21] <madduck> does puppet's external node interface not know about stderr? | ||
| [2010/07/29 13:06:25] <devicenull> "Package provider yum does not purging" | ||
| [2010/07/29 13:06:27] <devicenull> huh? | ||
| [2010/07/29 13:06:45] <joe-mac> devicenull: a little context? | ||
| [2010/07/29 13:07:07] <devicenull> I'm trying to remove a package (portmap) via ensure=>purged | ||
| [2010/07/29 13:07:14] <devicenull> it worked fine on one box, but not on this one | ||
| [2010/07/29 13:07:26] <devicenull> I'm thinking it might not be centos like the other one (and my test one) | ||
| [2010/07/29 13:07:36] @ Quit: craftytech_: Quit: Page closed | ||
| [2010/07/29 13:07:59] <Volcane> devicenull: ensure => absent | ||
| [2010/07/29 13:08:03] <devicenull> no | ||
| [2010/07/29 13:08:09] <devicenull> I've been over this before ;) | ||
| [2010/07/29 13:08:21] <devicenull> ensure => absent uses RPM, which does not handle circular dependenices at all | ||
| [2010/07/29 13:08:34] <devicenull> in order to remove some packages, I need to use ensure => purged, which forces it to use yum | ||
| [2010/07/29 13:08:48] <devicenull> even "Package { provider => yum}" doesnt help | ||
| [2010/07/29 13:08:50] <devicenull> ;) | ||
| [2010/07/29 13:09:05] <devicenull> there's a bug open about it actually, I forget the number though | ||
| [2010/07/29 13:09:10] <Volcane> ah | ||
| [2010/07/29 13:10:06] <devicenull> ahha, this box just had an old version of puppet for some reason | ||
| [2010/07/29 13:10:49] <fenris02> why would puppet ever use rpm directly instead of yum? | ||
| [2010/07/29 13:11:45] <devicenull> I'm not sure, but it does | ||
| [2010/07/29 13:12:23] <fenris02> 'ensure => purged' and 'ensure => present' both use yum properly though? | ||
| [2010/07/29 13:12:32] <devicenull> no, ensure => present uses rpm | ||
| [2010/07/29 13:12:39] <devicenull> #1395 | ||
| [2010/07/29 13:12:40] <gepetto> devicenull: #1395 is http://projects.puppetlabs.com/issues/show/1395 "Puppet - Bug #1395: puppet memory usage - Puppet Labs" | ||
| [2010/07/29 13:12:46] <devicenull> nope, not that bug | ||
| [2010/07/29 13:12:53] <devicenull> #1935 | ||
| [2010/07/29 13:12:53] <gepetto> devicenull: #1935 is http://projects.puppetlabs.com/issues/show/1935 "Puppet - Bug #1935: Unable to handle 2 packages with a circular dependency - Puppet Labs" | ||
| [2010/07/29 13:12:56] <devicenull> that one | ||
| [2010/07/29 13:13:15] <devicenull> did testing on this for awhile, the only way i was able to get it to force yum was with => purged | ||
| [2010/07/29 13:16:08] <fenris02> yuck. it would "just plain work" if puppet would forget about rpm entirely, and just use yum. | ||
| [2010/07/29 13:16:24] <devicenull> I agree | ||
| [2010/07/29 13:17:34] <fenris02> up2date/apt/whatever. the point being that puppet should not use the non-dep-solving tool. | ||
| [2010/07/29 13:19:49] <devicenull> ah that's how the ancient puppet got there | ||
| [2010/07/29 13:19:55] <devicenull> rpmforge apparently has 0.22.4 | ||
| [2010/07/29 13:20:34] <fenris02> you never set protectbase or priority ? | ||
| [2010/07/29 13:20:47] <devicenull> not generally, I've never ran into issues before | ||
| [2010/07/29 13:21:28] <pburkholder> Volcane: Thanks for your help earlier. I think I"ll be better off checking out a working copy of my manifests | ||
| [2010/07/29 13:21:40] <pburkholder> and running 'puppet' instead of puppetd | ||
| [2010/07/29 13:22:00] <pburkholder> \leave | ||
| [2010/07/29 13:22:04] @ pburkholder left channel #puppet () | ||
| [2010/07/29 13:23:02] @ Alagar joined channel #puppet | ||
| [2010/07/29 13:23:02] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 13:24:04] @ sdog1 joined channel #puppet | ||
| [2010/07/29 13:24:24] @ Quit: sdog: Read error: Connection reset by peer | ||
| [2010/07/29 13:25:27] @ mikey_p joined channel #puppet | ||
| [2010/07/29 13:27:25] @ scashin133 joined channel #puppet | ||
| [2010/07/29 13:28:33] @ Alagar joined channel #puppet | ||
| [2010/07/29 13:28:34] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 13:33:32] @ Quit: sdog1: Quit: Leaving. | ||
| [2010/07/29 13:34:29] @ Quit: rgsteele: Quit: ChatZilla 0.9.86 [Firefox 3.0.7/2009030423] | ||
| [2010/07/29 13:34:35] @ scashin133_ joined channel #puppet | ||
| [2010/07/29 13:34:44] @ Alagar joined channel #puppet | ||
| [2010/07/29 13:34:45] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 13:37:38] @ Quit: scashin133: Ping timeout: 260 seconds | ||
| [2010/07/29 13:37:39] @ scashin133_ is now known as scashin133 | ||
| [2010/07/29 13:37:56] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/29 13:38:27] @ Alagar joined channel #puppet | ||
| [2010/07/29 13:38:27] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 13:38:31] @ \ask joined channel #puppet | ||
| [2010/07/29 13:41:42] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 13:42:41] @ Quit: robinbowes_nb: Quit: Leaving | ||
| [2010/07/29 13:46:56] @ bug joined channel #puppet | ||
| [2010/07/29 13:50:10] @ Alagar joined channel #puppet | ||
| [2010/07/29 13:50:10] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 13:52:06] @ jrbrown joined channel #puppet | ||
| [2010/07/29 13:53:38] @ Quit: MPSimmons: Quit: Leaving. | ||
| [2010/07/29 13:56:01] @ Quit: squirrel_labs: Ping timeout: 258 seconds | ||
| [2010/07/29 13:59:12] @ peterb joined channel #puppet | ||
| [2010/07/29 14:03:11] @ nexx joined channel #puppet | ||
| [2010/07/29 14:03:25] @ Alagar joined channel #puppet | ||
| [2010/07/29 14:03:25] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 14:06:25] @ nicklewis joined channel #puppet | ||
| [2010/07/29 14:06:58] @ Quit: uphillian: Quit: Leaving. | ||
| [2010/07/29 14:14:28] @ pjr_atl left channel #puppet () | ||
| [2010/07/29 14:15:29] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 14:17:52] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 14:18:09] @ Quit: mapu: Ping timeout: 240 seconds | ||
| [2010/07/29 14:20:04] @ Quit: lak: Quit: lak | ||
| [2010/07/29 14:20:43] @ jqgc1 joined channel #puppet | ||
| [2010/07/29 14:22:55] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/07/29 14:26:48] @ joe-mac left channel #puppet () | ||
| [2010/07/29 14:27:43] @ Quit: mgk: Quit: mgk | ||
| [2010/07/29 14:30:29] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/07/29 14:32:16] @ lak joined channel #puppet | ||
| [2010/07/29 14:32:55] @ anvil14 joined channel #puppet | ||
| [2010/07/29 14:33:14] <anvil14> where can I grab RPM's for centos/rhel for 2.6 | ||
| [2010/07/29 14:33:46] <fenris02> anvil14, tmz's fedorapeople repo has them iirc | ||
| [2010/07/29 14:34:06] @ Quit: lak: Client Quit | ||
| [2010/07/29 14:34:06] <anvil14> cool, thx | ||
| [2010/07/29 14:39:28] @ Guest2782 joined channel #puppet | ||
| [2010/07/29 14:39:42] @ \ask_ joined channel #puppet | ||
| [2010/07/29 14:41:03] @ Quit: tripoux: Ping timeout: 248 seconds | ||
| [2010/07/29 14:42:39] @ Quit: \ask: Ping timeout: 248 seconds | ||
| [2010/07/29 14:44:04] <devicenull> can I pass a template as a default to a function? | ||
| [2010/07/29 14:44:10] @ rasputnik joined channel #puppet | ||
| [2010/07/29 14:44:24] <devicenull> ie: class a { define b($c => template("d")) { } } | ||
| [2010/07/29 14:45:37] @ thekad is now known as thekad-afk | ||
| [2010/07/29 14:51:00] @ marcin__ joined channel #puppet | ||
| [2010/07/29 14:51:19] <marcin__> how often puppet client is checking for new configuration version? | ||
| [2010/07/29 14:52:38] <bhearsum> every 30 minutes, by default | ||
| [2010/07/29 14:53:48] @ tripoux joined channel #puppet | ||
| [2010/07/29 14:57:35] @ Quit: Guest2782: Ping timeout: 248 seconds | ||
| [2010/07/29 14:58:25] @ lak joined channel #puppet | ||
| [2010/07/29 14:58:53] @ Quit: bug: Quit: bug | ||
| [2010/07/29 14:59:00] @ Quit: rasputnik: Quit: rasputnik | ||
| [2010/07/29 15:00:03] @ Alagar joined channel #puppet | ||
| [2010/07/29 15:00:03] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 15:01:01] @ Alagar joined channel #puppet | ||
| [2010/07/29 15:01:01] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 15:01:15] @ littleidea joined channel #puppet | ||
| [2010/07/29 15:02:09] @ Quit: MattyM: Ping timeout: 245 seconds | ||
| [2010/07/29 15:03:54] @ thekad-afk is now known as thekad | ||
| [2010/07/29 15:03:57] <chadh> I have a puzzle. One of my hosts (out of 283) is not properly reporting. puppetd is running fine on the host, changes take effect, but the reports are not getting created on the master. | ||
| [2010/07/29 15:04:22] <chadh> puppet.conf has report=true on the client, and, as I said, all of my other clients work fine. | ||
| [2010/07/29 15:04:35] @ DavidWhite left channel #puppet () | ||
| [2010/07/29 15:04:50] <chadh> This host has been done for an extended period, but it has been completely updated, and I even generated a new cert for it, just for good measure | ||
| [2010/07/29 15:06:08] @ Quit: nexx: Quit: quit | ||
| [2010/07/29 15:09:43] <chadh> OMG, I'm such an idiot. time is off by 4 hours. | ||
| [2010/07/29 15:12:26] @ Quit: gmason: Quit: gmason | ||
| [2010/07/29 15:12:58] @ Quit: fuser: Quit: Changing server | ||
| [2010/07/29 15:15:26] @ Quit: kubicek: Quit: kubicek | ||
| [2010/07/29 15:18:22] @ viewlogic joined channel #puppet | ||
| [2010/07/29 15:19:09] <marcin__> thx | ||
| [2010/07/29 15:19:15] @ jqgc1 left channel #puppet () | ||
| [2010/07/29 15:19:16] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/07/29 15:21:34] @ Quit: gniks: Quit: Leaving. | ||
| [2010/07/29 15:23:21] <marcin__> what would be a regular expression to describe clients in file /etc/puppet/manifests/nodes.pp with this name a-<letters>.domain.com ? | ||
| [2010/07/29 15:24:26] <marcin__> anyone? | ||
| [2010/07/29 15:25:16] <Volcane> a-[a-z].domain.com maybe? not tried it | ||
| [2010/07/29 15:25:19] @ Quit: lak: Quit: lak | ||
| [2010/07/29 15:25:57] <mackn> i think he needs letters so probably could use a + | ||
| [2010/07/29 15:26:12] <Volcane> right, yup | ||
| [2010/07/29 15:27:07] @ Quit: notbrien: Quit: notbrien | ||
| [2010/07/29 15:27:13] @ Quit: viewlogic: Quit: leaving | ||
| [2010/07/29 15:27:13] <marcin__> did not work | ||
| [2010/07/29 15:27:19] <mackn> what did you put | ||
| [2010/07/29 15:29:05] <mackn> does it looks something like node /^a-[a-z]+\.domain\.com$/ | ||
| [2010/07/29 15:29:05] <marcin__> ^a-[a-z]+[0-9]+.domain.com | ||
| [2010/07/29 15:29:12] <marcin__> yes | ||
| [2010/07/29 15:29:30] <mackn> what what's a sample node you are trying to match | ||
| [2010/07/29 15:30:47] @ Quit: kaptk2: Quit: Leaving. | ||
| [2010/07/29 15:31:27] <marcin__> b-puppetclient01.domain.com | ||
| [2010/07/29 15:31:41] <mackn> well.... | ||
| [2010/07/29 15:31:50] <mackn> do you mean a- or b- | ||
| [2010/07/29 15:31:53] <mackn> cuz.. | ||
| [2010/07/29 15:31:58] <Volcane> marcin__: regexr.com is great for testing regexes | ||
| [2010/07/29 15:32:03] @ benoit__ joined channel #puppet | ||
| [2010/07/29 15:33:03] <marcin__> thx Volcane | ||
| [2010/07/29 15:34:03] <marcin__> go it: | ||
| [2010/07/29 15:34:07] <marcin__> ^b-[a-z]+[0-9]+\.domain\.com$ | ||
| [2010/07/29 15:34:43] <Volcane> looks good, and not what you asked for :P | ||
| [2010/07/29 15:34:48] <mackn> nod | ||
| [2010/07/29 15:34:49] <mackn> heh | ||
| [2010/07/29 15:35:03] <Volcane> but yeah, you obviously know how to answer your own q now, so well done :) | ||
| [2010/07/29 15:35:46] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 15:37:06] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 15:38:08] @ pting joined channel #puppet | ||
| [2010/07/29 15:38:15] <marcin__> what do you mean this IS what I asked | ||
| [2010/07/29 15:38:52] <marcin__> yeah I missed numbers | ||
| [2010/07/29 15:41:09] @ autowidget_ joined channel #puppet | ||
| [2010/07/29 15:41:55] @ Quit: autowidget_: Client Quit | ||
| [2010/07/29 15:41:56] <marcin__> how can I adjust timer how oftern puppet client is checking for new files to update? | ||
| [2010/07/29 15:42:13] <mackn> puppet.conf | ||
| [2010/07/29 15:42:42] <mackn> runinterval | ||
| [2010/07/29 15:43:39] @ Quit: autowidget: Ping timeout: 240 seconds | ||
| [2010/07/29 15:44:51] <marcin__> on master puppet? | ||
| [2010/07/29 15:44:59] <mackn> clients | ||
| [2010/07/29 15:45:02] <marcin__> the is no such a line, maybe I should add it | ||
| [2010/07/29 15:45:36] <marcin__> on clients no such a line too, I may add it | ||
| [2010/07/29 15:46:01] @ mikepea joined channel #puppet | ||
| [2010/07/29 15:48:04] @ Quit: jmccune: Ping timeout: 276 seconds | ||
| [2010/07/29 15:52:40] @ nakano is now known as nakano_ | ||
| [2010/07/29 15:54:06] @ Quit: jgelin: Quit: Lost terminal | ||
| [2010/07/29 15:54:14] @ ben joined channel #puppet | ||
| [2010/07/29 15:54:28] <marcin__> oh now, you realsed puppet 2.6, do I have to start over if I have 2.5 ? | ||
| [2010/07/29 15:54:34] <marcin__> no way | ||
| [2010/07/29 15:56:15] @ Quit: ben: Client Quit | ||
| [2010/07/29 15:56:16] @ gniks joined channel #puppet | ||
| [2010/07/29 15:58:34] @ freshtonic joined channel #puppet | ||
| [2010/07/29 15:59:13] @ viewlogic joined channel #puppet | ||
| [2010/07/29 16:02:00] @ raven_ joined channel #puppet | ||
| [2010/07/29 16:05:16] @ nakano_ is now known as nakano | ||
| [2010/07/29 16:09:32] @ Quit: mikepea: Quit: mikepea | ||
| [2010/07/29 16:10:08] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/07/29 16:10:45] <madduck> dcarley: http://tiny.cc/k8h2u — does not appear to work, the mail just disappears in nirvana. http://scratch.madduck.net/.tmp__mutt-fishbowl-1000-8601-514235fe877857c8a3 is what I sent, it was accepted with ID "1280429537 k6si1402262faa.73" five hours ago, but it has not shown up. | ||
| [2010/07/29 16:11:33] <madduck> jamesturnbull: fyi ^ | ||
| [2010/07/29 16:13:43] <madduck> and to add to the fun: there is no "new issue" button or the like anywhere near http://projects.puppetlabs.com/issues/ | ||
| [2010/07/29 16:13:56] <Volcane> pick a project once you are signed in | ||
| [2010/07/29 16:13:59] <Volcane> then u can make an issue | ||
| [2010/07/29 16:14:05] <Volcane> issues belong to projects | ||
| [2010/07/29 16:14:07] <mackn> it's their way to reduce the number of new issues reported | ||
| [2010/07/29 16:15:45] <eric0> yeah cause PuppetCo is so aloof and disconnected from the userbase *eyeroll* | ||
| [2010/07/29 16:16:49] @ bobinabottle joined channel #puppet | ||
| [2010/07/29 16:16:52] <madduck> Volcane: that works. | ||
| [2010/07/29 16:16:59] <madduck> mackn: yeah, I thought so too. ;) | ||
| [2010/07/29 16:20:17] <eric0> hi madduck is this for the regexp nodes thing you mailed me about? | ||
| [2010/07/29 16:20:23] @ Alagar joined channel #puppet | ||
| [2010/07/29 16:20:23] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 16:20:29] <madduck> eric0: yes | ||
| [2010/07/29 16:20:45] <eric0> right on, thanks | ||
| [2010/07/29 16:20:55] @ Alagar joined channel #puppet | ||
| [2010/07/29 16:20:55] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 16:20:58] <madduck> note that I have since started a new node_classifier: (http://git.madduck.net/v/puppet/reclass.git (in python) | ||
| [2010/07/29 16:21:09] @ herdingcat joined channel #puppet | ||
| [2010/07/29 16:21:09] <madduck> docs forthcoming, but you'll get the idea | ||
| [2010/07/29 16:21:37] <madduck> it's based on yaml files, but instead of inheritance, it works on ordered list of roles to apply to nodes | ||
| [2010/07/29 16:21:40] <mikey_p> what's the best way to verify that a client is running and checking properly? | ||
| [2010/07/29 16:21:54] <madduck> each role overwriting preceeding ones, and the node overwriting the sum of all roles | ||
| [2010/07/29 16:22:18] <madduck> where overwriting for classes is extending the set, and for parameters it's augmenting the dictionary | ||
| [2010/07/29 16:22:57] <madduck> one major failure in puppet that made my life a bit hard: http://projects.puppetlabs.com/issues/4398 | ||
| [2010/07/29 16:24:04] <madduck> eric0: feel free to rewrite the concept in ruby; it would be best, of course, to have a native terminus, maybe even the existing yaml terminus, implement this. | ||
| [2010/07/29 16:24:30] <madduck> i do not know ruby and I won't learn it. | ||
| [2010/07/29 16:24:46] @ MattyM joined channel #puppet | ||
| [2010/07/29 16:25:36] <eric0> haha, i have a lovely set of buggy whips i'll sell you | ||
| [2010/07/29 16:25:59] <Volcane> mikey_p: the ages of the localconfig.yaml and the state yaml on each node - or through the reports | ||
| [2010/07/29 16:26:10] <Volcane> mikey_p: though reports doesnt tell you about total failures to run | ||
| [2010/07/29 16:27:05] <eric0> madduck: aye i agree with 4398, it bit me too | ||
| [2010/07/29 16:27:32] * eric0 upvotes/watches | ||
| [2010/07/29 16:30:07] <madduck> eric0: feedback and patches welcome. ;_) | ||
| [2010/07/29 16:30:35] <madduck> i think i am going to roll this out and grow it; it's how I think puppet should work in the first place: yaml files with iterative roles, and modules. | ||
| [2010/07/29 16:30:53] <madduck> no site manifests and other ad-hoc crap, and no inheritance in the puppet language | ||
| [2010/07/29 16:31:01] @ Quit: benkevan: Quit: Lost terminal | ||
| [2010/07/29 16:31:22] <madduck> or at least no inheritance other than purely logical inheritance (i.e. not functional inheritance) | ||
| [2010/07/29 16:33:29] <marcin__> does anyone has more complex example of "puppet_node_classifier" ? | ||
| [2010/07/29 16:33:54] @ Quit: viewlogic: Quit: leaving | ||
| [2010/07/29 16:34:27] <eric0> madduck: cloned reclass for later browsing, thx | ||
| [2010/07/29 16:34:31] <madduck> marcin__: | ||
| [2010/07/29 16:34:33] <madduck> http://git.madduck.net/v/puppet/reclass.git | ||
| [2010/07/29 16:34:36] <madduck> (sorry) | ||
| [2010/07/29 16:34:44] <madduck> eric0: it's quite trivial | ||
| [2010/07/29 16:34:53] <madduck> 30 01:21 < madduck> it's based on yaml files, but instead of inheritance, it works on ordered list of roles to apply to nodes | ||
| [2010/07/29 16:34:57] <madduck> 30 01:21 < madduck> each role overwriting preceeding ones, and the node overwriting the sum of all roles | ||
| [2010/07/29 16:34:59] <madduck> 30 01:22 < madduck> where overwriting for classes is extending the set, and for parameters it's augmenting the dictionary | ||
| [2010/07/29 16:35:04] <jamesturnbull> madduck: sorry I don't understand your ping? | ||
| [2010/07/29 16:35:04] <madduck> that's the gist: ^^^ | ||
| [2010/07/29 16:35:20] <madduck> jamesturnbull: tickets@puppetlabs.com swallows email | ||
| [2010/07/29 16:35:34] <jamesturnbull> madduck: did you structure correctly? | ||
| [2010/07/29 16:35:57] @ Quit: freshtonic: Quit: freshtonic | ||
| [2010/07/29 16:36:26] @ Quit: marcin__: Quit: Page closed | ||
| [2010/07/29 16:36:30] <madduck> jamesturnbull: http://stuff.madduck.net/scratch/.tmp__mutt-fishbowl-1000-8601-514235fe877857c8a3 | ||
| [2010/07/29 16:36:36] <jamesturnbull> madduck: because I show your email as a failed update - let me check why it failed | ||
| [2010/07/29 16:36:36] <madduck> I think so | ||
| [2010/07/29 16:36:47] @ Quit: herdingcat: Remote host closed the connection | ||
| [2010/07/29 16:37:07] @ Quit: MattyM: Ping timeout: 276 seconds | ||
| [2010/07/29 16:37:08] <madduck> (i sent it twice, once pgp-signed and once without pgp sig" | ||
| [2010/07/29 16:37:09] @ Quit: benoit__: Ping timeout: 240 seconds | ||
| [2010/07/29 16:39:58] * madduck should go to bed; I will continue this tomorrow, jamesturnbull | ||
| [2010/07/29 16:40:05] <madduck> or saturday (more likely) | ||
| [2010/07/29 16:40:33] @ marcin_ joined channel #puppet | ||
| [2010/07/29 16:42:18] @ freshtonic joined channel #puppet | ||
| [2010/07/29 16:44:51] @ Alagar joined channel #puppet | ||
| [2010/07/29 16:44:51] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 16:48:13] <marcin_> does anyone have more complex of /usr/local/bin/puppet_node_classifier ? | ||
| [2010/07/29 16:48:18] <marcin_> example | ||
| [2010/07/29 16:48:35] <mackn> how complex do you want to get | ||
| [2010/07/29 16:48:45] <eric0> marcin_: madduck pointed you at his url, also look in the ext/ directory in source distro | ||
| [2010/07/29 16:48:50] <Tonnerre> Infinitely ;) | ||
| [2010/07/29 16:51:31] @ mikepea joined channel #puppet | ||
| [2010/07/29 16:51:48] <madduck> eric0: update forthcoming. the parameters should be sorted by class. | ||
| [2010/07/29 16:51:57] <madduck> i.e. another level of indirection | ||
| [2010/07/29 16:53:47] @ Quit: wakko666: Quit: Ex-Chat | ||
| [2010/07/29 16:55:39] <geekatcmu> jamesturnbull: do you know if there is any work in progress to make the nagios types less likely to randomly regenerate the configs? | ||
| [2010/07/29 16:56:14] <jamesturnbull> geekatcmu: no | ||
| [2010/07/29 16:56:30] <jamesturnbull> madduck: I can't see why it's failing but it doesn't like your email for some reason | ||
| [2010/07/29 16:56:34] <geekatcmu> I guess if I want it done I'll have to do it myself. | ||
| [2010/07/29 16:56:36] * geekatcmu sighs | ||
| [2010/07/29 16:57:27] <geekatcmu> Too bad I don't understand, at all, the way naginator fits in and how it all comes together. | ||
| [2010/07/29 16:58:26] <geekatcmu> That remind me: does 2.6 allow multiple attempts to extend a list? | ||
| [2010/07/29 16:59:16] @ marcin__ joined channel #puppet | ||
| [2010/07/29 16:59:23] <geekatcmu> Because, if not, I'm going to want to write some stupid code that will allow me to assign to use_foo, use_bar, use_quux, that, when it writes out, will coalesce them together in some deterministic order. | ||
| [2010/07/29 16:59:32] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 17:00:21] @ lak joined channel #puppet | ||
| [2010/07/29 17:01:55] @ bug joined channel #puppet | ||
| [2010/07/29 17:03:01] <marcin_> How can I use puppet classifier? | ||
| [2010/07/29 17:03:04] <marcin_> I have this | ||
| [2010/07/29 17:03:05] <marcin_> external_nodes = /usr/local/bin/puppet_node_classifier node_terminus = exec | ||
| [2010/07/29 17:03:10] <marcin_> in my puppet.com | ||
| [2010/07/29 17:03:47] <marcin_> but I get: Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'a-puppetclient01.domain.com'; cannot compile | ||
| [2010/07/29 17:04:48] <jamesturnbull> geekatcmu: as far as I know you can extend lists as many times as you like | ||
| [2010/07/29 17:06:28] <geekatcmu> Hrm. I *know* I can't do that in 0.25, so that'd be a welcome change. | ||
| [2010/07/29 17:07:57] <geekatcmu> Thanks for the info. | ||
| [2010/07/29 17:08:15] @ Quit: WALoeIII: Quit: WALoeIII | ||
| [2010/07/29 17:09:55] <jamesturnbull> geekatcmu: oh? I did not know that ... is there a bug/ticket logged somewhere about it? | ||
| [2010/07/29 17:11:27] @ Quit: MattM: Ping timeout: 248 seconds | ||
| [2010/07/29 17:12:57] @ MattM joined channel #puppet | ||
| [2010/07/29 17:13:53] @ stearns left channel #puppet ("Leaving.") | ||
| [2010/07/29 17:14:13] @ WALoeIII joined channel #puppet | ||
| [2010/07/29 17:14:44] <geekatcmu> Dunno. | ||
| [2010/07/29 17:14:49] @ Quit: jrbrown: Remote host closed the connection | ||
| [2010/07/29 17:15:07] <geekatcmu> Basically, if you +> more than once, you get the same error as if you do an assignment more than once. | ||
| [2010/07/29 17:15:58] @ Quit: seanos: Ping timeout: 260 seconds | ||
| [2010/07/29 17:17:43] @ Quit: mikepea: Quit: mikepea | ||
| [2010/07/29 17:22:36] @ seanos joined channel #puppet | ||
| [2010/07/29 17:22:52] @ Alagar joined channel #puppet | ||
| [2010/07/29 17:22:52] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 17:23:30] @ Quit: lak: Quit: lak | ||
| [2010/07/29 17:25:22] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/07/29 17:29:41] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/07/29 17:34:49] <slapayoda> I love the line in puppetrun's manpage: | ||
| [2010/07/29 17:34:53] <slapayoda> "Expect more documentation on this eventually." | ||
| [2010/07/29 17:37:18] @ Quit: marcin__: Quit: Page closed | ||
| [2010/07/29 17:37:42] <marcin_> I like this one better "This is a stub page. Your input is welcome" | ||
| [2010/07/29 17:40:23] @ Quit: nicklewis: Quit: Page closed | ||
| [2010/07/29 17:43:56] @ Quit: \ask_: Remote host closed the connection | ||
| [2010/07/29 17:45:39] @ Wandrewvious joined channel #puppet | ||
| [2010/07/29 17:45:42] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/07/29 17:46:53] <jamesturnbull> slapayoda: marcin_ it's an open source project ... if you have input add documentation ... it's the best way to help us out if you don't code and aren't submitting patches | ||
| [2010/07/29 17:49:20] @ Quit: WALoeIII: Ping timeout: 240 seconds | ||
| [2010/07/29 17:50:28] @ Quit: Wandrewvious: Ping timeout: 265 seconds | ||
| [2010/07/29 17:50:36] @ Quit: gmcquillan: Ping timeout: 240 seconds | ||
| [2010/07/29 17:50:42] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 17:51:04] @ gmcquillan joined channel #puppet | ||
| [2010/07/29 17:57:31] @ Quit: mqr: Quit: mqr | ||
| [2010/07/29 18:01:48] @ viewlogic joined channel #puppet | ||
| [2010/07/29 18:02:11] <viewlogic> hey guys, is there a way to make puppet throw errors that make sense? | ||
| [2010/07/29 18:02:31] <viewlogic> and actually help to locate where the error is | ||
| [2010/07/29 18:02:49] <viewlogic> :) | ||
| [2010/07/29 18:03:30] <hMz> haha | ||
| [2010/07/29 18:03:36] <mackn> if there were it would be doing it | ||
| [2010/07/29 18:03:43] <hMz> i wasnt gonna say it | ||
| [2010/07/29 18:04:06] <hMz> you just need to become familiar with ruby error reporting | ||
| [2010/07/29 18:04:15] <viewlogic> so debugging puppet is an excercise in spaghetti throwing? | ||
| [2010/07/29 18:04:26] <mackn> the more you stare at it the more it'll start making sense :) | ||
| [2010/07/29 18:04:29] <hMz> i mean, i dont really have a problem debugging puppet stuff with the standard messages | ||
| [2010/07/29 18:04:32] <viewlogic> lol | ||
| [2010/07/29 18:04:42] <hMz> but i've grown to learn what they mean | ||
| [2010/07/29 18:04:53] <hMz> (and love, lol) | ||
| [2010/07/29 18:04:56] @ mapu joined channel #puppet | ||
| [2010/07/29 18:05:54] <hal-j> viewlogic: think of it as job security. figure it out, and you'll be safe. Just do it fast before they hire someone who has already earned their decoder ring | ||
| [2010/07/29 18:06:14] <hMz> true that | ||
| [2010/07/29 18:06:19] <hMz> we just got our second clued guy | ||
| [2010/07/29 18:06:23] <viewlogic> haha, i like it | ||
| [2010/07/29 18:06:59] <hMz> realistically, you just have to put on your puppet hat when dealing with puppet | ||
| [2010/07/29 18:07:29] <zirpu> is that like a jester's hat? w/ bells? | ||
| [2010/07/29 18:07:32] <hal-j> you did get a hat, right? | ||
| [2010/07/29 18:07:34] @ thekad is now known as thekad-afk | ||
| [2010/07/29 18:07:36] <hMz> haha | ||
| [2010/07/29 18:07:40] <hMz> i mean, i did | ||
| [2010/07/29 18:07:42] <hMz> i thought we all did | ||
| [2010/07/29 18:07:44] <zirpu> i have a properller beenie. | ||
| [2010/07/29 18:07:55] <hMz> put a stick in the side of the fedora scene | ||
| [2010/07/29 18:08:56] <hal-j> humor aside, maybe if you give your error, someone can help you :) | ||
| [2010/07/29 18:09:21] @ Quit: scashin133: Quit: scashin133 | ||
| [2010/07/29 18:09:27] <hal-j> (perhaps not me, I've been drinking… but never the less...) | ||
| [2010/07/29 18:10:16] <viewlogic> http://pastebin.com/aMYLLASg is the error I'm seeing | ||
| [2010/07/29 18:10:38] @ Alagar joined channel #puppet | ||
| [2010/07/29 18:10:38] @ Quit: Alagar: Excess Flood | ||
| [2010/07/29 18:11:50] <zirpu> so is your puppetmaster showing errors? it should be complaining about not compiling the configs. | ||
| [2010/07/29 18:12:27] <eric0> hMz: you're right, the puppetlabs guys all wear sweet ass hats. | ||
| [2010/07/29 18:12:51] <viewlogic> huh, actually, it seems to be an SSL error, though I set it up earlier and it worked | ||
| [2010/07/29 18:12:52] <hMz> i figured instead of cool business cards | ||
| [2010/07/29 18:12:54] <hal-j> eric0: http://xkcd.com/37/ | ||
| [2010/07/29 18:12:54] <hMz> they got some sweet hats | ||
| [2010/07/29 18:13:33] <eric0> hal-j: hahah, it works really well in this case because asshat is even a term of art | ||
| [2010/07/29 18:19:55] @ Quit: bug: Quit: bug | ||
| [2010/07/29 18:21:10] <viewlogic> so, is it common practice to run the puppet client on the puppet master and have it manage itself? | ||
| [2010/07/29 18:23:05] @ bug joined channel #puppet | ||
| [2010/07/29 18:24:28] <hal-j> if you're asking whether it's common to let puppet manage the server that is the puppetmaster — I do. It's a service like anything else, and having it's configuration in svn (which is where all of my puppet stuff is) is a good thing | ||
| [2010/07/29 18:24:44] <hal-j> I imagine it's common, but I can't speak for anyone else :) | ||
| [2010/07/29 18:26:01] @ Quit: ericlee: Remote host closed the connection | ||
| [2010/07/29 18:26:55] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/07/29 18:30:29] <eric0> oh crap, i screwed up on #4402. | ||
| [2010/07/29 18:30:29] <gepetto> eric0: #4402 is http://projects.puppetlabs.com/issues/show/4402 "Puppet Dashboard - Bug #4402: directoryservice user provider on darwin 10.4 (tiger) won't manage passwords - Puppet Labs" | ||
| [2010/07/29 18:34:22] @ WALoeIII joined channel #puppet | ||
| [2010/07/29 18:34:27] @ Demosthenes joined channel #puppet | ||
| [2010/07/29 18:34:39] @ Quit: Bass10: Ping timeout: 248 seconds | ||
| [2010/07/29 18:35:30] @ Quit: mclarke: Quit: mclarke | ||
| [2010/07/29 18:35:38] @ mclarke joined channel #puppet | ||
| [2010/07/29 18:37:41] @ crdant joined channel #puppet | ||
| [2010/07/29 18:42:43] @ Quit: WALoeIII: Quit: Bai. | ||
| [2010/07/29 18:46:27] @ Quit: mclarke: Quit: mclarke | ||
| [2010/07/29 18:48:27] @ Brainspackle joined channel #puppet | ||
| [2010/07/29 18:49:23] @ Quit: viewlogic: Quit: leaving | ||
| [2010/07/29 18:49:23] @ Brainspackle is now known as viewlogic | ||
| [2010/07/29 18:52:58] <mikey_p> is there a way to make an exec only happen the first time a class is included? | ||
| [2010/07/29 18:53:19] @ jmccune joined channel #puppet | ||
| [2010/07/29 18:53:25] <mikey_p> i guess that's kinda what notify does...i need to read up on that | ||
| [2010/07/29 18:57:03] @ Quit: marcin_: Ping timeout: 252 seconds | ||
| [2010/07/29 19:00:16] @ FOCer joined channel #puppet | ||
| [2010/07/29 19:01:40] @ Quit: gmcquillan: Quit: gmcquillan | ||
| [2010/07/29 19:03:27] <rodjek> mikey_p: set refreshonly => true on your exec, and then have something notify the exec | ||
| [2010/07/29 19:04:53] <mikey_p> rodjek: i'm still not sure if that would work, if any part of the class that is doing the notifying changes, it will be called again? | ||
| [2010/07/29 19:05:39] <rodjek> yes | ||
| [2010/07/29 19:05:45] <mikey_p> ahh, i suppose that is okay, i.e. the difference between notify, and require | ||
| [2010/07/29 19:05:55] <rodjek> does whatever you're execing create a file? | ||
| [2010/07/29 19:06:11] <mikey_p> rodjek: it's basically a git clone | ||
| [2010/07/29 19:06:19] <rodjek> 'cause you could just use creates => "<file>" | ||
| [2010/07/29 19:06:38] <rodjek> so the exec will only ever run if that file/folder doesn't exist | ||
| [2010/07/29 19:07:04] <mikey_p> rodjek: where does creates => live, as part of the exec? | ||
| [2010/07/29 19:07:19] @ Quit: voodookid: Ping timeout: 265 seconds | ||
| [2010/07/29 19:08:09] @ Quit: jmccune: Ping timeout: 240 seconds | ||
| [2010/07/29 19:08:50] <rodjek> mikey_p: http://docs.puppetlabs.com/guides/types/exec.html | ||
| [2010/07/29 19:09:21] <mikey_p> thanks, i was looking at http://docs.puppetlabs.com/references/latest/type.html#exec | ||
| [2010/07/29 19:10:13] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 19:13:50] @ littleidea joined channel #puppet | ||
| [2010/07/29 19:15:16] @ jmccune joined channel #puppet | ||
| [2010/07/29 19:16:29] @ littleidea_ joined channel #puppet | ||
| [2010/07/29 19:16:29] @ Quit: littleidea: Read error: Connection reset by peer | ||
| [2010/07/29 19:17:44] @ Quit: bgupta: Quit: bgupta | ||
| [2010/07/29 19:20:03] @ Quit: littleidea_: Client Quit | ||
| [2010/07/29 19:21:45] @ alexine_dsouza joined channel #puppet | ||
| [2010/07/29 19:21:46] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 19:23:10] @ plathrop is now known as plathrop-away | ||
| [2010/07/29 19:28:04] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/07/29 19:30:12] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/07/29 19:34:52] @ Quit: mapu: Ping timeout: 265 seconds | ||
| [2010/07/29 19:43:40] @ Quit: jmccune: Ping timeout: 276 seconds | ||
| [2010/07/29 19:44:13] @ gmcquillan joined channel #puppet | ||
| [2010/07/29 19:45:15] @ jmccune joined channel #puppet | ||
| [2010/07/29 19:45:31] @ Quit: gmcquillan: Client Quit | ||
| [2010/07/29 19:46:40] @ physicspackage joined channel #puppet | ||
| [2010/07/29 19:47:18] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/29 19:48:43] @ littleidea joined channel #puppet | ||
| [2010/07/29 19:49:21] @ mgk joined channel #puppet | ||
| [2010/07/29 19:50:03] @ PaulWay[w] joined channel #puppet | ||
| [2010/07/29 19:51:59] @ Quit: zz_shenson: Read error: Operation timed out | ||
| [2010/07/29 19:53:07] @ Quit: Demosthenes: Ping timeout: 276 seconds | ||
| [2010/07/29 19:53:13] @ Quit: physicspackage: Quit: Colloquy for iPhone - http://colloquy.mobi | ||
| [2010/07/29 19:54:28] @ Demosthenes joined channel #puppet | ||
| [2010/07/29 19:54:37] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 19:57:49] @ zz_shenson joined channel #puppet | ||
| [2010/07/29 20:02:31] @ littleidea joined channel #puppet | ||
| [2010/07/29 20:10:21] @ Quit: pting: Read error: Operation timed out | ||
| [2010/07/29 20:11:25] @ Quit: SpacePope: Ping timeout: 276 seconds | ||
| [2010/07/29 20:11:28] @ Quit: crdant: Quit: Leaving. | ||
| [2010/07/29 20:12:11] @ crdant joined channel #puppet | ||
| [2010/07/29 20:16:00] @ Quit: shenson: Quit: WeeChat 0.3.2 | ||
| [2010/07/29 20:16:00] @ zz_shenson is now known as shenson | ||
| [2010/07/29 20:23:40] @ Quit: tyler79: Read error: Connection reset by peer | ||
| [2010/07/29 20:23:53] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 20:25:28] @ markus joined channel #puppet | ||
| [2010/07/29 20:28:43] @ mgk_ joined channel #puppet | ||
| [2010/07/29 20:28:55] @ Quit: littleidea: Quit: littleidea | ||
| [2010/07/29 20:31:18] @ MaxBube joined channel #puppet | ||
| [2010/07/29 20:31:54] @ Quit: mgk: Ping timeout: 265 seconds | ||
| [2010/07/29 20:31:54] @ mgk_ is now known as mgk | ||
| [2010/07/29 20:32:24] @ brothers joined channel #puppet | ||
| [2010/07/29 20:34:33] @ e1mer joined channel #puppet | ||
| [2010/07/29 20:36:48] <jamesturnbull> viewlogic: mackn hMz if there are specific messages that confound you - log them as bugs - we've fixed a heap of these in recent releases but unless people tell us ... | ||
| [2010/07/29 20:37:26] @ Quit: jmccune: Ping timeout: 246 seconds | ||
| [2010/07/29 20:37:37] @ Quit: achester: Ping timeout: 276 seconds | ||
| [2010/07/29 20:38:29] @ Quit: e1mer: Client Quit | ||
| [2010/07/29 20:38:35] @ e1mer joined channel #puppet | ||
| [2010/07/29 20:38:39] @ jmccune joined channel #puppet | ||
| [2010/07/29 20:44:29] @ achester joined channel #puppet | ||
| [2010/07/29 20:53:25] @ littleidea joined channel #puppet | ||
| [2010/07/29 20:57:36] @ AimanA is now known as HouseAway | ||
| [2010/07/29 20:59:18] @ wilmoore joined channel #puppet | ||
| [2010/07/29 21:01:36] @ Quit: brothers: Quit: brothers | ||
| [2010/07/29 21:08:19] @ Ned_ joined channel #puppet | ||
| [2010/07/29 21:08:28] <Ned_> does this error http://paste.dollyfish.net.nz/edabb4.txt mean anything to anyone ? | ||
| [2010/07/29 21:12:21] @ fredden joined channel #puppet | ||
| [2010/07/29 21:13:38] <Ned_> err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass | ||
| [2010/07/29 21:13:43] <Ned_> anyone know what that might be happening ? | ||
| [2010/07/29 21:15:23] @ \ask joined channel #puppet | ||
| [2010/07/29 21:19:55] <viewlogic> i was getting that error when puppetmasterd wasn't running | ||
| [2010/07/29 21:20:24] <viewlogic> though it should have been running | ||
| [2010/07/29 21:20:40] <viewlogic> jamesturnbull, thanks, good to know | ||
| [2010/07/29 21:28:17] <Ned_> viewlogic: I solved it | ||
| [2010/07/29 21:28:28] <Ned_> viewlogic: it was fqdn not matching server name | ||
| [2010/07/29 21:28:36] <Ned_> not exactly a very helpful error message :-( | ||
| [2010/07/29 21:28:39] <viewlogic> ahh | ||
| [2010/07/29 21:28:49] <viewlogic> yeah, that seems to be a universal error message | ||
| [2010/07/29 21:28:57] <Ned_> wait, fqdn not matching cert name :-0 | ||
| [2010/07/29 21:30:14] <Ned_> viewlogic: a guy who works here was just quoted as saying "That's puppet's only error message" | ||
| [2010/07/29 21:30:23] <Ned_> whenever something is wrong, that's the error message you get ;-) | ||
| [2010/07/29 21:30:32] <Ned_> I think he's a little bitter :p | ||
| [2010/07/29 21:31:01] <viewlogic> I can relate ;) | ||
| [2010/07/29 21:31:56] @ jaredrhine joined channel #puppet | ||
| [2010/07/29 21:32:53] <viewlogic> I just went through some similar pain myself | ||
| [2010/07/29 21:33:49] @ Quit: mattrpuppet: Quit: Leaving. | ||
| [2010/07/29 21:36:23] @ aw joined channel #puppet | ||
| [2010/07/29 21:38:16] @ voodookid joined channel #puppet | ||
| [2010/07/29 21:39:47] @ pinoyskull joined channel #puppet | ||
| [2010/07/29 21:40:26] @ Quit: _^Sarge^_: Ping timeout: 265 seconds | ||
| [2010/07/29 21:46:50] @ _^Sarge^_ joined channel #puppet | ||
| [2010/07/29 21:52:18] @ bgupta joined channel #puppet | ||
| [2010/07/29 21:56:25] @ Quit: aw: Quit: Colloquy for iPhone - http://colloquy.mobi | ||
| [2010/07/29 21:59:23] @ Quit: voodookid: Ping timeout: 265 seconds | ||
| [2010/07/29 22:05:58] @ Quit: MaxBube: Quit: Ex-Chat | ||
| [2010/07/29 22:10:12] @ Quit: jbarratt: Remote host closed the connection | ||
| [2010/07/29 22:15:14] @ Quit: shog: Ping timeout: 265 seconds | ||
| [2010/07/29 22:17:09] @ shog joined channel #puppet | ||
| [2010/07/29 22:19:23] @ doubleukay joined channel #puppet | ||
| [2010/07/29 22:19:39] @ Quit: jmccune: Ping timeout: 240 seconds | ||
| [2010/07/29 22:20:09] <doubleukay> hi guys, I see from the docs that there is a builtin sha1 function that I can use in my manifests. is there one for md5? | ||
| [2010/07/29 22:21:53] @ jmccune joined channel #puppet | ||
| [2010/07/29 22:22:51] @ benoit__ joined channel #puppet | ||
| [2010/07/29 22:29:21] @ Quit: benoit__: Ping timeout: 265 seconds | ||
| [2010/07/29 22:33:02] @ mattrpuppet joined channel #puppet | ||
| [2010/07/29 22:33:19] @ voodookid joined channel #puppet | ||
| [2010/07/29 22:33:29] @ jfreeman joined channel #puppet | ||
| [2010/07/29 22:33:41] @ mclarke joined channel #puppet | ||
| [2010/07/29 22:38:13] @ Quit: jmccune: Ping timeout: 276 seconds | ||
| [2010/07/29 22:41:59] @ ohadlevy joined channel #puppet | ||
| [2010/07/29 22:46:23] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/07/29 22:47:59] @ Quit: fredden: Quit: Leaving | ||
| [2010/07/29 22:52:31] @ rcrowley joined channel #puppet | ||
| [2010/07/29 22:53:55] @ Quit: voodookid: Ping timeout: 276 seconds | ||
| [2010/07/29 22:57:45] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/07/29 23:06:07] @ kubicek joined channel #puppet | ||
| [2010/07/29 23:15:49] @ erlingre joined channel #puppet | ||
| [2010/07/29 23:26:15] @ gebi joined channel #puppet | ||
| [2010/07/29 23:41:33] @ Quit: alban2: Ping timeout: 252 seconds | ||
| [2010/07/29 23:51:26] @ sdog joined channel #puppet | ||
| [2010/07/29 23:52:31] @ Quit: sdog: Changing host | ||
| [2010/07/29 23:52:31] @ sdog joined channel #puppet | ||
| [2010/07/29 23:52:59] @ yannL joined channel #puppet | ||
| [2010/07/29 23:53:08] @ rmiller4pi81 joined channel #puppet | ||
| [2010/07/29 23:55:33] @ Quit: rmiller4pi8: Ping timeout: 258 seconds |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!