| [2008/04/30 00:10:41] @ shenson_not_here is now known as shenson | ||
| [2008/04/30 00:12:46] @ ghatak joined channel #puppet | ||
| [2008/04/30 00:13:21] <ghatak> Can puppet be used to do package management ? on variety of servers, such as debian, redhat, solaris etc under same infrastructre | ||
| [2008/04/30 00:16:36] <Zothar_Work> if the package has the same name across all distros, then yes, you could tell Puppet to install a package by that name on the server and Puppet would take care of the details of which package manager to use through it's package provider; I'm guessing you won't be that lucky though as Apache 2.2 is apache2 on latest stable Debian and is httpd on Redhat Enterprise Linux 5, for example | ||
| [2008/04/30 00:18:11] <shiruken> you couldn't create aliases based on OS? | ||
| [2008/04/30 00:18:55] <ghatak> Zothar_Work: How about creating separate rollouts configs if may call them for different distro's ? | ||
| [2008/04/30 00:19:14] <ghatak> For example, one for Redhat, one for Debian, one for Solaris 10, one Solaris 9 etc | ||
| [2008/04/30 00:19:19] <ghatak> would that work ? | ||
| [2008/04/30 00:19:45] <ashp> oh no, i deleted all my .spec files for the rpm's i've built, whoops | ||
| [2008/04/30 00:19:57] <Zothar_Work> ghatak: sure; we're using ifs based on distro | ||
| [2008/04/30 00:20:45] <Zothar_Work> shiruken: I've not used aliases, but as I just said, I've used variables and ifs as needed, unless your "aliases" are the same thing as my "variables" | ||
| [2008/04/30 00:21:13] <ghatak> Zothar_Work: So you could create group of servers that are on same platform and rollout packages to them and so on .... | ||
| [2008/04/30 00:21:59] <Zothar_Work> ghatak: definitely | ||
| [2008/04/30 00:22:45] <Zothar_Work> for example, we've got several web cluster slave nodes that are identically configured, so they have one set of Puppet manifests in common to them all | ||
| [2008/04/30 00:23:06] <duritong> ghatak: this is the way I do it accross different plattforms: https://git.puppet.immerda.ch/?p=module-sshd;a=blob;f=manifests/init.pp;h=b040e75987ed12fd9dfcba518a44443cfd1f32e7;hb=HEAD | ||
| [2008/04/30 00:23:27] <duritong> you can overwrite definitions in a inheritance chain | ||
| [2008/04/30 00:25:01] <ghatak> oh this is soo cool | ||
| [2008/04/30 00:25:18] <ghatak> we have a staging environment based on Xen, could be so useful there | ||
| [2008/04/30 00:25:29] <duritong> actually the service hack could be done a lot easier I found out later | ||
| [2008/04/30 00:25:36] <duritong> ;) | ||
| [2008/04/30 00:25:37] <ghatak> Zothar_Work: and yes, we have servers which are on same principle. | ||
| [2008/04/30 00:28:27] <ghatak> Well thanks guys for info. I shall give this a try | ||
| [2008/04/30 00:28:28] <ghatak> thanks | ||
| [2008/04/30 00:28:53] <duritong> np | ||
| [2008/04/30 00:29:05] <duritong> share your experience back! ;) | ||
| [2008/04/30 00:30:02] <ghatak> I certainly will | ||
| [2008/04/30 00:30:05] <ghatak> ;) | ||
| [2008/04/30 00:33:53] @ nigelk joined channel #puppet | ||
| [2008/04/30 00:39:40] @ Quit: dysinger: | ||
| [2008/04/30 00:42:43] @ brscott joined channel #puppet | ||
| [2008/04/30 00:46:18] @ brscott left channel #puppet () | ||
| [2008/04/30 01:00:24] @ kenvandine joined channel #puppet | ||
| [2008/04/30 01:05:52] <ashp> I started off really liking the poignant guide to ruby | ||
| [2008/04/30 01:05:56] <ashp> but it's gotten more annoying over time | ||
| [2008/04/30 01:07:13] @ Quit: andrewcshafer: | ||
| [2008/04/30 01:09:00] <nigelk> ++ | ||
| [2008/04/30 01:09:25] <ashp> i just ended up skipping over the blabber to the ruby code | ||
| [2008/04/30 01:09:35] <nigelk> that's the person who wrote the YAML stuff | ||
| [2008/04/30 01:09:43] <nigelk> that performs so badly | ||
| [2008/04/30 01:11:23] <ashp> The pickaxe book left me behind in its explanations, and this book is just annoying | ||
| [2008/04/30 01:11:32] <ashp> I'll have to keep looking for my guide to learning ruby | ||
| [2008/04/30 01:11:36] <ashp> as I'm really slow and I find programming hard | ||
| [2008/04/30 01:12:12] <nigelk> There's this awesome intro to one of my programming books... maybe The Practice of Programming? | ||
| [2008/04/30 01:12:20] <nigelk> "You are not stupid, and some things are just hard" | ||
| [2008/04/30 01:12:41] <nigelk> I try to keep that in mind whenever learning a new language to avoid frustration :) | ||
| [2008/04/30 01:13:09] <ashp> :) | ||
| [2008/04/30 01:13:27] <ashp> I start off strong but about the mid way point I just fall apart, I struggle to think in a way that makes sense for programming | ||
| [2008/04/30 01:17:52] <nigelk> that book really is awesome | ||
| [2008/04/30 01:17:53] <nigelk> http://books.google.com/books?id=to6M9_dbjosC&dq=the+practice+of+programming&pg=PP1&ots=3YG6JlsZ38&sig=xdrznXV2-ODI9wTd3lnIKtib8ik&hl=en&prev=http://www.google.com/search?q=the+practice+of+programming&sourceid=mozilla2&ie=utf-8&oe=utf-8&sa=X&oi=print&ct=title&cad=one-book-with-thumbnail | ||
| [2008/04/30 01:17:58] <nigelk> woops. should have tinyurled | ||
| [2008/04/30 01:18:31] <ashp> some familiar names :) | ||
| [2008/04/30 01:20:04] <nigelk> It's very C focused, but the general principles are great | ||
| [2008/04/30 01:20:55] @ Quit: _newbie_: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/04/30 01:20:58] <ashp> it's odd because I can whip out scripts and stuff easily enough | ||
| [2008/04/30 01:21:04] <ashp> but taking that next leap into real programming gets me left behind | ||
| [2008/04/30 01:25:28] @ Quit: roald: "KVIrc 3.2.6 Anomalies http://www.kvirc.net/" | ||
| [2008/04/30 01:26:06] <shiruken> syntax? | ||
| [2008/04/30 01:33:30] @ randybias joined channel #puppet | ||
| [2008/04/30 01:34:10] <ashp> not the syntax, just the thinking behind it | ||
| [2008/04/30 01:34:22] <ashp> i have enough trouble deciphering existing code, yet alone writing it | ||
| [2008/04/30 01:34:47] <shiruken> probably just a little mental block | ||
| [2008/04/30 01:34:50] <shiruken> you'll get past it :) | ||
| [2008/04/30 01:34:53] <kenvandine> is there a way to run remote commands in real time via puppet? | ||
| [2008/04/30 01:35:20] <kenvandine> or is it completely "pull" | ||
| [2008/04/30 01:35:57] <ashp> I keep hoping if I look for other books I'll find the perfect guide | ||
| [2008/04/30 01:36:13] <ashp> Most of my problem is that outside of fixing interface{} under redhat, I have no real need for ruby right now :) | ||
| [2008/04/30 01:39:18] <Zothar_Work> kenvandine: puppetrun is the magic string you want to look up | ||
| [2008/04/30 01:44:17] @ porridge_ joined channel #puppet | ||
| [2008/04/30 01:49:01] <ashp> hmm, this sucks | ||
| [2008/04/30 01:49:12] <ashp> puppet is refusing to manage one of my files in a module, despite being set up the same as all the other files | ||
| [2008/04/30 01:49:15] <ashp> source => "puppet:///ssh/sshd_config", | ||
| [2008/04/30 01:49:24] <ashp> and then i have modules/ssh/files/sshd_config | ||
| [2008/04/30 01:50:14] <ashp> hmm, and two more files, but the rest all work. how odd. | ||
| [2008/04/30 01:50:40] <ashp> another module that works fine: source => "puppet:///ldap/system-auth-ac", | ||
| [2008/04/30 01:50:54] <ashp> Permissions are correct, the files in the right place.. | ||
| [2008/04/30 01:52:33] <ashp> oh, restarting puppetmaster fixed it. | ||
| [2008/04/30 01:55:48] <kenvandine> Zothar_Work: thx | ||
| [2008/04/30 01:58:31] <nigelk> ashp: I hate those situations | ||
| [2008/04/30 01:59:46] <ashp> I moved a bunch of files around, changed /etc/sysconfig/puppetmaster and I guess I never restarted the service | ||
| [2008/04/30 01:59:57] <ashp> I need to add a notify into that file{}, I thought I had one | ||
| [2008/04/30 02:18:27] @ |Innocenti| joined channel #puppet | ||
| [2008/04/30 02:19:20] <duritong> is it possible to ensure => stopped a service which isn't present? | ||
| [2008/04/30 02:20:48] @ muerr joined channel #puppet | ||
| [2008/04/30 02:25:49] @ Quit: DerekW: "Leaving" | ||
| [2008/04/30 02:28:58] @ kolla joined channel #puppet | ||
| [2008/04/30 02:30:03] @ andrewcshafer joined channel #puppet | ||
| [2008/04/30 02:31:57] @ adoom42 joined channel #puppet | ||
| [2008/04/30 02:32:43] @ Wakko666 joined channel #puppet | ||
| [2008/04/30 02:34:06] @ patobrien joined channel #puppet | ||
| [2008/04/30 02:36:08] @ Quit: randybias: | ||
| [2008/04/30 02:36:57] @ Quit: glaw: Remote closed the connection | ||
| [2008/04/30 02:44:19] @ Quit: jvanzyl: | ||
| [2008/04/30 02:48:01] @ lak joined channel #puppet | ||
| [2008/04/30 02:49:52] <Zothar_Work> duritong: I believe I'm doing it, but the definitive way is to try it :) | ||
| [2008/04/30 02:52:15] <duritong> yeah I have to test it, but I realized I can also simply remove the package and I'm done | ||
| [2008/04/30 02:52:20] @ Quit: kenvandine: Remote closed the connection | ||
| [2008/04/30 02:52:26] <duritong> this means no inheritance but it's ok | ||
| [2008/04/30 02:59:31] @ kenvandine joined channel #puppet | ||
| [2008/04/30 03:02:13] @ Quit: kolla: Remote closed the connection | ||
| [2008/04/30 03:14:14] @ jvanzyl joined channel #puppet | ||
| [2008/04/30 03:14:33] @ Quit: |Innocenti|: Read error: 110 (Connection timed out) | ||
| [2008/04/30 03:16:14] <nigelk> damnit. I have this weird smattering of clients who don't seem to be able to do the request_cert step.... | ||
| [2008/04/30 03:16:24] @ Quit: lak: Read error: 113 (No route to host) | ||
| [2008/04/30 03:17:08] @ Quit: jvanzyl: Client Quit | ||
| [2008/04/30 03:18:08] @ jvanzyl joined channel #puppet | ||
| [2008/04/30 03:19:17] @ lak joined channel #puppet | ||
| [2008/04/30 03:19:36] <martha> lak: hi | ||
| [2008/04/30 03:19:43] <lak> hi | ||
| [2008/04/30 03:20:48] @ magnachef__ joined channel #puppet | ||
| [2008/04/30 03:20:55] @ Quit: magnachef__: Client Quit | ||
| [2008/04/30 03:21:00] @ magnachef__ joined channel #puppet | ||
| [2008/04/30 03:21:08] <martha> who is rra? | ||
| [2008/04/30 03:21:13] @ Quit: magnachef__: Client Quit | ||
| [2008/04/30 03:21:54] <hacim> martha: russ alberny | ||
| [2008/04/30 03:22:09] <hacim> martha: from stanford I believe | ||
| [2008/04/30 03:22:38] <martha> hacim: thanks | ||
| [2008/04/30 03:22:56] <martha> I tried his emacs patch, but it doesn't work for me :-( | ||
| [2008/04/30 03:24:50] <martha> "Symbol's function definition is void: incf" | ||
| [2008/04/30 03:25:41] <hacim> martha: is it an update to the emacs puppet mode? | ||
| [2008/04/30 03:25:51] <hacim> martha: do you have a ticket number for it? | ||
| [2008/04/30 03:25:56] <martha> hacim: yes #1185 | ||
| [2008/04/30 03:26:00] <gepetto> martha: hacim: #1185 is http://reductivelabs.com/trac/puppet/ticket/1185 "puppet-mode.el issue with array syntax" | ||
| [2008/04/30 03:26:03] <hacim> I've noticed that the update to the emacs mode in git is bad | ||
| [2008/04/30 03:26:39] @ Quit: mikepea: Read error: 113 (No route to host) | ||
| [2008/04/30 03:27:00] <hacim> it looks like this is the bug I was wanting to file about this problem :) | ||
| [2008/04/30 03:28:08] @ roald joined channel #puppet | ||
| [2008/04/30 03:28:27] <martha> I think incf is only in emacs 22 | ||
| [2008/04/30 03:29:04] <martha> or a cl thing | ||
| [2008/04/30 03:29:07] @ Quit: freiheit: | ||
| [2008/04/30 03:29:21] <martha> I haven't touched any lisp since I left university | ||
| [2008/04/30 03:30:24] <hacim> i applied his patch | ||
| [2008/04/30 03:30:59] <martha> does it work for you? | ||
| [2008/04/30 03:31:01] <hacim> i think it made that error go away | ||
| [2008/04/30 03:31:06] <hacim> but... there is another problem | ||
| [2008/04/30 03:32:05] <martha> hacim: "Symbol's function definition is void: incf"? | ||
| [2008/04/30 03:32:21] <hacim> i haven't seen that one yet | ||
| [2008/04/30 03:32:32] <hacim> its just failing to handle the braces in a class properly | ||
| [2008/04/30 03:32:54] <martha> that's what I get when I try to use tab to indent | ||
| [2008/04/30 03:34:03] <martha> after an array | ||
| [2008/04/30 03:36:12] <hacim> hmm I dont get that | ||
| [2008/04/30 03:36:15] <hacim> and I am using 21 | ||
| [2008/04/30 03:36:26] <hacim> GNU Emacs 21.4.1 (i486-pc-linux-gnu) of 2007-12-15 on noname, modified by Debian | ||
| [2008/04/30 03:37:54] <martha> I'm using the same version | ||
| [2008/04/30 03:40:00] @ plathrop joined channel #puppet | ||
| [2008/04/30 03:51:59] <hacim> martha: maybe you didn't do the patch right? | ||
| [2008/04/30 03:52:31] <martha> hacim: maybe | ||
| [2008/04/30 03:53:43] <martha> can you pastie your file? | ||
| [2008/04/30 03:54:08] <hacim> sure | ||
| [2008/04/30 03:55:10] <hacim> pastie: gimme | ||
| [2008/04/30 03:55:54] <pastie> http://pastie.org/188795 by hacim. | ||
| [2008/04/30 03:57:18] @ pleemans joined channel #puppet | ||
| [2008/04/30 03:57:36] <martha> hacim: same error | ||
| [2008/04/30 03:58:39] <hacim> martha: did you put it in /usr/share/emacs/site-lisp and reload your emacs? | ||
| [2008/04/30 03:58:50] <martha> hacim: yes | ||
| [2008/04/30 03:58:57] <hacim> and what exactly are you doing? | ||
| [2008/04/30 03:59:20] <martha> trying to tab-indent after an array was used | ||
| [2008/04/30 03:59:42] <hacim> explain | ||
| [2008/04/30 03:59:57] <hacim> you take that foo code in the ticket | ||
| [2008/04/30 04:00:00] <hacim> put it in foo.pp | ||
| [2008/04/30 04:00:08] <hacim> put your cursor where and tab? | ||
| [2008/04/30 04:02:27] <martha> on the 3rd line | ||
| [2008/04/30 04:02:40] <martha> it works on the first 2 lines | ||
| [2008/04/30 04:03:05] <martha> and breaks on the 3rd | ||
| [2008/04/30 04:03:14] <hacim> doesn't do that for me | ||
| [2008/04/30 04:03:19] <hacim> just tried emacs22 also, and it works fine | ||
| [2008/04/30 04:03:34] <martha> emacs22 works without the patch | ||
| [2008/04/30 04:03:42] <martha> I think | ||
| [2008/04/30 04:09:56] @ Quit: lak: Remote closed the connection | ||
| [2008/04/30 04:10:38] @ lak joined channel #puppet | ||
| [2008/04/30 04:27:59] @ Quit: andrewcshafer: | ||
| [2008/04/30 04:28:42] @ andrewcshafer joined channel #puppet | ||
| [2008/04/30 04:30:21] @ Quit: lak: Read error: 113 (No route to host) | ||
| [2008/04/30 04:30:32] @ shake-n-bake joined channel #puppet | ||
| [2008/04/30 04:30:43] @ lak joined channel #puppet | ||
| [2008/04/30 04:34:35] @ BarnacleBob joined channel #puppet | ||
| [2008/04/30 04:34:53] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 04:35:33] @ shadoi joined channel #puppet | ||
| [2008/04/30 04:36:30] <BarnacleBob> so i am trying to switch from fedora to centos and have run into a problem with all of my remote files giving this error: err: /Main[top]/Node[cron03]/Node[cronrole]/Node[baseserverclass]/Node[baseserverbaseclass]/Rfile[/etc/snmp/snmpd.conf]/File[/etc/snmp/snmpd.conf]/source: Could not describe /files/domain.com/cron03/etc/snmp/snmpd.conf: Cannot currently copy links the server is 23.0 and the client is 24.4 hrm it just occurs to me that is probably why | ||
| [2008/04/30 04:36:59] <nigelk> are you doing links => manage ? | ||
| [2008/04/30 04:37:07] <BarnacleBob> i did add links => manage | ||
| [2008/04/30 04:37:12] <nigelk> http://reductivelabs.com/trac/puppet/ticket/894 | ||
| [2008/04/30 04:37:13] <BarnacleBob> but that resulted in the same prbolem | ||
| [2008/04/30 04:37:25] <BarnacleBob> someone suggested that to me last night | ||
| [2008/04/30 04:37:30] <BarnacleBob> did not fix the problem tho | ||
| [2008/04/30 04:37:36] <nigelk> ah | ||
| [2008/04/30 04:37:40] <BarnacleBob> and these files are not links either | ||
| [2008/04/30 04:37:44] <BarnacleBob> they are real flies | ||
| [2008/04/30 04:37:46] <BarnacleBob> *files | ||
| [2008/04/30 04:38:02] @ andrewcshafer joined channel #puppet | ||
| [2008/04/30 04:40:03] @ |Innocenti| joined channel #puppet | ||
| [2008/04/30 04:40:42] @ Quit: |Innocenti|: Client Quit | ||
| [2008/04/30 04:45:00] @ andrewcshafer_ joined channel #puppet | ||
| [2008/04/30 04:46:23] <shadoi> BarnacleBob: 24.4 is not backwards compatible with 0.23.x | ||
| [2008/04/30 04:46:48] <shadoi> clients aren't, server as 0.24.4 and clients as 0.23.2 works fine. | ||
| [2008/04/30 04:50:41] <nigelk> i wish client major point releases were compatible with the same server major point release | ||
| [2008/04/30 04:50:49] <nigelk> ie 0.24.4 clients don't work with 0.24.1 server | ||
| [2008/04/30 04:50:56] * nigelk keeps whining | ||
| [2008/04/30 04:51:08] <shadoi> yeah it was a one-time situation hopefully. | ||
| [2008/04/30 04:51:39] <shadoi> to fix a bug he had to break compatability | ||
| [2008/04/30 04:51:50] <shadoi> compatibility* | ||
| [2008/04/30 04:51:57] <nigelk> yeah. it's ok. | ||
| [2008/04/30 04:52:25] <ashp> i wish i'd stop going back to redhat.rb in interface/, because it just seems like such ugly code | ||
| [2008/04/30 04:52:38] <ashp> such massive efforts to handle dummy interfaces | ||
| [2008/04/30 04:55:07] <shadoi> ashp: you could try writing an Augeas grammar for it instead... | ||
| [2008/04/30 04:55:26] <shadoi> I hope I can work on that stuff soon. | ||
| [2008/04/30 04:55:28] @ randybias joined channel #puppet | ||
| [2008/04/30 04:56:08] <ashp> I saw the mail on augeas, but I wasn't sure if it's in any state for production | ||
| [2008/04/30 04:56:23] <shadoi> won't know till we try. :) | ||
| [2008/04/30 04:56:53] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/04/30 05:03:49] <muerr> I was going to work on the interface type code in redhat.rb but frankly my netiface define works perfectly in our environment, it would not be a valuable use of my time. | ||
| [2008/04/30 05:04:21] <ashp> yeah, I rigged up a define as well | ||
| [2008/04/30 05:04:26] <ashp> but i feel vaguely guilty about it | ||
| [2008/04/30 05:04:46] <muerr> I started to. But given how well it works, I'm not that guilty :) | ||
| [2008/04/30 05:05:15] @ Zothar_Work left channel #puppet () | ||
| [2008/04/30 05:07:58] @ dysinger joined channel #puppet | ||
| [2008/04/30 06:11:37] @ freiheit joined channel #puppet | ||
| [2008/04/30 06:23:12] @ frei joined channel #puppet | ||
| [2008/04/30 06:27:51] @ martha left channel #puppet () | ||
| [2008/04/30 06:31:03] <shadoi> ashp: no need to feel guilty about it. it's a hard one to make into a good native type. | ||
| [2008/04/30 06:34:59] @ yure joined channel #puppet | ||
| [2008/04/30 06:39:50] @ Quit: freiheit: Read error: 110 (Connection timed out) | ||
| [2008/04/30 06:52:47] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/04/30 07:01:31] @ Quit: jeckersb: "Leaving" | ||
| [2008/04/30 07:03:57] @ shenson is now known as shenson_not_here | ||
| [2008/04/30 07:07:14] @ heydrick joined channel #puppet | ||
| [2008/04/30 07:07:51] <muerr> shadoi: definitely. especially given the crazy amount of flexibility red hat has with configuring interfaces. | ||
| [2008/04/30 07:15:52] @ Quit: Hunnur: Read error: 110 (Connection timed out) | ||
| [2008/04/30 07:18:45] @ |Innocenti| joined channel #puppet | ||
| [2008/04/30 07:20:12] @ Quit: tim|imac: Read error: 113 (No route to host) | ||
| [2008/04/30 07:20:51] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/04/30 07:21:27] @ tim|imac joined channel #puppet | ||
| [2008/04/30 07:23:13] @ hatumi joined channel #puppet | ||
| [2008/04/30 07:25:42] <hatumi> hi | ||
| [2008/04/30 07:26:12] @ tim|imac left channel #puppet ("Leaving") | ||
| [2008/04/30 07:26:20] <hatumi> what is the default port on which puppetmaster listens | ||
| [2008/04/30 07:27:02] <shadoi> /usr/sbin/puppetmasterd --configprint masterport | ||
| [2008/04/30 07:27:06] <shadoi> 8140 by default | ||
| [2008/04/30 07:30:40] <hatumi> thanks | ||
| [2008/04/30 07:34:19] <hatumi> should puppetport for puppetd be same as masterport of puppetmaster | ||
| [2008/04/30 07:34:46] <lak> no | ||
| [2008/04/30 07:34:56] <lak> otherwise you couldn't run both on the same machine | ||
| [2008/04/30 07:37:05] <hatumi> i have got both running on different machine | ||
| [2008/04/30 07:37:26] <hatumi> puppetd needs to talk to puppetmaster | ||
| [2008/04/30 07:37:43] <hatumi> so shouldn't their listening port be the same? | ||
| [2008/04/30 07:37:58] <plathrop> hatumi: That's not how TCP works | ||
| [2008/04/30 07:38:24] <plathrop> hatumi: You shouldn't need to think about this at all unless your setup is really strange | ||
| [2008/04/30 07:38:32] <plathrop> The defaults will "do the right thing" | ||
| [2008/04/30 07:38:43] <plathrop> What problem are you trying to address? | ||
| [2008/04/30 07:38:49] <hatumi> i get this error " Failed to retrieve current state of resource: Could not find user puppet " | ||
| [2008/04/30 07:39:17] <hatumi> puppetd --server <ipaddress> --waitforcert 60 --test is the command | ||
| [2008/04/30 07:39:26] <Cuchulain> that means you don't have a user called puppet | ||
| [2008/04/30 07:39:28] <plathrop> hatumi: Then you aren't even getting to the "talk over the network" part. | ||
| [2008/04/30 07:39:34] <plathrop> You just don't have the user | ||
| [2008/04/30 07:39:37] <Cuchulain> yeah ^^^^ | ||
| [2008/04/30 07:39:38] <Cuchulain> :) | ||
| [2008/04/30 07:39:43] <plathrop> How did you install puppet? | ||
| [2008/04/30 07:39:51] <hatumi> using the gem | ||
| [2008/04/30 07:39:59] <plathrop> Cuchulain: I look at the keys when I type, I know, bad habit. | ||
| [2008/04/30 07:40:18] <Cuchulain> latency too | ||
| [2008/04/30 07:40:20] <Cuchulain> :) | ||
| [2008/04/30 07:40:33] <plathrop> hatumi: Well, I don't know much about the gem install process, but you should be able to just add the user 'puppet' however you normally add users. | ||
| [2008/04/30 07:40:58] <hatumi> should the puppet user be created in the clinet as well? | ||
| [2008/04/30 07:41:48] <plathrop> To my knowledge, in the latest version, it shouldn't need to be. | ||
| [2008/04/30 07:42:00] <lak> it might need to be | ||
| [2008/04/30 07:42:15] <lak> i don't remember the case, but it sometimes does need to be | ||
| [2008/04/30 07:42:17] <plathrop> hatumi: lak would know, he wrote it :-P | ||
| [2008/04/30 07:42:23] <muerr> i believe it does, because we had to add the puppet user and group when we updated from 0.23.2 to 0.24.4 on our bsd systems. | ||
| [2008/04/30 07:42:28] <lak> s/wrote/broke/ in this case | ||
| [2008/04/30 07:43:11] <shadoi> because it tries to set the owner on the new yaml files or something | ||
| [2008/04/30 07:48:00] @ tim|imac joined channel #puppet | ||
| [2008/04/30 07:51:52] @ heydrick left channel #puppet () | ||
| [2008/04/30 07:54:15] <fujin> s, uh | ||
| [2008/04/30 07:54:20] <fujin> mod_rails is the coolest thing I've ever seen. | ||
| [2008/04/30 07:54:55] <fujin> eof. | ||
| [2008/04/30 07:54:57] <fujin> morning gents. | ||
| [2008/04/30 07:55:19] <shadoi> fujin: yeah it's pretty sweet | ||
| [2008/04/30 07:55:23] <muerr> mod_rails, for apache? | ||
| [2008/04/30 07:55:28] <shadoi> I hope they make it a mod_rack eventually | ||
| [2008/04/30 07:55:41] <fujin> yes muerr, you can install it from gem - passenger | ||
| [2008/04/30 07:55:47] <fujin> mod_rack? | ||
| [2008/04/30 07:55:58] <fujin> you can already host multiple rails apps with it in seperate vhosts | ||
| [2008/04/30 07:56:13] <muerr> well, we're a php shop, so no rails here. | ||
| [2008/04/30 07:56:23] <fujin> heh | ||
| [2008/04/30 07:56:35] <fujin> I just shifted to mephisto instead of wordpress, has been quite interesting | ||
| [2008/04/30 07:56:38] <muerr> but i have nothing to do with the website, other than create a vhost { } in puppet where necessary. | ||
| [2008/04/30 07:56:53] <fujin> looking at developing some rails apps so figured I'd get familiar with it first | ||
| [2008/04/30 07:57:21] <shadoi> fujin: lots of different ruby frameworks use rack as a basis for their server (there are mongrel versions too) so it would just make everything work with a single apache module. | ||
| [2008/04/30 07:57:36] <fujin> ah | ||
| [2008/04/30 07:57:39] <fujin> I see | ||
| [2008/04/30 07:59:11] @ freiheit joined channel #puppet | ||
| [2008/04/30 08:00:28] @ asa joined channel #puppet | ||
| [2008/04/30 08:02:07] @ Demosthenex joined channel #puppet | ||
| [2008/04/30 08:04:11] @ Quit: shake-n-bake: | ||
| [2008/04/30 08:07:03] <asa> anyone using appdmg for the mac? | ||
| [2008/04/30 08:07:31] <asa> I am having probs with it and can't find an example of its use. change from absent to present failed: Could not set present on ensure: undefined method `new' for nil:NilClass at ... | ||
| [2008/04/30 08:08:15] <fujin> appdmg? | ||
| [2008/04/30 08:09:14] <shadoi> asa: paste the code | ||
| [2008/04/30 08:09:38] <asa> one sec | ||
| [2008/04/30 08:09:46] <fujin> ah, the package provider | ||
| [2008/04/30 08:10:08] <nigelk> asa: any reason you're not using pkgdmg? | ||
| [2008/04/30 08:16:02] @ heydrick joined channel #puppet | ||
| [2008/04/30 08:17:04] @ Quit: raphink: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 08:17:41] @ Quit: porridge_: "zzz" | ||
| [2008/04/30 08:18:01] <asa> cause there is a .app inside the dmg, not a .pkg | ||
| [2008/04/30 08:18:09] @ Quit: muerr: Read error: 110 (Connection timed out) | ||
| [2008/04/30 08:18:11] <heydrick> having a problem with requiring multiple packages | ||
| [2008/04/30 08:18:39] <heydrick> say I have $packages = ["pkg1", "pkg2"] | ||
| [2008/04/30 08:19:13] <heydrick> and then package { $packages: ensure => installed } | ||
| [2008/04/30 08:19:43] <heydrick> and then some other resource that requires those two packages, what's the best way to write the require? | ||
| [2008/04/30 08:20:24] @ Quit: frei: Read error: 110 (Connection timed out) | ||
| [2008/04/30 08:20:33] <shadoi> the cleanest way is to put them in a separate class and then require => Class["packages"] | ||
| [2008/04/30 08:21:12] <plathrop> heydrick: another way is to set your variable like $packages = "pkg1, pkg2", do package { [$packages]: ensure => installed } and finally require => Package[$packages] | ||
| [2008/04/30 08:21:14] <shadoi> otherwise, require the invidual package names | ||
| [2008/04/30 08:21:23] <plathrop> heydrick: Which I feel is cleaner than the class requirement. | ||
| [2008/04/30 08:21:41] <shadoi> plathrop: wow I didn't know the array syntax worked like that, cool | ||
| [2008/04/30 08:22:10] <shadoi> plathrop: you've tested that? | ||
| [2008/04/30 08:22:17] <plathrop> shadoi: It might not, I'm going off the top of my head, but I swear I've used it. | ||
| [2008/04/30 08:22:25] * plathrop goes to double-check his Puppet configs | ||
| [2008/04/30 08:22:32] <shadoi> I don't think $name is allowed to be an array | ||
| [2008/04/30 08:22:43] <plathrop> Wouldn't be the first time I said "Do this" and it was wrong... | ||
| [2008/04/30 08:23:21] <fujin> Anyone know how to do fast URL hyperlinks in markdown/smartypants? | ||
| [2008/04/30 08:23:25] <fujin> I know the <http://> | ||
| [2008/04/30 08:23:34] <asa> shadoi: http://pastebin.ca/1002298 | ||
| [2008/04/30 08:24:54] <shadoi> fujin: http://daringfireball.net/projects/markdown/syntax#link | ||
| [2008/04/30 08:25:04] <fujin> yeah got that | ||
| [2008/04/30 08:25:04] <fujin> lol | ||
| [2008/04/30 08:25:12] <fujin> doesn't say how to do like, link title | ||
| [2008/04/30 08:25:22] <fujin> <http://|"title of link"> or somethign would be nice | ||
| [2008/04/30 08:25:34] <shadoi> yes it does | ||
| [2008/04/30 08:25:37] <shadoi> read again. :P | ||
| [2008/04/30 08:25:39] @ Quit: felix_da_catz: Connection timed out | ||
| [2008/04/30 08:25:50] <shadoi> This is [an example](http://example.com/ "Title") inline link. | ||
| [2008/04/30 08:26:09] <fujin> feck | ||
| [2008/04/30 08:26:11] <fujin> those are different altogether | ||
| [2008/04/30 08:26:26] <fujin> I was looking at the automatic link section | ||
| [2008/04/30 08:26:26] <fujin> ty shad | ||
| [2008/04/30 08:26:28] <shadoi> autolinks are not links | ||
| [2008/04/30 08:26:31] <shadoi> yeah | ||
| [2008/04/30 08:26:32] <heydrick> plathrop if that works it looks like it'd do the trick | ||
| [2008/04/30 08:27:09] <plathrop> heydrick: I'm about 75% confident it works, but I can't track down an example at the moment. | ||
| [2008/04/30 08:27:15] <shadoi> I'll try it | ||
| [2008/04/30 08:29:43] <shadoi> nope | ||
| [2008/04/30 08:29:49] <shadoi> I think you'll have to do the class thing | ||
| [2008/04/30 08:30:26] <shadoi> there's no good way to refer to it as a resource | ||
| [2008/04/30 08:30:33] <heydrick> I tried an alias but that didn't seem to help | ||
| [2008/04/30 08:30:36] <plathrop> shadoi: Where does it break? | ||
| [2008/04/30 08:31:04] <heydrick> Could not find dependency Package[pkg1pkg2] | ||
| [2008/04/30 08:31:14] <heydrick> like it's munging the array members | ||
| [2008/04/30 08:31:15] <shadoi> yeah, there's no way to refer to them as a resource | ||
| [2008/04/30 08:31:25] <plathrop> yuck | ||
| [2008/04/30 08:31:42] <nigelk> asa: I found the appdmg to be a bit flaky last time I tried it so we just pkg everything now. | ||
| [2008/04/30 08:31:50] <plathrop> Oh well, it's turning out to be a plathrop FAILS at everything day :-P | ||
| [2008/04/30 08:31:55] <shadoi> maybe if there were an "array => true" flag or some autodetection in the parser... | ||
| [2008/04/30 08:33:21] <shadoi> requiring classes is the only good way I've found of grouping dependencies | ||
| [2008/04/30 08:33:33] <shadoi> I tried doing it with tags, but they aren't considered resources | ||
| [2008/04/30 08:33:43] <shadoi> I think that would be the nicest way. | ||
| [2008/04/30 08:34:20] * shadoi goes for coffee | ||
| [2008/04/30 08:35:04] <fujin> shadoi: what do ya think of this? http://junglist.gen.nz/ | ||
| [2008/04/30 08:35:12] <fujin> been playing with templating all day/yesterday | ||
| [2008/04/30 08:35:21] <fujin> mephisto + erb = gooood | ||
| [2008/04/30 08:35:47] <fujin> oh | ||
| [2008/04/30 08:35:50] <fujin> liquid even, not erb | ||
| [2008/04/30 08:44:16] <fujin> wow, someone really broke the package type reference section | ||
| [2008/04/30 08:53:54] @ Quit: |Innocenti|: Read error: 110 (Connection timed out) | ||
| [2008/04/30 08:55:28] <shadoi> fujin: haha.. wow, that's funny. My old blog used that same exact theme and layout a while back. | ||
| [2008/04/30 08:55:49] <fujin> ;} | ||
| [2008/04/30 08:55:57] <fujin> can't be exact - I've stripped loads out of it | ||
| [2008/04/30 08:56:04] <fujin> e.g.; I don't use sections/categories at all | ||
| [2008/04/30 08:56:20] <shadoi> ah yeah | ||
| [2008/04/30 08:56:31] <shadoi> almost exact. hehe | ||
| [2008/04/30 08:56:34] <fujin> hehe | ||
| [2008/04/30 08:56:52] <fujin> anyway, mod_rails is so freakin awesome, I'm quite impressed with mephisto as an alternative to wordpress aswell | ||
| [2008/04/30 08:57:08] <shadoi> yeah, pretty sweet. I switched back to wordpress just because of all the plugins | ||
| [2008/04/30 08:57:15] @ Quit: lak: | ||
| [2008/04/30 08:57:19] <shadoi> didn't have time to tinker with it | ||
| [2008/04/30 09:00:07] <fujin> hehe | ||
| [2008/04/30 09:00:12] <fujin> don't really need any plugins here either | ||
| [2008/04/30 09:00:19] <fujin> does eaactly what I need | ||
| [2008/04/30 09:00:25] @ Quit: patobrien: "Leaving" | ||
| [2008/04/30 09:00:28] <fujin> anyway is a cool insight to RoR | ||
| [2008/04/30 09:04:37] <asa> nigelk: bummer about appdmg... so you repackage dmgs from other software? any good tools for this? | ||
| [2008/04/30 09:05:10] <nigelk> we use packagemaker from the command line | ||
| [2008/04/30 09:05:21] <nigelk> but 10.5 has quite a good snapshot facility in PackageMaker | ||
| [2008/04/30 09:05:40] <nigelk> where you can start snapshot, install something via a horrible VISE installer etc and then stop the snapshot, then review it and make a pkg | ||
| [2008/04/30 09:06:06] <nigelk> There are a few third party alternatives too like Composer and some other one that just got made free that I can't remember the name of | ||
| [2008/04/30 09:06:13] <nigelk> we did an article on http://afp548.com about it | ||
| [2008/04/30 09:07:22] <asa> sweet. Looks like the pkgdmg provider has issues with dmgs which have software license agreements. | ||
| [2008/04/30 09:07:28] <asa> hangs and freaks. | ||
| [2008/04/30 09:08:10] <asa> I am looking into ways to extract the license agreements and repackage stuff but PackageMaker seems like a way to get around it. Ill dig a little into it. and read your posting. | ||
| [2008/04/30 09:09:38] <nigelk> ah | ||
| [2008/04/30 09:09:45] @ jlord joined channel #puppet | ||
| [2008/04/30 09:09:52] <nigelk> if it's a 10.4 style pkg, ie not a flat pkg | ||
| [2008/04/30 09:10:02] <nigelk> then you can probably just edit the Info.plist for the package | ||
| [2008/04/30 09:10:14] <jlord> looking for a little help to populate cron with a puppet restart | ||
| [2008/04/30 09:10:42] <jlord> seems pretty straightforward but the recipe on the site does not work as is | ||
| [2008/04/30 09:13:04] @ Quit: hatumi: Read error: 110 (Connection timed out) | ||
| [2008/04/30 09:16:39] @ raphink joined channel #puppet | ||
| [2008/04/30 09:18:43] <jlord> how are others making sure the puppet daemon restarts on its own | ||
| [2008/04/30 09:18:49] <jlord> ? | ||
| [2008/04/30 09:19:45] <asa> jlord: we are using monit on linux to make sure it is up. what is your scenario? | ||
| [2008/04/30 09:20:21] <jlord> we just want to execute a basic script to check that it is running | ||
| [2008/04/30 09:20:26] <jlord> and if its not restart it | ||
| [2008/04/30 09:20:52] <asa> what is your os? | ||
| [2008/04/30 09:21:06] <shadoi> jlord: you can use inittab, cron, monit (recommended), god (highly recommended) | ||
| [2008/04/30 09:21:25] <holoway> also, runit | ||
| [2008/04/30 09:21:32] <jlord> was looking to update crontab with puppet | ||
| [2008/04/30 09:21:36] <holoway> we run puppetd/puppetmasterd from runit | ||
| [2008/04/30 09:22:19] <jlord> cron { restart-puppetmaster: | ||
| [2008/04/30 09:22:20] <jlord> command => "if [ -e /var/run/puppetmasterd.pid ]; then ps uw -p `cat /var/run/puppetmasterd.pid` | grep -q ' ruby /usr/sbin/puppetmasterd' || (rm /var/run/puppetmasterd.pid; /etc/init.d/puppetmaster start); else /etc/init.d/puppetmaster start; fi", | ||
| [2008/04/30 09:22:20] <jlord> user => root, | ||
| [2008/04/30 09:22:21] <jlord> minute => 0 | ||
| [2008/04/30 09:22:21] <jlord> } | ||
| [2008/04/30 09:22:22] <jlord> cron { restart-puppet: | ||
| [2008/04/30 09:22:24] <jlord> command => "if [ -e /var/run/puppetd.pid ]; then ps uw -p `cat /var/run/puppetd.pid` | grep -q ' ruby /usr/sbin/puppetd' || (rm /var/run/puppetd.pid; /etc/init.d/puppet start); else /etc/init.d/puppet start; fi", | ||
| [2008/04/30 09:22:27] <jlord> user => root, | ||
| [2008/04/30 09:22:29] <jlord> minute => 0 | ||
| [2008/04/30 09:22:31] <jlord> } | ||
| [2008/04/30 09:22:33] <jlord> service { cron: | ||
| [2008/04/30 09:22:35] <jlord> ensure => running, | ||
| [2008/04/30 09:22:37] <jlord> enable => true | ||
| [2008/04/30 09:22:39] <jlord> } | ||
| [2008/04/30 09:22:41] <jlord> sorryy | ||
| [2008/04/30 09:22:43] <jlord> that should have gone in pastie | ||
| [2008/04/30 09:22:44] <holoway> jlord: nopaste! :) | ||
| [2008/04/30 09:22:45] <jlord> yikes | ||
| [2008/04/30 09:23:13] <plathrop> pastie: Give jlord a link! Quick! Before he pastes again! :-P | ||
| [2008/04/30 09:23:20] <jlord> haha | ||
| [2008/04/30 09:23:21] <jlord> sorry | ||
| [2008/04/30 09:24:56] <asa> nigelk: this is actually at the dmg level. when hdiutil mounts the dmg it wants to kick up a license agreement which you have to page through. | ||
| [2008/04/30 09:25:08] <nigelk> yeah | ||
| [2008/04/30 09:25:10] <nigelk> i hate those things | ||
| [2008/04/30 09:25:18] <nigelk> hdiutil attach | ||
| [2008/04/30 09:25:26] <asa> I am trying to work around that. looks like it is a resource fork in the dmg. | ||
| [2008/04/30 09:25:26] <nigelk> hdiutil -create -srcfolder /path/to/old/image | ||
| [2008/04/30 09:25:27] <nigelk> :) | ||
| [2008/04/30 09:25:35] <nigelk> and delete the agreement | ||
| [2008/04/30 09:25:50] <nigelk> I think it's that simple, but I can't quite remember. | ||
| [2008/04/30 09:26:04] <nigelk> is this for Quicksilver? | ||
| [2008/04/30 09:27:35] <asa> quicksilver is fine, although it is not pkg format. I am messing with Omni products which come as apps wrapped in dmgs with slas | ||
| [2008/04/30 09:27:50] <asa> the create didn't work for me... digging. | ||
| [2008/04/30 09:27:51] <nigelk> yeah. I'd just repackage them honestly | ||
| [2008/04/30 09:28:16] <nigelk> it's simple enough to point packagemaker at the app inside /Applications and create the pkg | ||
| [2008/04/30 09:29:47] <asa> hmm. ok. that sounds pretty easy. | ||
| [2008/04/30 09:30:37] <asa> where do I get packagemaker? | ||
| [2008/04/30 09:30:43] <nigelk> it's part of the Developer Tools | ||
| [2008/04/30 09:30:49] <nigelk> the Xcode install | ||
| [2008/04/30 09:30:49] <asa> all. ok. | ||
| [2008/04/30 09:30:54] <asa> gotit | ||
| [2008/04/30 09:31:12] <nigelk> the command line is a bit obscure | ||
| [2008/04/30 09:31:16] <nigelk> but the GUI is ok | ||
| [2008/04/30 09:32:32] <asa> cool. it looks nice. | ||
| [2008/04/30 09:36:32] <asa> nigelk: damn! thank you for the new skill, that was too easy! | ||
| [2008/04/30 09:37:19] <nigelk> :) | ||
| [2008/04/30 09:37:30] <nigelk> be thankful you didn't try it in 10.5.0 ;) | ||
| [2008/04/30 09:37:53] <nigelk> we should be releasing some tools to the community this year to automate this stuff a lot more | ||
| [2008/04/30 09:38:23] <asa> and then you just are using the apple provider? | ||
| [2008/04/30 09:38:30] <nigelk> pkgdmg | ||
| [2008/04/30 09:38:31] <asa> or are you then wrappering in dmgs | ||
| [2008/04/30 09:38:47] <nigelk> i honestly haven't tested the other providers much as we host the pkgs on http:// urls | ||
| [2008/04/30 09:38:54] <asa> ok. is there a super quick method for dmging it? | ||
| [2008/04/30 09:38:56] <nigelk> and can't do flat packages due to having 10.4 clients still | ||
| [2008/04/30 09:38:59] <nigelk> make a folder | ||
| [2008/04/30 09:39:01] <nigelk> put the pkg in it | ||
| [2008/04/30 09:39:08] <nigelk> use Disk Utility to go "New Image -> From Folder" | ||
| [2008/04/30 09:39:09] <nigelk> done | ||
| [2008/04/30 09:39:16] <asa> =) thank. | ||
| [2008/04/30 09:39:17] <asa> s | ||
| [2008/04/30 09:39:19] <nigelk> name the folder what you want the dmg to be named | ||
| [2008/04/30 09:39:33] <nigelk> i suggest naming them with datestamps like Foo-20080429.dmg | ||
| [2008/04/30 09:39:43] <nigelk> so you can increment them and puppet knows to upgrade clients | ||
| [2008/04/30 09:40:31] <asa> cool. thanks. | ||
| [2008/04/30 09:41:28] @ gh joined channel #puppet | ||
| [2008/04/30 09:45:00] <asa> nigelk: any experience with autofs + nfs under leopard? my mounts keep disappearing(after timeout) and I have no way to get them back via the finder. | ||
| [2008/04/30 09:45:06] <nigelk> heh | ||
| [2008/04/30 09:45:09] <nigelk> I do actually :) | ||
| [2008/04/30 09:45:16] <nigelk> are they ldap mounts? | ||
| [2008/04/30 09:45:29] <nigelk> Apple don't want to integrate autofs mounts to the Finder | ||
| [2008/04/30 09:45:32] <asa> I am doing a killall Finder after a ls /net/somepath/someotherpath | ||
| [2008/04/30 09:45:37] <nigelk> I've been arguing with them about this | ||
| [2008/04/30 09:45:55] <asa> they are automounter maps in files /etc/auto.master etc... | ||
| [2008/04/30 09:46:00] <asa> yeah wtf? | ||
| [2008/04/30 09:46:09] <nigelk> i'm actually a bit flat out at the moment | ||
| [2008/04/30 09:46:14] <asa> they have all the nice ui widgetry to do it. | ||
| [2008/04/30 09:46:14] <nigelk> want to email me and I'll have a think/ | ||
| [2008/04/30 09:46:16] <nigelk> ? | ||
| [2008/04/30 09:46:21] <nigelk> nigel@explanatorygap.net | ||
| [2008/04/30 09:46:38] <nigelk> i've been doing heaps of autofs stuff, you should see how robust that sucker is! | ||
| [2008/04/30 09:46:45] <nigelk> we've managed to break 20,000 mounts on a single client | ||
| [2008/04/30 09:46:59] <asa> np.... sorry to be a drain on your time at the moment. I am looking around for smart leopard sysadmins and here one is. =) | ||
| [2008/04/30 09:47:04] <nigelk> I couldn't get the older automountd to do 100 | ||
| [2008/04/30 09:47:07] <nigelk> heh | ||
| [2008/04/30 09:47:11] <asa> you can understand my desire to brain suck. | ||
| [2008/04/30 09:47:11] <nigelk> check the afp548.com forums too | ||
| [2008/04/30 09:47:17] <nigelk> the macenterprise.org mailing list is also good | ||
| [2008/04/30 09:47:21] <nigelk> really good actually | ||
| [2008/04/30 09:47:29] <asa> Ill dig in. | ||
| [2008/04/30 09:47:38] <asa> 20000 is crazyness. | ||
| [2008/04/30 09:47:45] <asa> we are nowhere near that big. | ||
| [2008/04/30 09:48:16] <asa> ill hit you up on email and have a good evening, or morning or whatever. =) | ||
| [2008/04/30 09:49:57] <nigelk> heh. | ||
| [2008/04/30 09:50:11] @ Quit: plathrop: | ||
| [2008/04/30 09:58:17] @ Quit: freiheit: | ||
| [2008/04/30 10:11:28] @ Demosthe1ex joined channel #puppet | ||
| [2008/04/30 10:21:42] @ Quit: jlord: Read error: 110 (Connection timed out) | ||
| [2008/04/30 10:22:09] @ Quit: Demosthenex: Read error: 113 (No route to host) | ||
| [2008/04/30 10:32:31] @ Quit: jvanzyl: | ||
| [2008/04/30 10:32:35] <fujin> Anyone know if you can do like regex string matching in Ruby? | ||
| [2008/04/30 10:32:51] <fujin> I've seen it in other parts of it, but basically I wanna do puts m if /blahblah/ | ||
| [2008/04/30 10:38:02] <BarnacleBob> shit --confdir is no longer a puppetmasterd option? | ||
| [2008/04/30 10:38:09] <BarnacleBob> how do i specify the directory? | ||
| [2008/04/30 10:38:23] <BarnacleBob> it keeps replacing my symlink of /etc/pupppet with a directory | ||
| [2008/04/30 10:38:42] <BarnacleBob> the solution before was to just use --confdir but it dosn't seem to be an option now in 24.4 | ||
| [2008/04/30 10:38:47] <BarnacleBob> (just upgraded from 23.0) | ||
| [2008/04/30 10:39:56] <fujin> It doesn't allow symlinks. | ||
| [2008/04/30 10:40:13] <BarnacleBob> ok so how do i use a different config directory than /etc/puppet | ||
| [2008/04/30 10:41:04] <BarnacleBob> it says --confdir=/asdf/aalskdfj on this page: http://reductivelabs.com/projects/puppet/reference/configref.html | ||
| [2008/04/30 10:41:07] <BarnacleBob> but its clearly not working | ||
| [2008/04/30 10:41:28] <BarnacleBob> ruby /usr/sbin/puppetmasterd --manifest=/data/puppet/etc/manifests/site.pp --logdest=syslog --autosign=true --confdir=/data/puppet/etc | ||
| [2008/04/30 10:41:55] <BarnacleBob> Apr 29 17:36:28 rakino puppetmasterd[908]: Could not parse for environment development: Could not find file /etc/puppet/manifests/site.pp | ||
| [2008/04/30 10:43:01] <fujin> And what's in puppet.conf? | ||
| [2008/04/30 10:43:07] <BarnacleBob> checking now | ||
| [2008/04/30 10:43:08] <BarnacleBob> nothing | ||
| [2008/04/30 10:43:25] <fujin> and uh | ||
| [2008/04/30 10:43:30] <BarnacleBob> adding it :) | ||
| [2008/04/30 10:43:32] <fujin> I didn't think you could use ='s | ||
| [2008/04/30 10:43:38] <fujin> on the cli | ||
| [2008/04/30 10:43:41] * fujin tests | ||
| [2008/04/30 10:44:10] <fujin> hm | ||
| [2008/04/30 10:44:11] <fujin> works fine for me | ||
| [2008/04/30 10:44:17] <fujin> ebug: /Settings[/tmp/puppettest/puppet.conf]/Settings[puppetmasterd]/File[/tmp/puppettest/manifests/site.pp]: Autorequiring File[/tmp/puppettest/manifests] | ||
| [2008/04/30 10:44:19] @ Quit: shadoi: "leaving" | ||
| [2008/04/30 10:44:32] <fujin> puppetmasterd --confdir /tmp/puppettest --no-daemonize --debug | ||
| [2008/04/30 10:44:34] <BarnacleBob> hrm its ignoring it for me | ||
| [2008/04/30 10:44:36] <BarnacleBob> oh | ||
| [2008/04/30 10:44:37] <BarnacleBob> no = | ||
| [2008/04/30 10:44:41] <BarnacleBob> = use to work | ||
| [2008/04/30 10:44:47] <fujin> not as far as I know, but ok. | ||
| [2008/04/30 10:45:11] <BarnacleBob> in fact i would assume no ='s would not work with a -- option because thats how every other *nix utility works | ||
| [2008/04/30 10:46:20] <BarnacleBob> at least thats what i thought | ||
| [2008/04/30 10:46:20] <BarnacleBob> well | ||
| [2008/04/30 10:46:24] <BarnacleBob> as long as this works :) | ||
| [2008/04/30 10:47:50] <BarnacleBob> sweet yes! | ||
| [2008/04/30 10:47:50] <BarnacleBob> kick ass | ||
| [2008/04/30 10:47:57] <BarnacleBob> tahsnk fujin for the help | ||
| [2008/04/30 10:48:17] <BarnacleBob> i can go home and play gta4 as soon as this machine finishes applying | ||
| [2008/04/30 10:49:07] <BarnacleBob> oh crap | ||
| [2008/04/30 10:49:14] <BarnacleBob> how do i upgrade my sql lite database | ||
| [2008/04/30 10:52:06] @ jvanzyl joined channel #puppet | ||
| [2008/04/30 10:53:17] @ lak joined channel #puppet | ||
| [2008/04/30 10:53:51] @ kenvandine joined channel #puppet | ||
| [2008/04/30 10:55:09] @ Quit: RainDoctor: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 10:57:28] @ shake-n-bake joined channel #puppet | ||
| [2008/04/30 10:58:28] @ Quit: jvanzyl: | ||
| [2008/04/30 11:04:09] @ heydrick left channel #puppet () | ||
| [2008/04/30 11:04:50] <fujin> delete the old one | ||
| [2008/04/30 11:04:50] <fujin> lol | ||
| [2008/04/30 11:07:40] <BarnacleBob> yeah i'll mess with it tomorrow :) | ||
| [2008/04/30 11:07:52] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2008/04/30 11:14:43] @ Quit: lak: Read error: 113 (No route to host) | ||
| [2008/04/30 11:17:41] @ Quit: raphink: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 11:18:19] @ raphink joined channel #puppet | ||
| [2008/04/30 11:22:53] @ Quit: andrewcshafer_: | ||
| [2008/04/30 11:28:52] <fujin> anyone familiar with reporting, in particular store/tagmail? | ||
| [2008/04/30 11:28:54] @ Quit: spheromak: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 11:29:03] <fujin> I'm trying to work out the best way to do this, going forarrd | ||
| [2008/04/30 11:29:13] <fujin> I think a rails app which parses out the yaml generated by the store processor is probably the best idea | ||
| [2008/04/30 11:29:21] @ spheromak joined channel #puppet | ||
| [2008/04/30 11:31:34] @ RainDoctor joined channel #puppet | ||
| [2008/04/30 11:35:22] <fujin> perhaps I should hack it into puppetshow | ||
| [2008/04/30 11:37:06] <fujin> that's already got the basework.. I guess | ||
| [2008/04/30 11:37:11] <fujin> where's that bloody shadoi | ||
| [2008/04/30 11:44:22] @ zobbo__ joined channel #puppet | ||
| [2008/04/30 11:51:53] @ Quit: nigelk: | ||
| [2008/04/30 11:53:58] @ gh left channel #puppet () | ||
| [2008/04/30 11:57:58] @ Quit: shake-n-bake: | ||
| [2008/04/30 12:00:52] @ Quit: zobbo: Read error: 110 (Connection timed out) | ||
| [2008/04/30 12:01:46] @ zobbo joined channel #puppet | ||
| [2008/04/30 12:02:35] @ Quit: zobbo_: Read error: 110 (Connection timed out) | ||
| [2008/04/30 12:18:54] @ Quit: zobbo: Remote closed the connection | ||
| [2008/04/30 12:22:30] @ shadoi joined channel #puppet | ||
| [2008/04/30 12:22:42] @ zobbo joined channel #puppet | ||
| [2008/04/30 12:26:59] <bda> Hm. So if you have puppet watching some directory... which has, say, 300MB of stuff in it. And it only needs to watch, say, a handful of text files in there... | ||
| [2008/04/30 12:27:12] <bda> What's a good way to not have puppetd bloat up to 300MB and iterate through the entire directory structure? :P | ||
| [2008/04/30 12:27:21] <shadoi> don't use it for that. | ||
| [2008/04/30 12:27:37] <shadoi> use rsync or something. | ||
| [2008/04/30 12:27:50] <bda> :\ | ||
| [2008/04/30 12:27:58] <shadoi> 0.25.x will probably handle it better, it's a known limitation. | ||
| [2008/04/30 12:28:02] <bda> ko. | ||
| [2008/04/30 12:28:04] <bda> Thanks. | ||
| [2008/04/30 12:30:31] @ Quit: huangmingyou: "Leaving." | ||
| [2008/04/30 12:30:43] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 12:38:48] @ Quit: asa: | ||
| [2008/04/30 12:56:09] @ zobbo__ is now known as zobbo_ | ||
| [2008/04/30 12:56:46] <fujin> oh, so new oh hey shadoi ! | ||
| [2008/04/30 12:57:10] <fujin> shadoi: I was going to do some work w/ Puppetshow, unless you're interested in doing it | ||
| [2008/04/30 12:57:27] <fujin> basically using the reports=store from puppetmaster, parsing them into a pretty UI | ||
| [2008/04/30 12:57:34] @ ^authentic joined channel #puppet | ||
| [2008/04/30 12:57:58] <shadoi> fujin: honestly I would wait | ||
| [2008/04/30 12:58:03] <fujin> what, for REST? | ||
| [2008/04/30 12:58:08] <shadoi> yeah | ||
| [2008/04/30 12:58:13] <fujin> but it wont' change what I'm tryign to do | ||
| [2008/04/30 12:58:16] <shadoi> the way we do is going to change pretty drastically | ||
| [2008/04/30 12:58:35] <shadoi> you'd want to use the same DB as storeconfigs right? | ||
| [2008/04/30 12:58:41] <fujin> no, nothing to do with the db at all | ||
| [2008/04/30 12:59:03] <fujin> just parsing out the /var/lib/puppet/reports/<hosts>/*.yaml | ||
| [2008/04/30 12:59:14] <fujin> from a bunch of noop nodes | ||
| [2008/04/30 12:59:53] <fujin> following me? | ||
| [2008/04/30 13:00:06] <shadoi> ahh... I was planning to do that and a couple other things in the interim before REST but from what Luke is saying it would be much better to help with the REST support. | ||
| [2008/04/30 13:01:49] <fujin> ah.. right | ||
| [2008/04/30 13:02:05] <fujin> well, I dunno. I might just make a simple rails app to parse them | ||
| [2008/04/30 13:02:23] <shadoi> What stuff do you want out of them? | ||
| [2008/04/30 13:02:30] <fujin> well, just the logs | ||
| [2008/04/30 13:02:40] <fujin> hostname -> logs, changes | ||
| [2008/04/30 13:03:31] <fujin> so it shows when a client tried to apply changes (they're all in noop mode) | ||
| [2008/04/30 13:04:35] @ Quit: randybias: | ||
| [2008/04/30 13:04:46] @ randybias joined channel #puppet | ||
| [2008/04/30 13:06:50] <jamesturnbull> fujin: I've missed part of this convo but wouldn't it make sense to make that part of puppetshow? | ||
| [2008/04/30 13:07:12] <jamesturnbull> fujin: ignore me | ||
| [2008/04/30 13:07:18] * jamesturnbull reads back | ||
| [2008/04/30 13:08:29] <fujin> yes, it certainly does | ||
| [2008/04/30 13:08:50] <fujin> although puppetshow is solely for storeconfigs visualisation | ||
| [2008/04/30 13:08:54] <fujin> I agree that should be the place for it | ||
| [2008/04/30 13:08:58] <fujin> although, for now, I may just write a new rails app | ||
| [2008/04/30 13:09:03] @ jvanzyl joined channel #puppet | ||
| [2008/04/30 13:09:05] <fujin> (It'll be good practice ) | ||
| [2008/04/30 13:10:34] <shadoi> fujin: I definitely puppetshow is the place it should end up, but by all means, practice away. | ||
| [2008/04/30 13:10:38] <shadoi> ^think | ||
| [2008/04/30 13:11:43] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/04/30 13:11:46] @ ^authentic is now known as authentic | ||
| [2008/04/30 13:12:06] @ Quit: johnf: Read error: 113 (No route to host) | ||
| [2008/04/30 13:13:18] <fujin> shadoi: sure | ||
| [2008/04/30 13:13:27] <fujin> wow, I didn't realise you could 'rails blah' | ||
| [2008/04/30 13:13:34] <fujin> I'm so crap at RoR :> | ||
| [2008/04/30 13:13:38] <shadoi> hehe | ||
| [2008/04/30 13:14:00] <shadoi> fujin: I'd recommend playing with hobo to begin with, since I think it's probably a great way to go for puppetshow down the road. | ||
| [2008/04/30 13:14:20] <shadoi> I'd like to get rid of active_scaffold and do everything with hobo | ||
| [2008/04/30 13:15:08] <fujin> hobo?? | ||
| [2008/04/30 13:15:10] * fujin googles | ||
| [2008/04/30 13:15:14] <shadoi> hobocentral.net | ||
| [2008/04/30 13:15:20] <shadoi> try the agility tutorial | ||
| [2008/04/30 13:15:23] <shadoi> on their site | ||
| [2008/04/30 13:17:28] <fujin> thanks mate, appreciate it | ||
| [2008/04/30 13:18:27] * fujin gem installs hobo | ||
| [2008/04/30 13:21:00] @ lak joined channel #puppet | ||
| [2008/04/30 13:26:25] @ hatumi joined channel #puppet | ||
| [2008/04/30 13:29:14] @ Quit: hatumi: Client Quit | ||
| [2008/04/30 13:32:51] @ nigelk joined channel #puppet | ||
| [2008/04/30 13:33:36] <fujin> wow, hobo looks nice shadoi | ||
| [2008/04/30 13:33:41] <fujin> I'm doing that agility tutorial now | ||
| [2008/04/30 13:35:11] @ johnf joined channel #puppet | ||
| [2008/04/30 13:36:01] @ Quit: Demosthe1ex: "leaving" | ||
| [2008/04/30 13:36:51] @ Demosthenes joined channel #puppet | ||
| [2008/04/30 13:45:24] @ Quit: huangmingyou: "Leaving." | ||
| [2008/04/30 13:50:12] <fujin> hrm, quite weird. gems on ubuntu 8.04 install to /var/lib/gems/1.8/bin, yet on 7.04 they install to /usr/bin like they should | ||
| [2008/04/30 13:50:15] <fujin> so weird | ||
| [2008/04/30 13:50:22] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 13:51:08] @ Quit: huangmingyou: Client Quit | ||
| [2008/04/30 13:51:19] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 13:57:22] <jamesturnbull> shadoi: is there a newer hobo version now that fixes that ticket I raised? | ||
| [2008/04/30 13:57:37] <shadoi> yup | ||
| [2008/04/30 13:57:38] <shadoi> 0.7.5 | ||
| [2008/04/30 13:57:54] @ andrewcshafer joined channel #puppet | ||
| [2008/04/30 13:58:49] <fujin> shadoi: you around mate? | ||
| [2008/04/30 13:58:54] <shadoi> yup | ||
| [2008/04/30 13:58:55] <fujin> /usr/lib/ruby/1.8/fileutils.rb:1234:in `mkdir': No such file or directory - vendor/plugins/hobo (Errno::ENOENT) | ||
| [2008/04/30 13:59:01] <fujin> on 'hobo blah' | ||
| [2008/04/30 13:59:18] <shadoi> you don't have fileutils? | ||
| [2008/04/30 13:59:20] <shadoi> that's weird | ||
| [2008/04/30 13:59:49] <shadoi> irb(main):001:0> FileUtils | ||
| [2008/04/30 13:59:49] <shadoi> => FileUtils | ||
| [2008/04/30 13:59:55] <shadoi> that doesn't work for you? | ||
| [2008/04/30 14:00:05] <fujin> unitialised constant FileUtils | ||
| [2008/04/30 14:00:15] <shadoi> uhh... what version of ruby? | ||
| [2008/04/30 14:00:15] <jamesturnbull> shadoi: just gem install hobo? | ||
| [2008/04/30 14:00:20] <shadoi> jamesturnbull: yeah | ||
| [2008/04/30 14:00:29] <fujin> 1.8, maybe it's something to do with gems / somethign conflicting | ||
| [2008/04/30 14:00:37] <fujin> ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] | ||
| [2008/04/30 14:00:57] <shadoi> I thought fileutils was part of core ruby | ||
| [2008/04/30 14:01:23] <shadoi> http://www.ruby-doc.org/core/classes/FileUtils.html | ||
| [2008/04/30 14:01:30] <fujin> heh, yeah, probably somethign weird going on with gems | ||
| [2008/04/30 14:02:08] <fujin> that's real strange though, surely it should work (puppet and other such things still work) | ||
| [2008/04/30 14:02:42] <shadoi> is "blah" a file that already exists maybe? | ||
| [2008/04/30 14:03:13] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/04/30 14:03:20] <fujin> nop | ||
| [2008/04/30 14:03:28] <fujin> just tryin to deploy a basic app | ||
| [2008/04/30 14:04:05] <shadoi> dunno, works fine here | ||
| [2008/04/30 14:04:18] <shadoi> seems like something weird with your RUBYLIB setting | ||
| [2008/04/30 14:04:23] <shadoi> not sure | ||
| [2008/04/30 14:04:32] @ sparanjape joined channel #puppet | ||
| [2008/04/30 14:04:41] <fujin> well, it's actually calling that fileutil class | ||
| [2008/04/30 14:05:13] <fujin> ah, if I create vendor/plugins | ||
| [2008/04/30 14:05:18] <fujin> oh nm | ||
| [2008/04/30 14:05:20] <fujin> that didn't work either | ||
| [2008/04/30 14:05:25] @ m1n3s6 joined channel #puppet | ||
| [2008/04/30 14:05:49] <fujin> man wtf | ||
| [2008/04/30 14:06:06] <shadoi> what version of rails do you have? | ||
| [2008/04/30 14:06:20] <shadoi> rails --version | ||
| [2008/04/30 14:06:50] <fujin> 2.0.2-1ubuntu1 | ||
| [2008/04/30 14:07:00] @ Quit: randybias: | ||
| [2008/04/30 14:07:10] <fujin> ah, I bet it's tring to copy plugins/hobo from RUBYLIB somewhere or something. | ||
| [2008/04/30 14:07:22] <fujin> and cause it's installed into the gempath instead standard rubylib | ||
| [2008/04/30 14:07:34] @ randybias joined channel #puppet | ||
| [2008/04/30 14:15:48] @ johnf joined channel #puppet | ||
| [2008/04/30 14:18:07] @ Quit: johnf: Client Quit | ||
| [2008/04/30 14:24:13] @ Quit: dysinger: | ||
| [2008/04/30 14:25:11] @ johnf joined channel #puppet | ||
| [2008/04/30 14:31:07] <fujin> shadoi: woops, broke my blog :P | ||
| [2008/04/30 14:31:24] <shadoi> hehe | ||
| [2008/04/30 14:41:25] <fujin> ugh | ||
| [2008/04/30 14:41:35] <fujin> gem isntalling rdoc/ri stuff takes *sooo* long | ||
| [2008/04/30 14:56:07] @ Quit: huangmingyou: "Leaving." | ||
| [2008/04/30 14:56:17] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 15:00:22] <huangmingyou> msn最近好像不稳定 | ||
| [2008/04/30 15:00:47] <huangmingyou> send error :) | ||
| [2008/04/30 15:02:39] @ Quit: huangmingyou: "Leaving." | ||
| [2008/04/30 15:02:44] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 15:04:02] @ Quit: huangmingyou: Client Quit | ||
| [2008/04/30 15:04:06] @ huangmingyou joined channel #puppet | ||
| [2008/04/30 15:17:38] <holoway> so, here is an odd one for you | ||
| [2008/04/30 15:17:49] <holoway> puppermasterd is running being apache | ||
| [2008/04/30 15:17:59] <holoway> and there is another, totally different apache also runnin on that machine | ||
| [2008/04/30 15:18:19] <holoway> hitting puppermasterd with puppetd causes *the other apache to segfault* | ||
| [2008/04/30 15:18:43] <holoway> anyone ever seen anything like that? | ||
| [2008/04/30 15:26:05] @ gh joined channel #puppet | ||
| [2008/04/30 15:26:51] @ Quit: lak: | ||
| [2008/04/30 15:35:16] @ dysinger joined channel #puppet | ||
| [2008/04/30 15:38:42] <shadoi> holoway: some sort of shared memory issue? | ||
| [2008/04/30 15:38:45] <shadoi> that's pretty funky | ||
| [2008/04/30 15:39:09] <shadoi> shared lock file... heh.. I can't think of anything really. | ||
| [2008/04/30 15:58:30] @ Quit: fujin: "leaving" | ||
| [2008/04/30 16:04:40] @ patobrien joined channel #puppet | ||
| [2008/04/30 16:04:57] @ fujin joined channel #puppet | ||
| [2008/04/30 16:06:07] <fujin> wow, I really broke my rails | ||
| [2008/04/30 16:06:10] @ Quit: nigelk: | ||
| [2008/04/30 16:16:51] <holoway> shadoi: that's all I could come up with | ||
| [2008/04/30 16:17:05] <holoway> they both have separate SSL mutexes | ||
| [2008/04/30 16:17:29] <fujin> sup adam | ||
| [2008/04/30 16:17:41] <holoway> hola my new zealander compadre | ||
| [2008/04/30 16:17:53] <holoway> have a very odd apache issue | ||
| [2008/04/30 16:18:09] <holoway> where the puppetmasterd instance of apache seems to segfault the "normal" apache | ||
| [2008/04/30 16:18:18] <holoway> on rhel 5.1 | ||
| [2008/04/30 16:19:22] <fujin> wth | ||
| [2008/04/30 16:19:24] <fujin> that's insane. | ||
| [2008/04/30 16:19:47] <holoway> I concur | ||
| [2008/04/30 16:20:10] <holoway> it is, in fat, driving me nuts | ||
| [2008/04/30 16:20:14] <holoway> er fact | ||
| [2008/04/30 16:20:15] <holoway> ;) | ||
| [2008/04/30 16:21:38] <holoway> how are things in kiwi land, fujin? | ||
| [2008/04/30 16:21:46] <fujin> eh, s'ok | ||
| [2008/04/30 16:21:51] <fujin> I broke my RoR setup on junglist.gen.nz | ||
| [2008/04/30 16:21:53] <fujin> just tryint o fix that | ||
| [2008/04/30 16:22:01] <fujin> so I can start writing my puppet change control webui | ||
| [2008/04/30 16:22:19] <holoway> oh? you going to have approval for -noop runs? | ||
| [2008/04/30 16:23:54] <fujin> yuh | ||
| [2008/04/30 16:24:24] <fujin> I've got all my clients configured with noop, and I plan to parse out the YAML supplied by the reports=store provider, and pop it into a nice ui | ||
| [2008/04/30 16:24:30] <fujin> initially it'll just be noop change logging | ||
| [2008/04/30 16:24:39] <holoway> which is still awesome | ||
| [2008/04/30 16:24:47] <holoway> but throw some triggers in there | ||
| [2008/04/30 16:24:58] <holoway> and a wrapper for puppetd to fetch whether it's next state should be --noop or not | ||
| [2008/04/30 16:24:59] <fujin> yeah, I'm not sure there is anyway to do it | ||
| [2008/04/30 16:25:09] <holoway> and you've got magick clicky change control | ||
| [2008/04/30 16:25:14] <fujin> well yeah, my other idea was to use puppetrun | ||
| [2008/04/30 16:25:23] <fujin> but have to work out how to pass it --no-noop | ||
| [2008/04/30 16:25:24] <fujin> ;P | ||
| [2008/04/30 16:25:31] <holoway> yeah | ||
| [2008/04/30 16:25:34] <fujin> that's far away though, and I'm told that it should become much easier with REST | ||
| [2008/04/30 16:25:39] <fujin> so for now I just wanna get the changelogigng running | ||
| [2008/04/30 16:25:47] <fujin> (after I fix me blog, anyway) | ||
| [2008/04/30 16:27:18] <fujin> man, I dunno wtf is wrong with it | ||
| [2008/04/30 16:27:21] <fujin> it's not even spawning the rails app | ||
| [2008/04/30 16:29:39] <holoway> trade you your rails issue for this apache problem? | ||
| [2008/04/30 16:31:53] <fujin> haha | ||
| [2008/04/30 16:31:57] <fujin> you'll probly fix it in a snap | ||
| [2008/04/30 16:33:09] <fujin> bleh, just going to reinstall mephisto | ||
| [2008/04/30 16:35:37] <holoway> yeah, I got fucking nothing on this apache problem | ||
| [2008/04/30 16:35:38] <holoway> I'm done | ||
| [2008/04/30 16:35:43] <holoway> see ya'll tomorrow | ||
| [2008/04/30 16:36:03] <fujin> ciao | ||
| [2008/04/30 16:40:09] @ Quit: patobrien: "Leaving" | ||
| [2008/04/30 16:46:18] <shadoi> Updating metadata for 306 gems from http://gems.rubyforge.org/ | ||
| [2008/04/30 16:46:18] <shadoi> heh | ||
| [2008/04/30 16:46:20] <shadoi> yikes | ||
| [2008/04/30 16:46:37] <fujin> ;\ | ||
| [2008/04/30 16:47:17] <fujin> think I broke passenger somehow.. weird though cause a brand new rails app works but mephisto doesn't | ||
| [2008/04/30 16:47:44] @ BarnacleBob joined channel #puppet | ||
| [2008/04/30 16:50:12] <shadoi> mephisto does a lot more than a base rails app, it may just be a compatibility issue | ||
| [2008/04/30 16:52:12] <fujin> can't find any errors anywhere though | ||
| [2008/04/30 16:52:18] <fujin> it's like it's not even firing up the passenger handler | ||
| [2008/04/30 16:52:30] <fujin> nah.. it's not. | ||
| [2008/04/30 16:53:49] <fujin> fuck, I've really hosed it now | ||
| [2008/04/30 16:54:55] @ hatumi joined channel #puppet | ||
| [2008/04/30 16:55:03] <hatumi> hi | ||
| [2008/04/30 16:56:24] <fujin> hi | ||
| [2008/04/30 16:56:26] <hatumi> i am using puppet for the first time. i got two systems, (server and clinet). i got my manifests loaded to the server. I am using the sql-server installation clas available on the site | ||
| [2008/04/30 16:56:38] <hatumi> srry mysql installation | ||
| [2008/04/30 16:56:50] <hatumi> i ran puppetmaster | ||
| [2008/04/30 16:56:54] <hatumi> and then puppetd | ||
| [2008/04/30 16:57:13] <hatumi> but it dint install | ||
| [2008/04/30 16:58:03] <fujin> your manifest is wrong | ||
| [2008/04/30 16:58:31] <gh> are you including the mysql-server class anywhere? like the site manifest? | ||
| [2008/04/30 16:59:04] <hatumi> yes | ||
| [2008/04/30 16:59:38] <hatumi> i even tried to do a simple echo. and it doesn't | ||
| [2008/04/30 16:59:40] <hatumi> exec { "echo this works": } | ||
| [2008/04/30 16:59:47] <gh> try running 'puppetd -t -v -d' manually to see if you get any clues | ||
| [2008/04/30 17:00:10] <gh> try notify / notice for those debug msgs | ||
| [2008/04/30 17:04:15] <hatumi> err: Could not retrieve catalog: Certificates were not trusted: hostname was not match with the server certificate this is what i got, although master has signed the certificate | ||
| [2008/04/30 17:05:13] @ Quit: spheromak: Read error: 113 (No route to host) | ||
| [2008/04/30 17:05:25] <fujin> certname/server settings are wrong | ||
| [2008/04/30 17:09:46] <fujin> read the url in topic | ||
| [2008/04/30 17:30:25] @ morfoh_ joined channel #puppet | ||
| [2008/04/30 17:32:11] <hatumi> fujin: on running puppetd -t -v -d it shows me the puppetd config file | ||
| [2008/04/30 17:32:26] @ DerekW joined channel #puppet | ||
| [2008/04/30 17:34:43] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2008/04/30 17:35:30] @ Quit: jason^: Read error: 110 (Connection timed out) | ||
| [2008/04/30 17:41:50] @ Quit: morfoh: Read error: 110 (Connection timed out) | ||
| [2008/04/30 17:42:36] <fujin> that's great | ||
| [2008/04/30 17:43:49] <hatumi> fujin: but shouldn't it install mysql? | ||
| [2008/04/30 17:46:13] <fujin> I've got no idea | ||
| [2008/04/30 17:46:21] <fujin> Did you tell it to install mysql? | ||
| [2008/04/30 17:46:39] <fujin> echo "package { "mysql-server-5.0": ensure => latest; }"|puppet | ||
| [2008/04/30 17:46:47] <fujin> But seriously | ||
| [2008/04/30 17:46:53] <fujin> what are you trying to do? what isn't working? | ||
| [2008/04/30 17:46:56] <fujin> you aren't helping yourself here | ||
| [2008/04/30 17:48:10] <hatumi> i have got the mysq-server install class included in site.pp | ||
| [2008/04/30 17:48:31] <fujin> show me | ||
| [2008/04/30 17:48:34] <fujin> pastie: give hatumi a link | ||
| [2008/04/30 17:48:40] <fujin> err | ||
| [2008/04/30 17:48:43] <fujin> bleh | ||
| [2008/04/30 17:48:48] <fujin> show me | ||
| [2008/04/30 17:54:53] <hatumi> node default { | ||
| [2008/04/30 17:54:55] <hatumi> include mysql-server | ||
| [2008/04/30 17:54:56] <hatumi> exec { "echo this works": } | ||
| [2008/04/30 17:54:58] <hatumi> } | ||
| [2008/04/30 17:54:58] <fujin> no | ||
| [2008/04/30 17:54:59] <fujin> stop | ||
| [2008/04/30 17:55:11] @ gaurav joined channel #puppet | ||
| [2008/04/30 17:56:26] <sparanjape> i'm trying to run a if loop thru puppet.. the loop runs ok if manually tried.. doesnt seem to work with puppet.. | ||
| [2008/04/30 17:56:30] <sparanjape> if [ ! -e /usr/local/PuppetLogs/dirstruct.txt ]; then tar -xzvf /etc/dirstruct.tar.gz && touch /usr/local/PuppetLogs/dirstruct.txt; fi; | ||
| [2008/04/30 17:56:38] <sparanjape> this works w/o puppet | ||
| [2008/04/30 17:57:00] <sparanjape> but if i do exec { "if [ ! -e /usr/local/PuppetLogs/dirstruct.txt ]; then tar -xzvf /etc/dirstruct.tar.gz && touch /usr/local/PuppetLogs/dirstruct.txt; fi;": | ||
| [2008/04/30 17:57:04] <sparanjape> doesnt work | ||
| [2008/04/30 18:01:53] <fujin> seems like a really broken way to do it | ||
| [2008/04/30 18:02:59] <fujin> exec { "tar zxf /etc/dirstruct.tar.gz": creates => "/etc/dirstruct/some/file/it/creates" } | ||
| [2008/04/30 18:04:35] <fujin> is dirstruct.tar.gz massive or something? | ||
| [2008/04/30 18:04:44] <sparanjape> 12mb | ||
| [2008/04/30 18:05:22] <fujin> What's in it? | ||
| [2008/04/30 18:05:31] <fujin> can you not just use a file{} resource with recurse? | ||
| [2008/04/30 18:05:51] <fujin> anyway, exec shells out to 'sh -c' as far as I know, so that's why your bashim doesn't work | ||
| [2008/04/30 18:06:23] <randybias> looks like valid sh to me. which bashism? | ||
| [2008/04/30 18:06:25] @ jason^ joined channel #puppet | ||
| [2008/04/30 18:06:37] <randybias> still a broken way to do it though | ||
| [2008/04/30 18:07:26] <fujin> hmm, yeah | ||
| [2008/04/30 18:07:33] <fujin> very | ||
| [2008/04/30 18:08:00] <randybias> if I had to guess, the []'s are a problem | ||
| [2008/04/30 18:08:48] <randybias> exec { "some unique identifier": command => "<your_bash_fu_here>", creates => "path/to/some/file/in/tar/ball" } | ||
| [2008/04/30 18:09:09] <randybias> something like that.. take it with a grain. I'm barely awake | ||
| [2008/04/30 18:12:20] @ Quit: shadoi: "leaving" | ||
| [2008/04/30 18:15:40] @ Quit: markl___: Connection timed out | ||
| [2008/04/30 18:15:44] @ Quit: markl_: No route to host | ||
| [2008/04/30 18:25:25] <gh> i have $dnssearchpath = "somepath someotherpath" in my site.pp outside of any node definitions and from within a class, $dnssearchpath has that value, when i attempt to reset it within a node definition, i never get that value | ||
| [2008/04/30 18:25:32] <gh> also, i am noticing that when i set variables inside the node def, i cannot access them from my modules.. i am attempting $foo = [ 'bar' ], but when i do a notify { "foo is $foo": } in my module, $foo is empty | ||
| [2008/04/30 18:29:39] @ niraj1234 joined channel #puppet | ||
| [2008/04/30 18:30:20] @ Quit: niraj1234: Client Quit | ||
| [2008/04/30 18:30:36] <gh> looks like the node definition does not necessarily come first, that seems odd | ||
| [2008/04/30 18:41:46] <fujin> That's called scoping. And you can't assign a single value to an array afaik. | ||
| [2008/04/30 18:41:58] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/04/30 18:42:16] <fujin> $foo =bar | ||
| [2008/04/30 18:42:48] <fujin> although, variables assigned in the node{} block are scoped so that all modules should be able to access them | ||
| [2008/04/30 18:42:51] <fujin> and well, it works here ;} | ||
| [2008/04/30 18:44:27] <gh> i put notifies in the node def as well and my module and saw two different results, node printed with variable, module did not | ||
| [2008/04/30 18:49:57] <gh> works fine if i do node 'host' { | ||
| [2008/04/30 18:49:57] <gh> $foo =bar | ||
| [2008/04/30 18:49:57] <gh> include somemodulethatnotifiesme } | ||
| [2008/04/30 18:50:40] <fujin> So what isn't working, that should be? | ||
| [2008/04/30 18:50:54] <gh> i have a default module that includes other stuff, namely a module that controls the resolv.conf, if i inherit the default module for my node, or include it, $foo does not get set | ||
| [2008/04/30 18:51:45] <gh> not sure how to rework my requires to get the graph to come out correctly | ||
| [2008/04/30 18:53:19] @ morfoh_ is now known as morfoh | ||
| [2008/04/30 19:09:40] @ kolla joined channel #puppet | ||
| [2008/04/30 19:15:14] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/04/30 19:17:05] @ authentic joined channel #puppet | ||
| [2008/04/30 19:20:55] <sparanjape> if i try to use a file{ }resoource with recurse, i'm getting No specified sources exist in logs | ||
| [2008/04/30 19:22:47] <sparanjape> i guess its bcoz i'm running a new client against a old server | ||
| [2008/04/30 19:23:50] <Volcane> so in a module, template("modulename/blah.erb") refers to the one in the module, can that be somehow environments aware? I dont want to have seperate modules for each environment, i just need diff templates | ||
| [2008/04/30 19:25:38] <hatumi> $pword= "something" is this wrong syntax for assigning | ||
| [2008/04/30 19:25:41] <hatumi> it shows error | ||
| [2008/04/30 19:25:49] <hatumi> Could not match '$pword' | ||
| [2008/04/30 19:26:39] <Volcane> looks ok, though all mine has a " " before the = | ||
| [2008/04/30 19:26:45] <Volcane> not sure if that makes any diff though | ||
| [2008/04/30 19:34:10] @ Quit: authentic: Remote closed the connection | ||
| [2008/04/30 19:35:32] <hatumi> so do u mean it should be "$pword" = "something" | ||
| [2008/04/30 19:36:45] @ authentic joined channel #puppet | ||
| [2008/04/30 19:42:32] @ lady joined channel #puppet | ||
| [2008/04/30 19:45:40] @ Quit: lady: "pirchxp" | ||
| [2008/04/30 19:47:41] @ Quit: authentic: Remote closed the connection | ||
| [2008/04/30 19:49:26] <Volcane> hatumi: $pword = "blah" | ||
| [2008/04/30 19:53:52] @ hatumi left channel #puppet () | ||
| [2008/04/30 20:03:21] @ Quit: gaurav: "Leaving" | ||
| [2008/04/30 20:04:04] @ hatumi joined channel #puppet | ||
| [2008/04/30 20:05:10] @ authentic joined channel #puppet | ||
| [2008/04/30 20:13:24] @ Quit: authentic: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 20:16:21] @ authentic joined channel #puppet | ||
| [2008/04/30 20:29:22] @ ^authentic joined channel #puppet | ||
| [2008/04/30 20:37:04] @ glaw joined channel #puppet | ||
| [2008/04/30 20:38:58] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/04/30 20:39:00] @ ^authentic is now known as authentic | ||
| [2008/04/30 20:46:30] @ Quit: gh: "Leaving." | ||
| [2008/04/30 20:50:50] @ Quit: sparanjape: "Leaving" | ||
| [2008/04/30 20:55:26] @ Quit: m1n3s6: "auf wiedersehen" | ||
| [2008/04/30 20:57:51] @ Quit: hatumi: "ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]" | ||
| [2008/04/30 21:42:31] @ Quit: Volcane: Read error: 60 (Operation timed out) | ||
| [2008/04/30 21:50:31] @ Quit: huggie: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 21:59:09] @ Quit: spike: Read error: 110 (Connection timed out) | ||
| [2008/04/30 22:02:50] @ Quit: gileswork: Remote closed the connection | ||
| [2008/04/30 22:11:30] @ Zothar_Work joined channel #puppet | ||
| [2008/04/30 22:21:20] @ johnf joined channel #puppet | ||
| [2008/04/30 22:29:55] <duritong> am I right to assume that inside an if-statement there have to be something even if I only want to place something in the else? | ||
| [2008/04/30 22:35:57] @ nigelk joined channel #puppet | ||
| [2008/04/30 22:40:18] @ Joined channel #puppet | ||
| [2008/04/30 22:40:20] @ Topic is "0.24.4 is out: http://snurl.com/22lnx | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 about SSL issues" | ||
| [2008/04/30 22:40:20] @ Topic set by lak on Wed Mar 26 07:52:43 +1100 2008 | ||
| [2008/04/30 22:41:41] @ zobbo_ joined channel #puppet | ||
| [2008/04/30 22:41:45] @ jamestur1bull joined channel #puppet | ||
| [2008/04/30 22:41:49] @ Quit: zobbo: Remote closed the connection | ||
| [2008/04/30 22:41:52] @ zobbo joined channel #puppet | ||
| [2008/04/30 22:41:57] @ Quit: jamestur1bull: Client Quit | ||
| [2008/04/30 22:42:31] @ oxtail joined channel #puppet | ||
| [2008/04/30 22:43:19] @ jamestur1bull joined channel #puppet | ||
| [2008/04/30 22:44:09] @ Quit: jamesturnbull: Nick collision from services. | ||
| [2008/04/30 22:44:23] @ Quit: jamestur1bull: Client Quit | ||
| [2008/04/30 22:45:20] @ jamesturnbull joined channel #puppet | ||
| [2008/04/30 22:55:21] @ Quit: Demosthenes: "leaving" | ||
| [2008/04/30 22:56:15] <duritong> what is the best way to submit a little one line patch? | ||
| [2008/04/30 23:03:17] <gepetto> ::puppet:: Ticket #1209 (enhancement created): Patch to fix missing bracket in documentation @ http://reductivelabs.com/trac/puppet/ticket/1209 (by puppet@immerda.ch) | ||
| [2008/04/30 23:05:35] <hacim> duritong: do that ^ :) | ||
| [2008/04/30 23:05:50] <duritong> just did it :P | ||
| [2008/04/30 23:19:24] @ Quit: nigelk: | ||
| [2008/04/30 23:23:52] @ Quit: zobbo_: Read error: 104 (Connection reset by peer) | ||
| [2008/04/30 23:23:54] @ zobbo__ joined channel #puppet | ||
| [2008/04/30 23:25:27] <jamesturnbull> duritong: pushed | ||
| [2008/04/30 23:25:52] <duritong> :) | ||
| [2008/04/30 23:28:37] @ jeckersb joined channel #puppet | ||
| [2008/04/30 23:28:57] @ spike joined channel #puppet | ||
| [2008/04/30 23:38:18] @ felix_da_catz joined channel #puppet | ||
| [2008/04/30 23:49:45] @ lak joined channel #puppet | ||
| [2008/04/30 23:50:28] @ shenson_not_here is now known as shenson |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!