| [2010/08/17 00:00:52] @ Log started by gepetto | ||
| [2010/08/17 00:00:52] @ kenneho joined channel #puppet | ||
| [2010/08/17 00:00:53] @ goraxe joined channel #puppet | ||
| [2010/08/17 00:01:13] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Iceweasel 3.5.10/20100623112841] | ||
| [2010/08/17 00:04:59] @ ablew_ joined channel #puppet | ||
| [2010/08/17 00:05:08] @ ablew_ is now known as ablew | ||
| [2010/08/17 00:07:31] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 00:14:18] @ Quit: goraxe: Ping timeout: 248 seconds | ||
| [2010/08/17 00:14:19] @ tuf joined channel #puppet | ||
| [2010/08/17 00:19:16] @ snoop joined channel #puppet | ||
| [2010/08/17 00:19:18] @ MattyM joined channel #puppet | ||
| [2010/08/17 00:20:03] @ pmorillo joined channel #puppet | ||
| [2010/08/17 00:23:43] @ ohookins joined channel #puppet | ||
| [2010/08/17 00:27:00] @ Quit: tecto: Quit: tecto | ||
| [2010/08/17 00:28:37] @ goraxe joined channel #puppet | ||
| [2010/08/17 00:35:16] @ Quit: goraxe: Ping timeout: 276 seconds | ||
| [2010/08/17 00:36:42] <elementai> justdave: maybe pupppetca waits for rng data, try to supply it to system | ||
| [2010/08/17 00:45:25] @ mrk1207 joined channel #puppet | ||
| [2010/08/17 00:46:23] @ Quit: rellis: Remote host closed the connection | ||
| [2010/08/17 00:49:18] @ goraxe joined channel #puppet | ||
| [2010/08/17 00:50:02] @ Quit: RussS: Quit: Leaving | ||
| [2010/08/17 00:52:43] @ Quit: gebi: Ping timeout: 276 seconds | ||
| [2010/08/17 00:53:01] @ themroc joined channel #puppet | ||
| [2010/08/17 00:53:29] @ tgeorgescu joined channel #puppet | ||
| [2010/08/17 00:53:54] @ alcy joined channel #puppet | ||
| [2010/08/17 00:55:14] @ Quit: goraxe: Ping timeout: 264 seconds | ||
| [2010/08/17 00:55:37] <tgeorgescu> G'day all, randomly ran into an error. Hope you folks can help. Was on puppet 0.25, and started getting errors in my client logs: "Tue Aug 17 08:53:19 +0100 2010 Puppet (err): Cached certificate_revocation_list for ca failed: Cannot manage the CRL when :cacrl is set to false". Updated both client and server to 2.6, and unfortunately still getting those errors on my clients. | ||
| [2010/08/17 00:55:51] @ Chiku joined channel #puppet | ||
| [2010/08/17 00:56:05] <tgeorgescu> Any help would be much appreciated. | ||
| [2010/08/17 00:56:35] <tgeorgescu> If it helps, the next line: Tue Aug 17 08:53:19 +0100 2010 Puppet (err): Could not retrieve catalog from remote server: Could not intern from s: Cannot manage the CRL when :cacrl is set to false | ||
| [2010/08/17 00:58:26] @ Quit: cola: | ||
| [2010/08/17 00:58:26] @ Quit: MattyM: Ping timeout: 258 seconds | ||
| [2010/08/17 01:00:12] <alcy> tgeorgescu: check your puppet.conf ? or pastie ? | ||
| [2010/08/17 01:01:37] <tgeorgescu> Not much really. | ||
| [2010/08/17 01:01:37] <tgeorgescu> [puppetd] | ||
| [2010/08/17 01:01:38] <tgeorgescu> environment = development | ||
| [2010/08/17 01:01:38] <tgeorgescu> listen = true | ||
| [2010/08/17 01:01:51] <tgeorgescu> We have several machines under dev environment, so its not that. | ||
| [2010/08/17 01:03:16] <alcy> tgeorgescu: are you using passenger ? | ||
| [2010/08/17 01:04:16] @ rawler_ joined channel #puppet | ||
| [2010/08/17 01:05:19] <tgeorgescu> Set up the master some time ago, my docs do not say anything about passenger. Although that does not say if its actually installed or not. Is there a surefire way of checking? | ||
| [2010/08/17 01:05:40] <tgeorgescu> Although none of http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger looks familiar | ||
| [2010/08/17 01:06:16] @ troelsarvin joined channel #puppet | ||
| [2010/08/17 01:09:06] @ goraxe joined channel #puppet | ||
| [2010/08/17 01:10:11] <tgeorgescu> I take its a no, there is no /etc/httpd/conf.d/puppetmaster.conf on the master. | ||
| [2010/08/17 01:10:14] <tgeorgescu> Should I be? | ||
| [2010/08/17 01:11:02] @ nul0op joined channel #puppet | ||
| [2010/08/17 01:14:16] @ Quit: pinoyskull: Ping timeout: 276 seconds | ||
| [2010/08/17 01:16:46] @ Quit: goraxe: Ping timeout: 276 seconds | ||
| [2010/08/17 01:16:47] @ Quit: wilmoore_: Remote host closed the connection | ||
| [2010/08/17 01:17:31] <alcy> tgeorgescu: anyway, try doing a puppetd --genconfig > testconf and grep for cacrl, check if its commented out or something | ||
| [2010/08/17 01:18:57] @ mfournier joined channel #puppet | ||
| [2010/08/17 01:19:15] @ DbT_ joined channel #puppet | ||
| [2010/08/17 01:19:22] <tgeorgescu> cacrl = /my/home/dir/.puppet/ssl/ca/ca_crl.pem | ||
| [2010/08/17 01:19:28] <tgeorgescu> Not commented out. | ||
| [2010/08/17 01:19:44] @ tecto joined channel #puppet | ||
| [2010/08/17 01:20:27] @ DbT_ left channel #puppet () | ||
| [2010/08/17 01:20:28] <tgeorgescu> There is however no ca in my .puppet | ||
| [2010/08/17 01:20:35] <tgeorgescu> ~/.puppet/ssl | ||
| [2010/08/17 01:20:35] <tgeorgescu> > ls | ||
| [2010/08/17 01:20:35] <tgeorgescu> certificate_requests certs private private_keys public_keys | ||
| [2010/08/17 01:23:11] <alcy> which puppet version ? there's a bug report for the same for 0.25 rc 2/3 ...this behavior is seen when puppet is run in listen mode. | ||
| [2010/08/17 01:23:43] <tgeorgescu> it was 2.5, I rpm'ed everything like a good boy, and updated to 2.6.0-1 | ||
| [2010/08/17 01:23:51] <tgeorgescu> Some old config might have been left behind/ | ||
| [2010/08/17 01:23:58] <tgeorgescu> Its not a fresh 2.6 install | ||
| [2010/08/17 01:24:41] <alcy> hmm, yeah could be. so you use puppetrun ? | ||
| [2010/08/17 01:24:54] <tgeorgescu> I'm trying to. :) | ||
| [2010/08/17 01:25:58] @ alban2 joined channel #puppet | ||
| [2010/08/17 01:26:42] @ pinoyskull joined channel #puppet | ||
| [2010/08/17 01:26:57] @ andrewh joined channel #puppet | ||
| [2010/08/17 01:28:05] @ ewdafa joined channel #puppet | ||
| [2010/08/17 01:28:06] @ TREllis joined channel #puppet | ||
| [2010/08/17 01:31:06] @ Quit: angrox: Quit: leaving | ||
| [2010/08/17 01:32:57] @ mattock joined channel #puppet | ||
| [2010/08/17 01:33:33] <tgeorgescu> Oof! I tell fibs! The client I'm working one was not the client I thought I was working on! | ||
| [2010/08/17 01:33:36] <tgeorgescu> > puppet --version | ||
| [2010/08/17 01:33:36] <tgeorgescu> 0.25.0 | ||
| [2010/08/17 01:33:39] <tgeorgescu> :) | ||
| [2010/08/17 01:34:24] <alcy> meh. :P | ||
| [2010/08/17 01:35:10] <tgeorgescu> I guess I should also probably scale it. | ||
| [2010/08/17 01:35:40] <tgeorgescu> Any prefs of mongrel over pannenger? | ||
| [2010/08/17 01:36:31] <alcy> Passenger is the suggested one. | ||
| [2010/08/17 01:36:49] @ msimkins joined channel #puppet | ||
| [2010/08/17 01:37:14] @ Quit: carlasouza: Ping timeout: 264 seconds | ||
| [2010/08/17 01:38:10] @ angrox joined channel #puppet | ||
| [2010/08/17 01:40:29] <tgeorgescu> Passenger it is then. Many thanks. | ||
| [2010/08/17 01:40:58] @ gebi joined channel #puppet | ||
| [2010/08/17 01:42:45] @ verwilst joined channel #puppet | ||
| [2010/08/17 01:43:13] @ goraxe joined channel #puppet | ||
| [2010/08/17 01:43:17] @ msimkins left channel #puppet ("Leaving...") | ||
| [2010/08/17 01:51:11] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/08/17 01:52:43] @ Ramonster joined channel #puppet | ||
| [2010/08/17 01:52:50] @ Quit: goraxe: Ping timeout: 264 seconds | ||
| [2010/08/17 01:53:53] @ MattyM joined channel #puppet | ||
| [2010/08/17 01:57:51] @ ceren_ joined channel #puppet | ||
| [2010/08/17 01:58:20] @ ceren__ joined channel #puppet | ||
| [2010/08/17 02:00:40] @ Quit: ceren: Ping timeout: 240 seconds | ||
| [2010/08/17 02:00:40] @ ceren__ is now known as ceren | ||
| [2010/08/17 02:02:10] <sejo> hmm the /87 | ||
| [2010/08/17 02:02:20] @ Quit: ceren_: Ping timeout: 255 seconds | ||
| [2010/08/17 02:03:13] <mosez> have somebody some docs for building packages for osx deployment? | ||
| [2010/08/17 02:06:21] @ rmiller4pi81 joined channel #puppet | ||
| [2010/08/17 02:07:37] @ Quit: rmiller4pi81: Client Quit | ||
| [2010/08/17 02:08:33] @ goraxe joined channel #puppet | ||
| [2010/08/17 02:09:00] @ lkoranda joined channel #puppet | ||
| [2010/08/17 02:09:40] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/08/17 02:27:38] @ Quit: goraxe: Ping timeout: 264 seconds | ||
| [2010/08/17 02:31:23] @ jedi4ever_ joined channel #puppet | ||
| [2010/08/17 02:33:34] @ Quit: jedi4ever_: Quit: jedi4ever_ | ||
| [2010/08/17 02:34:11] @ jedi4ever_ joined channel #puppet | ||
| [2010/08/17 02:38:01] @ Quit: gebi: Ping timeout: 245 seconds | ||
| [2010/08/17 02:40:13] @ gebi joined channel #puppet | ||
| [2010/08/17 02:46:16] <alcy> can someone have a look at this : http://pastie.org/1097338 ? need help with puppet standalone executable behavior. | ||
| [2010/08/17 02:47:27] @ andreas__ joined channel #puppet | ||
| [2010/08/17 02:47:31] <andreas__> hi a.. | ||
| [2010/08/17 02:47:35] <andreas__> all | ||
| [2010/08/17 02:48:39] @ andreas__ left channel #puppet () | ||
| [2010/08/17 02:54:20] @ Quit: nahamu: Ping timeout: 240 seconds | ||
| [2010/08/17 03:02:08] @ nik0 joined channel #puppet | ||
| [2010/08/17 03:04:17] @ Quit: niko: Ping timeout: 619 seconds | ||
| [2010/08/17 03:05:37] @ nik0 is now known as niko | ||
| [2010/08/17 03:14:53] @ rene joined channel #puppet | ||
| [2010/08/17 03:15:20] @ rene is now known as Guest57708 | ||
| [2010/08/17 03:19:16] @ ]oestewart joined channel #puppet | ||
| [2010/08/17 03:20:30] @ DbT_ joined channel #puppet | ||
| [2010/08/17 03:44:25] @ Quit: kenneho: Ping timeout: 276 seconds | ||
| [2010/08/17 03:45:30] @ Quit: tecto: Quit: tecto | ||
| [2010/08/17 03:47:17] @ fcami is now known as FC-Hammer | ||
| [2010/08/17 03:55:55] <kjetilho> it's so annoying that I can't do if $lsbdistid >= 9.04 | ||
| [2010/08/17 03:56:06] <kjetilho> what kind of workaround do you guys use? | ||
| [2010/08/17 03:56:19] <kjetilho> inline_template? | ||
| [2010/08/17 04:01:29] <duritong> wow looks like deploying nginx with fair scheduler enabled improves performance heavily | ||
| [2010/08/17 04:12:41] <axisys> I am getting this on the puppet client after upgrading puppetmaster | ||
| [2010/08/17 04:12:42] <axisys> puppetd[29660]: [ID 702911 local0.error] Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key | ||
| [2010/08/17 04:13:26] <axisys> puppet master is 2.6.1 | ||
| [2010/08/17 04:13:40] <ohookins> i'm hitting some weird variable scoping problems: http://pastie.org/1097467 | ||
| [2010/08/17 04:14:01] <ohookins> yes, i should refactor but we don't have that luxury immediately | ||
| [2010/08/17 04:14:16] <axisys> puppet client is 0.25.5 | ||
| [2010/08/17 04:14:45] <alcy> axisys, so did you remove the certificate then | ||
| [2010/08/17 04:14:48] <axisys> how do I remove it? puppet cert -l does not show any | ||
| [2010/08/17 04:15:52] <hal-j> oohookins - I think you'll find that when you're including classes, the param values will be the values as of the level you're at at the time | ||
| [2010/08/17 04:16:23] <hal-j> that is, "realnode" won't have $midvariable defined yet, when the midlevel class is included | ||
| [2010/08/17 04:16:44] <hal-j> that's not "odd", it's expected and documented | ||
| [2010/08/17 04:16:51] <alcy> axisys, try doing a puppetca --clean for the client | ||
| [2010/08/17 04:17:34] <hal-j> http://projects.puppetlabs.com/projects/puppet/wiki/Frequently_Asked_Questions#Node+Inheritance+and+Variable+Scope | ||
| [2010/08/17 04:17:59] <axisys> alcy: thanks.. looks like that removed it.. | ||
| [2010/08/17 04:19:36] <ohookins> hal-j: i've edited the pastie to show expected output http://pastie.org/1097467 | ||
| [2010/08/17 04:20:26] <hal-j> if you read what I said, and what is in the URL I pasted, you'll see why that "bar" is missing :) | ||
| [2010/08/17 04:20:36] <ohookins> hal-j: it's *not* expected behaviour as i'm not expecting the class that has already been included higher up to be affected be a variable defined later on | ||
| [2010/08/17 04:20:53] <hal-j> oh, maybe I should read more then? :) | ||
| [2010/08/17 04:21:18] <ohookins> hal-j: we are including a new class after a new variable has been defined, but it seems like the fact that both bottom-level classes inheriting from a top-level class causes some "clearing" of the variables previously seen | ||
| [2010/08/17 04:21:42] <ohookins> it's not as clear cut as the standard example given about scoping, i'm very aware of those rules | ||
| [2010/08/17 04:22:16] <hal-j> you may well be right then. before you put the output in, I thought you were concerned about the midlevel being included in "foo" | ||
| [2010/08/17 04:22:30] <hal-j> I'm afraid I'll have to defer to one of the puppet devs for this one then, sorry | ||
| [2010/08/17 04:22:39] <ohookins> no, sorry i just didn't know how to best explain what i'm expecting... it's not a one line question ;) | ||
| [2010/08/17 04:22:40] @ brothers joined channel #puppet | ||
| [2010/08/17 04:24:20] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/08/17 04:33:18] @ zed joined channel #puppet | ||
| [2010/08/17 04:33:24] <zed> hi there :) | ||
| [2010/08/17 04:34:28] <zed> i just installed the dashboard and it works fine, but I was wondering it there is a way to import existing manifests/modules in it to use external_nodes ? | ||
| [2010/08/17 04:47:09] @ Quit: jedi4ever_: Quit: jedi4ever_ | ||
| [2010/08/17 04:48:34] @ justdave joined channel #puppet | ||
| [2010/08/17 04:53:10] @ kenneho joined channel #puppet | ||
| [2010/08/17 04:54:02] @ nstrug-FAB joined channel #puppet | ||
| [2010/08/17 04:54:09] @ goraxe joined channel #puppet | ||
| [2010/08/17 04:57:51] @ Quit: mgisbers: Ping timeout: 240 seconds | ||
| [2010/08/17 04:58:58] @ mgisbers joined channel #puppet | ||
| [2010/08/17 05:00:46] @ Deesl joined channel #puppet | ||
| [2010/08/17 05:00:48] <barn> who knew, reading the documentation, suddenly it works | ||
| [2010/08/17 05:00:51] <barn> this is a revealation! | ||
| [2010/08/17 05:03:16] @ [GuS] joined channel #puppet | ||
| [2010/08/17 05:06:57] @ Quit: brothers: Quit: brothers | ||
| [2010/08/17 05:07:13] @ francispereira joined channel #puppet | ||
| [2010/08/17 05:08:35] @ Schmidt joined channel #puppet | ||
| [2010/08/17 05:08:36] <francispereira> I have class mysql_server and mysql_client in file init.pp in modules/mysql/manifests. When i say include mysql_client , puppet tell me that it cant find class mysql_client | ||
| [2010/08/17 05:08:39] <tgeorgescu> Hey all, wondering If I could chuck a quick puppet-dashboard question in there. Running puppet 2.6 as my master, and just grabbed the latest dashboard. rpmbuild the specfile, yum installed, but unfortunately i'm getting report was supposed to be a Puppet::Transaction::Report, but was a String for for the home page. | ||
| [2010/08/17 05:08:45] <tgeorgescu> Any pointers would be gert lush! :) | ||
| [2010/08/17 05:08:53] @ Quit: pinoyskull: Quit: Leaving | ||
| [2010/08/17 05:09:19] <francispereira> if i rename class mysql_client to mysql , everything works as expected | ||
| [2010/08/17 05:09:20] <tgeorgescu> I didn just update from an old puppet-dashboard, but i made sure to remove all traces of /opt/puppet-dashboard | ||
| [2010/08/17 05:09:37] <francispereira> can i have multiple classes in init.pp ? | ||
| [2010/08/17 05:09:38] <tgeorgescu> s/didn/did | ||
| [2010/08/17 05:13:11] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Iceweasel 3.5.10/20100623112841] | ||
| [2010/08/17 05:20:27] <francispereira> anyone ? | ||
| [2010/08/17 05:21:00] <ohookins> yes | ||
| [2010/08/17 05:21:37] <ohookins> how are you importing your modules? | ||
| [2010/08/17 05:21:46] @ nahamu joined channel #puppet | ||
| [2010/08/17 05:21:48] <Volcane> francispereira: your module name is 'mysql' you should be naming your classes 'mysql::somehting' | ||
| [2010/08/17 05:22:00] <francispereira> oh | ||
| [2010/08/17 05:22:09] <Volcane> francispereira: putting it in mysql_foo just means puppet has no idea where to find it | ||
| [2010/08/17 05:22:39] @ Quit: Guest57708: Ping timeout: 240 seconds | ||
| [2010/08/17 05:30:47] @ Quit: goraxe: Read error: Connection reset by peer | ||
| [2010/08/17 05:31:40] @ goraxe joined channel #puppet | ||
| [2010/08/17 05:32:48] @ incommon_ike joined channel #puppet | ||
| [2010/08/17 05:32:54] <threescoops> Anyone using puppet 0.25.x on CentOS/RHEL noticed increased memory usage of puppetd after a few days running? | ||
| [2010/08/17 05:33:01] @ Quit: choffee: Read error: Operation timed out | ||
| [2010/08/17 05:33:32] <ohadlevy> threescoops: that makes sense | ||
| [2010/08/17 05:33:33] @ choffee joined channel #puppet | ||
| [2010/08/17 05:34:18] <threescoops> ohadlevy: well, substantially increased. Starts at ~30Mb. >100Mb after a few days, which seems excessive | ||
| [2010/08/17 05:34:36] <ohadlevy> threescoops: did it copy many files? | ||
| [2010/08/17 05:35:01] @ incommon_ike left channel #puppet () | ||
| [2010/08/17 05:35:37] @ beata_ joined channel #puppet | ||
| [2010/08/17 05:37:05] <threescoops> ohadlevy: good question | ||
| [2010/08/17 05:37:50] @ Quit: goraxe: Ping timeout: 240 seconds | ||
| [2010/08/17 05:38:08] @ FC-Hammer is now known as fcami | ||
| [2010/08/17 05:40:36] @ carlasouza joined channel #puppet | ||
| [2010/08/17 05:41:11] @ rgsteele joined channel #puppet | ||
| [2010/08/17 05:41:17] @ Quit: ]oestewart: Quit: This computer has gone to sleep | ||
| [2010/08/17 05:42:55] <threescoops> ohadlevy: I've only got three content changes in the logs in the last 4 weeks | ||
| [2010/08/17 05:42:56] @ incommon_ike1 joined channel #puppet | ||
| [2010/08/17 05:43:06] @ Bass10 joined channel #puppet | ||
| [2010/08/17 05:43:29] @ incommon_ike1 left channel #puppet () | ||
| [2010/08/17 05:43:33] <threescoops> Although box has been up longer than I have logfiles for | ||
| [2010/08/17 05:44:11] * threescoops goes to look at another machine | ||
| [2010/08/17 05:44:33] <ohadlevy> threescoops: usually high memory will happen if you had a lot of copying around (where the ruby garbage collector wont cleanup properly).... | ||
| [2010/08/17 05:44:35] @ ghaskins_mobile joined channel #puppet | ||
| [2010/08/17 05:45:17] @ Naresh joined channel #puppet | ||
| [2010/08/17 05:46:01] <threescoops> Well, I've bounced another machine recently: up 1 day, puppetd is showing as 62MB resident, 147MB virtual, and it's only changed a yum config file in the last day | ||
| [2010/08/17 05:46:18] <threescoops> That's not as bad as the other machines | ||
| [2010/08/17 05:47:31] <threescoops> ohadlevy: is this expected with all puppetds, or is it a bigger issue with older Ruby versions and/or 0.25 vs 0.26? | ||
| [2010/08/17 05:47:51] <Volcane> threescoops: even if its not changing things it is reading htem to make signatures etc and that use ram, its not about what its done | ||
| [2010/08/17 05:48:53] @ jedi4ever_ joined channel #puppet | ||
| [2010/08/17 05:49:03] @ Quit: ghaskins_mobile: Client Quit | ||
| [2010/08/17 05:50:13] <threescoops> Hrm. It's quite noticeable on pokey little VMs with limited RAM. | ||
| [2010/08/17 05:50:41] <Volcane> cron deals with all memleaks nicely :P | ||
| [2010/08/17 05:50:48] <threescoops> I'd assume that holding hashes of files shouldn't be that resource intensive | ||
| [2010/08/17 05:50:55] <threescoops> Volcane: :) | ||
| [2010/08/17 05:51:18] <Volcane> threescoops: its common in languages like ruby that they will take memory from the OS to store data but never give it back | ||
| [2010/08/17 05:51:35] <Volcane> threescoops: if at one point it needed 100 meg, it will keep it allocated eventhough it only needs 50 now | ||
| [2010/08/17 05:51:55] <threescoops> Volcane: ah, good point. | ||
| [2010/08/17 05:52:14] <ohadlevy> threescoops: +1 for switching to cron | ||
| [2010/08/17 05:52:17] @ goraxe joined channel #puppet | ||
| [2010/08/17 05:52:39] <threescoops> Aye, I know cron JFW, but it does seem like a bit of a hack | ||
| [2010/08/17 05:53:41] @ saysjonathan joined channel #puppet | ||
| [2010/08/17 05:54:36] <hal-j> I dunno.. using cron to kick something off periodically hardly seems like a hack :) | ||
| [2010/08/17 05:55:02] <threescoops> Put like that, no :) | ||
| [2010/08/17 05:55:25] <masterzen> hal-j: it's hack when you're doing this because the thing consume too much memory... | ||
| [2010/08/17 05:55:31] <Volcane> you need to be careful with staggering them is all | ||
| [2010/08/17 05:55:51] <threescoops> Aye, was just about to comment on that, doing three things at once :) | ||
| [2010/08/17 05:56:00] <masterzen> threescoops: note that 0.25.5 and especially 2.6 behaves way better regarding memory consumption on the client side. | ||
| [2010/08/17 05:56:05] <hal-j> masterzen: it's arguable, I suppose. It's not consuming too much memory, ruby is doing what it does with a long running process | ||
| [2010/08/17 05:56:15] @ pheezy joined channel #puppet | ||
| [2010/08/17 05:56:44] <threescoops> masterzen: I'm on 0.25.5, waiting on 2.6 to stabilise and hit EPEL and then find the time to test it before moving up | ||
| [2010/08/17 05:57:29] <masterzen> hal-j: well... yes and no... You'd think the ruby GC would be able to shrink its heap, but it isn't able. So your ruby process sits eating virtual memory that is never used. I hate that :) | ||
| [2010/08/17 05:58:12] @ Quit: swa_work: Read error: Connection reset by peer | ||
| [2010/08/17 05:58:46] <hal-j> I used ambiguous pronouns…. "Puppet isn't consuming too much memory, Ruby is doing what it does with a long running process" | ||
| [2010/08/17 05:59:41] <hal-j> regardless…. for this and other reasons I've switched to using cron, and haven't had any regrets | ||
| [2010/08/17 06:01:09] <Volcane> very happy since scheduling the runs myself too | ||
| [2010/08/17 06:05:24] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/17 06:08:24] <threescoops> Seems unnecessary to have a puppet client daemon if cron is preferable | ||
| [2010/08/17 06:09:01] <Volcane> think its preferably cos it works well not cos by design that was the desired use case :) | ||
| [2010/08/17 06:15:28] @ swa_work joined channel #puppet | ||
| [2010/08/17 06:17:47] <nasrat> masterzen: I know you've been looking at the jruby stuff, if I wanted to make facter have some c extension part of it would ffi be able to handle that (eg cpuid asm instruction calls) | ||
| [2010/08/17 06:18:43] <masterzen> nasrat: I think the jruby guys are now working on supporting ruby c extension out of the box. Should be in 1.6 if I'm not mistaken. | ||
| [2010/08/17 06:19:34] <masterzen> nasrat: but since you can load any C lib with ffi, you might be able to load manually your C extension and access only the interesting part. | ||
| [2010/08/17 06:19:55] <masterzen> nasrat: otherwise, ffi isn't able to load a ruby C extension per-se. | ||
| [2010/08/17 06:20:01] <tgeorgescu> Hey folks, any idea on my errors from earlier? "report was supposed to be a Puppet::Transaction::Report, but was a String", I used to just occasionally get them in the older installation of puppet-dashboard, but now I'm getting it on the main page. Mmph. | ||
| [2010/08/17 06:20:36] <nasrat> masterzen: ah I see http://github.com/jruby/jruby/tree/cext | ||
| [2010/08/17 06:20:49] @ Quit: goraxe: Ping timeout: 258 seconds | ||
| [2010/08/17 06:21:05] <masterzen> nasrat: yeah | ||
| [2010/08/17 06:21:18] <masterzen> nasrat: BTW, are you going to the US puppetcamp next October? | ||
| [2010/08/17 06:23:22] @ Quit: Bass10: Ping timeout: 252 seconds | ||
| [2010/08/17 06:23:59] <nasrat> yeah, I'm booked to go. I wasn't going to go but my US trip changed purpose slightly giving me a bit more flexibility to get back to SF | ||
| [2010/08/17 06:24:21] <masterzen> nasrat: cool, we'll see there then. | ||
| [2010/08/17 06:25:13] @ Quit: kenneho: Quit: Ex-Chat | ||
| [2010/08/17 06:29:06] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 06:29:08] @ gmason joined channel #puppet | ||
| [2010/08/17 06:33:41] @ goraxe joined channel #puppet | ||
| [2010/08/17 06:35:20] <axisys> any idea why thin start is failing here http://pastie.org/private/tmdqha9mr0kxyogw5mpzw / | ||
| [2010/08/17 06:36:13] <axisys> i downloaded the puppet-dashboard.git as explained here | ||
| [2010/08/17 06:36:15] <axisys> http://github.com/puppetlabs/puppet-dashboard | ||
| [2010/08/17 06:36:23] <axisys> but failing to start it with thin | ||
| [2010/08/17 06:36:35] <axisys> i can start as ./script/server -e production | ||
| [2010/08/17 06:36:45] <axisys> i want to give thin a try | ||
| [2010/08/17 06:36:57] <axisys> and then may be with passenger | ||
| [2010/08/17 06:37:19] <axisys> i am using passenger behind apache2 with puppet 2.6.1 | ||
| [2010/08/17 06:37:28] @ Reepicheep joined channel #puppet | ||
| [2010/08/17 06:38:23] <ohadlevy> axisys: you have a mixup of the rack gem version, your thin (or you system) already include a newer version of rack | ||
| [2010/08/17 06:39:11] @ docelic joined channel #puppet | ||
| [2010/08/17 06:39:56] <tim|mac> what's the recommended queue app to use with puppetqd? | ||
| [2010/08/17 06:40:00] <tim|mac> activemq? | ||
| [2010/08/17 06:40:00] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/08/17 06:40:02] <axisys> ohadlevy: i am using latest gem, 1.3.7 .. how do I get thin working ? | ||
| [2010/08/17 06:40:28] @ juniper joined channel #puppet | ||
| [2010/08/17 06:40:32] <ohadlevy> axisys: i never tried, but rails 2.3.5 requires rack 1.0.1 | ||
| [2010/08/17 06:41:32] <Volcane> tim|mac: activemq has nice monitoring etc built in, cant say if its the recommended :) | ||
| [2010/08/17 06:41:53] <axisys> ohadlevy: may be I should use passenger .. since it is already being used for puppet | ||
| [2010/08/17 06:41:56] @ mapu_ joined channel #puppet | ||
| [2010/08/17 06:42:50] <tim|mac> Volcane: hm ok, thx though :D | ||
| [2010/08/17 06:43:27] <Volcane> tim|mac: i wrote nagios/cacti plugins etc for it if you go down that route :) | ||
| [2010/08/17 06:43:29] <axisys> so anyone install puppet-dashboard from git ? | ||
| [2010/08/17 06:43:36] <axisys> installed* | ||
| [2010/08/17 06:43:49] <axisys> i dont see a dir /usr/share/puppet-dashboard/public/ | ||
| [2010/08/17 06:44:21] <axisys> am I suppose to git clone the puppet-dashboard.git in /usr/share dir ? | ||
| [2010/08/17 06:44:36] @ bobbyz_ joined channel #puppet | ||
| [2010/08/17 06:45:19] <axisys> passenger apache conf ext/passenger/dashboard-vhost.conf shows docroot as /usr/share/puppet-dashboard/public/ | ||
| [2010/08/17 06:45:35] <tim|mac> Volcane: always interested to see that :) but searching for a debian package of activemq first ;-) | ||
| [2010/08/17 06:45:39] <axisys> i guess this page is not complete http://github.com/puppetlabs/puppet-dashboard | ||
| [2010/08/17 06:45:59] <tim|mac> debian's java app packaging seems a bit dead, unfortunately | ||
| [2010/08/17 06:46:02] <Volcane> tim|mac: ask plathrop | ||
| [2010/08/17 06:46:13] <Volcane> tim|mac: he has a public repo with it etc | ||
| [2010/08/17 06:46:22] <tim|mac> ooo interesting! | ||
| [2010/08/17 06:47:13] <Volcane> deb http://apt.pub.simplegeo.com/ubuntu foss-production main | ||
| [2010/08/17 06:47:14] <Volcane> deb-src http://apt.pub.simplegeo.com/ubuntu foss-production main | ||
| [2010/08/17 06:50:33] <unixdaemon> nasrat: if someone were to add another true/false command line flag to facter should they refactor | ||
| [2010/08/17 06:50:36] <unixdaemon> | ||
| [2010/08/17 06:50:58] <unixdaemon> self.debugging(bit) out in to a true false def? | ||
| [2010/08/17 06:51:08] <nasrat> unixdaemon: sorry need more context | ||
| [2010/08/17 06:51:27] <nasrat> ah ok cli args | ||
| [2010/08/17 06:51:43] <nasrat> we'll probably make some changes as we'll ad configuration at some point | ||
| [2010/08/17 06:51:47] <nasrat> let me just look at the code | ||
| [2010/08/17 06:51:58] @ jdcasey joined channel #puppet | ||
| [2010/08/17 06:51:58] @ fcami left channel #puppet ("gone") | ||
| [2010/08/17 06:53:02] <unixdaemon> nasrat: line 158 lib/facter.rb stuff | ||
| [2010/08/17 06:54:22] <nasrat> vomit | ||
| [2010/08/17 06:54:57] <Volcane> heh | ||
| [2010/08/17 06:55:23] <nasrat> it's only ever called interllay from bin/facter | ||
| [2010/08/17 06:56:02] <nasrat> blah called, typing thinking fail | ||
| [2010/08/17 06:56:38] <unixdaemon> Yep - but if I want to add another yes/no flag do you expect me to stick to the local pattern, ignore it or refactor it out? | ||
| [2010/08/17 06:56:47] <unixdaemon> Please don't say make it like debug... | ||
| [2010/08/17 06:59:50] @ MPSimmons joined channel #puppet | ||
| [2010/08/17 07:00:06] <nasrat> I'd probably redo using optparse *if* it exists in 1.8.1 | ||
| [2010/08/17 07:00:46] <nasrat> actually puppet uses optparse so it must | ||
| [2010/08/17 07:01:17] <nasrat> see lib/puppet/application.rb | ||
| [2010/08/17 07:01:53] @ joe-mac1 joined channel #puppet | ||
| [2010/08/17 07:03:21] @ pheezy joined channel #puppet | ||
| [2010/08/17 07:03:44] <nasrat> that code is at least from 2005 if not earlier, not particularly idiomatic ruby and I'm happy to have it replaced, I look forward to your patch :) | ||
| [2010/08/17 07:03:47] <nasrat> ok | ||
| [2010/08/17 07:04:08] <nasrat> who has time on their hands to to a quick sanity test of facter master on thier boxen? | ||
| [2010/08/17 07:04:13] <Disconnect> err: Could not retrieve catalog from remote server: Could not intern from pson: Syntax error at '=' at /etc/init.d/ntp:12 .. er, why is it reading that file at all? the file is referenced from a command but it isn't being sent.. | ||
| [2010/08/17 07:04:26] <nasrat> we want to get to an RC pretty soon | ||
| [2010/08/17 07:04:32] <Disconnect> (coincidentally, line 12 is where the comments end and PATH=... begins) | ||
| [2010/08/17 07:04:39] <barn> nasrat: how quick is quick? | ||
| [2010/08/17 07:05:10] <nasrat> git clone git://github.com/reductivelabs/facter.git && cd facter && ruby -Ilib bin/facter | ||
| [2010/08/17 07:05:37] <Disconnect> (using 2.6.0-2 from deb-unstable. deb-changelog says its 2.6.0 stock with some packaging changes) | ||
| [2010/08/17 07:05:48] <nasrat> fancier usage is a a diff between facts for 1.5.7 and master | ||
| [2010/08/17 07:05:51] <barn> want it mailing somewhere? | ||
| [2010/08/17 07:06:21] <tgeorgescu> Ohh, found a bug for my rambles from earlier. | ||
| [2010/08/17 07:06:38] <nasrat> barn: just see if it works and looks sane for your platform of choice | ||
| [2010/08/17 07:07:26] <barn> nasrat: memory is different between them by some amount | ||
| [2010/08/17 07:07:35] @ Quit: jbooth: Ping timeout: 258 seconds | ||
| [2010/08/17 07:07:37] @ ohookins left channel #puppet ("Leaving.") | ||
| [2010/08/17 07:07:56] <barn> and, I didn't run it as root, but it now detects better than it's virtual | ||
| [2010/08/17 07:08:19] <barn> ignore the first bit! I'm an idiot | ||
| [2010/08/17 07:08:23] <vollmer> Are there any people in here using Puppet on a High Performance compute cluster | ||
| [2010/08/17 07:08:33] <barn> nasrat: yes, it's better. Ship it! (: | ||
| [2010/08/17 07:09:05] <gmason> vollmer: not yet here | ||
| [2010/08/17 07:09:18] @ jbooth joined channel #puppet | ||
| [2010/08/17 07:09:27] <gmason> vollmer: we're currently using bcfg, and running into enough that we are considering a switch to puppet | ||
| [2010/08/17 07:09:32] <vollmer> I'm using it on 200 nodes so far, but I need some testomonials before I can convince the boss to keep going | ||
| [2010/08/17 07:09:51] <gmason> vollmer: this would be helpful for me as well :) | ||
| [2010/08/17 07:10:09] <gmason> the only real concern I have is the scalability of the server. | ||
| [2010/08/17 07:11:13] <gmason> we currently use a small VMware ESX cluster for our administrative machines, and I'm running into performance issues with a lightweight config in bcfg2, with about 250 nodes or so | ||
| [2010/08/17 07:11:19] @ reyjrar joined channel #puppet | ||
| [2010/08/17 07:11:58] <vollmer> Hmm - I have a massivly oversubscribed box that's managing 200 and it takes < 2 seconds | ||
| [2010/08/17 07:12:02] <vollmer> for a checkin | ||
| [2010/08/17 07:12:12] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 07:12:36] <vollmer> but yeah if anyone has examples of large installs (800 nodes+ managed and the hardware required to deal with it) | ||
| [2010/08/17 07:12:42] <gmason> 2 cpus, 4g ram. I know these kinds of questions suck, but how much does puppet need on the server side, if all clients are checking in hourly, with ~70-100 items being managed per node | ||
| [2010/08/17 07:13:11] <gmason> we'd like to keep a puppet install inside our VMware stack, if at all possible | ||
| [2010/08/17 07:13:22] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/17 07:13:50] <Disconnect> wow. this is totally fail. its trying to send (or at least parse) every init script referenced in the manifest. | ||
| [2010/08/17 07:14:48] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 07:15:38] @ kiiNODA joined channel #puppet | ||
| [2010/08/17 07:15:45] @ alcy joined channel #puppet | ||
| [2010/08/17 07:17:11] @ Quit: jbooth: Ping timeout: 265 seconds | ||
| [2010/08/17 07:17:44] <kiiNODA> Hi guys. I have about 50 cfengine "manifests" that I'd love to transform into puppet ones. Other than writing my own parser and then manually checking that everything is OK, is there any other solution? | ||
| [2010/08/17 07:18:56] @ jbooth joined channel #puppet | ||
| [2010/08/17 07:18:57] <Volcane> kiiNODA: its a different approach entirely, you wouldnt want to 'translate' it. | ||
| [2010/08/17 07:19:26] <jbooth> did I manage to reply to the 800 clients question before I lagged out? | ||
| [2010/08/17 07:19:42] <vollmer> no? | ||
| [2010/08/17 07:19:49] <jbooth> I run 800 nodes against a single puppet server. However, the nodes only run puppet once at boot then discontinue puppet till reboot. | ||
| [2010/08/17 07:19:55] <jbooth> Said server (and nodes) are all Xserve G5s. | ||
| [2010/08/17 07:19:57] <jbooth> Not exactly a powerhouse. | ||
| [2010/08/17 07:19:59] <jbooth> The key for me, since I'm running apache/mongrel is not to let puppet get overloaded, so I do a MaxClients 8 in apache and spawn 8 mongrel puppetmasters. | ||
| [2010/08/17 07:20:04] <jbooth> Oh, that's also 0.24.(8?) so that's pretty old. | ||
| [2010/08/17 07:20:14] <vollmer> cool very useful information! | ||
| [2010/08/17 07:20:43] <jbooth> That's a HPC cluster, so all 800 nodes are pretty much identical. | ||
| [2010/08/17 07:20:54] <vollmer> yeah that's where we'd be going as well | ||
| [2010/08/17 07:21:03] <vollmer> initial run, then runs during outage windows | ||
| [2010/08/17 07:21:07] <vollmer> but not hourly | ||
| [2010/08/17 07:21:22] @ gniks joined channel #puppet | ||
| [2010/08/17 07:21:24] <jbooth> --onetime in your boot scripts + mongrel or passenger with MaxClients will do ya | ||
| [2010/08/17 07:21:34] <vollmer> sweet :) | ||
| [2010/08/17 07:21:34] <jbooth> Passenger may not need MaxClients. I hadn't tried. | ||
| [2010/08/17 07:22:13] <jbooth> What used to happen without it is I'd get too many nodes per master and at least in 0.24 it'd spend all the time thrashing between threads inside ruby. Compilations would go up to >10 minutes which usually take <2 seconds... | ||
| [2010/08/17 07:22:20] <kiiNODA> Volcane: I was hoping you wouldn't say that. :) I'd be willing to require and use stages in order to make sure of every step and the dependencies involved... Any creative approach? I wouldn't go this route but I have some time constraints. | ||
| [2010/08/17 07:22:43] <jbooth> Oh, one other comment on it: I distribute files via our shared filesystem, rather than via puppet's fileserver. | ||
| [2010/08/17 07:22:44] @ ahasenack joined channel #puppet | ||
| [2010/08/17 07:22:54] <vollmer> jbooth: k | ||
| [2010/08/17 07:22:56] <jbooth> As long as you're HPC and have that resource -- use it -- NFS way faster than puppet doing file sharing. | ||
| [2010/08/17 07:23:06] @ tecto joined channel #puppet | ||
| [2010/08/17 07:23:10] <jbooth> (yes, even for 800 nodes, nfs way faster. I know, sounds crazy...) | ||
| [2010/08/17 07:23:29] <vollmer> Ahh yes - that's what I'm doing currently using NFS to move files around all puppet does is check services / kick off little scripts | ||
| [2010/08/17 07:24:19] @ Quit: DbT_: Ping timeout: 240 seconds | ||
| [2010/08/17 07:25:03] <jbooth> Should be very doable. It has been great for us. | ||
| [2010/08/17 07:25:08] @ notbrien joined channel #puppet | ||
| [2010/08/17 07:25:24] <jbooth> We ended up with a compromise through a user account and had the machine rebuilt, tested and released to users in ... 3-4 days? | ||
| [2010/08/17 07:25:24] <Disconnect> jbooth: older versions of puppet did incredibly insanely inefficient file serving. newer versions (0.25ish) does it only moderately brain-damaged. newest (2.6) evidently does it sanely. | ||
| [2010/08/17 07:25:45] <jbooth> Disconnect: Yeah I'd heard that but haven't tested on the cluster. Due to be retired in Dec -- no urge to fix. | ||
| [2010/08/17 07:26:10] <Disconnect> just saying, its not crazy. the recommended way to move files above 1 meg was with wget... | ||
| [2010/08/17 07:26:12] <diget> Is there a way to start a kick/puppetrun immediately when splay is enabled? | ||
| [2010/08/17 07:27:06] <pseubodot> chadh: thanks -- was looking for it in debian, actually. | ||
| [2010/08/17 07:27:17] <Disconnect> did source handling change in 2.6? My test client is replacing puppet.conf with a 0 byte file. the def is source => [ "puppet:///module/puppet.conf-$hostname","puppet:///module/puppet.conf"] | ||
| [2010/08/17 07:27:40] <Disconnect> so in theory this client should be getting the default puppet.conf.. | ||
| [2010/08/17 07:28:07] <jbooth> Disconnect: Do you need /modules/module/puppet.conf? | ||
| [2010/08/17 07:28:41] <ohadlevy> vollmer: whats your problem with running puppet with 800+ nodes? | ||
| [2010/08/17 07:28:42] <Disconnect> jbooth: its already there. exact same manifest as the 0.25 clients are using successfully. (just a single upgraded client) | ||
| [2010/08/17 07:29:12] <Disconnect> er, wouldn't it be modules/module/files/puppet.conf? | ||
| [2010/08/17 07:29:15] <vollmer> ohadlevy: there isn't one my CTO wants proof it works before he'll let me convert the rest of our environment | ||
| [2010/08/17 07:29:54] @ Quit: rawler_: Remote host closed the connection | ||
| [2010/08/17 07:29:56] <ohadlevy> vollmer: the number is not an issue, even for a single master | ||
| [2010/08/17 07:30:17] <ohadlevy> vollmer: with clients that runs every 30 minutes | ||
| [2010/08/17 07:30:51] <jbooth> Disconnect: I don't think so, but I thought you needed to start including modules/ before the module itself. My 0.25 was throwing warnings without the modules/ prefix | ||
| [2010/08/17 07:31:03] <Disconnect> ahh.. thats a thought. | ||
| [2010/08/17 07:31:06] <vollmer> ohadlevy: don't worry about it jbooth already got me an answer that will work | ||
| [2010/08/17 07:31:23] <gmason> ohadlevy: how many clients would you recommend per puppetmaster, with 2.6.x? | ||
| [2010/08/17 07:31:35] <ohadlevy> vollmer: I wont use 2.6 just yet | ||
| [2010/08/17 07:32:00] <ohadlevy> gmason: see ^^ | ||
| [2010/08/17 07:32:40] <ohadlevy> vollmer: I dont like having a setup where puppet is not running, instead I would recommend you to use environments where the manifest doesn't change | ||
| [2010/08/17 07:32:43] <Disconnect> jbooth: no change :/ | ||
| [2010/08/17 07:33:47] <vollmer> ohadlevy: in HPC land we're very pressed for memory / CPU time I've had the OOM monster come out when things like logrotate run | ||
| [2010/08/17 07:33:51] <vollmer> so I don't run them anymore | ||
| [2010/08/17 07:34:08] <gmason> last time I looked at puppet, there were reports of puppetd sometimes gobbling ram. As an HPC center, I can't have a config management daemon gobbling a gig of ram when I have user jobs that need that memory | ||
| [2010/08/17 07:34:19] <vollmer> exactly | ||
| [2010/08/17 07:34:38] <gmason> our scheduler is very efficient at gobbling every last bit of RAM on nodes | ||
| [2010/08/17 07:34:55] <ohadlevy> gmason, vollmer : just use cron | ||
| [2010/08/17 07:34:59] <gmason> we try to keep OS overhead to ~250 meg or so | ||
| [2010/08/17 07:35:19] <Disconnect> ulimit and cron. | ||
| [2010/08/17 07:35:27] * ohadlevy used to manage an HPC with a few thousands nodes | ||
| [2010/08/17 07:35:37] <jbooth> Disconnect: Hmm. | ||
| [2010/08/17 07:36:07] <vollmer> we might go for that eventually but step one is to get them to let me put puppet on it | ||
| [2010/08/17 07:36:11] <jbooth> ohadlevy: That's the wrong answer in HPC | ||
| [2010/08/17 07:36:15] <gmason> we don't use ulimit on compute nodes, we let the scheduler perform that kind of enforcement, and then email users when their jobs misbehave | ||
| [2010/08/17 07:36:24] <jbooth> ohadlevy: Run once at boot, stop exit and free as much resources as you can on the node | ||
| [2010/08/17 07:36:49] <ohadlevy> jbooth: it was more important that nobody logins into the box instead :) | ||
| [2010/08/17 07:37:04] <jbooth> I'm not sure my nodes run cron actually... probably not | ||
| [2010/08/17 07:37:37] <gmason> We use an NFS automounter, with a file that needs to be updated on nodes hourly... so we need to be able to push a single file hourly. | ||
| [2010/08/17 07:38:06] <gmason> is there maybe a way to run a lighter puppet configuration hourly, then the full-blown thing less frequently/on boot/whatever? | ||
| [2010/08/17 07:38:47] <Volcane> gmason: you can use tags - this wont help your memory footprint much anyway | ||
| [2010/08/17 07:38:50] @ Quit: goraxe: Ping timeout: 240 seconds | ||
| [2010/08/17 07:38:50] <Disconnect> gmason: iirc you can use --tag to do that. it still compiles the whole manifest but it doesn't run it | ||
| [2010/08/17 07:39:01] <Disconnect> it can be great to save on IO | ||
| [2010/08/17 07:39:06] <Disconnect> but yah, not much on memory | ||
| [2010/08/17 07:39:18] <Disconnect> at the end of the day, if you are that memory cramped, ruby is the wrong answer entirely. | ||
| [2010/08/17 07:39:58] <gmason> so, for each puppet run, i'd need ~1gb? | ||
| [2010/08/17 07:40:02] <gmason> 500 meg? | ||
| [2010/08/17 07:40:18] * Volcane 's doesnt go over 200meg at most | ||
| [2010/08/17 07:40:29] <Volcane> would be much less on 2.6.x | ||
| [2010/08/17 07:40:39] <gmason> good to hear about 2.6... | ||
| [2010/08/17 07:40:50] @ Quit: gebi: Ping timeout: 264 seconds | ||
| [2010/08/17 07:40:54] <gmason> which is what we'd probably go with, since we'd be starting fresh | ||
| [2010/08/17 07:41:08] <Disconnect> i'd figure 250 megs to be safe, and if it goes above that kill it. if it keeps going above that, figure out why... | ||
| [2010/08/17 07:41:16] @ goraxe joined channel #puppet | ||
| [2010/08/17 07:41:28] @ gebi joined channel #puppet | ||
| [2010/08/17 07:41:35] <Disconnect> (and don't do a lot of big file serving - use nfs or wget execs, etc instead..) | ||
| [2010/08/17 07:42:39] <Disconnect> anyone running 2.6 with source arrays in the manifest? ( source => [ "puppet:///foo/bar-$hostname", "puppet:///foo/bar" ] ..) using a .25 puppetmaster and a 2.6 client, running against working manifests. | ||
| [2010/08/17 07:42:52] * Disconnect is trying to avoid having to set up an entire test bench cluster | ||
| [2010/08/17 07:44:08] @ tecto_ joined channel #puppet | ||
| [2010/08/17 07:45:35] <gmason> thanks for the HPC insight all.... | ||
| [2010/08/17 07:45:39] @ emb3dd3d joined channel #puppet | ||
| [2010/08/17 07:46:02] @ Quit: gmason: Quit: gmason | ||
| [2010/08/17 07:48:04] <Disconnect> wow. fun. even with puppet.conf-foo (to match the $hostname entry) it still blanks it out. argh. | ||
| [2010/08/17 07:50:36] * Disconnect is really really hesitant to try upgrading the puppetmaster, since sending out blank files to all the clients would be .. very bad.. | ||
| [2010/08/17 07:51:25] @ pinoyskull joined channel #puppet | ||
| [2010/08/17 07:51:58] <mrk1207> disconnect, you sure you dont have this issue: http://projects.puppetlabs.com/issues/4319 | ||
| [2010/08/17 07:52:06] @ Quit: bug: Quit: bug | ||
| [2010/08/17 07:52:24] <mrk1207> when I upgraded to 2.6 all my files where blanked out until i applied the batch from above. | ||
| [2010/08/17 07:54:42] @ littleidea joined channel #puppet | ||
| [2010/08/17 07:58:34] <Volcane> Disconnect: and with the correct paths like puppet:///modules/foo/bar ? | ||
| [2010/08/17 07:59:04] <Disconnect> Volcane: it didn't change when i changed the paths | ||
| [2010/08/17 07:59:22] @ RussS joined channel #puppet | ||
| [2010/08/17 07:59:51] @ ]oestewart joined channel #puppet | ||
| [2010/08/17 08:00:25] <Volcane> yours dont have the 'modules' bit in them | ||
| [2010/08/17 08:00:52] @ benkevan joined channel #puppet | ||
| [2010/08/17 08:01:09] <beata_> is there anyway to import classes in dashboard maybe via rake task? | ||
| [2010/08/17 08:02:14] <Disconnect> Volcane: yes. and when i put the modules bit in them it did not change the fact that the client replaced its config with a 0 byte file. | ||
| [2010/08/17 08:02:53] @ Quit: jedi4ever_: Quit: jedi4ever_ | ||
| [2010/08/17 08:03:06] @ ohookins joined channel #puppet | ||
| [2010/08/17 08:03:07] @ jedi4ever_ joined channel #puppet | ||
| [2010/08/17 08:03:22] <ohookins> anybody using cucumber-puppet and storeconfigs together? | ||
| [2010/08/17 08:03:42] <ohookins> i'd like to get rid of the warnings about storeconfigs it throws on every run | ||
| [2010/08/17 08:04:05] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2010/08/17 08:04:05] @ jedi4ever_ is now known as jedi4ever | ||
| [2010/08/17 08:04:17] <Volcane> Disconnect: weird, not using 2.6 yet myself so hard to say :( i did run it for a very short period and idnt notice this bug though | ||
| [2010/08/17 08:05:27] <Disconnect> ok wtf. sudoers is loading fine... same definition style. | ||
| [2010/08/17 08:05:53] <Disconnect> (and in the same module) | ||
| [2010/08/17 08:06:59] <ashp> I found a server with 0.25.1 that was broken thanks to host_alias and hadn't had a puppet run since before I install foreman, arghhh | ||
| [2010/08/17 08:07:08] <ashp> good job it was only a dev box | ||
| [2010/08/17 08:10:57] @ Quit: goraxe: Read error: Connection reset by peer | ||
| [2010/08/17 08:10:58] <Disconnect> fwiw i have a nagios file-age test on /var/lib/puppet/state/state.yaml. every now and then it fires on 0-bytes 0-seconds (test runs when puppet is saving the manifest) but that is very rare | ||
| [2010/08/17 08:11:24] <Volcane> yeah thats probably just during the time its writing that file | ||
| [2010/08/17 08:12:09] <axisys> any idea where to look to fix this? http://pastie.org/private/nbrogl0yj3wfukdfjn4rjg | ||
| [2010/08/17 08:12:41] <ashp> Aug 17 11:11:58 hlslinutil1 puppetmasterd[31060]: Could not parse: interning empty string | ||
| [2010/08/17 08:12:44] <ashp> Aug 17 11:11:58 hlslinutil1 puppetmasterd[31060]: Could not parse: interning empty string | ||
| [2010/08/17 08:12:45] @ Quit: emb3dd3d: Ping timeout: 258 seconds | ||
| [2010/08/17 08:12:46] <ashp> whoops | ||
| [2010/08/17 08:12:48] <ashp> anyone seen that error before? | ||
| [2010/08/17 08:13:02] <Disconnect> ashp: couple of times just now ;) | ||
| [2010/08/17 08:13:10] <Volcane> ashp: you're not fooling us, that whoops was premedetated, you're just lazy to to pastie :P | ||
| [2010/08/17 08:13:36] <ashp> Volcane: no, I just meant to paste a single line | ||
| [2010/08/17 08:13:43] <ashp> Disconnect: oh no, we're syncing up on errors | ||
| [2010/08/17 08:13:45] <Volcane> heh | ||
| [2010/08/17 08:13:52] <Disconnect> (i meant in the channel) | ||
| [2010/08/17 08:13:58] <ashp> Disconnect: :p | ||
| [2010/08/17 08:14:13] <jbooth> axisys: I think I saw discussion that was a 2.6/passenger bug, but I'm not *sure* | ||
| [2010/08/17 08:14:24] <jbooth> Check yesterday's channel logs | ||
| [2010/08/17 08:14:43] <jbooth> (... I think that was yesterday. I hope it was yesterday) | ||
| [2010/08/17 08:16:03] <axisys> jbooth: that fix did not work .. i changed in the config.ru from $0 = "puppetmasterd" to $0 = "master" .. and restarted.. did not help | ||
| [2010/08/17 08:16:15] <axisys> i am using 2.6.1 | ||
| [2010/08/17 08:16:32] <axisys> with passenger 2.2.15 | ||
| [2010/08/17 08:17:18] <alcy> folks, shouldn't the puppet standalone executable auto-load/read site.pp ? | ||
| [2010/08/17 08:17:24] <jbooth> Shouldn't it be $1=master? Not that I looked at the ticket but... | ||
| [2010/08/17 08:18:15] <axisys> jbooth: good point.. let me double check that bug again | ||
| [2010/08/17 08:18:58] @ asenchi joined channel #puppet | ||
| [2010/08/17 08:18:59] <axisys> jbooth: actually no.. it is $0 | ||
| [2010/08/17 08:19:07] <axisys> it runs as master | ||
| [2010/08/17 08:20:13] <axisys> anyone else here run 2.6+ ? | ||
| [2010/08/17 08:20:34] <axisys> ps -ef | grep master shows only master running by user puppet | ||
| [2010/08/17 08:20:37] <jbooth> I might be if I could dig out from this mountain of semester-about-to-start junk. :-( | ||
| [2010/08/17 08:20:50] <axisys> jbooth: heh | ||
| [2010/08/17 08:21:30] @ Quit: tonyskapunk: Ping timeout: 240 seconds | ||
| [2010/08/17 08:26:10] @ Quit: Deesl: Ping timeout: 246 seconds | ||
| [2010/08/17 08:27:36] @ Quit: alcy: Quit: KVIrc Insomnia 4.0.0, revision: 3900, sources date: 20100125, built on: 2010-02-15 08:27:55 UTC http://www.kvirc.net/ | ||
| [2010/08/17 08:27:45] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/08/17 08:29:01] @ goraxe joined channel #puppet | ||
| [2010/08/17 08:30:59] @ Quit: mrk1207: Quit: Leaving | ||
| [2010/08/17 08:32:20] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 08:34:53] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 08:43:04] @ Quit: swa_work: Read error: Connection reset by peer | ||
| [2010/08/17 08:44:03] @ bodepd joined channel #puppet | ||
| [2010/08/17 08:46:44] @ ohookins left channel #puppet ("Leaving.") | ||
| [2010/08/17 08:50:37] @ emb3dd3d joined channel #puppet | ||
| [2010/08/17 08:51:26] @ themroc is now known as themroc_aw | ||
| [2010/08/17 08:52:40] @ jmccune joined channel #puppet | ||
| [2010/08/17 08:55:47] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 08:56:21] @ swa_work joined channel #puppet | ||
| [2010/08/17 08:58:44] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 09:00:19] @ Quit: goraxe: Ping timeout: 276 seconds | ||
| [2010/08/17 09:01:03] @ Quit: nul0op: Read error: Operation timed out | ||
| [2010/08/17 09:02:43] @ bug joined channel #puppet | ||
| [2010/08/17 09:08:11] @ bitfield joined channel #puppet | ||
| [2010/08/17 09:08:46] @ adrian_broher joined channel #puppet | ||
| [2010/08/17 09:09:13] @ mclarke joined channel #puppet | ||
| [2010/08/17 09:09:15] <dballing> can I use s/// syntax to cut up a variable in a manifest? ie: $shorthostname = $fqdn, and then $shorthostname =~ s/rootdomain// ? | ||
| [2010/08/17 09:09:19] @ mattock left channel #puppet () | ||
| [2010/08/17 09:09:19] <dballing> or what's a better way of doing that? | ||
| [2010/08/17 09:10:44] <bdha> dballing: Use $hostname? | ||
| [2010/08/17 09:10:51] <bdha> dballing: Run facter to see all available facts. | ||
| [2010/08/17 09:11:55] <dballing> bdha: doesn't actually do what I need... we have HOSTNAME.LOCATIONCODE.ourdomain.com as our FQDN | ||
| [2010/08/17 09:12:08] <dballing> what I want is "HOSTNAME.LOCATIONCODE".... $hostname just has "HOSTNAME" | ||
| [2010/08/17 09:12:23] <bdha> dballing: Write a fact that gives you the location. I do this too. | ||
| [2010/08/17 09:12:28] <Volcane> write a fact | ||
| [2010/08/17 09:12:34] <bdha> # facter location | ||
| [2010/08/17 09:12:34] <bdha> quonix | ||
| [2010/08/17 09:12:41] * dballing is a fact-writing virgin | ||
| [2010/08/17 09:12:55] <bdha> It's trivial. | ||
| [2010/08/17 09:13:07] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 09:13:28] <dballing> well, it's trivial if you speak the language the facts are written using. :-) | ||
| [2010/08/17 09:13:35] <bdha> http://dpaste.com/230195/ | ||
| [2010/08/17 09:13:53] <bdha> I don't speak Ruby either. | ||
| [2010/08/17 09:14:34] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/08/17 09:14:37] @ bodepd joined channel #puppet | ||
| [2010/08/17 09:14:45] @ RedPepper is now known as redpepper | ||
| [2010/08/17 09:14:59] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/08/17 09:15:19] @ mattock joined channel #puppet | ||
| [2010/08/17 09:16:28] @ Quit: ahasenack: Ping timeout: 265 seconds | ||
| [2010/08/17 09:16:34] @ Quit: francispereira: Ping timeout: 265 seconds | ||
| [2010/08/17 09:17:32] <dballing> hmm, I'll have to figure out how to massage uname -n to get the parts I want. | ||
| [2010/08/17 09:18:08] <reyjrar> I have an sshkey resources with alias => [ names | ||
| [2010/08/17 09:18:14] <reyjrar> ack | ||
| [2010/08/17 09:18:20] <reyjrar> anyways, 0.25.5 server/clients | ||
| [2010/08/17 09:18:24] <Volcane> fqdn.gsub(/\.domain/, "") | ||
| [2010/08/17 09:18:40] <reyjrar> the aliases are not showing up in /etc/ssh/ssh_known_hosts | ||
| [2010/08/17 09:18:40] <Volcane> in a fact, or in a template or inline_template or something like that | ||
| [2010/08/17 09:19:43] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/08/17 09:20:21] @ Quit: RussS: Remote host closed the connection | ||
| [2010/08/17 09:22:10] @ Quit: pmorillo: Quit: pmorillo | ||
| [2010/08/17 09:22:21] <reyjrar> is there a bug track? | ||
| [2010/08/17 09:22:29] <bdha> dballing: awk -F. '{print $2}' ? :) | ||
| [2010/08/17 09:22:38] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/17 09:22:45] @ ahasenack joined channel #puppet | ||
| [2010/08/17 09:22:51] @ tonyskapunk joined channel #puppet | ||
| [2010/08/17 09:22:52] @ mikey_p joined channel #puppet | ||
| [2010/08/17 09:23:04] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 09:23:14] <reyjrar> nm | ||
| [2010/08/17 09:23:14] @ Quit: robinbowes: Quit: Leaving | ||
| [2010/08/17 09:25:58] @ Quit: Naresh: Ping timeout: 258 seconds | ||
| [2010/08/17 09:26:41] @ RussS joined channel #puppet | ||
| [2010/08/17 09:26:50] <dballing> how do I test my fact? I put it in /var/lib/puppet/facts, and I tried the "cheat" mentioned on the Adding_Facts wiki page, but if I run facter, it doesn't show up | ||
| [2010/08/17 09:27:18] <phips> You're using facter -p? | ||
| [2010/08/17 09:28:00] <dballing> I wasn't, but now I did, but it still doesn't show up in the list | ||
| [2010/08/17 09:28:19] <bdha> Which version of facter? | ||
| [2010/08/17 09:28:29] <bdha> iirc there was a bug about custom facts not being invoked properly on the command line. | ||
| [2010/08/17 09:28:45] <dballing> 1.5.7 | ||
| [2010/08/17 09:29:17] <proprietarysucks> I'm having an issue with my manifest not running as I expect | ||
| [2010/08/17 09:29:26] <bdha> Try env FACTERLIB=/var/lib/puppet/facts facter | ||
| [2010/08/17 09:29:27] @ littleidea joined channel #puppet | ||
| [2010/08/17 09:29:50] <bdha> Or s/env/export/ as the case may be. | ||
| [2010/08/17 09:30:12] <proprietarysucks> http://pastebin.com/LMiCPT5c | ||
| [2010/08/17 09:30:20] <proprietarysucks> I don't see any of nix class being run | ||
| [2010/08/17 09:30:28] <hajile> I've run into an issue where the 'unless' keyword isn't affecting an exec block as it should | ||
| [2010/08/17 09:30:52] <hajile> unless => "test -d /usr/lib/vmware-tools", | ||
| [2010/08/17 09:31:04] <hajile> i'm extracting a tarball unless /usr/lib/vmware-tools exists | ||
| [2010/08/17 09:31:22] @ abien is now known as abien_mob | ||
| [2010/08/17 09:31:22] <hajile> but no matter what, the tarball gets extracted and things flow on as if the directory doesn't exist | ||
| [2010/08/17 09:31:25] <dballing> http://dpaste.com/230208/ | ||
| [2010/08/17 09:32:33] <dballing> I feel like I'm missing something stupid there.... | ||
| [2010/08/17 09:33:29] <zirpu> are facts imported into the namespace? or attributes to some object? | ||
| [2010/08/17 09:33:49] @ abien_mob is now known as abien | ||
| [2010/08/17 09:36:33] @ nexx joined channel #puppet | ||
| [2010/08/17 09:37:31] @ jaredrhine joined channel #puppet | ||
| [2010/08/17 09:38:28] <proprietarysucks> nevermind im a tard | ||
| [2010/08/17 09:38:52] @ spacex joined channel #puppet | ||
| [2010/08/17 09:38:55] <zirpu> what was it? | ||
| [2010/08/17 09:39:17] <Volcane> zirpu: tey are jsut variables | ||
| [2010/08/17 09:39:19] @ Quit: swa_work: Ping timeout: 240 seconds | ||
| [2010/08/17 09:39:45] <dballing> Volcane: any idea what I'm missing in my custom fact that's making it not work? I'm sure if I spoke ruby this would be some sort of glaring error. :-P | ||
| [2010/08/17 09:39:57] <hajile> so are there any cases where using things like 'subscribe' or 'refreshonly' would override the use of 'unless'? | ||
| [2010/08/17 09:40:08] <dballing> (I ask you because I'm using the version you suggested) :) | ||
| [2010/08/17 09:40:38] <hajile> or is there an ordering issue unless needs to be placed in a specific location of the code block? | ||
| [2010/08/17 09:40:41] <Volcane> dballing: mine was a rough suggestion showing almost all you need to know, the rest would be up to you to adapt to where you would use it | ||
| [2010/08/17 09:40:42] @ Quit: gebi: Ping timeout: 248 seconds | ||
| [2010/08/17 09:40:57] @ lak joined channel #puppet | ||
| [2010/08/17 09:41:32] <Volcane> dballing: since how you get fqdn varies between where you use it - in a template, inline_template or a fact | ||
| [2010/08/17 09:41:42] <Volcane> dballing: you probably want Facter.fqdn.gsub.... | ||
| [2010/08/17 09:43:22] <dballing> ah, yep | ||
| [2010/08/17 09:43:37] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 09:44:17] @ daff joined channel #puppet | ||
| [2010/08/17 09:45:42] <benkevan> can I use a single "file" resource to make sure multiple files exist? | ||
| [2010/08/17 09:46:05] @ redpepper is now known as RedPepper | ||
| [2010/08/17 09:46:24] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 09:46:35] <dballing> if I push out a new fact to my puppet clients, do I need to restart puppetd? | ||
| [2010/08/17 09:47:13] <Volcane> dballing: not if you use pluginsync | ||
| [2010/08/17 09:48:59] <hajile> Volcane: did you see the question I posed earlier about situations where 'unless' would be ignored? | ||
| [2010/08/17 09:49:00] @ robinbowes joined channel #puppet | ||
| [2010/08/17 09:49:12] <Volcane> didnt see | ||
| [2010/08/17 09:49:20] <hajile> I've run into an issue where the 'unless' keyword isn't affecting an exec block as it should | ||
| [2010/08/17 09:49:23] @ bodepd joined channel #puppet | ||
| [2010/08/17 09:49:25] <hajile> unless => "test -d /usr/lib/vmware-tools", | ||
| [2010/08/17 09:49:30] <hajile> i'm extracting a tarball unless /usr/lib/vmware-tools exists | ||
| [2010/08/17 09:49:33] <hajile> but no matter what, the tarball gets extracted and things flow on as if the directory doesn't exist | ||
| [2010/08/17 09:49:44] <hajile> I've also tried testing for a file as well | ||
| [2010/08/17 09:49:47] <barn> isn't there creates => ... | ||
| [2010/08/17 09:49:51] <Volcane> you probably want creates => "/blah" | ||
| [2010/08/17 09:50:00] <hajile> I have that defined as well | ||
| [2010/08/17 09:50:31] <hajile> creates => "/var/tmp/vmware-tools-distrib", | ||
| [2010/08/17 09:50:47] <Volcane> well, the way to get help is to show your code - your actual code - the machine you're on about (like maybe a ls and so forth) and output from puppetd --test on pastie.org | ||
| [2010/08/17 09:50:55] <hajile> ok | ||
| [2010/08/17 09:51:00] <Volcane> anything else tend to just waste our times cos we dont see the whole picture | ||
| [2010/08/17 09:51:00] <hajile> 1 sed | ||
| [2010/08/17 09:51:02] <hajile> sec | ||
| [2010/08/17 09:51:11] <hajile> yeah no problem, i'll paste my code up | ||
| [2010/08/17 09:51:54] <hajile> http://pastie.org/1098076 | ||
| [2010/08/17 09:52:03] <hajile> this is the current incantation | ||
| [2010/08/17 09:52:43] <benkevan> http://pastie.org/1098078 < I'm trying to pull down multiple files with a single file resource.. but I'm failing with error 400.. I had also tried name => [ all that stuff etc ] | ||
| [2010/08/17 09:52:49] <Volcane> you no doubt dont want both unless and creates, just use creates | ||
| [2010/08/17 09:52:57] <Volcane> but you're also not showing all the information i requested | ||
| [2010/08/17 09:53:10] <hajile> ok, what else do you need? | ||
| [2010/08/17 09:53:12] <hajile> oh | ||
| [2010/08/17 09:53:13] <hajile> sorry | ||
| [2010/08/17 09:53:15] <hajile> puppetd --test | ||
| [2010/08/17 09:53:18] @ Quit: jaredrhine: Ping timeout: 265 seconds | ||
| [2010/08/17 09:54:22] @ Quit: andrewh: Ping timeout: 246 seconds | ||
| [2010/08/17 09:56:18] <proprietarysucks> I find myself again confused with modules | ||
| [2010/08/17 09:57:39] @ WALoeIII joined channel #puppet | ||
| [2010/08/17 09:58:35] <proprietarysucks> http://pastebin.com/Ykcsg52w | ||
| [2010/08/17 09:58:40] <proprietarysucks> that's my questions\ | ||
| [2010/08/17 09:59:22] <Volcane> dont import things | ||
| [2010/08/17 09:59:28] <Volcane> if you have to import, you did it wrong | ||
| [2010/08/17 09:59:51] <Volcane> modules/whatever/manifests/foo.pp has to be class whatever::foo { } | ||
| [2010/08/17 09:59:55] @ Quit: ahasenack: Remote host closed the connection | ||
| [2010/08/17 10:00:12] <Volcane> modules/whatever/manifests/init.pp should be class whatever { } | ||
| [2010/08/17 10:00:28] <Volcane> then: include whatever, whatever::foo | ||
| [2010/08/17 10:00:33] <Volcane> will just work without any imports | ||
| [2010/08/17 10:01:26] <hajile> Volcane, sorry for the delay.. I'm just doing a bit more debugging before pasting anything else | ||
| [2010/08/17 10:01:26] <dballing> Volcane: pluginsync.... is that saying (from my reading of the docs) that my facts should go in the directory tree of the module that uses them? | ||
| [2010/08/17 10:01:49] <dballing> ie /etc/puppet/modules/somethingorother/lib/facter ? | ||
| [2010/08/17 10:01:49] <Volcane> dballing: it doesnt matter which module, any module wil do | ||
| [2010/08/17 10:02:01] <Volcane> dballing: what version are you on? | ||
| [2010/08/17 10:02:03] <dballing> 0.25.5 | ||
| [2010/08/17 10:02:07] <Volcane> ok | ||
| [2010/08/17 10:02:13] <Volcane> then thats it yes | ||
| [2010/08/17 10:02:47] <dballing> so if I've got a "puppetclient" module, then it makes sense to put it in /etc/puppet/modules/puppetclient, obviously(?) | ||
| [2010/08/17 10:02:55] <dballing> as a sane place to look. :) | ||
| [2010/08/17 10:02:56] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/17 10:02:57] <Volcane> yes | ||
| [2010/08/17 10:03:25] <daff> hi, question about facter: why is it that facter finds "domain" and "fqdn" only when /etc/resolv.conf contains a "domain foo" line? FQDN entries in /etc/hosts seem to be ignored completely | ||
| [2010/08/17 10:03:40] @ ahasenack joined channel #puppet | ||
| [2010/08/17 10:03:55] @ whack joined channel #puppet | ||
| [2010/08/17 10:04:02] <dballing> my fact would go in .../lib/facter ... what goes in .../lib/puppet/provider and .../lib/puppet/type ? anything? | ||
| [2010/08/17 10:04:17] <Volcane> dballing: nothing in this case, those are for other types of plugin | ||
| [2010/08/17 10:04:23] <kjetilho> daff: works for me. which version= | ||
| [2010/08/17 10:04:27] <whack> any of you nuts do masterless puppet? | ||
| [2010/08/17 10:04:32] <proprietarysucks> then what the hell is import for | ||
| [2010/08/17 10:04:34] @ Quit: fluxdude: Quit: KVIrc 4.0.0 Insomnia http://www.kvirc.net/ | ||
| [2010/08/17 10:04:51] <Volcane> proprietarysucks: its old, before the puppetmaster autoimported thigns for you based on this convention | ||
| [2010/08/17 10:04:52] <daff> kjetilho: facter -v says version 1.5.7 | ||
| [2010/08/17 10:04:53] <whack> is there something masterless that is similar to puppet:///modules/... where it'll magically search the right modulepath, etc? | ||
| [2010/08/17 10:04:58] <kjetilho> proprietarysucks: I use it for import "nodes/*.pp" | ||
| [2010/08/17 10:05:00] <dballing> and, so I'm clear, if I've got a fact in that facter directory, AND I have the client configured to reference where to drop custom facts it gets, then it'll just automatically pick them up before trying to process the catalog? | ||
| [2010/08/17 10:05:03] <Volcane> proprietarysucks: now, if you stick to convention, it will just do the imports for you | ||
| [2010/08/17 10:05:13] <daff> plarform is Ubuntu 9.10 server if that matters | ||
| [2010/08/17 10:05:13] <kjetilho> daff: odd. that's my version, too | ||
| [2010/08/17 10:05:20] <Volcane> dballing: enable pluginsync on master and client | ||
| [2010/08/17 10:05:31] <daff> interestingly I can even comment out the domain entry in resolv.conf, facter still uses it | ||
| [2010/08/17 10:05:41] <proprietarysucks> ok so if I'm in a module like /modules/tiger/manifests/init.pp and I want to have that run tacos.pp would that be include tiger::tacos | ||
| [2010/08/17 10:05:43] <daff> only when I delete the line facter doesn't find a domain anymore | ||
| [2010/08/17 10:05:44] <reyjrar> is alias for sshkey broken in 0.25.5 ? | ||
| [2010/08/17 10:06:11] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 10:06:46] <kjetilho> daff: can't reproduce | ||
| [2010/08/17 10:06:46] <dballing> Volcane: factpath is where they'll be DROPPED? or where puppetmaster expects to find them? or both? | ||
| [2010/08/17 10:06:50] @ Quit: p3rror: Ping timeout: 248 seconds | ||
| [2010/08/17 10:06:56] <daff> very odd | ||
| [2010/08/17 10:07:02] <Volcane> dballing: in [main]: factpath = $vardir/lib/facter | ||
| [2010/08/17 10:07:05] <daff> a ruby bug maybe? | ||
| [2010/08/17 10:07:41] <benkevan> proprietarysucks: what's the class within init.pp? | ||
| [2010/08/17 10:07:47] <kjetilho> daff: you might have old facter files lying behind from a previous installation? | ||
| [2010/08/17 10:07:54] <reyjrar> http://pastebin.com/DTjESghW | ||
| [2010/08/17 10:08:04] <proprietarysucks> the class in init.pp would need to be tiger i guess | ||
| [2010/08/17 10:08:12] <benkevan> proprietarysucks: agreed | ||
| [2010/08/17 10:08:44] <Volcane> proprietarysucks: tiger::tacos in modules/tiger/manifests/tacos.pp as class tiger::tacos { ... } | ||
| [2010/08/17 10:08:55] <daff> kjetilho: no the installation (on three servers) is quite fresh and before that no puppet, facter or even ruby was installed | ||
| [2010/08/17 10:09:23] <daff> kjetilho: does your /etc/hostname contain a FQDN? | ||
| [2010/08/17 10:09:32] <hajile> Volcane: here's the ouput from puppetd --test: http://pastie.org/1098109 | ||
| [2010/08/17 10:09:53] <hajile> what I notice is that it didn't actually run the vmware-install.pl script, even though it says it did.. | ||
| [2010/08/17 10:10:51] <hajile> this is what the module looks like now: http://pastie.org/1098113 | ||
| [2010/08/17 10:11:12] <benkevan> hajile: off topic.. would you be willing to share your prod-security module? | ||
| [2010/08/17 10:11:16] <dballing> Volcane: Volcane: I'm sorry to sound dense, but I'm still a little confused, possibly because I'm using the RHEL/COS packages which seem to put things in slightly different places. | ||
| [2010/08/17 10:11:19] <kjetilho> daff: I'm on Fedora | ||
| [2010/08/17 10:11:38] <Volcane> dballing: thats for centos :) | ||
| [2010/08/17 10:11:41] <Volcane> dballing: what i said | ||
| [2010/08/17 10:11:42] <dballing> but just... in my [main] clause, on both master and client, I should put that factpath line in | ||
| [2010/08/17 10:12:05] <dballing> and the client will just know to put it in /var/lib/puppet/facts instead? | ||
| [2010/08/17 10:12:11] <dballing> (even though that's not mentioned anywhere)? | ||
| [2010/08/17 10:12:19] <Volcane> dballing: factpath in main wherever is puppetd, pluginsync = true everywhere | ||
| [2010/08/17 10:12:22] <dballing> or is there some other place on the client it will drop it. | ||
| [2010/08/17 10:12:35] <Volcane> dballing: $vardir/lib/fact *is* mentioning it | ||
| [2010/08/17 10:12:41] <daff> kjetilho: hm interesting | ||
| [2010/08/17 10:12:41] @ Quit: lak: Quit: lak | ||
| [2010/08/17 10:12:57] @ Quit: f3ew: Read error: Connection reset by peer | ||
| [2010/08/17 10:13:03] <benkevan> hajile: weird.. it looks like it should be installed / running.. are you not waiting long enough for the install? or how does the timeout -1 affect its running? | ||
| [2010/08/17 10:13:04] <Volcane> dballing: http://www.pastie.org/1098116 thats my client config | ||
| [2010/08/17 10:13:36] <daff> anyway, according to http://projects.reductivelabs.com/issues/1291 facter should use hostname, dnsdomainname and hostname -f for hostname, DNS domain and FQDN, and all three report correctly when /etc/hosts contains the relevant entries | ||
| [2010/08/17 10:13:46] @ Quit: alban2: Ping timeout: 248 seconds | ||
| [2010/08/17 10:13:46] <daff> no need for /etc/resolv.conf containing a domain entry | ||
| [2010/08/17 10:14:06] <hajile> benkevan: let me take a look and make sure there's nothing site-specific in there | ||
| [2010/08/17 10:14:17] <daff> maybe this is Ubuntu or Ruby specific? wouldn't know how to test that, though | ||
| [2010/08/17 10:14:34] @ Quit: SpacePope: Ping timeout: 265 seconds | ||
| [2010/08/17 10:14:52] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 10:14:55] @ abento joined channel #puppet | ||
| [2010/08/17 10:15:12] @ SpacePope joined channel #puppet | ||
| [2010/08/17 10:15:13] <hajile> benkevan: the problem is that i don't want it to run at all in this case | ||
| [2010/08/17 10:15:26] <hajile> i don't recall why the timeout is that way | ||
| [2010/08/17 10:16:23] @ alcy joined channel #puppet | ||
| [2010/08/17 10:16:53] <Volcane> hajile: puppet isnt a makefile or shell script replacement, sometime the best idea is to write your installer helper in a small shell script and to exec that with an unless/creates clause | ||
| [2010/08/17 10:16:59] <Volcane> hajile: you'll have a lot less trouble then | ||
| [2010/08/17 10:17:44] <hajile> Volcane: agreed.. I've had to do that a couple times. In this case, it just seems pretty simple. If a directory exists, stop processing the module altogether. | ||
| [2010/08/17 10:17:59] <hajile> I'll look into writing a wrapper script to do the install | ||
| [2010/08/17 10:18:15] <Volcane> hajile: puppet does that just fine, you've thusfar failed to show me the information i requested | ||
| [2010/08/17 10:18:46] <hajile> ok, I provided you with the module and the puppetd --test output, what else are you after? | ||
| [2010/08/17 10:18:48] <proprietarysucks> when I change a mount point in a manifest and run it on client, I always get an error | ||
| [2010/08/17 10:19:01] <proprietarysucks> the only way I've found to get it to change the mount is to manually unmount it first | ||
| [2010/08/17 10:19:09] <proprietarysucks> is there a better way to do this? | ||
| [2010/08/17 10:19:35] @ Naresh joined channel #puppet | ||
| [2010/08/17 10:19:55] <proprietarysucks> for example if the client has mount foo:/123 on /foo and now I want bar:/123 on /foo and set the manifest to make this mount | ||
| [2010/08/17 10:19:58] @ p3rror joined channel #puppet | ||
| [2010/08/17 10:20:17] <Volcane> proprietarysucks: think you need to ensure the old one absent/unmount and make a new one - keeping both on the system | ||
| [2010/08/17 10:20:26] <proprietarysucks> without fail I will always get this error: Execution of '/bin/mount -o remount /foo' returned 32: mount.nfs: an incorrect mount option was specified | ||
| [2010/08/17 10:20:57] <Volcane> its sucky, same way changing a user on a cronjob is sucky | ||
| [2010/08/17 10:20:57] <proprietarysucks> how would I do that with puppet? | ||
| [2010/08/17 10:21:14] <proprietarysucks> /etc/cron.d | ||
| [2010/08/17 10:22:14] <dballing> Volcane: ok, I think I have it working, but just so I understand... .ESSENTIALLY .... the server will send a copy of /etc/puppet/modules/*/lib/facter/*.rb to the clients which stash them in /var/lib/puppet/lib/facter ... all as a pre-req to running the catalog. correct? | ||
| [2010/08/17 10:22:27] @ gmason joined channel #puppet | ||
| [2010/08/17 10:22:33] <hajile> Volcane: I'm not trying to be difficult, I just don't understand what else it is that you want | ||
| [2010/08/17 10:22:41] @ Quit: jbooth: Ping timeout: 265 seconds | ||
| [2010/08/17 10:22:45] <Volcane> dballing: before it starts running the catalog it will copy them down, load them into memory, and then run your cat | ||
| [2010/08/17 10:22:52] <Volcane> dballing: and on each run it will compare them for any changes | ||
| [2010/08/17 10:22:58] <dballing> awesome. makes sense now. :-) | ||
| [2010/08/17 10:23:03] <dballing> thanks SO much. | ||
| [2010/08/17 10:23:04] <Volcane> dballing: *before* doing cat run. if you puppetd --test you'll see it do that | ||
| [2010/08/17 10:23:23] <daff> seems I stumpled across http://projects.reductivelabs.com/issues/3909 or a variant thereof. my DNS domain is a non-existent domain without any full stops, i.e. just "foo" | ||
| [2010/08/17 10:23:32] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2010/08/17 10:23:46] <daff> facter doesn't seem to be able to handle that without parsing /etc/resolv.conf to look for a "domain" entry | ||
| [2010/08/17 10:24:31] @ jbooth joined channel #puppet | ||
| [2010/08/17 10:25:01] @ Quit: tgeorgescu: Remote host closed the connection | ||
| [2010/08/17 10:27:15] @ Quit: joe-mac1: Remote host closed the connection | ||
| [2010/08/17 10:27:18] @ f3ew joined channel #puppet | ||
| [2010/08/17 10:27:47] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 10:27:58] <kjetilho> daff: a bit presumptous to define your own TLD? ;-) | ||
| [2010/08/17 10:28:19] @ plathrop-away is now known as plathrop | ||
| [2010/08/17 10:28:21] @ Quit: bitfield: Quit: Leaving. | ||
| [2010/08/17 10:28:25] @ daMaestro joined channel #puppet | ||
| [2010/08/17 10:28:31] <kjetilho> good that you found the issue, though | ||
| [2010/08/17 10:28:50] @ joe-mac1 joined channel #puppet | ||
| [2010/08/17 10:29:14] <daMaestro> So, I've deleted all my ssl certs on the puppet master. To resolve this issue I've deleted all certs on the clients, re-signed the certs on the master but all the clients are now reporting: Tue Aug 17 11:24:51 -0600 2010 Puppet (err): Could not retrieve catalog from remote server: certificate verify failed | ||
| [2010/08/17 10:29:32] <daMaestro> I don't understand what additional steps need to be done? | ||
| [2010/08/17 10:29:37] <hajile> hm | ||
| [2010/08/17 10:29:40] <hajile> awesome | ||
| [2010/08/17 10:29:41] <hajile> ok | ||
| [2010/08/17 10:30:20] <hajile> well, if you decide that you want to tell me what information you require, I would love to get your feedback. | ||
| [2010/08/17 10:30:21] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 10:30:24] <hajile> Thanks for your help! | ||
| [2010/08/17 10:32:02] <daMaestro> All the clients correctly pulled down a new ca.pem .. | ||
| [2010/08/17 10:32:05] @ bgupta left channel #puppet () | ||
| [2010/08/17 10:32:53] <alcy> deMaestro: you should better use puppetca --clean or puppetca --revoke to cleanly remove the client certificates information. | ||
| [2010/08/17 10:33:25] @ Quit: [GuS]: Remote host closed the connection | ||
| [2010/08/17 10:33:35] @ Quit: ckauhaus: Read error: Operation timed out | ||
| [2010/08/17 10:35:35] @ ryep joined channel #puppet | ||
| [2010/08/17 10:35:51] @ Quit: TREllis: Quit: --->train | ||
| [2010/08/17 10:36:32] <justdave> daMaestro: I have a script for exactly that situation | ||
| [2010/08/17 10:36:39] <justdave> hang on, I'll pastebin for you | ||
| [2010/08/17 10:36:43] @ Quit: ahasenack: Ping timeout: 265 seconds | ||
| [2010/08/17 10:37:07] @ andreas__ joined channel #puppet | ||
| [2010/08/17 10:37:57] <justdave> oh, the one thing my script is doing that I didn't see you mention is nuking the entire /var/lib/puppet/ssl folder on the client machine before regenerating the certs | ||
| [2010/08/17 10:41:10] <daMaestro> yup, find /var/lib/puppet/ssl -type f -print0 |xargs -0 rm | ||
| [2010/08/17 10:41:12] @ dmreiland joined channel #puppet | ||
| [2010/08/17 10:41:22] <daMaestro> which was ran on the puppet master, and got me into this mess | ||
| [2010/08/17 10:41:22] <daMaestro> ;-) | ||
| [2010/08/17 10:42:30] @ Quit: jbooth: Read error: Operation timed out | ||
| [2010/08/17 10:42:37] <justdave> http://puppet.pastebin.mozilla.org/770005 <- there's my script in case anyone wants it anyway :) | ||
| [2010/08/17 10:42:38] <bkero> I'm still running into an issue with ssh_authorized_key being run on every puppet run :/ | ||
| [2010/08/17 10:42:55] <bkero> justdave: fancy seeing you here | ||
| [2010/08/17 10:43:08] <Volcane> bkero: we cant help you without seeing your code and run outputs. | ||
| [2010/08/17 10:44:26] @ Quit: andreas__: Ping timeout: 265 seconds | ||
| [2010/08/17 10:45:12] <bkero> Volcane: http://pastebin.osuosl.org/34286 | ||
| [2010/08/17 10:45:22] @ jbooth joined channel #puppet | ||
| [2010/08/17 10:45:39] <dmreiland> hello | ||
| [2010/08/17 10:46:00] <dmreiland> anyone have experience with the "change from absent to file failed: Could not set file on ensure: undefined method `closed?' for nil:NilClass" error? | ||
| [2010/08/17 10:46:52] @ \ask joined channel #puppet | ||
| [2010/08/17 10:47:05] <Volcane> bkero: ssh_authorized_key{"bkero@dm....": and then remove the key name from the key=> text | ||
| [2010/08/17 10:47:07] @ andreas__ joined channel #puppet | ||
| [2010/08/17 10:47:23] <Volcane> bkero: the key => stuff is *just* the key, not hte key name | ||
| [2010/08/17 10:48:08] <daMaestro> justdave, i've basically done just that | ||
| [2010/08/17 10:48:19] <daMaestro> justdave, however.. certificates are still not passing the checks | ||
| [2010/08/17 10:49:47] <bkero> Volcane: changes made, I'll see if that fixes my problem | ||
| [2010/08/17 10:49:48] <daMaestro> justdave, i clear the certs on the client (find /var/lib/puppet/ssl -type f -print0 |xargs -0 rm) ... clear the certs on the master: puppetca -c hostname, restart puppet, sign the certs on the master (puppetca -s hostname) and still get: err: Could not retrieve catalog from remote server: certificate verify failed | ||
| [2010/08/17 10:50:10] <justdave> bkero: confirmed fixed, I just tried it on dev-adm | ||
| [2010/08/17 10:50:31] <justdave> fwiw, I don't think you need the subscribe, either, the docs indicate it has an implicit dependency on the user already | ||
| [2010/08/17 10:51:34] @ jaredrhine joined channel #puppet | ||
| [2010/08/17 10:54:55] @ Deesl joined channel #puppet | ||
| [2010/08/17 10:55:50] @ goraxe joined channel #puppet | ||
| [2010/08/17 10:56:51] <daMaestro> justdave, just did this: master: find /var/lib/puppet/ssl -type f -print0 |xargs -0r rm client: find /var/lib/puppet/ssl -type f -print0 |xargs -0r rm client: service puppet restart server: puppetca -s client ... client: puppetd --test --server server ... ends with: err: Could not retrieve catalog from remote server: certificate verify failed | ||
| [2010/08/17 10:58:10] @ ahasenack joined channel #puppet | ||
| [2010/08/17 10:59:46] @ Quit: andreas__: Read error: Operation timed out | ||
| [2010/08/17 11:00:12] <daMaestro> and, actually after the cert reset on the master, i started the puppetmaster which re-created the CA | ||
| [2010/08/17 11:01:28] @ bgupta joined channel #puppet | ||
| [2010/08/17 11:01:33] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Firefox 3.6.6/20100625231939] | ||
| [2010/08/17 11:02:26] @ toi joined channel #puppet | ||
| [2010/08/17 11:03:34] @ filler joined channel #puppet | ||
| [2010/08/17 11:07:09] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/08/17 11:08:42] @ Quit: emb3dd3d: Ping timeout: 258 seconds | ||
| [2010/08/17 11:11:37] @ emb3dd3d joined channel #puppet | ||
| [2010/08/17 11:12:32] @ ahasenack joined channel #puppet | ||
| [2010/08/17 11:12:52] @ Quit: gmason: Quit: gmason | ||
| [2010/08/17 11:17:28] <daMaestro> justdave, and the issue wassss.... nginx having the old certs | ||
| [2010/08/17 11:23:16] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/08/17 11:24:40] @ Quit: jmccune: Ping timeout: 246 seconds | ||
| [2010/08/17 11:24:58] @ jmccune joined channel #puppet | ||
| [2010/08/17 11:25:07] @ lak joined channel #puppet | ||
| [2010/08/17 11:26:35] @ emb3dd3d left channel #puppet () | ||
| [2010/08/17 11:26:51] @ Quit: daMaestro: Quit: Leaving | ||
| [2010/08/17 11:26:51] <dmreiland> anyone running puppetmaster under nginx+passenger? | ||
| [2010/08/17 11:29:51] @ Quit: beata-: Ping timeout: 240 seconds | ||
| [2010/08/17 11:31:47] @ emb3dd3d joined channel #puppet | ||
| [2010/08/17 11:31:55] @ emb3dd3d left channel #puppet () | ||
| [2010/08/17 11:32:29] @ eidolon joined channel #puppet | ||
| [2010/08/17 11:33:17] @ Quit: tecto: Quit: tecto | ||
| [2010/08/17 11:33:17] @ tecto_ is now known as tecto | ||
| [2010/08/17 11:33:33] <eidolon> hi folks - can i specify that an include in a node definition - not- happen? Example. node foo inherits bar{} - node bar { include resolvconf (plus many other includes) } - but i want 'foo' not to include resolvconf. possible? | ||
| [2010/08/17 11:33:51] @ tecto_ joined channel #puppet | ||
| [2010/08/17 11:34:26] @ beata- joined channel #puppet | ||
| [2010/08/17 11:35:06] @ Quit: _sh3: Ping timeout: 245 seconds | ||
| [2010/08/17 11:37:24] @ _sh3 joined channel #puppet | ||
| [2010/08/17 11:37:44] @ rawler_ joined channel #puppet | ||
| [2010/08/17 11:37:53] @ gmason joined channel #puppet | ||
| [2010/08/17 11:38:20] @ Quit: tecto_: Ping timeout: 255 seconds | ||
| [2010/08/17 11:39:15] <joe-mac1> no | ||
| [2010/08/17 11:39:20] <joe-mac1> you can't 'uninclude' | ||
| [2010/08/17 11:39:29] <joe-mac1> node inheritance sucks anyways | ||
| [2010/08/17 11:39:31] <jmccune> eidolon: Nope, an inherited class inherits... | ||
| [2010/08/17 11:39:36] <joe-mac1> youc an't do anything useful with it | ||
| [2010/08/17 11:39:40] <joe-mac1> and it is confusing to say the least | ||
| [2010/08/17 11:40:20] <eidolon> i was hoping 'exclude' | ||
| [2010/08/17 11:40:38] <eidolon> it's an exception - all these nodes inherit the basenode... cept for this one node, you don't want this particular module. | ||
| [2010/08/17 11:42:30] <eidolon> hmm, can i case the nodename in the module? | ||
| [2010/08/17 11:43:05] <eidolon> class resolvconf { case $hostname { myspecialnode: file { /etc/resolv.conf... }} default: file { /etc/resolv.conf.other }}} | ||
| [2010/08/17 11:43:11] <jmccune> You could, but that's a step toward unmaintainble code in my opinion. | ||
| [2010/08/17 11:43:36] * eidolon is all over unmaintainable code, baybee. | ||
| [2010/08/17 11:43:37] <eidolon> actually | ||
| [2010/08/17 11:43:40] <eidolon> the case rule could be smarter. | ||
| [2010/08/17 11:43:40] <whack> yeah, with $fqdn | ||
| [2010/08/17 11:43:41] <joe-mac1> jmccune is 100% right | ||
| [2010/08/17 11:43:48] <jmccune> eidolon: The exception node could include a class that inherits your resolveconf class and overrides the resources. | ||
| [2010/08/17 11:43:48] <eidolon> yeah i know this is a slippery slope. | ||
| [2010/08/17 11:44:13] <joe-mac1> you shouldn't use node inheritance | ||
| [2010/08/17 11:44:18] <joe-mac1> save yourself the trouble now | ||
| [2010/08/17 11:44:22] <eidolon> heh. | ||
| [2010/08/17 11:44:28] <jmccune> Honestly, I'm with joe-mac1, I avoide node inheritance altogether, create a single class called "dispatcher" or something | ||
| [2010/08/17 11:44:32] <eidolon> well let me boil this down to a pastebin. hang on a sec. | ||
| [2010/08/17 11:44:49] <jmccune> And place all conditional logic for exceptions and "special" nodes in that one place. | ||
| [2010/08/17 11:44:56] <joe-mac1> eidolon: i don't mean to be rude, but if you';re going to show me an example with node inheritance, i already know it is made of fail | ||
| [2010/08/17 11:45:01] <eidolon> hah | ||
| [2010/08/17 11:45:03] <jmccune> So at least you know where the exceptions live if you need to create exceptions. | ||
| [2010/08/17 11:45:06] <eidolon> no, i'm not. | ||
| [2010/08/17 11:45:09] <eidolon> well | ||
| [2010/08/17 11:45:10] <joe-mac1> ok, then shoot! | ||
| [2010/08/17 11:45:41] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/08/17 11:45:47] <eidolon> hm. i might be. if you mean. node 'foo' inherits basenode { include "something" } | ||
| [2010/08/17 11:45:53] <eidolon> if that's bad, then i won't show it to you | ||
| [2010/08/17 11:45:59] @ Quit: beata-: Ping timeout: 260 seconds | ||
| [2010/08/17 11:46:05] <eidolon> all basenode is is a list of includes. | ||
| [2010/08/17 11:46:15] @ Quit: rawler_: Remote host closed the connection | ||
| [2010/08/17 11:47:11] @ beata- joined channel #puppet | ||
| [2010/08/17 11:47:15] <joe-mac1> eidolon: that part that says "node foo inherits basenode' | ||
| [2010/08/17 11:47:18] <joe-mac1> that is bad news | ||
| [2010/08/17 11:47:28] <joe-mac1> you should convert those node templates into class templates | ||
| [2010/08/17 11:47:28] @ BarnacleBob joined channel #puppet | ||
| [2010/08/17 11:47:33] <eidolon> here | ||
| [2010/08/17 11:47:33] <eidolon> http://pastebin.stonekeep.com/11380 | ||
| [2010/08/17 11:47:59] @ rgsteele joined channel #puppet | ||
| [2010/08/17 11:48:01] <eidolon> joe-mac1 shouldn't look at that. :( | ||
| [2010/08/17 11:48:13] * eidolon wiats for the 'AIEEE! MY EYES!" | ||
| [2010/08/17 11:48:30] <joe-mac1> eidolon: line 3 | ||
| [2010/08/17 11:48:31] <joe-mac1> dont' do it | ||
| [2010/08/17 11:48:35] <joe-mac1> change it to a class | ||
| [2010/08/17 11:48:38] <eidolon> why? | ||
| [2010/08/17 11:48:52] <eidolon> i don't have classes in my nodes.pp file | ||
| [2010/08/17 11:49:00] <joe-mac1> http://groups.google.com/group/puppet-users/browse_thread/thread/5704436aea6629d9 | ||
| [2010/08/17 11:49:05] * eidolon clix | ||
| [2010/08/17 11:49:33] <jmccune> eidolon: basenode could be refactored into the dispatcher class I mentioned | ||
| [2010/08/17 11:49:40] * eidolon nods | ||
| [2010/08/17 11:49:48] <eidolon> this may be beyond the scope of what i can tear into right now :( | ||
| [2010/08/17 11:51:06] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/08/17 11:51:49] <eidolon> yah, okay. | ||
| [2010/08/17 11:51:50] <joe-mac1> eidolon: you will end up in the scope of pain if you don't do it now | ||
| [2010/08/17 11:51:51] @ rgsteele joined channel #puppet | ||
| [2010/08/17 11:51:54] <eidolon> yeah, i see it. | ||
| [2010/08/17 11:51:57] <joe-mac1> A WORLD OF PAIN SMOKEY | ||
| [2010/08/17 11:51:59] <eidolon> heh | ||
| [2010/08/17 11:52:01] <joe-mac1> A WORLD, OF PAIN | ||
| [2010/08/17 11:52:19] <eidolon> okay, i'm going to temporarily shut off the resolver recipe, and open a ticke to refactor the nodes.pp file into inherited classes, not nodes | ||
| [2010/08/17 11:52:22] <whack> joe-mac1: <3 | ||
| [2010/08/17 11:52:39] <whack> the dude abides. | ||
| [2010/08/17 11:53:34] @ jab_doa joined channel #puppet | ||
| [2010/08/17 11:54:05] <eidolon> thanks folks. ticket opened. :) | ||
| [2010/08/17 11:55:10] @ Quit: lak: Quit: lak | ||
| [2010/08/17 11:55:26] @ Quit: spacex: Quit: Leaving. | ||
| [2010/08/17 11:56:06] <joe-mac1> eidolon: i don't wanna throw too mcuh atr you, but are you using modules yet? | ||
| [2010/08/17 11:56:17] <eidolon> er... | ||
| [2010/08/17 11:56:22] <joe-mac1> i've been tut'ing my friends on puppet from scratch and having them do modules from the get-go | ||
| [2010/08/17 11:56:24] <eidolon> wouldn't it be impossible not to use modules? | ||
| [2010/08/17 11:56:28] <joe-mac1> saves a lot of re factoring later on | ||
| [2010/08/17 11:56:31] * eidolon head-scratches. | ||
| [2010/08/17 11:56:33] <joe-mac1> no it's very possible | ||
| [2010/08/17 11:56:44] <eidolon> i mean i have /etc/puppet/modules/[abunchofmoduleswe'veimplemented]/ | ||
| [2010/08/17 11:56:46] <whack> you can, it's just cleaner | ||
| [2010/08/17 11:56:57] <eidolon> the 'resolvconf' module I even pastebinned there. | ||
| [2010/08/17 11:57:07] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/17 11:57:27] <eidolon> case in point | ||
| [2010/08/17 11:57:28] <eidolon> http://pastebin.stonekeep.com/11381 | ||
| [2010/08/17 11:57:43] @ BarnacleBob left channel #puppet ("Leaving") | ||
| [2010/08/17 11:57:44] @ jdcasey joined channel #puppet | ||
| [2010/08/17 11:58:13] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 11:58:14] @ xaoslaad joined channel #puppet | ||
| [2010/08/17 11:59:56] <jmccune> eidolon: To accomplish what you want quickly, create a class resolvconf::unmanaged inherits resolvconf and have your "exception" node also include this class. | ||
| [2010/08/17 12:00:08] @ \ask joined channel #puppet | ||
| [2010/08/17 12:00:24] <eidolon> oooooh. | ||
| [2010/08/17 12:00:27] <jmccune> eidolon: Then override the resource in the subclass using File["/etc/resolv.conf"] { source => undef } | ||
| [2010/08/17 12:00:28] <eidolon> overriding the resolvconf class, no? | ||
| [2010/08/17 12:00:33] <eidolon> yah, i get it | ||
| [2010/08/17 12:00:43] <jmccune> You can override specific resource properties | ||
| [2010/08/17 12:01:52] <jmccune> I also recommend this sub class lives in modules/resolvconf/manifests/unmanaged.pp | ||
| [2010/08/17 12:01:55] <geekatcmu_> Yeah, pretty much the *only* thing you want in your node definitions are variables. | ||
| [2010/08/17 12:01:56] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/08/17 12:01:59] <jmccune> Or whatever you want to name it. | ||
| [2010/08/17 12:02:27] <joe-mac1> and once you get to any scale likely you'll be skipping node defs for external ones heh | ||
| [2010/08/17 12:02:36] <eidolon> yeah | ||
| [2010/08/17 12:02:36] <jmccune> eidolon: This will be a lot easier for someone new to puppet to understand as well. | ||
| [2010/08/17 12:02:42] <joe-mac1> i'm still small time like 70 something boxes so i use the node defs still | ||
| [2010/08/17 12:02:44] <jmccune> When they read your code | ||
| [2010/08/17 12:02:48] <eidolon> yeah, i see where you're going. okay, i need to move on from this - but htis is good stuff. | ||
| [2010/08/17 12:04:34] @ Quit: rgsteele: Ping timeout: 246 seconds | ||
| [2010/08/17 12:05:38] @ rgsteele joined channel #puppet | ||
| [2010/08/17 12:06:06] @ spacex joined channel #puppet | ||
| [2010/08/17 12:09:24] @ TREllis joined channel #puppet | ||
| [2010/08/17 12:09:52] @ meltemi is now known as gdb | ||
| [2010/08/17 12:10:11] @ geekatcmu_ is now known as geekatcmu | ||
| [2010/08/17 12:11:43] @ gdb is now known as meltemi | ||
| [2010/08/17 12:12:38] <raz> any channel op around? | ||
| [2010/08/17 12:14:17] @ ZummiG777 joined channel #puppet | ||
| [2010/08/17 12:14:43] <ZummiG777> Question: Is there a way to validate individual pp files for syntax errors? | ||
| [2010/08/17 12:15:09] <Volcane> puppet --parseonly foo.pp | ||
| [2010/08/17 12:16:35] <dmreiland> Question: any way to get puppet+nginx+passenger to see the node name that I am passing rather than domU-foo (running in EC2)? | ||
| [2010/08/17 12:16:57] @ Quit: WALoeIII: Quit: WALoeIII | ||
| [2010/08/17 12:19:46] @ thinkcad joined channel #puppet | ||
| [2010/08/17 12:20:42] @ Quit: mfournier: Read error: Operation timed out | ||
| [2010/08/17 12:21:18] @ thinkcad left channel #puppet () | ||
| [2010/08/17 12:22:10] <hajile> Volcane: so I've ended up changing both blocks over to use 'creates' and I believe it's having the desired effect | ||
| [2010/08/17 12:22:22] <gniks> will notify work on the package resource so that if the package is updated it restarts the service? | ||
| [2010/08/17 12:22:24] <hajile> i should say, only creates | ||
| [2010/08/17 12:22:31] @ |ecapriolo| joined channel #puppet | ||
| [2010/08/17 12:25:56] @ Quit: carlasouza: Remote host closed the connection | ||
| [2010/08/17 12:31:24] @ carlasouza joined channel #puppet | ||
| [2010/08/17 12:32:02] @ lak joined channel #puppet | ||
| [2010/08/17 12:33:55] @ mikey_p joined channel #puppet | ||
| [2010/08/17 12:37:15] @ Quit: mattock: Ping timeout: 258 seconds | ||
| [2010/08/17 12:41:53] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 12:49:33] @ Quit: rmiller4pi8: Quit: Leaving. | ||
| [2010/08/17 12:50:15] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 12:51:30] <proprietarysucks> somethings missing here | ||
| [2010/08/17 12:51:49] <proprietarysucks> in my module's init.pp I have an include but I get could not find class | ||
| [2010/08/17 12:52:02] @ Quit: explody: Remote host closed the connection | ||
| [2010/08/17 12:52:18] <proprietarysucks> mymodule/manifests/init.pp -> class mymodule { blah; do stuff; include my-other-module; } | ||
| [2010/08/17 12:52:50] <proprietarysucks> mymodule/manifests/my-other-module.pp -> class my-other-module { } | ||
| [2010/08/17 12:53:05] <proprietarysucks> is that right? or is it class mmodule::my-other-module {} | ||
| [2010/08/17 12:53:05] <eric0> gniks: yep notify => Service["service-resource-name"] | ||
| [2010/08/17 12:53:10] @ Quit: ZummiG777: Ping timeout: 240 seconds | ||
| [2010/08/17 12:53:12] <kjetilho> proprietarysucks: the latter | ||
| [2010/08/17 12:53:21] <kjetilho> proprietarysucks: btw, I'd avoid hyphens in module names | ||
| [2010/08/17 12:53:43] <kjetilho> they do work, but it makes me itchy :) | ||
| [2010/08/17 12:53:56] <proprietarysucks> I use under scores in reality | ||
| [2010/08/17 12:54:02] <proprietarysucks> but I did confirm they both work | ||
| [2010/08/17 12:55:34] @ ZummiG777 joined channel #puppet | ||
| [2010/08/17 12:55:43] <ZummiG777> Hm./msg NickServ identify hotjava | ||
| [2010/08/17 12:55:58] <proprietarysucks> fail | ||
| [2010/08/17 12:56:04] <ZummiG777> Yup | ||
| [2010/08/17 12:56:07] <ZummiG777> Major fail | ||
| [2010/08/17 12:56:13] <proprietarysucks> also you don't need to cap his name | ||
| [2010/08/17 12:56:18] <proprietarysucks> /msg nickserv is fine | ||
| [2010/08/17 12:56:27] @ Whoopalicious joined channel #puppet | ||
| [2010/08/17 12:56:41] @ Quit: Whoopalicious: Changing host | ||
| [2010/08/17 12:56:41] @ Whoopalicious joined channel #puppet | ||
| [2010/08/17 12:56:44] @ Quit: dmreiland: Quit: dmreiland | ||
| [2010/08/17 12:56:51] <eric0> hotcoffee > hotjava | ||
| [2010/08/17 12:57:48] @ Quit: ZummiG777: Client Quit | ||
| [2010/08/17 12:58:21] @ ZummiG777 joined channel #puppet | ||
| [2010/08/17 12:58:32] <ZummiG777> All better now. At least it wasn't something like a root password. | ||
| [2010/08/17 13:02:04] @ gebi joined channel #puppet | ||
| [2010/08/17 13:02:50] @ Quit: p3rror: Ping timeout: 248 seconds | ||
| [2010/08/17 13:04:04] @ nahamu_ joined channel #puppet | ||
| [2010/08/17 13:04:32] @ Quit: nahamu_: Client Quit | ||
| [2010/08/17 13:05:04] @ nahamu_ joined channel #puppet | ||
| [2010/08/17 13:05:22] @ themroc joined channel #puppet | ||
| [2010/08/17 13:05:47] @ murphy233 joined channel #puppet | ||
| [2010/08/17 13:06:28] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/08/17 13:06:39] @ Quit: ZummiG777: Quit: Leaving | ||
| [2010/08/17 13:07:07] @ WALoeIII joined channel #puppet | ||
| [2010/08/17 13:08:41] @ Quit: kiiNODA: | ||
| [2010/08/17 13:08:45] <murphy233> hi, trying to install puppet on RHEL 5.3. I added the EPEL repo, and did a "yum install puppet". but it's complaining about a missing dependency libselinux-ruby | ||
| [2010/08/17 13:09:21] <murphy233> found a post on the web that I need to add an "optional" repo, but I can't find the repo to add in /etc/yum.repos.d | ||
| [2010/08/17 13:09:38] <Kiloman> 5.3 !? | ||
| [2010/08/17 13:09:56] <murphy233> yep 5.3 | ||
| [2010/08/17 13:10:04] <Kiloman> intentionally downlevel? | ||
| [2010/08/17 13:10:25] <murphy233> it's a system in production | ||
| [2010/08/17 13:10:54] <Naresh> i ended up rebuilding the RPM without that dependency | ||
| [2010/08/17 13:11:05] <Naresh> we don't use selinux anywhere anyway (as of yet) | ||
| [2010/08/17 13:11:09] @ nul0op joined channel #puppet | ||
| [2010/08/17 13:11:17] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 13:12:25] <Kiloman> murphy233: libselinux-ruby is in the base OS | ||
| [2010/08/17 13:12:29] <Kiloman> since 5.4 at least IIRC | ||
| [2010/08/17 13:12:33] <Kiloman> I know it's in 5.4 | ||
| [2010/08/17 13:12:39] <Kiloman> er, I know it's in 5.5 | ||
| [2010/08/17 13:13:00] <Kiloman> you need to update, or at least cherry-pick the ruby package updates | ||
| [2010/08/17 13:13:17] <murphy233> it's not in the base in 5.3 | ||
| [2010/08/17 13:13:26] <murphy233> so guess ill rebuild it from source | ||
| [2010/08/17 13:13:48] @ Quit: ceren: Quit: ceren | ||
| [2010/08/17 13:14:04] <Naresh> it's not in <= 5.3 | ||
| [2010/08/17 13:14:28] <murphy233> excellent, thanks for the info guys | ||
| [2010/08/17 13:15:02] @ Quit: nahamu_: Quit: leaving | ||
| [2010/08/17 13:15:50] @ Quit: nexx: Quit: quit | ||
| [2010/08/17 13:16:01] @ p3rror joined channel #puppet | ||
| [2010/08/17 13:16:30] @ Quit: nahamu: Quit: User disconnected | ||
| [2010/08/17 13:17:14] @ nahamu joined channel #puppet | ||
| [2010/08/17 13:17:41] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/08/17 13:20:40] @ Quit: ewdafa: Ping timeout: 240 seconds | ||
| [2010/08/17 13:21:06] @ nlew joined channel #puppet | ||
| [2010/08/17 13:26:42] @ ceren joined channel #puppet | ||
| [2010/08/17 13:26:50] @ Quit: bug: Ping timeout: 248 seconds | ||
| [2010/08/17 13:27:30] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/17 13:30:17] @ jnewland joined channel #puppet | ||
| [2010/08/17 13:31:16] @ matti joined channel #puppet | ||
| [2010/08/17 13:33:38] @ Quit: saysjonathan: Ping timeout: 264 seconds | ||
| [2010/08/17 13:34:37] @ Quit: themroc: Quit: themroc | ||
| [2010/08/17 13:35:06] @ mawi joined channel #puppet | ||
| [2010/08/17 13:39:21] @ RedPepper is now known as redpepper | ||
| [2010/08/17 13:39:50] @ Quit: Deesl: Remote host closed the connection | ||
| [2010/08/17 13:41:29] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/08/17 13:43:03] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/08/17 13:43:41] @ abento left channel #puppet () | ||
| [2010/08/17 13:44:09] @ sako joined channel #puppet | ||
| [2010/08/17 13:44:56] @ abento joined channel #puppet | ||
| [2010/08/17 13:45:12] @ Quit: eidolon: Quit: Leaving. | ||
| [2010/08/17 13:47:15] @ BarnacleBob joined channel #puppet | ||
| [2010/08/17 13:47:31] <Kaelten> IS there a work around for http://projects.reductivelabs.com/issues/4267 | ||
| [2010/08/17 13:47:45] @ alban2 joined channel #puppet | ||
| [2010/08/17 13:47:56] @ Quit: toi: Ping timeout: 255 seconds | ||
| [2010/08/17 13:48:04] <BarnacleBob> so i went to test upgrading to 2.6.0 but managed to screw that up and managed to upgrade all the puppetmasters to 2.6.0 but now i'm having MASSIVE problems because it looks like the ssl stuff has changed slightly | ||
| [2010/08/17 13:48:08] <Kaelten> other than editing puppet's files | ||
| [2010/08/17 13:48:25] <BarnacleBob> i was using puppet on the 3 masters to ensure that the certs on all of them were the same and had a series of altnames set so that they would all work | ||
| [2010/08/17 13:48:42] <BarnacleBob> but now i'm just getting hostname was not match with the server certificate | ||
| [2010/08/17 13:48:50] <BarnacleBob> what changed in 2.6.0 with regards to ssl certs | ||
| [2010/08/17 13:49:15] <BarnacleBob> this is specifically the local puppet client trying to connect to puppetmaster locally | ||
| [2010/08/17 13:51:27] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/17 13:55:32] <BarnacleBob> bah i figured it out | ||
| [2010/08/17 13:55:45] <BarnacleBob> missed a cert | ||
| [2010/08/17 13:55:56] <BarnacleBob> this ssl infrastructure is needlessly complex | ||
| [2010/08/17 13:56:32] <joe-mac1> it's how ssl auth works with every other app i know off | ||
| [2010/08/17 13:56:33] <joe-mac1> of* | ||
| [2010/08/17 13:56:48] <joe-mac1> ah, the altnames thing | ||
| [2010/08/17 13:56:51] <joe-mac1> i don't even bother | ||
| [2010/08/17 13:57:02] <joe-mac1> i generate one cert and it gets distributed as part of my deployment process | ||
| [2010/08/17 13:57:09] @ jnewland left channel #puppet () | ||
| [2010/08/17 13:59:17] <BarnacleBob> ok it would be fine if it was thoroughly documented somewhere | ||
| [2010/08/17 13:59:21] @ Quit: mawi: Remote host closed the connection | ||
| [2010/08/17 14:00:29] <BarnacleBob> man 2.6.0 really broke everything | ||
| [2010/08/17 14:01:52] @ mfournier joined channel #puppet | ||
| [2010/08/17 14:04:30] @ redpepper is now known as RedPepper | ||
| [2010/08/17 14:07:18] <jamesturnbull> BarnacleBob: broke everything? | ||
| [2010/08/17 14:07:20] <jamesturnbull> BarnacleBob: :) | ||
| [2010/08/17 14:07:27] <jamesturnbull> BarnacleBob: what's the issue? | ||
| [2010/08/17 14:07:31] <BarnacleBob> well i was getting a bunch of duplicate definitions | ||
| [2010/08/17 14:07:37] <BarnacleBob> and now i get a really strange error | ||
| [2010/08/17 14:07:39] <BarnacleBob> let me pastie ie | ||
| [2010/08/17 14:07:40] <BarnacleBob> it | ||
| [2010/08/17 14:08:47] <BarnacleBob> jamesturnbull, http://pastebin.com/94CLyb6w | ||
| [2010/08/17 14:08:54] <jamesturnbull> Kaelten: no work-around - hopefully fixed in 2.6.1 | ||
| [2010/08/17 14:09:46] <BarnacleBob> i'm using a apache/mongrel setup but i can't figure out what that means | ||
| [2010/08/17 14:09:54] <BarnacleBob> Could not find instances in file_metadata with | ||
| [2010/08/17 14:10:05] @ e1mer joined channel #puppet | ||
| [2010/08/17 14:11:08] <BarnacleBob> i think it works when i use webbrick tho | ||
| [2010/08/17 14:11:11] <BarnacleBob> not sure let me try that | ||
| [2010/08/17 14:11:47] <BarnacleBob> oh also puppetqd no longer starts. says it can't autoload Puppet::Rails | ||
| [2010/08/17 14:11:49] <BarnacleBob> :( | ||
| [2010/08/17 14:11:58] <BarnacleBob> oh i think i might know why on that one | ||
| [2010/08/17 14:12:09] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/08/17 14:12:10] <sako> is there something like ensure => 'absent' but not as "strict" I would like it to only check once that it is not there | ||
| [2010/08/17 14:12:28] <kjetilho> once? | ||
| [2010/08/17 14:12:44] <sako> i want to somehow override ensure => 'absent'.. so basically i have crons setup for different nodes | ||
| [2010/08/17 14:13:29] <jamesturnbull> BarnacleBob: I don't get any puppetqd error? | ||
| [2010/08/17 14:13:35] <sako> one of the nodes has ensure => 'absent' and i though if i just include a crontab later with the same cron and ensure => 'present' it should overwrite it? | ||
| [2010/08/17 14:23:43] @ Log started by gepetto | ||
| [2010/08/17 14:23:43] @ Joined channel #puppet | ||
| [2010/08/17 14:23:43] @ Topic is "Puppet Camp SFO 10/7-8 http://bit.ly/ctMDFE | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk" | ||
| [2010/08/17 14:23:43] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Fri Aug 13 14:19:02 -0700 2010 | ||
| [2010/08/17 14:23:47] <BarnacleBob> yeah i'll investigate it more once i work around the failing resources | ||
| [2010/08/17 14:23:47] @ Mode +cnt by bartol.freenode.net | ||
| [2010/08/17 14:24:07] <jamesturnbull> #4555 | ||
| [2010/08/17 14:24:07] <gepetto> jamesturnbull: #4555 is http://projects.puppetlabs.com/issues/show/4555 "Puppet - Bug #4555: Puppet queue daemon is broken - Puppet Labs" | ||
| [2010/08/17 14:24:10] <jamesturnbull> gepetto: wake up | ||
| [2010/08/17 14:24:16] <BarnacleBob> haproxy tcp proxy to the webbricks should hold out till 2.6.1 | ||
| [2010/08/17 14:25:25] <BarnacleBob> back in like an hour have a meeting | ||
| [2010/08/17 14:27:40] @ gonzal joined channel #puppet | ||
| [2010/08/17 14:28:32] @ Quit: gonzal: Client Quit | ||
| [2010/08/17 14:30:18] @ Quit: bug: Quit: bug | ||
| [2010/08/17 14:30:31] @ Quit: ahasenack: Ping timeout: 245 seconds | ||
| [2010/08/17 14:30:36] @ windowsrefund joined channel #puppet | ||
| [2010/08/17 14:31:25] @ \ask joined channel #puppet | ||
| [2010/08/17 14:31:44] <windowsrefund> hello, I'm trying to add to my arrays in order to build an absolute path: http://pastebin.org/569305 | ||
| [2010/08/17 14:36:11] @ bug joined channel #puppet | ||
| [2010/08/17 14:39:45] @ Quit: bug: Client Quit | ||
| [2010/08/17 14:41:53] @ lak joined channel #puppet | ||
| [2010/08/17 14:44:25] @ Quit: MPSimmons: Quit: Leaving. | ||
| [2010/08/17 14:47:14] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 14:48:03] @ braind joined channel #puppet | ||
| [2010/08/17 14:49:59] <jmccune> windowsrefund: can't | ||
| [2010/08/17 14:50:33] <jmccune> windowsrefund: This would be re-declaring the variable, which isn't possible because the puppet DSL is a declarative language. | ||
| [2010/08/17 14:51:04] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/08/17 14:51:31] <jmccune> windowsrefund: You could declare a new array composed of two or more arrays and puppet will flatten them for you. | ||
| [2010/08/17 14:51:33] @ MPSimmons joined channel #puppet | ||
| [2010/08/17 14:51:42] <BarnacleBob> in new versions you can append to arrays | ||
| [2010/08/17 14:51:57] <jmccune> BarnacleBob: Ah, my bad. | ||
| [2010/08/17 14:52:24] <BarnacleBob> windowsrefund, i would recommend checking what version you are running and what version that syntax was added in | ||
| [2010/08/17 14:53:31] <BarnacleBob> windowsrefund, actually that node inheriting stuff wouldn't change that variable. | ||
| [2010/08/17 14:53:40] <BarnacleBob> those changes would be limited to the one node | ||
| [2010/08/17 14:53:56] <BarnacleBob> oh sorry i miss read that | ||
| [2010/08/17 14:54:11] <BarnacleBob> in theory that would work | ||
| [2010/08/17 14:54:35] @ runrig joined channel #puppet | ||
| [2010/08/17 14:55:55] @ Quit: mclarke: Quit: mclarke | ||
| [2010/08/17 14:56:53] @ bug joined channel #puppet | ||
| [2010/08/17 14:57:14] @ Quit: |ecapriolo|: Ping timeout: 255 seconds | ||
| [2010/08/17 14:57:39] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/17 14:58:00] @ fredden joined channel #puppet | ||
| [2010/08/17 14:58:44] @ jhaddad joined channel #puppet | ||
| [2010/08/17 15:00:00] <jmccune> BarnacleBob: In 2.6.1 you cannot append to a variable. | ||
| [2010/08/17 15:00:21] @ mclarke joined channel #puppet | ||
| [2010/08/17 15:00:27] <jmccune> BarnacleBob: I've never seen that feature. Are you sure you can append to arrays? | ||
| [2010/08/17 15:00:47] <Volcane> its documented in language tut afaik | ||
| [2010/08/17 15:01:02] <Volcane> never got usable results from it though | ||
| [2010/08/17 15:01:04] <jmccune> BarnacleBob: You can use the +> operator to append to an array in a subclass, but not in the same scope. | ||
| [2010/08/17 15:01:20] <jmccune> Hrm, that doesn't surprise me. I'll look for an issue filed. | ||
| [2010/08/17 15:01:28] <jmccune> Volcane: Thanks for the tip | ||
| [2010/08/17 15:01:44] <Volcane> ah same scope, no i dont think that was supposed to work | ||
| [2010/08/17 15:02:09] @ Quit: MPSimmons: Quit: Leaving. | ||
| [2010/08/17 15:02:52] <jmccune> Volcane: windowsrefund is trying it in a child scope though... Hrm. | ||
| [2010/08/17 15:04:18] @ bodepd joined channel #puppet | ||
| [2010/08/17 15:04:39] <Volcane> yeah its pretty broken i think | ||
| [2010/08/17 15:04:40] @ Quit: mapu_: Ping timeout: 240 seconds | ||
| [2010/08/17 15:04:51] <Volcane> http://pastie.org/1098706 | ||
| [2010/08/17 15:04:53] <jmccune> Volcane: Appears to be doing string concatenation | ||
| [2010/08/17 15:05:18] <Volcane> but, if i move the print into one of the classes the array has ["default", "two"] | ||
| [2010/08/17 15:05:32] @ Quit: spacex: Ping timeout: 265 seconds | ||
| [2010/08/17 15:05:35] <Volcane> or ["default", "one"] | ||
| [2010/08/17 15:05:39] <Volcane> but never all 3 members | ||
| [2010/08/17 15:06:02] <Volcane> which I'd have thought is the result | ||
| [2010/08/17 15:06:16] <jmccune> Volcane: Hrm, I think the notice() function is tripping you up | ||
| [2010/08/17 15:06:23] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/17 15:06:27] <jmccune> Volcane: Try a notify { } resource | ||
| [2010/08/17 15:06:50] <Volcane> if it is then thats a bug too :P | ||
| [2010/08/17 15:07:28] <Volcane> same result | ||
| [2010/08/17 15:07:31] <jmccune> http://pastie.org/1098713 | ||
| [2010/08/17 15:07:35] <jmccune> I'm using master | ||
| [2010/08/17 15:08:21] <Volcane> yes, but your case works for me too | ||
| [2010/08/17 15:08:23] <Volcane> mines more complex | ||
| [2010/08/17 15:09:34] <jmccune> Hrm | ||
| [2010/08/17 15:09:44] <jmccune> So, you get the results I expect | ||
| [2010/08/17 15:09:53] <jmccune> $foo in the scope of node default | ||
| [2010/08/17 15:10:00] <Volcane> the array concat is just confined to the scope its concat'ing in | ||
| [2010/08/17 15:10:01] <jmccune> is ["default"] | ||
| [2010/08/17 15:10:08] <Volcane> doesnt actually modify the array globally | ||
| [2010/08/17 15:10:14] @ spacex joined channel #puppet | ||
| [2010/08/17 15:10:20] <jmccune> No, and I wouldn't expect it to. | ||
| [2010/08/17 15:10:29] <Volcane> then i dont see hte point of it :) | ||
| [2010/08/17 15:10:34] <jmccune> Well *I* wouldn't expect it to, but I see how any sane person would. =) | ||
| [2010/08/17 15:10:35] @ Quit: TREllis: Quit: sleep | ||
| [2010/08/17 15:10:37] @ Quit: spacex: Client Quit | ||
| [2010/08/17 15:10:56] <Volcane> its like being able to append to require only once | ||
| [2010/08/17 15:10:59] <Volcane> no point | ||
| [2010/08/17 15:11:13] @ Quit: lak: Quit: lak | ||
| [2010/08/17 15:11:15] <jmccune> Right | ||
| [2010/08/17 15:11:34] @ Quit: notbrien: Quit: notbrien | ||
| [2010/08/17 15:11:46] <BarnacleBob> jmccune, when i had to do that i did the lame var1=/foo var2="$var1/bar" | ||
| [2010/08/17 15:11:46] <BarnacleBob> etc | ||
| [2010/08/17 15:12:04] <jmccune> Wheter or not it's a useful feature or not is, unfortunately, a separate topic... | ||
| [2010/08/17 15:12:31] @ spacex joined channel #puppet | ||
| [2010/08/17 15:12:38] <Volcane> jmccune: well, at the very least the docs should make the behavior clear so people know what level of insanity to expect :) | ||
| [2010/08/17 15:12:38] <jmccune> I'll have to go dig up the ticket # to figure out the original use case. | ||
| [2010/08/17 15:12:41] <jmccune> If there is one. | ||
| [2010/08/17 15:12:57] <jmccune> Volcane: Absolutely, I'm noting this now for the documentation | ||
| [2010/08/17 15:13:04] <Volcane> sweet | ||
| [2010/08/17 15:13:18] <jmccune> Volcane: Essentially, you're copying the variable and appending to the copy in your own scope. | ||
| [2010/08/17 15:13:24] <Volcane> yeah | ||
| [2010/08/17 15:13:45] <geekatcmu> Can we use Ruby in the manifests to work round the appending insanity? | ||
| [2010/08/17 15:13:48] <jmccune> windowsrefund: This all make sense to you? | ||
| [2010/08/17 15:13:59] <jmccune> geekatcmu: Unfortunately, yes. | ||
| [2010/08/17 15:14:06] <geekatcmu> Yes! | ||
| [2010/08/17 15:14:13] <Kiloman> oh dear lord | ||
| [2010/08/17 15:14:16] <jmccune> geekatcmu: But I don't recommend it. | ||
| [2010/08/17 15:14:19] <jmccune> At all. | ||
| [2010/08/17 15:14:22] <Volcane> jmccune: i think its getting harder in 2.6.x since you now return clones whenever someone does a lookupvar | ||
| [2010/08/17 15:14:23] <geekatcmu> That's not unfortunate for those of us who need to actually Get Stuff Done. | ||
| [2010/08/17 15:14:29] <Kiloman> I was tempted to try editing the scope in an ERB but I figured that way lies insanity | ||
| [2010/08/17 15:14:29] <Volcane> jmccune: still some path around though | ||
| [2010/08/17 15:14:49] <jmccune> Kiloman: Indeed | ||
| [2010/08/17 15:15:15] <jmccune> Volcane: I'm starting to play with the ruby DSL as well | ||
| [2010/08/17 15:15:23] <jmccune> Hopefully it helps with this sort of thing | ||
| [2010/08/17 15:15:29] * Volcane 's yet to get going with 2.6 :( | ||
| [2010/08/17 15:15:35] <jmccune> brb | ||
| [2010/08/17 15:15:36] <Volcane> now waiting for classes.txt to start working again | ||
| [2010/08/17 15:15:38] <geekatcmu> Same here. | ||
| [2010/08/17 15:15:48] <whack> Volcane: I had to roll back to 0.25.5 | ||
| [2010/08/17 15:16:00] <geekatcmu> I saw all the problems people were having with 2.6.0 and decided to wait for 2.6.1 before I stuck my neck out. | ||
| [2010/08/17 15:16:12] <whack> .0 releases are supposed to be funky anyway | ||
| [2010/08/17 15:16:17] <geekatcmu> Yep. | ||
| [2010/08/17 15:16:27] <Naresh> must put up a banner of that at my place | ||
| [2010/08/17 15:16:33] <Volcane> yeah, I've been able to at least make the older .0 releases work for me | ||
| [2010/08/17 15:16:39] <Volcane> this one was a no go thus far | ||
| [2010/08/17 15:17:40] <BarnacleBob> really shouldn't be called latest stable on the website | ||
| [2010/08/17 15:17:43] <BarnacleBob> with all these issues | ||
| [2010/08/17 15:18:38] <geekatcmu> It would also be a little convenient if all the 0.25 docs didn't kind of vanish when 2.6.0 was released. | ||
| [2010/08/17 15:18:55] <geekatcmu> Yes, I know it was really just all the .25 docs updated to be 2.6 compatible. But still. | ||
| [2010/08/17 15:19:12] <Volcane> geekatcmu: you can make your own, i have some up at http://nephilim.ml.org/~rip/puppet/historical/ | ||
| [2010/08/17 15:19:24] <geekatcmu> I'm used to software projects (e.g. Python) where I can easily pull up the specific docs for what I'm using. | ||
| [2010/08/17 15:19:24] <Volcane> geekatcmu: but i think all the docs is on the puppetlabs site now for older versions | ||
| [2010/08/17 15:19:30] <geekatcmu> Cool | ||
| [2010/08/17 15:19:49] <geekatcmu> I know there are references available for each version (and that's been great!) | ||
| [2010/08/17 15:19:56] <Volcane> the 'quick nav' thing at the top lets you go back in time | ||
| [2010/08/17 15:19:59] @ swa_work joined channel #puppet | ||
| [2010/08/17 15:20:08] <Volcane> sadly the langauge tutorial isnt tied this way | ||
| [2010/08/17 15:20:13] @ Quit: gmason: Quit: gmason | ||
| [2010/08/17 15:20:28] <geekatcmu> Right. | ||
| [2010/08/17 15:21:26] <jamesturnbull> Volcane: easy enough to submit patches... | ||
| [2010/08/17 15:21:57] <Volcane> doubt we can easily go back in time with the language tut though? | ||
| [2010/08/17 15:22:03] <jamesturnbull> Volcane: I have a language feature by version table planned but it's low on the todo list | ||
| [2010/08/17 15:22:28] <Volcane> it used to just be big old trac doc? | ||
| [2010/08/17 15:22:41] <jamesturnbull> which did? | ||
| [2010/08/17 15:22:46] <Volcane> language tutorial | ||
| [2010/08/17 15:24:02] <jamesturnbull> Volcane: it was the old trac doc yeah | ||
| [2010/08/17 15:24:09] <jamesturnbull> Volcane: but much updated since then | ||
| [2010/08/17 15:25:14] <Volcane> anyway, i dont mind how it is now personally esp after the indexes have become readable | ||
| [2010/08/17 15:25:34] <Volcane> stopped using my own copy. only go for it when i forgot you now have old docs up :P | ||
| [2010/08/17 15:26:48] <jamesturnbull> sadly contributions are largely me which is annoying - both on the docs and the wiki | ||
| [2010/08/17 15:27:12] <jamesturnbull> and since the Puppet Labs cloning lab isn't finished yet... :P | ||
| [2010/08/17 15:27:23] <Volcane> yeah, sad reality of opensource, its mostly paid for | ||
| [2010/08/17 15:27:40] <Volcane> the whole team of free coders myth is mostly just that :) | ||
| [2010/08/17 15:27:45] <jamesturnbull> yeah | ||
| [2010/08/17 15:28:08] <jamesturnbull> I don't mind the coders part ... I just wish we had a few more documenters :) | ||
| [2010/08/17 15:28:33] <Volcane> nods, its a pita. | ||
| [2010/08/17 15:28:34] <whack> mmm clones | ||
| [2010/08/17 15:28:46] @ Quit: xaoslaad: Quit: Leaving | ||
| [2010/08/17 15:29:04] <whack> jamesturnbull: puppetcamp could be a good time to do a docfest. | ||
| [2010/08/17 15:29:21] <jamesturnbull> whack: sure ... happy to facilitate | ||
| [2010/08/17 15:29:56] <Volcane> now that its markdown I'm much happier to write docs, but now i have my own docs to write and no contributers :( | ||
| [2010/08/17 15:30:11] <whack> Volcane: sign up for puppet labs cloning lab beta. | ||
| [2010/08/17 15:30:25] <Volcane> heh | ||
| [2010/08/17 15:30:46] <jmccune> Mail a hair folical to 222 NW Davis St, Portland, OR | ||
| [2010/08/17 15:31:01] @ RedPepper is now known as redpepper | ||
| [2010/08/17 15:31:21] <Volcane> heh | ||
| [2010/08/17 15:32:09] <Volcane> meh, heisenbugs | ||
| [2010/08/17 15:32:26] <Volcane> spent all day making better monitoring about why ~50 webservers all stop working at the same time | ||
| [2010/08/17 15:32:29] <Volcane> now they keep working | ||
| [2010/08/17 15:34:34] <ed209> does any one use puppet on windows or have a suggestion on how I can manage a couple files on 25 windows machines that are not in a domain and not in the same datacenter? | ||
| [2010/08/17 15:34:40] @ Quit: bobbyz_: Ping timeout: 240 seconds | ||
| [2010/08/17 15:37:08] <darkfade1> ed209: our windows guys use some kind of staging, but i think it's very unelegant / not practical | ||
| [2010/08/17 15:40:52] @ Quit: runrig: Quit: Leaving | ||
| [2010/08/17 15:41:50] <proprietarysucks> powershell | ||
| [2010/08/17 15:41:55] <proprietarysucks> visualbasic | ||
| [2010/08/17 15:41:59] <proprietarysucks> batch files | ||
| [2010/08/17 15:42:16] <proprietarysucks> about a million other tools can be used for this | ||
| [2010/08/17 15:42:18] <proprietarysucks> robocopy | ||
| [2010/08/17 15:42:20] <proprietarysucks> xcopy | ||
| [2010/08/17 15:42:22] <proprietarysucks> python | ||
| [2010/08/17 15:42:24] <proprietarysucks> etc, etc | ||
| [2010/08/17 15:43:42] <jamesturnbull> ed209: you can do this with Puppet now - that's the only thing you can do on Windows currently but it's very beta | ||
| [2010/08/17 15:44:39] @ Quit: bug: Quit: bug | ||
| [2010/08/17 15:47:31] @ gniks joined channel #puppet | ||
| [2010/08/17 15:47:37] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/08/17 15:48:59] <whack> powershell++ | ||
| [2010/08/17 15:50:42] <justdave> I'm looking at the module stuff in the puppet docs... it says I can "include foo" and it will try to load init.pp in a module named foo... does that mean if I return "foo" on the class list from my external classifier that it will also attempt the same? | ||
| [2010/08/17 15:51:57] <Volcane> justdave: yes | ||
| [2010/08/17 15:52:16] <windowsrefund> hi, I'm back | ||
| [2010/08/17 15:53:18] <BarnacleBob> 2.6.0 is just a bucket-o-fail | ||
| [2010/08/17 15:53:24] <BarnacleBob> i'm getting a bunch of this | ||
| [2010/08/17 15:53:25] <BarnacleBob> Shared::Syslog-ng::Destination[firewall] is already defined in file /etc/puppet/modules/shared/manifests/classes/syslog-ng.pp at line 20; cannot redefine at /etc/puppet/modules/shared/manifests/classes/syslog-ng.pp:21 | ||
| [2010/08/17 15:53:35] @ pting joined channel #puppet | ||
| [2010/08/17 15:53:39] <BarnacleBob> its clearly not redefined on the next line | ||
| [2010/08/17 15:53:41] <lisa> so dont redefine it, jees | ||
| [2010/08/17 15:54:25] <BarnacleBob> heh | ||
| [2010/08/17 15:54:27] <BarnacleBob> its not redefined | ||
| [2010/08/17 15:54:46] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/17 15:55:10] @ rodnet joined channel #puppet | ||
| [2010/08/17 15:55:33] <BarnacleBob> i guess its time to try another rollback | ||
| [2010/08/17 15:55:37] <BarnacleBob> the last one didn't go so well tho | ||
| [2010/08/17 15:56:22] <justdave> Volcane: cool, that'll be quite useful then | ||
| [2010/08/17 15:57:21] @ lak joined channel #puppet | ||
| [2010/08/17 15:58:19] @ bug joined channel #puppet | ||
| [2010/08/17 15:58:41] @ Quit: alban2: Read error: Connection reset by peer | ||
| [2010/08/17 15:59:11] @ Quit: jameswhite: Remote host closed the connection | ||
| [2010/08/17 16:00:05] @ alban2 joined channel #puppet | ||
| [2010/08/17 16:01:02] @ squirrel_labs joined channel #puppet | ||
| [2010/08/17 16:04:03] @ mapu_ joined channel #puppet | ||
| [2010/08/17 16:04:05] <ReinH> lisa: oh hi | ||
| [2010/08/17 16:04:20] <justdave> says files in a module are available under "modules/<modulename>/" ... do I need a definition for that in fileserver.conf or is that automatic? | ||
| [2010/08/17 16:04:42] <jamesturnbull> justdave: automagic | ||
| [2010/08/17 16:05:16] <justdave> how's it get the ACLs for it? borrow from [plugins] or something? | ||
| [2010/08/17 16:05:21] <lisa> ReinH: hey mate | ||
| [2010/08/17 16:05:46] <ReinH> jamesturnbull: (TM) | ||
| [2010/08/17 16:06:14] <whack> automagic module pathing++ | ||
| [2010/08/17 16:06:22] @ Quit: Whoopalicious: Quit: WeeChat 0.3.2 | ||
| [2010/08/17 16:06:30] @ Whoopalicious joined channel #puppet | ||
| [2010/08/17 16:06:33] <Volcane> justdave: [modules] as before, just dont put a path | ||
| [2010/08/17 16:07:10] <justdave> cool, easy enough :) | ||
| [2010/08/17 16:10:34] @ Quit: windowsrefund: Quit: leaving | ||
| [2010/08/17 16:10:41] @ Quit: mapu_: Ping timeout: 265 seconds | ||
| [2010/08/17 16:11:56] @ mapu_ joined channel #puppet | ||
| [2010/08/17 16:16:04] @ Quit: bug: Quit: bug | ||
| [2010/08/17 16:16:14] @ Quit: Whoopalicious: Quit: WeeChat 0.3.2 | ||
| [2010/08/17 16:19:45] @ Whoopalicious joined channel #puppet | ||
| [2010/08/17 16:21:28] @ Quit: spacex: Quit: Leaving. | ||
| [2010/08/17 16:22:11] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 16:23:21] @ Quit: benkevan: Quit: leaving | ||
| [2010/08/17 16:29:15] @ Quit: Whoopalicious: Quit: Whoopalicious | ||
| [2010/08/17 16:29:17] @ bodepd joined channel #puppet | ||
| [2010/08/17 16:30:07] @ Quit: Whoop: Quit: Adiós | ||
| [2010/08/17 16:30:24] @ Whoop joined channel #puppet | ||
| [2010/08/17 16:37:35] @ Quit: rmiller4pi8: Ping timeout: 255 seconds | ||
| [2010/08/17 16:37:46] @ rmiller4pi81 joined channel #puppet | ||
| [2010/08/17 16:38:43] @ Quit: Roksteady: Ping timeout: 265 seconds | ||
| [2010/08/17 16:46:16] @ Quit: jmccune: Ping timeout: 276 seconds | ||
| [2010/08/17 16:46:50] @ Quit: p3rror: Ping timeout: 248 seconds | ||
| [2010/08/17 16:47:59] @ davea1 joined channel #puppet | ||
| [2010/08/17 16:50:54] @ Quit: mfournier: Read error: Operation timed out | ||
| [2010/08/17 16:59:57] @ p3rror joined channel #puppet | ||
| [2010/08/17 17:00:56] @ greg__ joined channel #puppet | ||
| [2010/08/17 17:01:54] @ ezmobius joined channel #puppet | ||
| [2010/08/17 17:06:41] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 17:23:25] @ Quit: sako: Ping timeout: 246 seconds | ||
| [2010/08/17 17:24:55] @ bodepd joined channel #puppet | ||
| [2010/08/17 17:25:40] @ Quit: rodnet: Quit: rodnet | ||
| [2010/08/17 17:28:20] @ genericpenguin joined channel #puppet | ||
| [2010/08/17 17:28:48] @ Quit: lak: Quit: lak | ||
| [2010/08/17 17:29:06] @ Quit: genericpenguin: Client Quit | ||
| [2010/08/17 17:30:23] @ greg___ joined channel #puppet | ||
| [2010/08/17 17:31:39] @ Quit: RussS: Quit: Leaving | ||
| [2010/08/17 17:32:10] @ Quit: bogusano: Ping timeout: 248 seconds | ||
| [2010/08/17 17:32:41] @ bogusano joined channel #puppet | ||
| [2010/08/17 17:32:52] @ Quit: greg__: Ping timeout: 246 seconds | ||
| [2010/08/17 17:34:55] @ Quit: greg___: Ping timeout: 252 seconds | ||
| [2010/08/17 17:43:56] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 17:51:03] @ Quit: Naresh: Ping timeout: 240 seconds | ||
| [2010/08/17 17:52:32] @ Quit: BarnacleBob: Quit: Leaving | ||
| [2010/08/17 17:52:59] @ bodepd joined channel #puppet | ||
| [2010/08/17 17:55:16] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/08/17 17:59:24] @ ahasenack joined channel #puppet | ||
| [2010/08/17 17:59:27] @ Quit: braind: Quit: braind | ||
| [2010/08/17 18:00:52] @ Quit: ]oestewart: Ping timeout: 246 seconds | ||
| [2010/08/17 18:01:00] @ Quit: ezmobius: Remote host closed the connection | ||
| [2010/08/17 18:01:26] @ ghaskins_mobile joined channel #puppet | ||
| [2010/08/17 18:01:56] @ Quit: ryep: Quit: ryep | ||
| [2010/08/17 18:05:31] @ Quit: swa_work: Quit: Leaving | ||
| [2010/08/17 18:07:37] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/08/17 18:11:04] <justdave> in the fileserver.conf documentation it shows an example of a private files repo for each host using | ||
| [2010/08/17 18:11:07] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/08/17 18:11:07] <justdave> path /data/private/%h | ||
| [2010/08/17 18:11:30] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 18:11:50] <justdave> we make use of that right now for host-specific files... is there a similar concept for searching for a path within modules that automatically adds that %h in there? | ||
| [2010/08/17 18:12:58] <justdave> like I could say "modules/{modulename}/private/filename" and it would automatically look for "modules/{modulename}/private/%h/filename" ? | ||
| [2010/08/17 18:13:28] @ Quit: ghaskins_mobile: Quit: This computer has gone to sleep | ||
| [2010/08/17 18:14:08] <justdave> guess with the modern tools it's not quite as necessary as it used to be, I can always just generate the source => path with $hostname as part of the path it requests | ||
| [2010/08/17 18:16:55] @ Quit: rmiller4pi81: Read error: Connection reset by peer | ||
| [2010/08/17 18:17:01] @ bodepd joined channel #puppet | ||
| [2010/08/17 18:18:12] @ Quit: nlew: Quit: Page closed | ||
| [2010/08/17 18:18:34] @ Quit: Reepicheep: Quit: Ex-Chat | ||
| [2010/08/17 18:18:46] @ Quit: WALoeIII: Quit: WALoeIII | ||
| [2010/08/17 18:21:05] @ Quit: bodepd: Client Quit | ||
| [2010/08/17 18:22:43] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 18:23:48] @ bodepd joined channel #puppet | ||
| [2010/08/17 18:24:25] @ plathrop is now known as plathrop-away | ||
| [2010/08/17 18:31:58] @ Quit: \ask: Remote host closed the connection | ||
| [2010/08/17 18:37:01] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 18:38:58] @ bug joined channel #puppet | ||
| [2010/08/17 18:41:37] @ greg__ joined channel #puppet | ||
| [2010/08/17 18:42:38] @ nakano is now known as nakano_ | ||
| [2010/08/17 18:43:13] @ nakano_ is now known as nakano | ||
| [2010/08/17 18:45:10] @ simplechat joined channel #puppet | ||
| [2010/08/17 18:45:12] <simplechat> Hey | ||
| [2010/08/17 18:45:31] @ Quit: mapu_: Ping timeout: 245 seconds | ||
| [2010/08/17 18:45:38] <simplechat> is there any way to make puppet not explode when dealing with bad file mounts? | ||
| [2010/08/17 18:47:00] @ bodepd joined channel #puppet | ||
| [2010/08/17 18:53:14] @ Quit: gebi: Ping timeout: 248 seconds | ||
| [2010/08/17 18:53:57] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 18:57:06] @ WALoeIII joined channel #puppet | ||
| [2010/08/17 19:00:55] @ Quit: rmiller4pi8: Ping timeout: 260 seconds | ||
| [2010/08/17 19:01:07] @ Quit: bug: Quit: bug | ||
| [2010/08/17 19:07:08] @ ghaskins_mobile joined channel #puppet | ||
| [2010/08/17 19:10:52] @ Quit: ghaskins_mobile: Client Quit | ||
| [2010/08/17 19:11:55] @ bug joined channel #puppet | ||
| [2010/08/17 19:15:04] @ Quit: e1mer: Quit: captured by martians | ||
| [2010/08/17 19:16:34] @ jaredrhine joined channel #puppet | ||
| [2010/08/17 19:18:28] @ ]oestewart joined channel #puppet | ||
| [2010/08/17 19:27:39] @ Quit: abento: Quit: Leaving. | ||
| [2010/08/17 19:27:53] @ abento joined channel #puppet | ||
| [2010/08/17 19:28:26] @ Quit: goraxe: Ping timeout: 248 seconds | ||
| [2010/08/17 19:31:44] <jamesturnbull> simplechat: don't use bad file mounts? :) | ||
| [2010/08/17 19:31:49] <jamesturnbull> simplechat: what's the issue? | ||
| [2010/08/17 19:32:40] @ Quit: abento: Ping timeout: 276 seconds | ||
| [2010/08/17 19:33:02] <simplechat> jamesturnbull, i'm using puppet to manage a dsan | ||
| [2010/08/17 19:33:21] <simplechat> when the dsan goes down a bunch of mountpoints don't come up | ||
| [2010/08/17 19:35:12] @ ewdafa joined channel #puppet | ||
| [2010/08/17 19:35:15] @ Quit: greg__: Quit: greg__ | ||
| [2010/08/17 19:35:41] <simplechat> so when puppet tries to deal with them, it hardlocks | ||
| [2010/08/17 19:36:14] @ Maliuta joined channel #puppet | ||
| [2010/08/17 19:36:42] @ greg__ joined channel #puppet | ||
| [2010/08/17 19:37:50] @ Quit: greg__: Client Quit | ||
| [2010/08/17 19:38:09] @ Quit: WALoeIII: Quit: WALoeIII | ||
| [2010/08/17 19:40:13] @ ezmobius joined channel #puppet | ||
| [2010/08/17 19:41:37] @ goraxe joined channel #puppet | ||
| [2010/08/17 19:41:46] @ alexine_dsouza joined channel #puppet | ||
| [2010/08/17 19:45:47] @ Quit: pting: Quit: Ex-Chat | ||
| [2010/08/17 19:49:08] @ e1mer joined channel #puppet | ||
| [2010/08/17 19:49:26] @ bgupta_ joined channel #puppet | ||
| [2010/08/17 19:49:45] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/17 19:49:46] @ Quit: bgupta: Ping timeout: 248 seconds | ||
| [2010/08/17 19:53:47] @ Quit: e1mer: Client Quit | ||
| [2010/08/17 19:55:47] @ gniks joined channel #puppet | ||
| [2010/08/17 19:55:54] @ docelic_ joined channel #puppet | ||
| [2010/08/17 19:58:50] @ Quit: docelic: Ping timeout: 264 seconds | ||
| [2010/08/17 20:00:15] @ Quit: dbruce: Ping timeout: 240 seconds | ||
| [2010/08/17 20:00:17] @ dbruce joined channel #puppet | ||
| [2010/08/17 20:01:48] @ Quit: ezmobius: Remote host closed the connection | ||
| [2010/08/17 20:02:50] @ Quit: simplechat: Quit: Leaving | ||
| [2010/08/17 20:13:26] @ Quit: _sh3: Ping timeout: 245 seconds | ||
| [2010/08/17 20:17:40] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/08/17 20:19:55] @ Quit: Demosthenes: Ping timeout: 252 seconds | ||
| [2010/08/17 20:21:00] @ e1mer joined channel #puppet | ||
| [2010/08/17 20:23:59] @ bodepd joined channel #puppet | ||
| [2010/08/17 20:25:09] <fenris02> autofs? | ||
| [2010/08/17 20:25:13] @ Djelibeybi joined channel #puppet | ||
| [2010/08/17 20:28:13] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/08/17 20:28:36] @ Quit: mclarke: Quit: mclarke | ||
| [2010/08/17 20:29:19] @ Quit: jense: Ping timeout: 276 seconds | ||
| [2010/08/17 20:29:23] @ jense joined channel #puppet | ||
| [2010/08/17 20:29:39] @ _sh3 joined channel #puppet | ||
| [2010/08/17 20:34:42] @ lak joined channel #puppet | ||
| [2010/08/17 20:51:58] @ Quit: jmeeuwen: Ping timeout: 276 seconds | ||
| [2010/08/17 20:55:48] @ Quit: ]oestewart: Quit: This computer has gone to sleep | ||
| [2010/08/17 21:02:00] @ greg__ joined channel #puppet | ||
| [2010/08/17 21:17:07] @ wilmoore joined channel #puppet | ||
| [2010/08/17 21:17:31] @ Quit: greg__: Quit: greg__ | ||
| [2010/08/17 21:22:56] @ greg__ joined channel #puppet | ||
| [2010/08/17 21:23:21] @ alcy joined channel #puppet | ||
| [2010/08/17 21:36:19] @ Quit: goraxe: Ping timeout: 260 seconds | ||
| [2010/08/17 21:37:24] @ Demosthenes joined channel #puppet | ||
| [2010/08/17 21:38:39] @ pinoyskull joined channel #puppet | ||
| [2010/08/17 21:46:52] @ Quit: squirrel_labs: Quit: squirrel_labs | ||
| [2010/08/17 22:00:33] @ goraxe joined channel #puppet | ||
| [2010/08/17 22:01:33] @ quit (seeya) | ||
| [2010/08/17 22:02:03] @ Joined channel #puppet | ||
| [2010/08/17 22:02:03] @ Topic is "Puppet Camp SFO 10/7-8 http://bit.ly/ctMDFE | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk" | ||
| [2010/08/17 22:02:03] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Fri Aug 13 14:19:03 -0700 2010 | ||
| [2010/08/17 22:02:06] @ Mode +cnt by gibson.freenode.net | ||
| [2010/08/17 22:04:39] @ Quit: ceren: Quit: ceren | ||
| [2010/08/17 22:05:01] @ ceren joined channel #puppet | ||
| [2010/08/17 22:08:26] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 22:08:48] <skeeziks> Hmm, I'd like puppet to only apply a certain class when a particular tag is defined - is this easy? | ||
| [2010/08/17 22:09:58] @ Quit: ceren: Ping timeout: 276 seconds | ||
| [2010/08/17 22:10:16] <skeeziks> Would I have to surround the entire section with a if tagged("foo") sort of thing? | ||
| [2010/08/17 22:14:14] @ pinoyskull- joined channel #puppet | ||
| [2010/08/17 22:15:08] <bodepd> can you explain what you mean by a tag being defined? | ||
| [2010/08/17 22:18:25] @ Quit: pinoyskull: Ping timeout: 276 seconds | ||
| [2010/08/17 22:18:51] @ ryep joined channel #puppet | ||
| [2010/08/17 22:27:13] <skeeziks> Well, let me explain what I'm trying to do--tags may not even be appropriate. | ||
| [2010/08/17 22:28:11] <skeeziks> I've got a good bit of puppet configuration done, but I'd like to apply a certain class only under certain conditions. I'd like to be able to set a flag when running puppet kick or puppet agent that tells puppet to also apply an additional class. | ||
| [2010/08/17 22:28:39] <skeeziks> Something like an inverse tag - instead of applying a subset of the normal config, I'd like to apply a superset. | ||
| [2010/08/17 22:30:48] @ nexx joined channel #puppet | ||
| [2010/08/17 22:32:13] @ spacex joined channel #puppet | ||
| [2010/08/17 22:37:02] @ Quit: spacex: Client Quit | ||
| [2010/08/17 22:43:06] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/08/17 22:43:56] @ pinoyskull- is now known as pinoyskull | ||
| [2010/08/17 22:48:23] <alcy> any clue why this inline template is incorrect ? inline_template("<%= ipaddress.split(".")[0..1].collect{|x| x}.join(".") %>") | ||
| [2010/08/17 22:48:52] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/17 22:49:41] <alcy> inline template invocation, rather | ||
| [2010/08/17 22:49:47] <ssm> alcy: quoting? | ||
| [2010/08/17 22:49:54] <ssm> change the inner quotes to ''? | ||
| [2010/08/17 22:50:06] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/17 22:50:50] <alcy> ssm, thanks. | ||
| [2010/08/17 22:51:33] <ssm> :) | ||
| [2010/08/17 22:52:13] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/08/17 22:55:59] @ zed left channel #puppet () | ||
| [2010/08/17 22:56:23] @ Quit: fredden: Quit: Leaving | ||
| [2010/08/17 23:01:32] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 23:02:03] @ jmccune joined channel #puppet | ||
| [2010/08/17 23:04:31] @ ckauhaus joined channel #puppet | ||
| [2010/08/17 23:06:31] @ Quit: gniks: Quit: Leaving. | ||
| [2010/08/17 23:13:38] <skeeziks> Is it possible for me to check if --noop was passed to a puppet invocation from the code for a custom fact? | ||
| [2010/08/17 23:16:48] <skeeziks> Hm, nevermind--this is better handled from my manifest in this case | ||
| [2010/08/17 23:16:58] <skeeziks> Though I'm still curious about the answer. | ||
| [2010/08/17 23:21:22] @ bodepd joined channel #puppet | ||
| [2010/08/17 23:25:17] @ Quit: marut: Ping timeout: 255 seconds | ||
| [2010/08/17 23:25:19] @ Roksteady joined channel #puppet | ||
| [2010/08/17 23:28:05] @ marut joined channel #puppet | ||
| [2010/08/17 23:29:28] <jamesturnbull> skeeziks: hmmm you could write a fact that checked the noop setting | ||
| [2010/08/17 23:32:14] @ tecto_ joined channel #puppet | ||
| [2010/08/17 23:33:04] @ mattock joined channel #puppet | ||
| [2010/08/17 23:35:52] @ pmorillo joined channel #puppet | ||
| [2010/08/17 23:36:47] @ Quit: niko: Ping timeout: 619 seconds | ||
| [2010/08/17 23:37:42] @ Quit: bodepd: Quit: bodepd | ||
| [2010/08/17 23:38:30] <skeeziks> jamesturnbull: That's basically what I'm asking - how do I check for that setting using Ruby inside of a fact? | ||
| [2010/08/17 23:38:48] <skeeziks> (Sorry if this is documented somewhere, my brain is going dead tonight and I haven't found it yet) | ||
| [2010/08/17 23:43:03] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/08/17 23:44:39] <jamesturnbull> skeeziks: just require puppet and query Puppet.settings[:noop] I think - or actually thinking about it in 2.6.0 and later there is a "settings" class that includes all puppet's setting as varaibles, so settings::noop should work I think although I haven't tested it | ||
| [2010/08/17 23:46:11] @ Quit: nexx: Quit: quit | ||
| [2010/08/17 23:46:18] @ Quit: pmorillo: Quit: pmorillo | ||
| [2010/08/17 23:51:26] @ pmorillo joined channel #puppet | ||
| [2010/08/17 23:52:37] @ Quit: jmccune: Ping timeout: 246 seconds | ||
| [2010/08/17 23:52:39] @ ecolitan_ joined channel #puppet | ||
| [2010/08/17 23:55:29] @ sako joined channel #puppet |
Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!