| [2008/04/07 00:04:32] @ pastie joined channel #puppet | ||
| [2008/04/07 00:22:34] @ pleemans joined channel #puppet | ||
| [2008/04/07 00:42:07] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/04/07 01:04:00] * DavidS is now upgrading to 0.24.4 .. | ||
| [2008/04/07 01:04:04] <DavidS> wish me luck :) | ||
| [2008/04/07 01:05:14] * duritong keep his fingers crossed | ||
| [2008/04/07 01:11:55] @ jvanzyl joined channel #puppet | ||
| [2008/04/07 01:15:18] @ markl_ joined channel #puppet | ||
| [2008/04/07 01:19:53] <jmeeuwen> tim|imac, did you ever find out what caused "Validate method failed for class source: Connection refused - connect(2)" (you're the only hit in Google :P) | ||
| [2008/04/07 01:20:33] <tim|imac> jmeeuwen: I'm totally blank on what you're pointing at, I'm afraid | ||
| [2008/04/07 01:20:50] <jmeeuwen> http://www.google.nl/search?num=30&hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=f0B&q=%22Validate+method+failed+for+class+source%3A+Connection+refused+-+connect%282%29%22&btnG=Search&meta= | ||
| [2008/04/07 01:21:21] <jmeeuwen> returns a chat log in march with your name in it, asking the exact same question i was about to ;-) | ||
| [2008/04/07 01:21:37] <tim|imac> ah indeed | ||
| [2008/04/07 01:21:49] <tim|imac> uh no, I'm afraid I don't remember solving it | ||
| [2008/04/07 01:21:57] <tim|imac> might still have that VM around, though | ||
| [2008/04/07 01:21:59] <tim|imac> just a sec | ||
| [2008/04/07 01:24:02] <tim|imac> ok, still have it | ||
| [2008/04/07 01:24:19] <jmeeuwen> still getting the error as well? | ||
| [2008/04/07 01:25:26] <tim|imac> yeah, haven't done anything with it anymore since that time :( | ||
| [2008/04/07 01:25:34] <tim|imac> i'll take a closer look, maybe i can find something | ||
| [2008/04/07 01:27:12] <jmeeuwen> strange thing is, i only get it on the puppetmaster when i run the puppet client | ||
| [2008/04/07 01:27:29] <jmeeuwen> other nodes... no problem | ||
| [2008/04/07 01:28:26] <jmeeuwen> omg | ||
| [2008/04/07 01:28:50] <jmeeuwen> tim|imac, i remove a dependency that couldn't be resolved under certain circumstances... and it rolls | ||
| [2008/04/07 01:29:00] <tim|imac> jmeeuwen: lol | ||
| [2008/04/07 01:29:17] <tim|imac> ok, i noticed too that it was only the puppetd that was running on the puppetmaster itself | ||
| [2008/04/07 01:29:18] <jmeeuwen> *sigh*, stupid me | ||
| [2008/04/07 01:29:25] * tim|imac checks his dependencies... | ||
| [2008/04/07 01:30:18] <tim|imac> jmeeuwen: are you by any chance trying the DavidS repository stuff? | ||
| [2008/04/07 01:30:32] <jmeeuwen> not really | ||
| [2008/04/07 01:30:38] <jmeeuwen> i'm looking at it, it's cool stuff | ||
| [2008/04/07 01:30:51] <tim|imac> hm ok... because that's the only class I'm loading in this test VM :) | ||
| [2008/04/07 01:31:38] @ martha joined channel #puppet | ||
| [2008/04/07 01:32:34] <DavidS> tim|imac: c'mon, not _everything_ is my fault ;)) | ||
| [2008/04/07 01:32:50] <tim|imac> DavidS: :P | ||
| [2008/04/07 01:37:36] @ Quit: stick: Read error: 110 (Connection timed out) | ||
| [2008/04/07 01:40:04] <DavidS> dang .. since recently, git doesn't do a checkout after push'ing :-( | ||
| [2008/04/07 01:40:30] <duritong> DavidS: yeah that's really pitty | ||
| [2008/04/07 01:41:15] <DavidS> duritong: do you have a checkout hook ready? | ||
| [2008/04/07 01:43:23] <DavidS> pastie: url me! | ||
| [2008/04/07 01:43:36] <pastie> http://pastie.org/176094 by DavidS. | ||
| [2008/04/07 01:43:45] <DavidS> that should do it :-/ | ||
| [2008/04/07 01:43:48] <DavidS> will test | ||
| [2008/04/07 01:44:28] <tim|imac> DavidS: do you know a way to automatically push a local git repo to a remote one, after I commit something? | ||
| [2008/04/07 01:44:51] <tim|imac> when there's a 'net connection | ||
| [2008/04/07 01:44:52] <DavidS> tim|imac: probably using the post-commit hook? | ||
| [2008/04/07 01:45:41] <DavidS> something like "exec git push publish &" ? | ||
| [2008/04/07 01:45:55] <DavidS> and hope that there is a ssh-key available | ||
| [2008/04/07 01:45:58] <tim|imac> hm ok... can i remove the : Nothing ? | ||
| [2008/04/07 01:46:46] <duritong> DavidS: no unfortuanetly not, but thanks for posting | ||
| [2008/04/07 01:46:50] <duritong> I can use this :) | ||
| [2008/04/07 01:47:16] <DavidS> tim|imac: only if you want "Nothing" _not_ done on commit | ||
| [2008/04/07 01:47:18] <DavidS> ;) | ||
| [2008/04/07 01:47:37] <tim|imac> hm... tough question... doing nothing is important... | ||
| [2008/04/07 01:48:03] <DavidS> only on sundays ;) | ||
| [2008/04/07 01:48:53] <tim|imac> true that... so i might need to use some date-fu... ;-) | ||
| [2008/04/07 01:51:03] <DavidS> Date::Manip might come handy ;) | ||
| [2008/04/07 01:58:22] @ microw joined channel #puppet | ||
| [2008/04/07 02:00:09] <DavidS> ... adding +x on the hook script helps too | ||
| [2008/04/07 02:00:22] <tim|imac> that, at least, i knew ;-) | ||
| [2008/04/07 02:01:14] <DavidS> knowing and doing are two different things ... much to my dismay ... | ||
| [2008/04/07 02:02:01] <tim|imac> true that... | ||
| [2008/04/07 02:02:07] <tim|imac> hm... my push gets rejected... | ||
| [2008/04/07 02:02:19] @ microw left channel #puppet () | ||
| [2008/04/07 02:02:21] <tim|imac> it worked yesterday... | ||
| [2008/04/07 02:02:28] <DavidS> it has to be fast forward | ||
| [2008/04/07 02:02:52] * tim|imac looks at DavidS with a blank face | ||
| [2008/04/07 02:02:56] <DavidS> or use -f ( "-f: shoot Foot" ) | ||
| [2008/04/07 02:03:20] <tim|imac> would -f be safe if no one else can push to that repository? | ||
| [2008/04/07 02:03:22] <DavidS> fast-forward merge == current HEAD is parent of target HEAD | ||
| [2008/04/07 02:03:44] <DavidS> tim|imac: needing -f means someone has made an error | ||
| [2008/04/07 02:04:00] <tim|imac> how can i see why it was rejected? | ||
| [2008/04/07 02:04:12] <DavidS> it should say so in the message | ||
| [2008/04/07 02:04:25] <DavidS> tim|imac: can you pastie me the output of git push ? | ||
| [2008/04/07 02:04:44] <tim|imac> pastie: give me a url! | ||
| [2008/04/07 02:05:07] <pastie> http://pastie.org/176099 by tim|imac. | ||
| [2008/04/07 02:05:48] <DavidS> " ! [rejected] master -> master (non-fast forward)" <<-- | ||
| [2008/04/07 02:06:12] <tim|imac> but but but, it wasn't a merge? | ||
| [2008/04/07 02:06:20] <tim|imac> i simply added something to a plain text file? | ||
| [2008/04/07 02:06:23] <DavidS> fetch the upstream master into a remote ref and use gitk to assess the situation | ||
| [2008/04/07 02:06:45] <DavidS> "non-fast forward" means, that the target master is not a parent you the ref you are trying to push | ||
| [2008/04/07 02:07:08] <tim|imac> lol... i created the repository on the server yesterday from this directory... | ||
| [2008/04/07 02:07:19] <DavidS> or in layman's terms: there are changes in the target that are not in your local repo | ||
| [2008/04/07 02:07:33] <DavidS> or in layman's terms: git believes that there are changes in the target that are not in your local repo | ||
| [2008/04/07 02:07:37] <DavidS> ^better | ||
| [2008/04/07 02:08:12] <tim|imac> ah hm... ok... let's see how to fetch it without screwing up my local repo :) | ||
| [2008/04/07 02:08:13] <DavidS> git remote add throwaway ssh://hokkertjes@addup.hokkertjes.nl/~/www/addup.hokkertjes.nl/norganna.git | ||
| [2008/04/07 02:08:18] <DavidS> or something like that | ||
| [2008/04/07 02:08:37] <DavidS> you can make a local clone of both repos if you're not sure | ||
| [2008/04/07 02:08:46] <DavidS> you can make local clones of both repos if you're not sure | ||
| [2008/04/07 02:09:40] <spike> morning chaps | ||
| [2008/04/07 02:09:44] <tim|imac> hi spikey | ||
| [2008/04/07 02:10:08] <tim|imac> hm... git is way too much magic for my poor brain :( after i made the remote, how do i fetch the changes? | ||
| [2008/04/07 02:10:13] <DavidS> hi spike! | ||
| [2008/04/07 02:10:23] <DavidS> git fetch throwaway | ||
| [2008/04/07 02:10:31] <spike> how you doing DavidS? | ||
| [2008/04/07 02:10:40] <spike> tim|imac: git is a waste of brain cycles ;) | ||
| [2008/04/07 02:10:58] <tim|imac> spike: no! i like it... if i can understand it... and i wanna understand it :) | ||
| [2008/04/07 02:11:07] <DavidS> spike: soso .. i' currently trying to switch to 0.24.4 in the hope of stabilising my installation a bit | ||
| [2008/04/07 02:11:15] <tim|imac> DavidS: ok, now how do i compare the two? (sorry for being such a noob) | ||
| [2008/04/07 02:11:40] <DavidS> the best is probably loading it into gitk to see where you did wrong | ||
| [2008/04/07 02:13:23] <tim|imac> *cry* I'm guessing git has trouble to publish if i use git-svn also :( | ||
| [2008/04/07 02:15:13] <DavidS> hi lak | ||
| [2008/04/07 02:15:30] @ lak joined channel #puppet | ||
| [2008/04/07 02:15:48] <DavidS> err... | ||
| [2008/04/07 02:15:49] <DavidS> hi lak | ||
| [2008/04/07 02:15:55] <lak> hi | ||
| [2008/04/07 02:16:00] <tim|imac> ok, one last thing, before i shut up about the off topic stuff and the bothering of DavidS: can i in some way "export" a subdirectory of a repository and create a new repo only containing that subdirectory and it's history of changes? | ||
| [2008/04/07 02:16:03] <tim|imac> hi lak | ||
| [2008/04/07 02:16:29] <jmeeuwen> tim|imac, are you trying to use a single SCM tree for all the modules? | ||
| [2008/04/07 02:16:37] <jmeeuwen> and configuration etc? | ||
| [2008/04/07 02:17:30] <DavidS> tim|imac: yes, search for git-split, or look into the aux/ directory of my manifests repo | ||
| [2008/04/07 02:17:34] <tim|imac> jmeeuwen: well, other people who offered to help with my little app offered to host it, but they only had one svn available which already had some content... so i started out from there, but now i want to publish my own git repo... and it seems they're not very likely to help with the devving anyway | ||
| [2008/04/07 02:17:57] <jmeeuwen> ohw... if it's svn | ||
| [2008/04/07 02:18:15] <tim|imac> you can't import a subdirectory of an svn tree into git :( | ||
| [2008/04/07 02:18:17] <jmeeuwen> you can svn co a subdir from an svn repo | ||
| [2008/04/07 02:18:38] <jmeeuwen> ah, right | ||
| [2008/04/07 02:18:54] <jmeeuwen> you don't want it to show "initial import to git", but the complete history? | ||
| [2008/04/07 02:19:25] <DavidS> tim|imac: yes, search for git-split, or look into the aux/ directory of my manifests repo | ||
| [2008/04/07 02:19:52] <tim|imac> DavidS: found it and it's even python!! yay! :) | ||
| [2008/04/07 02:20:26] <duritong> tim|imac: https://git.puppet.immerda.ch is a checkout from _one_ svn repo | ||
| [2008/04/07 02:20:55] <duritong> I can hand you over a ruby script if you'd like to do the same | ||
| [2008/04/07 02:22:18] <tim|imac> think this will work... as soon as i find out why i don't have a graft file | ||
| [2008/04/07 02:24:54] <DavidS> just create it empty | ||
| [2008/04/07 02:26:51] <DavidS> spike: [ sorry, i'm distracted with the migration .. additionally I'm still suffering from the braindamage my nose is doing to me (catched a cold). ] How are you doing? I gather you came back from a longer holiday recently .. do you have any new projects lined up? | ||
| [2008/04/07 02:34:31] <spike> sorry, swamped with work | ||
| [2008/04/07 02:34:48] <spike> DavidS: no worries dude | ||
| [2008/04/07 02:35:16] <spike> I wish I was on holiday, I just had too much work to even show around | ||
| [2008/04/07 02:39:47] @ Quit: f--z: Read error: 110 (Connection timed out) | ||
| [2008/04/07 02:51:59] @ shake-n-bake joined channel #puppet | ||
| [2008/04/07 02:53:02] <DavidS> duritong: the hook i posted doesn't work properly :-/ | ||
| [2008/04/07 03:03:55] <DavidS> dang | ||
| [2008/04/07 03:04:31] @ _root____ joined channel #puppet | ||
| [2008/04/07 03:04:46] <DavidS> if i run it after the push it works, but called as hook it fails to update the last commit | ||
| [2008/04/07 03:05:07] @ _root____ is now known as puppet_newbie | ||
| [2008/04/07 03:05:07] @ Quit: kolla: Read error: 104 (Connection reset by peer) | ||
| [2008/04/07 03:05:14] @ kolla joined channel #puppet | ||
| [2008/04/07 03:09:09] @ puppet_newbie left channel #puppet () | ||
| [2008/04/07 03:09:23] @ puppet_newbie joined channel #puppet | ||
| [2008/04/07 03:45:56] @ Quit: shake-n-bake: | ||
| [2008/04/07 04:12:08] <puppet_newbie> hello | ||
| [2008/04/07 04:13:21] <DavidS> puppet_newbie: hi | ||
| [2008/04/07 04:15:27] <puppet_newbie> I just installed puppet on RHEL 4.6 from rpmforge. Trying out the tutorial. When I start the daemon, I get | ||
| [2008/04/07 04:15:31] <puppet_newbie> puppetmasterd -v | ||
| [2008/04/07 04:15:31] <puppet_newbie> info: Starting server for Puppet version 0.22.4 | ||
| [2008/04/07 04:15:32] <puppet_newbie> uninitialized constant Puppet::Network::Handler::FileServer::AuthStoreError | ||
| [2008/04/07 04:16:20] <puppet_newbie> is there a problem with my install? or, have I got a config problem? | ||
| [2008/04/07 04:16:53] <lak> you've got a config problem, and puppet is failing when it tries to throw an error telling you so | ||
| [2008/04/07 04:17:47] <puppet_newbie> ok. at least I know where to look. Brand new to puppet, but I'm an experienced unix admin | ||
| [2008/04/07 04:18:37] <puppet_newbie> then again, I might have been better off using the centos repos instead of rpmforge. that might be worth trying. | ||
| [2008/04/07 04:19:47] <puppet_newbie> I'm doing all my testing on vmware, so it's easy to experiment. | ||
| [2008/04/07 04:21:56] <ashp_> check the EPEL repo perhaps, rather than rpmforge | ||
| [2008/04/07 04:22:14] <ashp_> http://download.fedora.redhat.com/pub/epel/4/i386/ | ||
| [2008/04/07 04:22:17] <ashp_> etc :) | ||
| [2008/04/07 04:22:32] <ashp_> puppet is up to 0.24 now, so you don't want 0.22 | ||
| [2008/04/07 04:23:15] <puppet_newbie> for such an old release of RH, I'm thinking centos repos might be better? Stuck with using this release at work for the time being. | ||
| [2008/04/07 04:23:54] <puppet_newbie> how do the epel repos compare to centos repos? | ||
| [2008/04/07 04:26:06] <ashp_> well, the EPEL ones are made by fedora | ||
| [2008/04/07 04:26:14] <ashp_> but i don't know quality wise | ||
| [2008/04/07 04:26:21] <ashp_> i use the epel ones and puppet loads for me :D | ||
| [2008/04/07 04:26:39] <ashp_> i think the EPEL ones are meant to be 'offical' extras | ||
| [2008/04/07 04:26:50] <ashp_> and as RHEL branches off fedora.. | ||
| [2008/04/07 04:28:20] @ Quit: lak: | ||
| [2008/04/07 04:30:54] <puppet_newbie> Thanks. I will go give it a try. | ||
| [2008/04/07 04:34:45] @ andrewcshafer joined channel #puppet | ||
| [2008/04/07 04:44:48] <DavidS> hi andrewcshafer! | ||
| [2008/04/07 04:45:29] <andrewcshafer> DavidS: Howdy | ||
| [2008/04/07 04:58:41] @ roald joined channel #puppet | ||
| [2008/04/07 05:58:14] @ Quit: andrewcshafer: | ||
| [2008/04/07 06:01:42] @ shake-n-bake joined channel #puppet | ||
| [2008/04/07 06:23:12] @ Quit: puppet_newbie: "My damn controlling terminal disappeared!" | ||
| [2008/04/07 06:23:12] @ Quit: shake-n-bake: | ||
| [2008/04/07 06:28:42] @ roald is now known as roald|draad-kwij | ||
| [2008/04/07 06:28:46] @ roald|draad-kwij is now known as roald|draadkwijt | ||
| [2008/04/07 06:35:10] @ roald|draadkwijt is now known as roald | ||
| [2008/04/07 06:36:54] <DavidS> note to self: after creating and changing a development environment, do not be surprised if the production environment doesn't change. | ||
| [2008/04/07 06:36:58] <DavidS> *gaah* | ||
| [2008/04/07 07:12:04] @ rcoup joined channel #puppet | ||
| [2008/04/07 07:35:25] @ Quit: roald: "KVIrc 3.2.6 Anomalies http://www.kvirc.net/" | ||
| [2008/04/07 08:06:32] <fujin> morning chaps! | ||
| [2008/04/07 08:06:33] <fujin> howdy DavidS ! | ||
| [2008/04/07 08:09:49] <DavidS> hi fujin! | ||
| [2008/04/07 08:10:07] <DavidS> damn roundcube and all f*** webmailers! | ||
| [2008/04/07 08:10:40] <DavidS> when I submit the login form, it just goes dead without _any_ output | ||
| [2008/04/07 08:13:26] <fujin> what the! | ||
| [2008/04/07 08:13:28] <fujin> that's odd | ||
| [2008/04/07 08:13:34] <fujin> new version of roundcube is very nice here! | ||
| [2008/04/07 08:13:37] <fujin> 0.1 stable | ||
| [2008/04/07 08:13:44] <DavidS> 1.1.1-1 from debian | ||
| [2008/04/07 08:13:52] <fujin> oh, I always install it from source | ||
| [2008/04/07 08:14:04] <DavidS> what imapd do you use? | ||
| [2008/04/07 08:14:08] <fujin> dovecot | ||
| [2008/04/07 08:14:17] <fujin> dovecot + postfix + roundcube = done | ||
| [2008/04/07 08:14:17] <DavidS> me too | ||
| [2008/04/07 08:14:26] <DavidS> perhaps i should step back to 0.1 | ||
| [2008/04/07 08:14:34] <DavidS> ... | ||
| [2008/04/07 08:14:34] <fujin> 0.1 stable is the latest version! | ||
| [2008/04/07 08:14:44] <fujin> oh | ||
| [2008/04/07 08:14:46] <fujin> no 0.1.1 is | ||
| [2008/04/07 08:14:46] <fujin> wow | ||
| [2008/04/07 08:15:06] <fujin> have to update here | ||
| [2008/04/07 08:15:09] <DavidS> :) | ||
| [2008/04/07 08:15:18] <DavidS> plz tell me how it went ;) | ||
| [2008/04/07 08:15:39] <DavidS> what db are you using? | ||
| [2008/04/07 08:15:55] <fujin> sqlite - I use your roundcube module to install it | ||
| [2008/04/07 08:16:01] <fujin> just modifying the filesource stuff | ||
| [2008/04/07 08:16:29] <DavidS> *weep* | ||
| [2008/04/07 08:16:48] <fujin> I should probably shift it to MySQL soon, need to work on automating that | ||
| [2008/04/07 08:17:15] <fujin> testing install | ||
| [2008/04/07 08:18:47] <fujin> installing now | ||
| [2008/04/07 08:19:29] <holoway> hand't seen roundcube, looks nice | ||
| [2008/04/07 08:20:23] <fujin> yeah, it's quite cool | ||
| [2008/04/07 08:20:32] <fujin> I have to work out how to migrate from squirrelmail -> roundcube for all our customers | ||
| [2008/04/07 08:20:49] <holoway> squirelmail is ot something I miss | ||
| [2008/04/07 08:20:56] <holoway> s/ot/not/g | ||
| [2008/04/07 08:21:26] <fujin> aye, it's terrible | ||
| [2008/04/07 08:21:29] <fujin> such an eyesore | ||
| [2008/04/07 08:21:46] <DavidS> damn, i disabled ssl now and now i get login failures for correct passwords and hangs for incorrect PWs *gnah* something's really wrong here | ||
| [2008/04/07 08:23:13] <DavidS> scratch that, it always says login failed | ||
| [2008/04/07 08:34:59] <DavidS> and it seems to be a roundcube error, since dovecot doesn't balk | ||
| [2008/04/07 08:36:08] <fujin> err: //File[/var/lib/puppet/modules]: Failed to generate additional resources during transaction: Certificates were not trusted: hostname was not match with the server certificate | ||
| [2008/04/07 08:38:42] <DavidS> attempt to write a readonly database | ||
| [2008/04/07 08:38:45] <DavidS> gaaah | ||
| [2008/04/07 08:38:49] <DavidS> very well hidden | ||
| [2008/04/07 08:39:59] <DavidS> and if i chown the db file to www-data it says "unable to open database file" | ||
| [2008/04/07 08:42:45] <DavidS> damn! sqlite needs write rights to the containing directory to create the journal file | ||
| [2008/04/07 08:42:52] <DavidS> strace to the rescue! | ||
| [2008/04/07 08:50:43] @ andrewcshafer joined channel #puppet | ||
| [2008/04/07 08:56:48] <fujin> DavidS: works great here | ||
| [2008/04/07 08:56:49] <fujin> 0.1.1 | ||
| [2008/04/07 08:56:55] <fujin> (roundcube.junglist.gen.nz | ||
| [2008/04/07 09:03:43] @ andrewcshafer_ joined channel #puppet | ||
| [2008/04/07 09:04:41] @ Quit: dysinger: | ||
| [2008/04/07 09:07:28] <DavidS> it's 01:06 am here .. and i'm getting there slowly ... I just found that setting "session_domain" also helps ... | ||
| [2008/04/07 09:07:30] <DavidS> *gah* | ||
| [2008/04/07 09:08:42] <fujin> Why don't you just use your Puppet module? :> | ||
| [2008/04/07 09:15:30] @ martha left channel #puppet () | ||
| [2008/04/07 09:17:18] <DavidS> because the version of the puppet module you are using doesn't use the right file for db initialisation and doesn't work with the 0.1.1 packages from debian | ||
| [2008/04/07 09:21:23] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/04/07 09:27:05] <DavidS> phew | ||
| [2008/04/07 09:27:15] <DavidS> uploaded new version of module-roudcube | ||
| [2008/04/07 09:27:20] <DavidS> feedback appreciated | ||
| [2008/04/07 09:29:57] <DavidS> and now uploaded the rest of today | ||
| [2008/04/07 09:30:32] <DavidS> http://git.black.co.at/ looks much better with so much green ... | ||
| [2008/04/07 09:30:48] <DavidS> g'night chaps! | ||
| [2008/04/07 09:30:50] @ Quit: DavidS: "Leaving." | ||
| [2008/04/07 09:35:45] @ Quit: johnf: Read error: 113 (No route to host) | ||
| [2008/04/07 09:47:07] <rcoup> i'm creating a user. I want to add it to the group if the group exists (also created by puppet, just not on every system)... ideas? | ||
| [2008/04/07 09:48:39] <fujin> uh | ||
| [2008/04/07 09:48:49] <fujin> hard to say | ||
| [2008/04/07 09:49:04] <fujin> you can't really use require like that, I think | ||
| [2008/04/07 09:49:12] <fujin> cause it'll end up creating the group. | ||
| [2008/04/07 09:49:25] <fujin> you can probably use class inheritance to solve this | ||
| [2008/04/07 09:49:30] <fujin> by overriding the ensure state of the user | ||
| [2008/04/07 09:50:54] <rcoup> create a subclass of the user which the group requires, which has the group in the users membership? | ||
| [2008/04/07 09:51:18] <rcoup> s/membership/groups | ||
| [2008/04/07 09:51:29] <fujin> hrm | ||
| [2008/04/07 09:51:53] <rcoup> no, that won't work. | ||
| [2008/04/07 09:52:01] <fujin> no, you can't really use require for this | ||
| [2008/04/07 09:52:24] <fujin> so what's the scenario? you have a group{} that you create with Puppet | ||
| [2008/04/07 09:52:41] <fujin> and occasionally you have a user{} which belongs to that group, and you'd like to create that user whenever that group is on that system? | ||
| [2008/04/07 09:52:51] <rcoup> i have user orguser. its in default, so its on every machine. | ||
| [2008/04/07 09:53:09] <rcoup> some machines have group appgroup, which orguser should be a part of | ||
| [2008/04/07 09:53:46] <rcoup> if i do User{orguser: groups=>[appgroup]} i get errors on the machines without appgroup | ||
| [2008/04/07 09:56:06] <rcoup> previously i've just added the group everywhere. :( | ||
| [2008/04/07 09:59:24] <Toad> can you do an onlyif? | ||
| [2008/04/07 09:59:34] <Toad> grep '^appgroup:' /etc/groups | ||
| [2008/04/07 09:59:39] <Toad> er, /etc/group | ||
| [2008/04/07 09:59:41] <rcoup> me doesn't know about onlyif... | ||
| [2008/04/07 10:00:31] <rcoup> i could always do Exec['useradd orguser appgroup'] in the group definition, but ick | ||
| [2008/04/07 10:01:11] <rcoup> ah. Exec onlyif :) | ||
| [2008/04/07 10:06:03] @ Quit: _lunix_: Excess Flood | ||
| [2008/04/07 10:06:10] @ _lunix_ joined channel #puppet | ||
| [2008/04/07 10:06:20] @ Quit: _lunix_: Remote closed the connection | ||
| [2008/04/07 10:10:53] <fujin> rcoup: you could use a series of defines | ||
| [2008/04/07 10:10:57] <fujin> well, two of them | ||
| [2008/04/07 10:11:09] <fujin> actually, I think my initial idea with a baseclass and a subclass would work | ||
| [2008/04/07 10:11:22] <rcoup> fujin: of the user or the group? | ||
| [2008/04/07 10:11:35] @ Quit: randybias: | ||
| [2008/04/07 10:11:53] @ _lunix_ joined channel #puppet | ||
| [2008/04/07 10:12:26] <fujin> rcoup: you can also use virtual resources and then realize them | ||
| [2008/04/07 10:15:23] <fujin> rcoup: well have the group and the user in the baseclass | ||
| [2008/04/07 10:15:30] <fujin> and then i nthe subclass override the ensure state | ||
| [2008/04/07 10:16:14] <rcoup> hmmm. ok. i can see how that would work | ||
| [2008/04/07 10:20:14] <rcoup> fujin: thanks. i'll have a go :) | ||
| [2008/04/07 10:21:05] <fujin> hold on | ||
| [2008/04/07 10:21:07] <fujin> getting you an example | ||
| [2008/04/07 10:21:19] <rcoup> heh, awesome | ||
| [2008/04/07 10:22:34] @ Quit: jeffl: Read error: 104 (Connection reset by peer) | ||
| [2008/04/07 10:24:29] <fujin> rcoup: http://rafb.net/p/lMM7AD39.html | ||
| [2008/04/07 10:24:34] <fujin> 'sub' simply does user + group | ||
| [2008/04/07 10:24:37] <fujin> 'sub2' does group only | ||
| [2008/04/07 10:24:46] <fujin> that's an example of me doing sub2, then sub | ||
| [2008/04/07 10:28:11] <rcoup> ok | ||
| [2008/04/07 10:29:52] <fujin> cool? | ||
| [2008/04/07 10:30:11] <rcoup> i have to run, but that looks like i can do what i need to. | ||
| [2008/04/07 10:30:17] <rcoup> thanks! | ||
| [2008/04/07 10:44:44] @ Quit: jvanzyl: | ||
| [2008/04/07 11:28:57] @ shake-n-bake joined channel #puppet | ||
| [2008/04/07 11:59:35] @ pdt joined channel #puppet | ||
| [2008/04/07 13:01:45] @ stahnma_ joined channel #puppet | ||
| [2008/04/07 13:03:07] @ Quit: stahnma: Read error: 104 (Connection reset by peer) | ||
| [2008/04/07 13:04:07] @ quit (no PONG from server in 30.111106 seconds) | ||
| [2008/04/07 13:07:25] @ Joined channel #puppet | ||
| [2008/04/07 13:07:25] @ 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/07 13:07:25] @ Topic set by lak on Wed Mar 26 07:52:43 +1100 2008 | ||
| [2008/04/07 13:08:09] @ Quit: stahnma_: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:09] @ Quit: jleggett_: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: gepetto: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: Innocenti: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: machpo: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: phalenor: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: folken: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: genehack: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: Demosthenex: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:08:10] @ Quit: zoeloelip: heinlein.freenode.net irc.freenode.net | ||
| [2008/04/07 13:11:36] @ phalenor joined channel #puppet | ||
| [2008/04/07 13:11:45] @ machpo_ joined channel #puppet | ||
| [2008/04/07 13:11:45] @ jleggett_ joined channel #puppet | ||
| [2008/04/07 13:11:45] @ Innocenti joined channel #puppet | ||
| [2008/04/07 13:11:45] @ machpo joined channel #puppet | ||
| [2008/04/07 13:11:45] @ folken joined channel #puppet | ||
| [2008/04/07 13:11:45] @ Demosthenex joined channel #puppet | ||
| [2008/04/07 13:11:46] @ zoeloelip joined channel #puppet | ||
| [2008/04/07 13:17:05] @ Demosthe1ex joined channel #puppet | ||
| [2008/04/07 13:22:00] @ Quit: Demosthenex: Connection timed out | ||
| [2008/04/07 13:25:40] @ notbrien joined channel #puppet | ||
| [2008/04/07 13:25:52] @ Quit: notbrien: Client Quit | ||
| [2008/04/07 13:27:12] @ notbrien joined channel #puppet | ||
| [2008/04/07 13:27:20] @ Quit: notbrien: Client Quit | ||
| [2008/04/07 13:31:55] @ notbrien joined channel #puppet | ||
| [2008/04/07 13:32:55] @ Quit: notbrien: Client Quit | ||
| [2008/04/07 13:43:04] @ Quit: machpo: Connection timed out | ||
| [2008/04/07 13:44:30] @ Quit: andrewcshafer_: | ||
| [2008/04/07 13:58:32] @ Quit: tlockney: "leaving" | ||
| [2008/04/07 13:58:58] @ Quit: freiheit: | ||
| [2008/04/07 14:30:44] @ Quit: windowsrefu: Read error: 110 (Connection timed out) | ||
| [2008/04/07 14:45:34] @ andrewcshafer joined channel #puppet | ||
| [2008/04/07 14:51:03] @ f3ew joined channel #puppet | ||
| [2008/04/07 14:51:12] @ lutter joined channel #puppet | ||
| [2008/04/07 14:51:16] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2008/04/07 15:41:23] @ johnf joined channel #puppet | ||
| [2008/04/07 16:59:59] @ Quit: zobbo: "Enough no more 'tis not as sweet as it was before" | ||
| [2008/04/07 17:17:46] @ roald joined channel #puppet | ||
| [2008/04/07 17:26:54] @ DerekW joined channel #puppet | ||
| [2008/04/07 17:28:14] @ tim|macbook joined channel #puppet | ||
| [2008/04/07 17:33:27] @ Quit: lefant: Read error: 110 (Connection timed out) | ||
| [2008/04/07 17:41:02] @ f--z joined channel #puppet | ||
| [2008/04/07 17:46:31] @ stevil joined channel #puppet | ||
| [2008/04/07 17:58:35] @ Quit: andrewcshafer: | ||
| [2008/04/07 17:59:47] @ Quit: kolla_: Remote closed the connection | ||
| [2008/04/07 18:03:29] @ Quit: shake-n-bake: | ||
| [2008/04/07 18:14:11] @ porridge joined channel #puppet | ||
| [2008/04/07 18:29:23] @ Innocenti joined channel #puppet | ||
| [2008/04/07 18:34:27] @ porridge left channel #puppet () | ||
| [2008/04/07 18:39:46] @ kolla joined channel #puppet | ||
| [2008/04/07 18:43:29] @ zobbo joined channel #puppet | ||
| [2008/04/07 18:52:40] @ lefant joined channel #puppet | ||
| [2008/04/07 19:05:08] @ mikepea joined channel #puppet | ||
| [2008/04/07 19:14:52] @ rcoup_ joined channel #puppet | ||
| [2008/04/07 19:22:15] @ tim|mb joined channel #puppet | ||
| [2008/04/07 19:25:50] <duritong> any git-known people here? | ||
| [2008/04/07 19:26:02] <tim|mb> git-known? | ||
| [2008/04/07 19:26:26] <duritong> well it looks like I'm at the same point as DavidS yesterday | ||
| [2008/04/07 19:27:18] <duritong> that the post-update script is executed but don't apply and therefor my pushed stuff isn't active | ||
| [2008/04/07 19:27:52] <duritong> i'm just curious my thought workflow isn't really possible with git: | ||
| [2008/04/07 19:29:13] <duritong> a developer checks out the development-repo from the puppetmaster (which runs the dev-environment on this repo), make her changes, commit it to the repo and the pushes it to the master, where it gets immediatly active | ||
| [2008/04/07 19:31:55] @ Quit: tim|macbook: Read error: 110 (Connection timed out) | ||
| [2008/04/07 19:32:17] @ Quit: rcoup_: Read error: 113 (No route to host) | ||
| [2008/04/07 19:33:01] @ Quit: rcoup: Read error: 113 (No route to host) | ||
| [2008/04/07 19:40:12] @ Quit: lefant: "leaving" | ||
| [2008/04/07 19:40:19] @ lefant joined channel #puppet | ||
| [2008/04/07 19:47:48] @ Volcane joined channel #puppet | ||
| [2008/04/07 19:53:50] @ jgonzalez joined channel #puppet | ||
| [2008/04/07 20:04:44] @ bajan joined channel #puppet | ||
| [2008/04/07 20:06:14] <bajan> Allo folks. Using the latest puppetshow tarball, can't get it to run. rake db:migrate complains 'no database file specified. missing argument: database'. My puppet is using sqlite for stored configs. | ||
| [2008/04/07 20:07:16] <bajan> Anyone seen that behaviour before? | ||
| [2008/04/07 20:17:06] <jgonzalez> bajan: no experience with sqlite, but don't you have to configure it properly in puppet.conf? | ||
| [2008/04/07 20:24:03] @ porridge joined channel #puppet | ||
| [2008/04/07 20:24:14] @ porridge left channel #puppet () | ||
| [2008/04/07 20:24:45] <bajan> jgonzalez: I've got the storedconfigs stuff in, and I've tried both dbname and database=puppet to no avail | ||
| [2008/04/07 20:25:10] <bajan> Wonder if I need to provide a full path name with database. hrum | ||
| [2008/04/07 20:28:12] <bajan> nope, that wasn't it. | ||
| [2008/04/07 20:31:59] <Volcane> i had to specify dbfile and/or dblocation to point it at the actual sqlite file | ||
| [2008/04/07 20:32:37] <Volcane> which isnt in the docs, had to use the source to figure that out | ||
| [2008/04/07 20:32:50] <bajan> Yeah, dbfile isn't working | ||
| [2008/04/07 20:32:55] <bajan> will try dblocation | ||
| [2008/04/07 20:33:33] <bajan> hey presto | ||
| [2008/04/07 20:34:19] <bajan> Well, db:migrate is happy. Just.. feh, 500 internal server | ||
| [2008/04/07 20:34:39] <bajan> heh, sqlite is -really- bad at multiple uses | ||
| [2008/04/07 20:34:48] <bajan> locking failures all over | ||
| [2008/04/07 20:34:49] <Volcane> yip :( | ||
| [2008/04/07 20:34:59] <Volcane> even puppetmaster on just 10 hosts sometimes get lock timeouts | ||
| [2008/04/07 20:35:06] <Volcane> really not the recommended way I'd say | ||
| [2008/04/07 20:35:10] <bajan> Oh well, I guess I'll upgrade to using our central postgres server | ||
| [2008/04/07 20:35:34] <bajan> mysql is a bad word around here :> | ||
| [2008/04/07 20:35:58] <bajan> thanks for the hint Volcane :) | ||
| [2008/04/07 20:36:45] <Volcane> np | ||
| [2008/04/07 21:01:01] @ peterhoeg joined channel #puppet | ||
| [2008/04/07 21:15:59] @ rcoup joined channel #puppet | ||
| [2008/04/07 21:27:18] @ Quit: bajan: Remote closed the connection | ||
| [2008/04/07 22:05:43] @ pdt_ joined channel #puppet | ||
| [2008/04/07 22:05:49] @ Quit: peterhoeg: Remote closed the connection | ||
| [2008/04/07 22:06:54] @ Quit: pdt: Read error: 104 (Connection reset by peer) | ||
| [2008/04/07 22:24:16] @ Zothar_Work joined channel #puppet | ||
| [2008/04/07 22:30:06] @ Quit: pdt_: Read error: 110 (Connection timed out) | ||
| [2008/04/07 23:09:49] @ jeckersb joined channel #puppet | ||
| [2008/04/07 23:17:03] @ peterhoeg joined channel #puppet | ||
| [2008/04/07 23:22:50] @ Quit: jfluhmann: Remote closed the connection | ||
| [2008/04/07 23:27:02] @ shenson_not_here is now known as shenson | ||
| [2008/04/07 23:41:51] @ Quit: rcoup: | ||
| [2008/04/07 23:49:37] @ oxtail joined channel #puppet | ||
| [2008/04/07 23:56:52] @ ashp_ is now known as ashp | ||
| [2008/04/07 23:56:56] <ashp> hmm, I have a weird issue. :/ | ||
| [2008/04/07 23:57:15] <ashp> I have ruby-shadow installed but puppet is insisting that useradd doesn't support manages_passwrd | ||
| [2008/04/07 23:57:25] <ashp> I'm not sure why it's not picking up that ruby-shadow exists |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!