Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-01-04

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 mgw joined #salt
00:05 Gifflen joined #salt
00:06 Gifflen joined #salt
00:06 martoss joined #salt
00:07 DanGarthwaite left #salt
00:08 martoss1 joined #salt
00:09 Gifflen joined #salt
00:10 helderco_ joined #salt
00:10 fllr joined #salt
00:12 kermit joined #salt
00:13 Gifflen joined #salt
00:13 thrashr888 joined #salt
00:14 diegows joined #salt
00:14 robbyt joined #salt
00:20 Gifflen joined #salt
00:24 Gifflen joined #salt
00:25 startling I've got salt-minion from the PPA installed on ubuntu saucy. Why wouldn't I be able to salt-call --local lxc.exists whatever?
00:25 startling I get "Function lxc.exists is not available"
00:44 Gifflen joined #salt
00:48 blarghmatey_ joined #salt
00:51 wkf_ joined #salt
00:53 diegows joined #salt
00:53 startling even weirder: __salt__ doesn't seem to have things like __salt__["user.present"].
00:57 amckinley joined #salt
01:00 jasonrm joined #salt
01:03 Gifflen joined #salt
01:09 martoss joined #salt
01:09 ktenney_gone joined #salt
01:12 fllr joined #salt
01:14 timoguin startling, are the lxc module's dependencies loaded?
01:15 startling timoguin, lxc is installed. I'm not 100% sure that answers your question.
01:15 timoguin i think that's all it requires
01:15 startling this definitely worked on debian before, btw. I switched to an ubuntu image with vagrant and this cropped up.
01:15 timoguin looks like it just does a "which lxs"
01:16 timoguin *lxc
01:16 startling the exact issue I'm seeing is KeyError: 'lxc.list' in the state module I wrote that looks at __salt__['lxc.list'].
01:16 startling timoguin: oh, that could be the problem
01:18 timoguin startling, specifically it calls salt.utils.which('lxc') here: https://github.com/saltstack/salt/blob/develop/salt/modules/lxc.py#L25
01:18 timoguin doesn't load the module if that returns false
01:18 wkf_ joined #salt
01:19 startling I'm not 100% sure that lxc comes with an 'lxc'.
01:20 startling shouldn't it do __salt__['pkg.installed']("lxc") or somethng?
01:23 startling yeah, I do not have an 'lxc'. I do have 'lxc-attach' etc
01:23 startling this is from sudo apt-get install with the default saucy repositories.
01:23 startling bug report time !
01:24 startling timoguin: thanks for the help.
01:26 ktenney_gone joined #salt
01:28 redmin joined #salt
01:31 thrashr888 joined #salt
01:41 startling if I were to make a pull request for this, would it be appropriate to do something like "if 'lxc' not in __salt__['pkg.list_pkgs']:"?
01:46 mgw joined #salt
01:47 taion809 joined #salt
01:50 sfvivek joined #salt
01:50 fllr joined #salt
01:56 bhosmer joined #salt
02:14 blarghmatey___ joined #salt
02:15 ktenney_gone joined #salt
02:18 timoguin startling, i'm not sure what would be more appropriate in this case
02:18 timoguin haven't messed with lxc much
02:18 startling __salt__ doesn't seem to work at all in those modules, so I think I'll just salt.utils.which('lxc-create'):
02:18 startling er, s/://g
02:18 timoguin that should do the trick
02:23 oz_akan_ joined #salt
02:34 mgw joined #salt
02:37 startling ugh, lxc.list is broken on newer lxcs, too
02:37 rojem joined #salt
02:37 startling what a pain.
02:38 kedo39 can someone with permission to merge pull requests into saltstack-formulas look at my pull request? https://github.com/saltstack-formulas/openssh-formula/pull/4
02:38 kedo39 i'd like to change how sshd_config is done and that's dependent on my pull request being accepted, lest i diverge too much
02:39 redmin joined #salt
02:39 jfzhu_us joined #salt
02:41 startling salt uses python2, correct?
02:41 rojem joined #salt
02:41 EugeneKay Yes.
02:41 startling and the lxc module is python3-only. dang.
02:42 EugeneKay I half-wonder if Salt would Just Work under 3 though
02:44 startling very little python 2 code does.
02:44 startling I guess the new u"" support in python3 would help.
02:44 * EugeneKay shrugs
02:45 favadi joined #salt
02:55 anuvrat joined #salt
03:06 sgviking joined #salt
03:06 jeddi joined #salt
03:07 martoss joined #salt
03:18 Corey Looking forward to SaltConf.
03:27 psyl0n joined #salt
03:34 bhosmer joined #salt
03:42 ckao joined #salt
03:44 terminalmage EugeneKay: startling: salt currently relies on M2Crypto which is not Python 3 compatible, IIRC.
03:45 cocoy joined #salt
03:45 higgs001 joined #salt
03:45 terminalmage within the next couple feature releases we plan on ditching M2Crypto in favor of libsodium and zeromq4
03:46 terminalmage that's the only major blocker for Python 3, I believe, though I'm sure a sweep of the code will need to be done still
03:46 Corey terminalmage: I found a new client that names internal services after elements.
03:46 Corey Just like Salt!
03:47 terminalmage ha, nice
03:47 Corey It's horrible and wretched and the senior leadership told them to knock it the hell off.
03:47 Corey Just like Salt in 6 months!
03:47 Corey In one word? Semvar.
03:47 Corey In two words? Sem. Var.
03:47 Gifflen joined #salt
03:47 terminalmage heh
03:48 terminalmage Corey: you used gitfs before?
03:48 Corey terminalmage: No, playing with it soon.
03:48 Corey Why do you ask?
03:48 terminalmage Corey: because this https://github.com/saltstack/salt/pull/9566
03:48 terminalmage GitPython is garbage
03:48 terminalmage this will let us get away from using it
03:49 goodwill joined #salt
03:49 Corey terminalmage: ProTip, it may make sense for you to include a comment laying otu the reasons that it's garbage. Not that I doubt you any, but it'll be a GREAT resource to link whiners to in the future.
03:49 terminalmage meh, just point them at the issue list
03:50 terminalmage it wraps the git CLI, and does tons of asserts, expecting the output to be just so
03:50 redmin joined #salt
03:50 Corey terminalmage: This is one of my points in the Best Practices talk.
03:50 Corey terminalmage: Okay, so include a list of issues!
03:51 terminalmage the issue with that is, do things that aren't what the expect (like have an /etc/issue on your git server with a security notice, or have your SSH loglevel set to anything visible)
03:51 Corey terminalmage: In case you've missed noticing that the Issues system is rubbish for searching / archiving, it is. :-)
03:51 terminalmage yeah, it is
03:51 terminalmage really that's its main drawback, it wraps the git CLI, and it's not flexible
03:51 terminalmage common variances in git/ssh configuration can cause it to bail
03:52 terminalmage also it's not very actively developed, while libgit2 is
03:52 Corey terminalmage: Yeah, I'd argue that's well worth fixing; just include a few representative issues in that comment / commit message.
03:52 Corey I realize I'm being picky, but...
03:52 terminalmage yeah, I guess I can edit
03:53 Corey terminalmage: It's not just for idiots like me.
03:53 Corey You leave / get hit by a beer truck, then three years pass. Why did you cut over from one to the other?
03:53 Corey That historical data is important.
03:53 anuvrat joined #salt
03:53 Corey Thank you for letting me soapbox. :-)
03:54 terminalmage :)
03:54 terminalmage nah, annoying as it is, you are right :P
03:54 Corey terminalmage: Yay, you've successfully avoided being a Terrible Warning!
03:54 Corey :-)
03:55 Corey IT's a byproduct of me being a consultant. On Day 1 I know I'm leaving, so everything I do has to be documented, justifiable, etc.
03:55 Corey And now I go sit on a plane. See you soon, if not, see you at SaltConf.
03:57 _monokrome joined #salt
04:00 Striki joined #salt
04:00 mollerstrand joined #salt
04:01 brutasse joined #salt
04:05 Guest27058 joined #salt
04:07 martoss joined #salt
04:08 mollerstrand joined #salt
04:12 Striki joined #salt
04:18 forresta joined #salt
04:29 Linz joined #salt
04:50 taion809 joined #salt
04:59 shine joined #salt
05:01 redmin joined #salt
05:07 martoss joined #salt
05:09 timoguin joined #salt
05:10 timoguin startling, pretty sure the biggest thing holding salt back from python3 is m2crypto
05:10 timoguin might be some others, but i think that's THE thing
05:14 Gifflen joined #salt
05:17 forresta I think m2crypto is blocking a few things
05:19 goodwill its all out to get you :)
05:19 forresta I wouldn't go that far
05:25 forresta lol, terminalmage I think you're the one who is the most excited about pygit2 :P
05:27 goodwill not true
05:27 goodwill I am excited about it
05:27 forresta I am excited about it as well
05:28 forresta but I think terminalmage is the most excited
05:33 bhosmer joined #salt
05:47 forresta it's awesome that salt cloud is part of the main branch of salt now
05:50 oz_akan_ joined #salt
05:53 forresta Does anyone remember off hand what causes the 'no module named libcloud.compute.types' error on salt-cloud?
05:57 faeroe joined #salt
05:57 faeroe :q
06:01 mlen joined #salt
06:02 faeroe joined #salt
06:03 retr0h joined #salt
06:04 faeroe joined #salt
06:05 faeroe joined #salt
06:05 ekarlso joined #salt
06:06 faeroe joined #salt
06:06 faeroe joined #salt
06:07 martoss joined #salt
06:08 Gifflen joined #salt
06:09 sroegner joined #salt
06:13 faeroe joined #salt
06:14 redmin joined #salt
06:16 faeroe joined #salt
06:17 faeroe joined #salt
06:19 faeroe joined #salt
06:20 oz_akan_ joined #salt
06:21 faeroe_ joined #salt
06:28 forresta Am I just missing the docs somewhere, or is there not an automated way to kick off a highstate run after running salt-cloud?
06:28 faeroe_ joined #salt
06:29 taion809 joined #salt
06:29 higgs001 joined #salt
06:33 faeroe joined #salt
06:36 faeroe_ joined #salt
06:38 faeroe_ joined #salt
06:42 faeroe_ joined #salt
06:45 cym3try joined #salt
06:45 jfzhu_us joined #salt
06:52 MTecknology What the crap?
06:52 faeroe_ joined #salt
06:52 forresta ?
06:53 MTecknology I'm trying to take care of the hotel. I can only register with the group rate for those three nights, but my flight back isn't until friday
06:54 forresta call 'em up
06:54 forresta there is probably someone there
06:54 cym3try_ joined #salt
06:54 forresta I bet if you are cool they will be accomodating
06:54 forresta nice job waiting till the last second by the way :P
06:54 MTecknology ya... oops
06:57 MTecknology one menu option, rep will be with you shortly, complete silence
06:58 forresta relax :P
06:58 forresta just calmly explain, most customer service people are cool if you're laid back
06:58 forresta I know I was
06:58 MTecknology I know it
06:58 MTecknology still complete silence
06:59 bhosmer joined #salt
06:59 MTecknology forresta: I like hold music... :(
06:59 forresta I prefer silence
07:00 forresta after working in tech support, and having to hear the hold music while on hold with other depts
07:00 forresta I used to specifically put people on a silent hold when I worked upper level tech support
07:00 MTecknology I'll do that after talking to them, but not before
07:00 forresta oh yea of course
07:00 MTecknology I'm going to put you on hold for a minute and I'll be right back (mute)
07:00 forresta there was no way to do that anyays
07:00 MTecknology not before
07:01 forresta *anyways
07:01 MTecknology I haven't talked to anyone yet, just a recording and then complete silence
07:01 forresta it happens
07:01 MTecknology 5min of it - I'm giving up on that call...
07:07 martoss joined #salt
07:09 MTecknology forresta: and we're done!
07:09 forresta did they make it work for you?
07:10 MTecknology I called back and instead of silence was talking to someone before the recording was done
07:10 forresta nice
07:10 MTecknology yup- zero issues once I could explain it
07:10 MTecknology apparently I'm tired
07:10 forresta you should sleep
07:10 MTecknology and fried my brain today at work and it's 01:00 and last minute...
07:10 forresta yea
07:10 forresta last minute ftl
07:10 MTecknology I applaud him.. :P
07:11 MTecknology now... transportation to/from
07:11 kedo39 are the saltconf presentations going to be recorded / posted anywhere?
07:11 forresta MTecknology, just take the public transit
07:11 forresta kedo39, I don't know, I've asked that and there hasn't been a response on it
07:11 MTecknology kedo39: NO! Only for people that attend! You attend!!!
07:12 * MTecknology doesn't know either
07:12 kedo39 D;
07:12 forresta kedo39, I will try to speak with the presenters at the very least to make sure the slides are posted.
07:12 MTecknology I imagine at least a few will
07:12 kedo39 forresta: that will be much appreciated!
07:12 cym3try joined #salt
07:12 forresta MTecknology, you can take the train thing downtown, and it's like a 1/2 mile walk
07:12 forresta straight from the airport there
07:12 forresta kedo39, yea I will have mine up at the very least.
07:13 MTecknology I feel like this is going to be a whole lot of education stuff, a little promotion, some speakers will try to promote themselves or talk about the awesome they've done, and the pre-reg sounds much like a crash course
07:14 forresta and don't forget that github is sponsoring a drink up
07:14 MTecknology what?
07:14 MTecknology I missed that
07:14 MTecknology wait.. fuck
07:14 MTecknology I want to not drink this whole year... :(
07:15 forresta oh wait
07:15 forresta looks like they are sponsoring the sprint
07:15 MTecknology I'll enjoy non-alcoholic drinks! :D   water & tonic
07:15 forresta no alcohol
07:15 forresta I guess I was confused by the octo-cat sticker with a top hat and martini
07:16 MTecknology works for me
07:16 MTecknology I should hop on and see what new stuff their is
07:16 forresta ?
07:16 forresta for what
07:17 MTecknology on the registration site- all of the talks and events should be on there now, no?
07:17 forresta yea they are
07:17 forresta there aren't any talk abstracts up yet though
07:17 forresta I don't know when those are going up
07:17 MTecknology I haven't been on there since my company finally approved the trip
07:17 forresta what a slacker
07:18 MTecknology heh......
07:18 MTecknology I should tell you what I've filled that time with... Everything has been a giant blur that chaos won't even touch
07:18 forresta yea I'm just giving you crap
07:19 MTecknology I know :)
07:19 MTecknology It's just been insanity on a level I never knew could exist
07:20 MTecknology This is a very small and very condensed summary of about 1/20th of what I've been working on... http://michael.lustfield.net/misc/completely-automated-esxi-deployment
07:20 forresta ahh esxi
07:20 taion809 ooh saltconf, will it be recorded?
07:20 forresta taion809, we don't know yet
07:20 forresta haven't heard confirmation from the salt guys
07:20 forresta I am hoping it will be
07:21 oz_akan_ joined #salt
07:21 MTecknology this is the first saltconf ever; I think they're still figuring things out
07:21 forresta right
07:21 taion809 ah
07:21 MTecknology I'm about 100% positive that it's one to bring pen/paper to
07:21 bhosmer_ joined #salt
07:22 taion809 yeah it looks pretty interesting
07:22 MTecknology forresta: If there aren't any saltconf 2014 t-shirts, I'll be mad
07:22 forresta ?
07:22 forresta there will be saltconf t-shirts
07:22 MTecknology been there, done that, got the t-shirt
07:22 forresta but I don't think there are 2014 shirts
07:22 forresta with the year at least
07:22 MTecknology how do you know so much?!
07:22 forresta they posted it on twitter
07:22 MTecknology oh...
07:23 forresta I believe they are black with white text
07:23 MTecknology I don't follow twitter
07:23 forresta *shrug*
07:23 sfvivek joined #salt
07:23 forresta I created an account finally, gotta get that internet cred, and it helps when I give a presentation or whatever.
07:23 forresta at least you didn't get a pycon 2013 t-shirt man
07:23 forresta cool design, but baby blue
07:23 forresta I've never worn it
07:24 forresta they asked for feedback a few weeks after, and I made sure to explain everything was great, minus baby blue t-shirts
07:24 MTecknology I'm really surprised the conference is so short
07:24 forresta saltconf?
07:24 forresta it's two days
07:24 MTecknology ya
07:24 MTecknology that seems short to me
07:24 kedo39 for a first conference, that doesn't seem too bad
07:24 MTecknology the last one I went to was four days
07:24 kedo39 (not that i've ever gone to a tech conference like this)
07:25 MTecknology the last day Gee Dubya Bush was there
07:25 kedo39 wow, what was it for?
07:25 forresta even PyCon was only 3 days
07:25 MTecknology FOCUS12
07:25 MTecknology It's basically a McAfee conference but they present it as a security conference
07:25 kedo39 """Keynotes from Pres. George W. Bush, Eva Longoria, McAfee execs, and more"""
07:26 kedo39 what a mix of keynote speakers...
07:26 forresta heh
07:26 MTecknology I was sorely disappointed, but they made up for it by keeping me completely plastered
07:26 redmin joined #salt
07:27 MTecknology the lunch they provided was about like eating fungus off a rotting toe; but the meals at night... mmmmmm :D
07:27 forresta Even puppetconf was only 2 days of full blown presentations
07:27 MTecknology I got so drunk that the next drink I asked for I asked for something blue
07:27 forresta good reason not to drink
07:27 MTecknology I possibly made a fool of myself
07:29 forresta heh
07:29 MTecknology I got value out of two sessions, and one was only barely useful, the other was presented by the mcafee ceo and he didn't talk about mcafee at all beyond working there
07:30 forresta heh
07:31 MTecknology wait... he's teh CTO, not CEO
07:31 MTecknology Michael Fey
07:31 MTecknology If ANYONE would just be pitching their own products, you'd think it'd be him... very very wrong
07:32 taion809 "Continuous Code Delivery and Integration with SaltStack" needs to be filed :\
07:32 taion809 s/filed/filmed
07:32 forresta I'm sure Alec will have the slides available at the very least, he's in the IRC right now
07:32 forresta akoumjian, you around?
07:34 MTecknology I think I might most be excited to meet people and SSCE
07:34 forresta I'm still waiting for the details regarding the objectives for the SSCE
07:35 MTecknology ya... that'd be nice too
07:35 MTecknology so... for these topics, do they all run sequential?
07:36 forresta I imagine the guys are totally slammed right now, doing this, plus trying to get out the first main line release is huge
07:36 forresta the tracks aren't done yet from what I understand
07:36 forresta your talk is supposed to be 30-45 minutes
07:36 MTecknology oh
07:36 forresta so there's no way they can run sequentially
07:36 forresta and still have a 10 min break between
07:36 MTecknology I don't need a break
07:37 forresta unless you're going from one room to another
07:37 forresta and waiting for people to move
07:37 MTecknology if they were sequential- just don't change rooms
07:37 MTecknology no break
07:37 forresta that makes no sense
07:38 forresta you still have to have time for a presenter in Room A, to get to Room B, and hook up their stuff :P
07:38 forresta come on now
07:38 MTecknology docking stations!
07:38 MTecknology well... have presenters lined up too
07:38 forresta and if you assume each talk is 45 minutes, with 0 downtime between talks, that's still 11.25 hours
07:38 MTecknology just like high school wrestling, it's called being "on deck"
07:38 forresta I'd kill myself
07:39 MTecknology I'd eat that shit up
07:39 forresta no way man, it's bad for you to sit that long
07:39 MTecknology speaking of eat.. not needed
07:39 forresta 5-10 minute break every hour of every day
07:39 MTecknology I sit WAY too long at work :(
07:39 forresta I feel like you are trolling now
07:39 MTecknology and at home
07:39 forresta I have the solution for you
07:39 forresta start drinking a ton of water
07:39 forresta then you have to get up and pee
07:39 MTecknology I've been trolling since   01:37 < MTecknology> I don't need a break
07:39 forresta boom
07:39 forresta yea I know
07:40 MTecknology I should print off this list and mark what's most exciting and then hope they don't overlap
07:40 forresta I'm hoping the abstracts are up soon
07:40 forresta I don't know if we're supposed to provide those or what
07:40 MTecknology Craig Sebenik <-- I talked to that guy for almost an hour a while back
07:40 MTecknology seems like a realy awesome guy
07:41 forresta they had us submit some abstracts during the initial process, but they aren't on the site yet
07:41 forresta I have no idea who that is
07:41 MTecknology linkedin
07:41 forresta ahh
07:41 kedo39 he has quite an intersting background
07:42 kedo39 (i've worked with him before)
07:42 MTecknology oh?
07:42 kedo39 (though I was only an intern)
07:42 kedo39 iirc, he used to be a chef
07:42 kedo39 and he travels around and goes to crazy restaurants
07:43 forresta he's got quite a career going here, almost as long in the business as I've been alive.
07:43 MTecknology linkedin contacted me asking if I'd like to interview and I said ok after they tried three times. I requested I talk with the person that I would be working under. Turned out to be him
07:43 kedo39 haha nice
07:43 MTecknology after hearing about everything, I really wouldn't ever take the job, but I got to know him pretty well
07:44 kedo39 i am curious about his presentation though
07:44 kedo39 i didn't get the chance to see him work salt magic
07:44 forresta they're running a pretty big infrastructure, should be interesting
07:45 MTecknology they used to be the largest, but not anymore
07:45 forresta who is the biggest now?
07:45 MTecknology no idea
07:45 forresta oh that's just what they told you?
07:45 MTecknology It was interesting hearing about how they ran into issues with disk access and had to write patches to run more stuff in memory and not re-read disk
07:45 MTecknology ya
07:46 MTecknology something like 10,000 minions on one master and 10,000 on another
07:46 forresta really? I thought they were spread further than that
07:46 forresta did he tell you what the resources were like on that master?
07:46 MTecknology hm?
07:46 forresta I thought they were using more masters
07:46 forresta but I guess if the boxes are beefy, whatever.
07:46 MTecknology he said it was only 2
07:47 MTecknology no idea what the specs are
07:47 forresta what kind of machines though? CPU/RAM?
07:47 forresta ahh
07:47 forresta that's a bummer
07:47 forresta hopefully that will be in his talk
07:47 MTecknology ya, i'm sure we'll hear about it if we go to his
07:47 MTecknology heheh
07:48 MTecknology After I decided that I wasn't interested in the job anymore I had the coding stuff. They said I could use any language I wanted but there was a time limit. They really meant use ruby, python, php, or perl. I chose bash.
07:49 forresta yea we talked about that
07:49 MTecknology ya
07:49 forresta old man MTecknology over here
07:49 MTecknology that was fun
07:50 MTecknology They'd say something like "For this one, you won't be able to use bash because it can't do these things." Oh... but actually, I can. I'll show you! :D
07:50 MTecknology ya, that was fun
07:51 MTecknology "Salt SSH Overview" <-- I'm conflicted on that one. On one hand the topic sounds like a bit of a hack to get around boxes where zmq won't run; on the other hand, a thatch presentation seems like it should be great
07:51 nliadm joined #salt
07:52 forresta it's a pretty big feature for a lot of users, especially those on the public cloud
07:52 MTecknology I almost feel like I should do a presentation next year
07:52 forresta I almost submitted one for pycon again this year (last year it was rejected)
07:52 forresta but decided against it
07:52 forresta but I will do one next year for sure
07:54 MTecknology By next year, I'll have 180 server that are 100% deployed, configured, and managed using salt and nothing else. Each server is unique to the facility it comes up at. (partly documented in that blog post) It uses the reactor system, the reactor will decrypt and mount luks file systems on the minions and also handle keys, I have 102 different states so far for these boxes. I'm about to start
07:54 MTecknology managing Windows boxes too. I used the ext_pillar rather heavily.
07:54 forresta nice
07:55 MTecknology I feel like I could come up with a pretty awesome talk
07:55 forresta Yea, just gotta make it happen!
07:56 MTecknology I suck horribly at speaking
07:56 forresta gotta practice to get better man
07:56 forresta anyways it's late, and I'm tired, I'm outta here
07:56 forresta have a good one
07:57 sroegner joined #salt
08:07 martoss joined #salt
08:08 quickdry21 joined #salt
08:38 redmin joined #salt
08:40 pmcg joined #salt
08:52 higgs001 joined #salt
09:11 scooby2_ joined #salt
09:20 drogoh joined #salt
09:21 Anb joined #salt
09:29 anteaya joined #salt
09:29 jperras joined #salt
09:29 Voziv joined #salt
09:29 d10n joined #salt
09:29 lyska joined #salt
09:29 cb joined #salt
09:29 giantlock joined #salt
09:29 srage joined #salt
09:29 bhosmer joined #salt
09:29 rofl____ joined #salt
09:29 trevorj joined #salt
09:29 stoffell joined #salt
09:29 ckao joined #salt
09:29 arnoldB joined #salt
09:29 toastedpenguin joined #salt
09:29 terminalmage joined #salt
09:29 tinuva joined #salt
09:29 pt|Zool joined #salt
09:29 jesusaurus joined #salt
09:29 dccc joined #salt
09:29 scoates joined #salt
09:29 micko joined #salt
09:29 esogas joined #salt
09:29 thoht joined #salt
09:29 rizumu joined #salt
09:29 kiorky joined #salt
09:29 lionel joined #salt
09:29 f47h3r joined #salt
09:29 jeddi joined #salt
09:29 ccase joined #salt
09:29 stewpot joined #salt
09:29 Jarus joined #salt
09:29 Sypher joined #salt
09:29 rawzone joined #salt
09:29 dezgot joined #salt
09:29 EugeneKay joined #salt
09:29 anti_lp joined #salt
09:29 welby joined #salt
09:29 kaiyou_ joined #salt
09:29 balltongu_ joined #salt
09:29 zz_Cidan joined #salt
09:29 btorch joined #salt
09:29 twinshadow joined #salt
09:29 bretep joined #salt
09:29 zsoftich_ joined #salt
09:29 ze- joined #salt
09:29 SoR joined #salt
09:29 baffle joined #salt
09:29 retr0h joined #salt
09:29 _monokrome joined #salt
09:29 djinni` joined #salt
09:29 cedwards joined #salt
09:29 supplicant joined #salt
09:29 tru_tru joined #salt
09:29 nkuttler joined #salt
09:29 zpotoloom joined #salt
09:29 darrend joined #salt
09:29 hotbox joined #salt
09:29 robinsmidsrod joined #salt
09:29 mnemonikk joined #salt
09:29 clearclaw joined #salt
09:29 Psi-Jack joined #salt
09:29 rockey joined #salt
09:29 drags joined #salt
09:29 whyzgeek joined #salt
09:29 mortis_ joined #salt
09:29 fatbox joined #salt
09:29 bejer joined #salt
09:29 munhitsu joined #salt
09:29 vortec joined #salt
09:29 scalability-junk joined #salt
09:29 neilf_ joined #salt
09:29 Teknix joined #salt
09:29 aarontc joined #salt
09:29 crane joined #salt
09:29 bwq joined #salt
09:29 kossy joined #salt
09:29 carmony joined #salt
09:29 nocturn joined #salt
09:29 jpcw joined #salt
09:29 chjohnst_work joined #salt
09:29 chuffpdx joined #salt
09:29 indymike joined #salt
09:29 djanos_ joined #salt
09:29 Dinde joined #salt
09:29 tonthon joined #salt
09:29 jcockhren joined #salt
09:29 canci joined #salt
09:29 gmoro joined #salt
09:29 lynxman joined #salt
09:29 mr_chris joined #salt
09:29 _ikke_ joined #salt
09:29 premera joined #salt
09:29 BrendanGilmore joined #salt
09:29 Guest27058 joined #salt
09:29 Striki joined #salt
09:29 luminous_ joined #salt
09:29 mikkn joined #salt
09:29 utahcon joined #salt
09:29 rmt joined #salt
09:29 joehh joined #salt
09:29 PoLuX joined #salt
09:29 jeblair_ joined #salt
09:29 EWDurbin_ joined #salt
09:29 Damoun_ joined #salt
09:29 ClausA joined #salt
09:29 nliadm joined #salt
09:29 anuvrat joined #salt
09:29 ktenney_gone joined #salt
09:29 jasonrm joined #salt
09:29 BenCoinanke joined #salt
09:29 seba joined #salt
09:29 seanz joined #salt
09:29 harobed__ joined #salt
09:29 MTecknology joined #salt
09:29 Kraln joined #salt
09:29 APLU joined #salt
09:29 [vaelen] joined #salt
09:29 copelco__ joined #salt
09:29 srijan4 joined #salt
09:29 gamingrobot joined #salt
09:29 goki joined #salt
09:29 modafinil joined #salt
09:29 kolbe joined #salt
09:29 fishpen0 joined #salt
09:29 austin987 joined #salt
09:29 worstadmin joined #salt
09:29 z3uS joined #salt
09:29 alunduil joined #salt
09:29 mjulian joined #salt
09:29 Kyle joined #salt
09:29 Heartsbane joined #salt
09:29 Jahkeup joined #salt
09:29 dpac|away joined #salt
09:29 echos joined #salt
09:29 nn0101 joined #salt
09:29 yml joined #salt
09:29 flebel joined #salt
09:29 Nazca joined #salt
09:29 patrek joined #salt
09:29 philipsd6 joined #salt
09:29 dwfreed joined #salt
09:29 juice joined #salt
09:29 yota joined #salt
09:29 bezaban joined #salt
09:29 MK_FG joined #salt
09:29 chutz joined #salt
09:29 mordred joined #salt
09:29 markizano joined #salt
09:29 Guest3213 joined #salt
09:29 kasanop joined #salt
09:29 andyshinn` joined #salt
09:29 lahwran joined #salt
09:29 keekz joined #salt
09:29 jmccree joined #salt
09:29 sashka_ua joined #salt
09:29 eclectic joined #salt
09:29 ahammond joined #salt
09:29 gadams joined #salt
09:29 jY joined #salt
09:29 ninkotech joined #salt
09:29 benturner joined #salt
09:29 londo__ joined #salt
09:29 coolj joined #salt
09:29 tsantero joined #salt
09:29 babilen joined #salt
09:29 kuL4 joined #salt
09:29 vbabiy joined #salt
09:29 Balu__ joined #salt
09:29 fxdgear joined #salt
09:29 iMil joined #salt
09:29 fivethreeo joined #salt
09:29 lv_ joined #salt
09:29 mau_ joined #salt
09:29 ahale joined #salt
09:29 kyusan_ joined #salt
09:29 Linuturk joined #salt
09:29 EntropyWorks joined #salt
09:29 chitown joined #salt
09:29 rope_ joined #salt
09:29 AlcariTheMad joined #salt
09:29 whiteinge joined #salt
09:29 dcmorton joined #salt
09:29 bigmstone joined #salt
09:29 dcolish joined #salt
09:29 twiedenbein joined #salt
09:29 andrej joined #salt
09:29 emilisto joined #salt
09:29 eightyeight joined #salt
09:29 cwright joined #salt
09:29 kevinbrolly joined #salt
09:29 akoumjian joined #salt
09:29 aurigus joined #salt
09:30 dijit joined #salt
09:30 mirko_ joined #salt
09:30 viq joined #salt
09:30 errr_ joined #salt
09:30 tempspace joined #salt
09:30 ede joined #salt
09:30 Nazzy joined #salt
09:30 lyddonb joined #salt
09:30 mfournier joined #salt
09:30 madduck joined #salt
09:30 Gareth joined #salt
09:30 FL1SK joined #salt
09:30 apergos joined #salt
09:30 jbub joined #salt
09:30 arapaho joined #salt
09:30 6JTAARJIV joined #salt
09:30 ekristen joined #salt
09:30 jms2 joined #salt
09:30 zooz joined #salt
09:30 nineteeneightd joined #salt
09:30 goncalo joined #salt
09:30 kamyl joined #salt
09:30 analogbyte joined #salt
09:30 Hefeweizen joined #salt
09:30 Daviey joined #salt
09:30 ioni joined #salt
09:30 xinkeT joined #salt
09:30 octarine joined #salt
09:30 basepi joined #salt
09:30 vu joined #salt
09:30 Guest64230 joined #salt
09:30 chadhs joined #salt
09:30 pcarrier joined #salt
09:30 fedgoat joined #salt
09:30 nebuchadnezzar joined #salt
09:30 druonysus joined #salt
09:30 startling joined #salt
09:30 sine_nitore joined #salt
09:30 jtrucks joined #salt
09:30 bdf joined #salt
09:30 faulkner joined #salt
09:30 teepark joined #salt
09:30 xzarth joined #salt
09:30 kedo39 joined #salt
09:30 shennyg joined #salt
09:30 pexio joined #salt
09:30 oeuftete joined #salt
09:30 rhand joined #salt
09:30 namtab joined #salt
09:30 Ixan joined #salt
09:30 __number5__ joined #salt
09:30 andersb joined #salt
09:30 seb` joined #salt
09:30 grep_away joined #salt
09:30 Tropolis joined #salt
09:30 mattikus` joined #salt
09:30 ksalman_ joined #salt
09:30 smkelly joined #salt
09:30 brutasse_ joined #salt
09:30 sgviking joined #salt
09:30 mattmtl joined #salt
09:30 sinh joined #salt
09:30 isomorphic joined #salt
09:30 doki_pen joined #salt
09:30 puppet_ joined #salt
09:30 bbinet joined #salt
09:30 scassidy joined #salt
09:30 zloidemon joined #salt
09:31 rlarkin joined #salt
09:31 radone joined #salt
09:31 munhitsu joined #salt
09:31 mgw joined #salt
09:31 blast_hardcheese joined #salt
09:35 octarine joined #salt
09:35 jeff joined #salt
09:35 eliasp joined #salt
09:35 sirtaj joined #salt
09:35 cryptomnesia joined #salt
09:35 torrancew joined #salt
09:35 jefferai joined #salt
09:35 akitada joined #salt
09:35 vipul joined #salt
09:35 mackstick joined #salt
09:35 honestly joined #salt
09:35 \ask joined #salt
09:35 NV joined #salt
09:35 che-arne joined #salt
09:35 cyp joined #salt
09:35 SEJeff_work joined #salt
09:36 jtrucks joined #salt
09:44 EvaSDK joined #salt
09:44 crazysim joined #salt
09:44 pmcg joined #salt
09:44 mollerstrand joined #salt
09:44 TomasNunez joined #salt
09:44 Ahlee joined #salt
09:44 wunki joined #salt
09:44 jeffrubic joined #salt
09:44 dnsn joined #salt
09:44 cbloss joined #salt
09:44 nahamu joined #salt
09:44 tallpaul joined #salt
09:44 zz_cro joined #salt
09:44 bersace joined #salt
09:44 tamentis_ joined #salt
09:44 codysoyland joined #salt
09:44 cyrusdavid joined #salt
09:44 rager joined #salt
09:44 pviktori joined #salt
09:44 defunctzombie_zz joined #salt
09:46 sroegner joined #salt
09:49 redmin joined #salt
09:53 jean-philippe joined #salt
09:53 oc joined #salt
09:53 Vye_ joined #salt
09:53 tseNkiN1 joined #salt
09:53 mlen joined #salt
09:53 schristensen joined #salt
09:53 renoirb joined #salt
09:53 robawt joined #salt
09:53 KoFFiE joined #salt
09:53 beardo_ joined #salt
09:53 zach joined #salt
09:53 LordOfLA|Broken joined #salt
09:53 N-Mi joined #salt
09:53 JordanRinke joined #salt
09:53 ninkotech_ joined #salt
09:53 JesseC joined #salt
09:53 simonmcc joined #salt
09:53 Corey joined #salt
09:53 txmoose joined #salt
09:53 marcinkuzminski joined #salt
09:53 clone1018 joined #salt
09:53 jpaetzel joined #salt
09:53 Flusher joined #salt
09:53 kamal_ joined #salt
09:53 melinath joined #salt
09:53 aptiko joined #salt
09:53 kula joined #salt
09:53 Brew_away joined #salt
09:53 packeteer joined #salt
09:53 jphall_ joined #salt
09:53 joonas joined #salt
09:53 kvbik joined #salt
09:53 etw joined #salt
09:54 blast_hardcheese joined #salt
09:55 taion809 joined #salt
09:56 clone1018 joined #salt
10:00 Corey joined #salt
10:03 harobed joined #salt
10:19 redmin joined #salt
10:20 MohShami joined #salt
10:22 MohShami hey guys, I've been using salt for a month now and love it. with my latest itiration I have all my configuration files stored in git and I manage a couple of server clusters (web, mail, DNS, ... etc), what I'm looking for is to handle web app deployments with salt as well, I know salt can do it, but can you please point me to a clean solution?
10:23 MohShami the app will be stored in a git repo as well
10:23 oz_akan_ joined #salt
10:25 oz_akan__ joined #salt
10:32 luminous joined #salt
10:34 psyl0n joined #salt
10:53 viraptor joined #salt
10:53 harobed joined #salt
11:06 linjan joined #salt
11:14 gasbakid joined #salt
11:15 psyl0n joined #salt
11:25 oz_akan_ joined #salt
11:29 redmin joined #salt
11:35 sroegner joined #salt
11:42 taion809 joined #salt
11:44 taion809 joined #salt
11:45 taion809 joined #salt
11:46 taion809 joined #salt
11:47 taion809 joined #salt
11:49 taion809 joined #salt
11:50 taion809 joined #salt
11:51 taion809 joined #salt
11:52 taion809 joined #salt
12:02 elfixit joined #salt
12:16 bhosmer joined #salt
12:19 taion809 joined #salt
12:19 galet joined #salt
12:21 diegows joined #salt
12:26 oz_akan_ joined #salt
12:41 redmin joined #salt
12:52 martoss joined #salt
12:57 unixpenguin joined #salt
13:13 faeroe joined #salt
13:24 sroegner joined #salt
13:27 oz_akan_ joined #salt
13:28 sroegner_ joined #salt
13:39 psyl0n joined #salt
13:46 caraconan joined #salt
13:49 caraconan Hi there. Can somebody please help me with this syntax error? http://paste.debian.net/74215/ Completely newbie to salt. Thanks
13:50 caraconan Ok, I think I know why, because I set up a different renderer
13:51 caraconan That was the case
13:53 redmin joined #salt
13:53 caraconan There's a tool to export .sls files from yaml to python?
13:59 lahwran joined #salt
14:00 mgw joined #salt
14:01 unixpenguin joined #salt
14:07 JasonSwindle joined #salt
14:14 njpatel joined #salt
14:18 kadel joined #salt
14:25 mgw joined #salt
14:27 chris_____ joined #salt
14:27 chris_____ hello
14:28 oz_akan_ joined #salt
14:28 chris_____ was wondering if i could use salt to setup a simple webpage for users of my organization to view the current git branch on various other servers and have a way for them to change the branch
14:28 chris_____ does this seem possible
14:34 bhosmer joined #salt
14:34 chris_____ (Chris____ is now me , LostPlanet )
14:34 chris_____ hmm brb
14:36 LostPlanet joined #salt
14:36 LostPlanet ok
14:37 rojem joined #salt
14:39 unixpenguin joined #salt
14:40 mgw joined #salt
14:44 gasbakid joined #salt
14:45 yano joined #salt
14:51 njpatel left #salt
14:53 mgw joined #salt
14:59 LostPlanet .
15:01 njpatel joined #salt
15:04 redmin joined #salt
15:26 mgw joined #salt
15:28 oz_akan_ joined #salt
15:29 higgs001 joined #salt
15:30 gasbakid_ joined #salt
15:32 gasbakid joined #salt
15:38 LostPlanet joined #salt
15:48 anuvrat joined #salt
15:57 psyl0n joined #salt
16:19 gv joined #salt
16:21 martoss joined #salt
16:21 gv joined #salt
16:22 bhosmer joined #salt
16:23 kermit joined #salt
16:28 gv joined #salt
16:28 jkleckner joined #salt
16:29 oz_akan_ joined #salt
16:29 gv joined #salt
16:31 oz_akan__ joined #salt
16:31 gv left #salt
16:40 caraconan joined #salt
16:42 caraconan Hi all. There's a way to re-generate a private key on the minion side? I cloned a VM and the key is identical to the original VM. I already tested to remove /etc/salt/pki/minion/minion.pem and restart salt-minion, but tne fresh created private .pem key is identical again. Thanks
16:43 APLU joined #salt
16:45 KyleG joined #salt
16:45 KyleG joined #salt
16:46 redmin joined #salt
16:47 unixpenguin joined #salt
16:48 Gareth caraconan: you're removing it on the server side or client side?  or both?
16:48 caraconan I'm 50% done
16:49 Gareth caraconan: and updating the /etc/salt/minion_id also?
16:49 caraconan I stopped the client, removed on the client
16:49 caraconan But now I can't see the public key on the server
16:49 caraconan Log entry:
16:49 caraconan 2014-01-04 17:46:19,188 [salt.crypt       ][CRITICAL] The Salt Master has rejected this minion's public key!
16:49 caraconan To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
16:49 caraconan Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit.
16:49 caraconan It was a cloned VM, so I was expecting this message
16:50 caraconan Ups! I'll update /etc/salt/minion_id
16:50 caraconan Gareth: done, now the server sees 2 requests, from the original VM and the coned one, many thanks!
16:51 Gareth no worries :)
17:16 [diecast] joined #salt
17:17 JasonSwindle joined #salt
17:25 KyleG joined #salt
17:25 KyleG joined #salt
17:30 KyleG joined #salt
17:30 KyleG joined #salt
17:33 timoguin joined #salt
17:53 quickdry21 joined #salt
17:56 matanya joined #salt
17:57 redmin joined #salt
18:09 martoss joined #salt
18:11 bhosmer joined #salt
18:24 quickdry21 joined #salt
18:31 psyl0n joined #salt
18:47 arnoldB created a pull request https://github.com/saltstack-formulas/apache-formula/pull/15 for saltstack-formulas/apache-formula
18:52 jfzhu_us joined #salt
18:53 jkleckner joined #salt
18:56 logix812 joined #salt
19:07 redmin joined #salt
19:09 matanya joined #salt
19:14 bhosmer joined #salt
19:16 LostPlanet left #salt
19:19 chitown kedo39: MTecknology: saw your convo
19:19 chitown its craig (from linkedin)
19:19 chitown i hadnt planned on talking about the HW profile of the masters
19:20 chitown but, i can definitely mention it
19:20 higgs001 joined #salt
19:24 forresta joined #salt
19:25 cym3try joined #salt
19:30 martoss joined #salt
19:43 jkleckner joined #salt
19:44 jtrucks joined #salt
19:46 martoss joined #salt
19:49 Gifflen joined #salt
19:59 bhosmer joined #salt
20:00 oz_akan_ joined #salt
20:04 Gifflen joined #salt
20:14 arnoldB what's the env arg in salt.states.file.managed and  salt.states.file.recurse for? http://docs.saltstack.com/ref/states/all/salt.states.file.html#salt.states.file.recurse
20:16 arnoldB okay found a description in http://docs.saltstack.com/topics/tutorials/states_pt4.html#practical-example
20:26 philipsd6 Why is there no state for modules.extfs.mkfs/tune ? I can model creating volume groups using states.lvm, and mounting filesystems with states.mount, but I seem to be missing a state in the middle where I create the filesystem and set the tune2fs options.
20:27 martoss joined #salt
20:30 EugeneKay Because nobody has written it. Patches welcome.
20:36 MTecknology chitown: DO IT!!
20:37 philipsd6 EugeneKay: That's fine -- I'm kind of new to Salt, but I'd be happy to write it if I can.
20:37 MTecknology chitown: What you're doing is incredibly impressive and it's definitely worth throwing more light on it. Did I remember that convo right? 2 masters for 20,000 minions?
20:40 chitown MTecknology: yes; we have 2 large "collections" of hosts
20:40 chitown they are a little under 10k each
20:40 chitown and they have 1 master each
20:40 chitown with a warm backup
20:40 chitown we are waiting for replication of the zeromq stream before going with multiple masters
20:42 Meydvr joined #salt
20:43 MTecknology This just made me realize that I need to go to work today.
20:49 Gifflen joined #salt
20:49 jtang joined #salt
20:50 kadel joined #salt
21:00 oz_akan_ joined #salt
21:02 forresta why would you go to work on saturday
21:23 fllr joined #salt
21:54 jtang *sigh* python-sphinx on ubuntu precise seems to be too old to build the docs for the salt packages
21:56 linx_0x joined #salt
21:57 forresta that's a bummer
21:57 forresta you could try to build them yourself if you can't get the pip ones installing properly
21:58 startling left #salt
22:00 Psi-Jack bah.. ANOTHER case of where salt environments entirely is useless. states/base/repos/repo-inhouse.sls, and states/prod/repos/repo-inhouse.sls, one of my states needs repo-inhouse in base environment, another state needs it in prod, and yet, when I incorporate the two, BOOM! No good.
22:00 forresta lol let's not discuss that on a saturday Psi-Jack
22:01 Psi-Jack I'm pissed, at salt's inadequacies. :p
22:01 Psi-Jack Cause I work on my salt states on Saturdays.
22:01 higgs001 joined #salt
22:01 Gareth salt environment rants are reserved for Mondays Thursdays and alternate Tuesdays.
22:01 linx_0x can anyone help me install an npm module (less) with salt? This is what I have so far: http://pastebin.com/tcfMW4ez
22:01 oz_akan_ joined #salt
22:01 linx_0x but the thing is that that only checks whether the module is installed or not
22:01 Psi-Jack I mean, holy cow, It's not even worth using environments. :9
22:02 linx_0x but I'm trying to install it
22:02 forresta linx_0x, is it already installed on the machine?
22:02 linx_0x no I'm trying to install it
22:03 forresta what does the output return when you run that state?
22:03 forresta and is npm itself already installed?
22:03 forresta or is this the whole state?
22:03 Gifflen joined #salt
22:04 linx_0x I've been reading this: http://docs.saltstack.com/ref/states/all/salt.states.module.html to see if I can execute a module function call from the state
22:04 forresta ok
22:04 linx_0x but everything I've tried so far has failed
22:04 forresta is npm installed?
22:04 forresta where does that happen in this state
22:05 forresta https://gist.github.com/gravyboat/8261363
22:05 linx_0x npm is installed: I can execute: sudo salt-call npm.install yaml from the cli and it installs yaml
22:06 Psi-Jack Bleh.. I think I'm just going to completely stop using the base environment, and use only isolated environments...
22:06 Psi-Jack Only "solution" if you can call it that.
22:07 linx_0x how can I run "salt-call npm.install less" from within an sls file?
22:10 forresta linx_0x, I just refreshed the gist https://gist.github.com/gravyboat/8261363
22:10 forresta how do you check from within npm that a 'package' was installed?
22:10 forresta npm ls doesn't return anything
22:13 forresta here we go I found it
22:13 forresta ├─┬ less@1.6.0
22:13 forresta it's installed for me using that state from the gist
22:14 Gifflen joined #salt
22:14 forresta what do you get when you run npm list -g on the machine it's supposed to be installed on?
22:14 forresta is it in your list?
22:14 linx_0x I don't get it... why is that not working for me? I'm running this from a vagrant vm
22:15 forresta what version of salt?
22:15 linx_0x latest
22:15 forresta let me remove it, and upgrade my minion, master is 0.17.4, but minion is 0.17.2, hang on
22:17 linx_0x salt-minion 0.17.0-9880~ubuntu12.04.1
22:18 forresta oh 0.17
22:18 forresta that's not latest
22:18 forresta the ppa has a much more recent release
22:18 Psi-Jack :q
22:19 forresta linx_0x, can you use a more recent version?
22:20 forresta I just confirmed the install works fine on a 0.17.4 minion, but I have no idea about 0.17.0
22:20 linx_0x ok I'm upgrading
22:20 forresta great
22:21 forresta btw you want to try and keep things modular, I wrote that 'ghetto' init just as an example, I probably would have made npm be the only item in the init, and less would be in another sls file
22:23 linx_0x do you have an sls file to manage salt-minion ?
22:24 forresta in regards to making changes to the config?
22:24 forresta you can't use salt to install salt-minion unless you are using salt-ssh
22:25 Gifflen joined #salt
22:29 MohShami joined #salt
22:30 MohShami hey guys, currently I have my infrastructure managed with salt, but I'd like to also deploy my PHP web apps with it as well, can someone point me to a clean way to do so?
22:30 Psi-Jack MohShami: Why on earth would you want to do that?
22:31 forresta MohShami, you'd probably want to use multiple repos with different code bases which you deploy to your dev/test/prod environments.
22:31 MohShami Psi-Jack: I have some web clusters with many web servers, and I'd like to automate the deployment procedure, if you have a good idea I'd love to hear it :)
22:32 forresta Psi-Jack is very cranky today from working on a Saturday
22:32 Psi-Jack MohShami: Web clusters? No SAN? No shared storage?
22:32 MohShami Psi-Jack, sadly no, the data center we host at doesn't have that option
22:32 MohShami and we can't host on site
22:33 Psi-Jack No, when it comes to clustering, I'm always on top of things. Salt is a configuration management tool that can be utilized to do actions on multiple servers very quickly. A deployment tool for actual website applications, I would say it's definitely.. not good for that, or trustable.
22:33 Gifflen joined #salt
22:33 MohShami forresta, Psi-Jack, requirement is to have a single git repo where only production code is deployed, and whatever code goes there ends up in production
22:34 Psi-Jack MohShami: You just need 3 linux servers you can run that aren't virtualized and have good hardware to run your own SAN.
22:34 MohShami Psi-Jack: And share the code via NFS?
22:34 Psi-Jack MohShami: Actually, I was going to say Ceph.
22:34 forresta MohShami, so are you guys also running your test/dev environments with salt?
22:34 Psi-Jack Hence, 3. :)
22:35 MohShami forresta, yep :), but I'm using a script with git hooks to copy code over there
22:35 Psi-Jack MohShami: When you run mutiple webservers in a load-balanced cluster, SAN is truely the only correct way to do it.
22:35 MohShami Psi-Jack, I'm currently using glusterFS for static files
22:35 Psi-Jack GlusterFS is bleh.
22:35 MohShami but I'd prefer to have my PHP run locally
22:36 forresta the way we did it at a previous company is 3 git repos, you'd fork off the test repo, push back after peer approval, test code, then if that looks good, you pull down the code and the test repo, then merge again, push back test it, then the same with prod. This allowed us to test deployments (we were using puppet however), and it made the deploy easy.
22:36 Psi-Jack think of GlusterFS, add some steroids, some beef, bacon, and gravy, and you get Ceph. It's the full course meal, where-as GlusterFS is just the trimmings only.,
22:36 hellome joined #salt
22:36 diegows Psi-Jack, +1
22:36 forresta Psi-Jack, right but MohShami isn't asking to redesign his whole setup
22:36 diegows :)
22:36 Psi-Jack he /should/ be.
22:37 [diecast] joined #salt
22:37 forresta linx_0x, any luck?
22:37 Psi-Jack I know. I've managed 60 ClUSTERED webservers that each were not using shared storage in a load-balanced cluster, and believe me, it's stupid.
22:38 forresta yes I've also dealt with large clustered environments that all used shared storage.
22:38 fllr joined #salt
22:38 forresta and wouldn't do it any other way
22:38 forresta but a redesign of MohShami's environment isn't realistic.
22:39 MohShami forresta, Psi-Jack, I would go that route if it was available, but sadly it's not an option
22:39 forresta totally understandable
22:39 diegows MohShami, and what's  your question about deploying php apps with saltstack?
22:40 forresta what sort of structure does it look like MohShami? Is it just a big directory with files or what?
22:40 diegows definitely, using a san/ceph/whatever to host your php files doesn't make any sense :)
22:40 * EugeneKay just uses NFS on NetApps
22:41 EugeneKay In any case, "deploy from a git repo to a webapp" is more of a #git question, and we point to http://gitolite.com/deploy.html or Capistrano
22:42 EugeneKay For a multi-server one-app world you'll want your Balancer to take boxes out of / in rotation as you perform a version upgrade
22:43 forresta EugeneKay, he could always use gitfs
22:43 * EugeneKay vomits
22:43 EugeneKay You could also just rsync on a cron job, but eventually(soon) you'll get inconsistent codebase being run
22:44 forresta ughhhh
22:44 hellome joined #salt
22:44 forresta you suggest that after saying vomit to gitfs?
22:44 EugeneKay "could" ;-)
22:44 Gareth vomitfs.
22:44 EugeneKay You need to 1) pull a box out of rotation, 2) turn the app off, 3) update the app, 4) tun it on, 5) put it back in rotation(or wait until half of your boxes are on the New base and then switch the active/inactive machines around and finish your upgrades)
22:45 EugeneKay Or, the easy way: 1) put up a BRB UPGRADING page; 2) do all of that at once
22:45 forresta if I was gonna use salt to do that, I'd store the locally updated files on the master (just pull them in via git to the associated location)
22:46 forresta then write a set of deploy states to take the machines out of rotation, shut down the service, load up the files, restart the service, back in rotation
22:46 EugeneKay Yeah, could do.
22:46 EugeneKay The rotation bit is the tricky part
22:47 EugeneKay Especially considering the need to have a "consistent" app across versions
22:47 forresta make it so the LB is looking for a specific file, and if it doesn't see that file, it stops sending requests that way maybe.
22:47 john_934251 joined #salt
22:47 forresta so pulling it out of rotation, is simply renaming a file
22:48 pass_by_value joined #salt
22:48 EugeneKay I dunno if nginx supports that :-p
22:48 forresta ?
22:48 forresta just use a static html file
22:48 forresta the LB does the work
22:48 EugeneKay Oh, have it return a 404 from the worker. Right, got it.
22:48 forresta right
22:49 forresta so any time that file is renamed = 404, no more traffic, granted you'd have to wait for the connections to drain which kinda sucks
22:49 EugeneKay My next question is what's the application? Cat photos blog? How much downtime is OK ;-)
22:50 MohShami Sorry guys was AFK
22:51 Gifflen joined #salt
22:51 arnoldB whiteinge: you should check the causes when you change cmd.wait to module.wait (https://github.com/saltstack-formulas/apache-formula/commit/950ce071859189403a3eec6a6eae18e36b597eb8), see https://github.com/saltstack-formulas/apache-formula/pull/16 :P
22:51 MohShami EugeneKay: I'm currently using your deployment script for git, but I was thinking maybe there was something more like Capistrano but more salt-oriented
22:54 MohShami I was also reading about fabric, looking at fab files, it seems the same can be done with salt
22:55 diegows MohShami, yes, you can do it with salt, doesn't make any sense to add another tool
22:55 diegows MohShami, have you read about states.git?
22:56 martoss joined #salt
22:58 psyl0n joined #salt
22:58 Gifflen joined #salt
23:00 MohShami diegows, my thougts exactly
23:00 MohShami diegows: I'm currently using gitfs to handle my configuration files
23:01 MohShami was wondering if a similar solution can be used for the codebase
23:02 oz_akan_ joined #salt
23:02 diegows http://docs.saltstack.com/ref/states/all/salt.states.git.html
23:03 linx_0x forresta: that did it I can't believe all I had to do was upgrade :)
23:03 forresta linx_0x, Awesome!
23:04 forresta yea I didn't see a bug related to that, but something must have been messed up
23:05 MohShami diegows: would this scale? I know I don't have many servers right now, but I might have as many as 100 servers in the future
23:08 diegows yes, why not? Do you have to deploy like Flickr ? :)
23:10 opapo joined #salt
23:11 Gifflen joined #salt
23:11 mpanetta joined #salt
23:14 viraptor joined #salt
23:19 Gifflen joined #salt
23:19 mpanetta joined #salt
23:21 MohShami diegows: don't think I ever will :)
23:21 MohShami is that hos flickr does it?
23:23 Gifflen_ joined #salt
23:24 linx_0x is there something similar to puppet forge for salt modules?
23:25 forresta linx_0x, yes there is: https://github.com/saltstack-formulas
23:25 forresta you mean salt states
23:25 forresta *?
23:25 forresta if you want modules, https://github.com/saltstack/salt-contrib
23:25 forresta there are some extras there you can ad
23:25 forresta *add
23:25 arnoldB linx_0x: https://github.com/saltstack-formulas
23:26 terminalmage forresta: if you had to deal with the amount of bug reports caused by GitPython, you'd be just as happy :P
23:26 forresta lol
23:31 Gifflen joined #salt
23:35 bhosmer joined #salt
23:51 jtang joined #salt
23:52 jtang joined #salt

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary