=== Guest18637 is now known as DarrenS [01:08] hey marcoceppi, is this the right place to report a bug in jujucharms.com? [01:12] jose: a bug with jujucharms.com itself, or a bug in a charm? [01:12] sarnold: with the webpage itself [01:12] jose: try this, https://launchpad.net/charmworld [01:13] sarnold: will do now, thanks! :) === CyberJacob|Away is now known as CyberJacob [01:21] sarnold: hey, think you can give me a hand with my charm? I don't know how should I write my config-changed hook [01:21] jose: I can try, but I'm pretty new here too :) [01:23] ok, let's try then :) [01:25] so I have http://jujucharms.com/~jose/precise/postfix/hooks/install as my install hook, and would like to have a way for users to run 'juju postfix config-changed domain abc.com' to change the domain, for example, that's on line 28 [01:25] and line 13 too [01:25] I have 3 of those variables [01:25] sarnold: any idea on how to do that? :) [01:26] jose: oh, wow, this is cool :) [01:27] jose: some of these pieces are going to be needed only at install time, apt-get install -y ... [01:27] yep [01:27] so I can't run the whole thing again [01:27] jose: some of these will probably need to be re-run on every configuration change -- debconf-set-selections, postconf .. [01:28] oh wait [01:28] jose: can you push the debconf-set-selections and postconf commands to the config-changed hook? [01:28] yeah, I just thought that [01:28] only that part, right? [01:28] jose: probably just the parts that depend upon variables that the user might set === CyberJacob is now known as CyberJacob|Away [01:29] jose: _but_, it might _feel_ cleaner to move all the configuration things to the config-changed hook [01:29] right, I'll do that now, that just gave me the general idea [01:29] thanks a lot! :) [01:29] you'll have to guess which one feels easier to maintain over the long run -- one with all the configuration in one hook, or one with just the user-data-dependent configuration in the hook [01:30] I think the first option should be best thinking on a user-end [01:30] jose: oh, hey, is that a bug on line 76? "apt-get -y libsasl2-2" ... does it need the 'install' there? [01:30] oh, that's totally right! === defunctzombie_zz is now known as defunctzombie [01:30] * jose goes and fixes it [01:31] jose: line 79 appears to be missing a close " as well. [01:31] yep! [01:31] jose: actually, consider using printf(1) for all those echos, I think they are a bit tough to read as-is, and some of them might not work perfectly.. [01:31] printf? [01:32] oh, but is that working with the >> after it? [01:33] jose: yeah, printf can redirect with >> [01:34] jose: I think you'd re-write 81 like printf "PARAMS=-m%s\n" ${PWDIR} >> /etc/default/saslauthd -- I suggest it because the " are awkward there.. [01:35] .. so you might want to use single qoutes '' around the double-quotes "" .. but that'll make variable interpolation difficult... hence printf, which will use %s and arguments. [01:36] it's up to you, you might not like it at all :) but I think it'll lead to easier results than trying to figure out the proper escaping of embedded " quotes [01:40] blargh, I don't get that one :( [01:40] I'm just starting with bash and python [01:41] jose: ah, well, feel free to ignore it for now :) [01:41] thanks a lot for your help [01:41] jose: just don't be surprised if you have change some of those echo "foo="".."" things to echo "foo=\"" ...\"" [01:42] sure :) [01:42] I'll take that in consideration [01:42] once you get there :D [01:42] have fun! :) [01:43] thanks! [02:00] hey marcoceppi, just resubmmitted postfix for review. please, take a look once you have some time :) === balloons_ is now known as balloons === CyberJacob|Away is now known as Guest18537 === Guest18537 is now known as CyberJacob === CyberJacob is now known as Guest26070 === defunctzombie is now known as defunctzombie_zz === Guest26070 is now known as Guest26070|Away === cereal_bars is now known as betabot === betabot is now known as cereal_bars === Guest26070|Away is now known as CyberJacob === CyberJacob is now known as CyberJacob|Away === CyberJacob|Away is now known as CyberJacob === defunctzombie_zz is now known as defunctzombie === defunctzombie is now known as defunctzombie_zz === CyberJacob is now known as CyberJacob|Away === rvba` is now known as rvba === cmagina-away is now known as cmagina === exekias_ is now known as exekias [14:07] anyone have the tldr on debug-hooks for goju? [14:46] How to change charm service IP from default 10.0.0.X if running juju on local? | http://askubuntu.com/q/318960 === arosales_ is now known as arosales === mbarnett` is now known as mbarnett === kirkland` is now known as kirkland [15:30] How do I get juju 1.11 to bootstrap on a private OpenStack cloud? | http://askubuntu.com/q/318970 [15:56] with the lastest release I keep having error like: error: cannot start bootstrap instance: no "saucy" images in RegionOne with arches [i386] [15:57] what are the properties that I must add to my images to make them valide for juju? [15:57] on openstack [15:58] I've tried arch=i386 release=saucy version=13.10 === defunctzombie_zz is now known as defunctzombie [16:25] marcoceppi, jcastro Juju deployment has become 100 times easier [16:25] kudos to you guys [16:26] * koolhead17 watching juju demo live in polish openstack meetup [16:26] http://www.youtube.com/watch?v=h4HVEG3lo-g&feature=youtu.be [16:35] \o/ [16:41] niemeyer, opened bug https://bugs.launchpad.net/juju-core/+bug/1200285 [16:41] <_mup_> Bug #1200285: Fix/Update Charm Author Formatting === defunctzombie is now known as defunctzombie_zz [16:47] hey m_3_ [16:47] around? === defunctzombie_zz is now known as defunctzombie [16:58] arosales: got time to fire up your mac today? [16:58] mramm: also ^^^ [16:59] jcastro: sure probably have time this afternoon [16:59] mramm beat me to it :-) and way better and juju-core acking than me :-) [17:00] https://github.com/juju/juju-core/releases/tag/1.11.2 [17:00] LOOK! [17:00] oh, you mean to test, not compile [17:00] nice :-) [17:00] arosales: if you could give that a shot this afternoon and either +1 or -1 I can announce it on the mailing list [17:00] yeah [17:00] jcastro cool thanks. mramm fyi ^ [17:05] m_3_: so this releases thing in github is sweet, once we mirror the core in there it should just be easy for users to find it [17:07] jcastro: wonder if we could use travis-ci for free unit testing [17:08] is that the hosted thing? [17:09] jcastro: did it get decided we should go ahead and put that mirror in place? [17:09] yeah. free to use for open source projects on github [17:09] jcastro: kinda thought it got the kaibash(sp?) [17:09] m_3_: I say why not! [17:10] gives us a nice place to put OSX binaries too [17:10] m_3_: I don't suppose you have OSX handy to help test this client? [17:10] k [17:10] jcastro: nope on OSX [17:11] jcastro: oh, maybe an old snow leopard laptop of tay's [17:11] nah, queue is more important [17:11] I understand it's legal to run OSX in a vm on my ubuntu macbookair though... just gotta get the right image [17:12] I'll find less busy Mac folks [17:12] ack [17:12] jcastro: target for the juju-core mirror? === Guest36906 is now known as med_ [17:12] github.com/juju/juju-core? or github.com/ubuntu/juju-core? [17:12] m_3_: I just made /juju/juju-core so I could put the binary there [17:12] but was thinking you could put the source there along side? [17:13] yeah.... no [17:13] jcastro: perhaps save the juju-core repo for the source [17:13] and stick the binaries somewhere else like github.com/juju/juju-client or /juju/juju? [17:13] ok [17:13] so should I rename it? [17:14] ok I can do that. [17:14] we could mirror lp:juju-core to github.com/juju/core or something... but really that should match [17:15] lp:juju-core to github.com/juju/juju-core seems simplest to me [17:15] yeah, I agree [17:15] let me rename this one I just made so you don't clobber me [17:15] ack [17:16] hmm, can't get through to github, it working for you? [17:17] jcastro: yup, seems ok to me [17:17] little sluggish on styling artifacts [17:22] m_3_: can you do a rename? I'm stuck waiting for some akamai stuff that isn't loading and the page doesn't even render for me [17:29] jcastro: will do [18:22] jcastro: how's that look? [18:27] looks awesome [18:27] I just was now able to get in [18:27] I removed the release from -core and made this [18:27] https://github.com/juju/juju-client/releases [18:33] jcastro: hmmmm [18:33] not seeing it [18:50] m_3_: how often will core sync with gh? [18:51] marcoceppi: how often do you want it to? [18:51] * marcoceppi looks at commit history [18:51] marcoceppi: charms've been syncing daily [18:52] m_3_: I'll get back to you, but how about every 6 hours for now? Unless that's too frequently === defunctzombie is now known as defunctzombie_zz [18:53] marcoceppi: sure, np [18:54] m_3_: so here's the next part. How hard would it be to put a file in the repo that doesn't exist upstream? === defunctzombie_zz is now known as defunctzombie [19:04] marcoceppi: probably not hard at all actually as it's a one-way mirror [19:05] m_3_: I'm going to try to hook the repo up to travis for S&G, but I need to have a .travis.yml file in the root of the repo [19:06] marcoceppi: ack... I should probably add you to the mirroring machine anyways [19:07] m_3_: I might, instead, just set up a second mirror in my repo that will rebase the sync'd branch with the travis.yml file Or see if the core guys want a .travis.yml file in the root :P === defunctzombie is now known as defunctzombie_zz === CyberJacob|Away is now known as CyberJacob [19:38] adam_g: around? [19:38] jcastro, hey [19:38] marcoceppi: hey [19:38] heya [19:38] m_3_: hey [19:38] ok, so github.com/juju/juju-core has code in it [19:38] adam_g: if you have a chance can you add an icon to the glance charm? You can rip it off from the cinder charm. [19:38] adam_g: it would make my presentation look nicer in the GUI [19:39] we might wanna think about mapping tags to branches here [19:39] m_3_: shouldn't we just map releases to tags? [19:40] jcastro, sure. do i just drop it in [19:40] ? [19:40] adam_g: yeah, and there's a little snippet in the metadata.yaml [19:40] icon goes in the root [19:40] they're all the same icon for anything openstack related [19:40] jcastro, what is the metadata snippet i dont see anything in cinders [19:41] marcoceppi: should be running as-is every 6 hours or so [19:41] marcoceppi: lemme know if you want me to add a .travis.yml file into the mix [19:41] adam_g: oh dude nm, just the icon.svg outta be enough [19:41] jcastro: marcoceppi: think about tags though... we should have release branches in github [19:42] jcastro, ah, cool. done [19:42] adam_g: that covers me for OSCON, but as you touch any openstack charm if you could drop that in that would be <3 [19:44] jcastro, ack [19:44] we really should have an openstack category [19:48] jcastro: don't make changes to github.com/juju/juju-core directly... it'll barf the mirror [19:50] ok === JoseeAntonioR is now known as jose [19:54] jcastro: you scared me for a second there... I was seeing all sorts of whack ordering on the charms mirror [19:54] then I realized there were lots of changes in progress [19:56] I am pushing up a bunch of small category changes in charms [19:57] yup [19:58] Hello [19:58] how's it going guys? [19:58] hi! [19:58] m_3_: hah, scumbag spammer --> http://jujucharms.com/recently-changed [19:59] :) [19:59] * m_3_ likes the "NFS formula..." [20:00] Can any1 tell me exactly what juju is doing? i'm a bit slow :) [20:01] what's the output of juju status say? That should tell you what it's doing [20:02] Pretender: orchestrating services (deploying and configuring a bunch of stock services like mysql and wordpress... right outta the box... on, primarily, the common public cloud providers [20:02] error: error parsing environment "amazon": no public ssh keys found [20:02] i made a folder set up a password...and they i got stuck [20:03] Pretender: ah, my bad... thought you were asking a different question [20:03] Pretender: it should default to using the keys in your '~/.ssh' directory [20:04] i understand i can make a irc or cloud server ...so i'm starting it easy as soon i can understand it [20:04] in particular the '~/.ssh/id_rsa.pub' unless you've changed it in '~/.ssh/config' [20:04] let me try something [20:08] MAAS / JuJu zookeeper issue | http://askubuntu.com/q/319061 === defunctzombie_zz is now known as defunctzombie [20:23] https://juju.ubuntu.com/docs/getting-started.html [20:23] Pretender: you probably need to generate a keypair, see the step before "Installation" === defunctzombie is now known as defunctzombie_zz [20:33] j castro ty [20:36] m_3_: we got rid of revision in the metadata.yaml right? [20:37] jcastro: revision was a separate file... and yes, we got rid of that [20:37] jcastro: shouldn't be in metadata at all... that'll barf [20:37] * jcastro removes it from the docs [20:37] where was that? [20:37] the docs said to add 'revision' to the metadata? [20:37] it's under policy [20:37] removing it now [20:38] hmmmm.... /me wonders if that changed sometime [20:38] we mention metadata.yaml in 2 places [20:40] hey [20:41] whaddya know? metadata.yaml's schema had a 'revision' key [20:41] harumph [20:41] ok, so we had 4 different notions of version for a charm... not just 3 [20:42] fixed [20:43] http://bazaar.launchpad.net/~charmers/juju-core/docs/revision/21 [20:46] m_3_: we gotta get that django python rewrite thing in tomorrow or we suck === defunctzombie_zz is now known as defunctzombie [21:06] c'ya guys [21:06] jcastro: oh, from the queue.... yeah, that'll go in === _thumper_ is now known as thumper === defunctzombie is now known as defunctzombie_zz === cmagina is now known as cmagina-away [22:24] anyone here using juju on openstack? [22:24] rather... juju with an openstack provider [22:24] err openstack environment... [22:25] bootstrap seems to have gone fine but when I do a juju status I get an error "Machine provider information missing" === CyberJacob is now known as CyberJacob|Away === defunctzombie_zz is now known as defunctzombie [23:43] hey jcastro, have a minute? === defunctzombie is now known as defunctzombie_zz