Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-01-24

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

All times shown according to UTC.

Time Nick Message
00:06 techhat ~lart cachedout
00:06 cachedout !!
00:07 kermit joined #salt
00:08 techhat cachedout: yeah, i went there
00:08 cachedout You, sir, are hereby challenged to feats of strength at SaltConf.
00:09 techhat cachedout: very well then, it's a walk-off. david bowie will judge.
00:09 cachedout techhat: Challenge accepted!
00:09 techhat excellent.
00:10 redondos joined #salt
00:12 forrest joined #salt
00:17 yaru22 joined #salt
00:21 foxx joined #salt
00:21 brianhicks joined #salt
00:22 bhosmer joined #salt
00:26 qybl joined #salt
00:36 foxx joined #salt
00:38 MTecknology DAMNIT!
00:39 MTecknology I just realized that my plane is scheduled to land 1hr before the conference on monday starts
00:44 MTecknology or... is monday just the day for signing in?
00:49 jtang joined #salt
00:50 MTecknology ya... I didn't think I screwed up that bad.
00:52 cedwards MTecknology: I didn't think anything was going on Mon
00:53 MTecknology cedwards: check your email
00:53 MTecknology I saw monday stuff, saw the start time, went... ooooh shit
00:53 MTecknology I'm less freaky outy now
00:54 cedwards Ah, just saw that email.
00:54 cedwards I'm not doing any pre-conf training so..
00:57 NotreDev joined #salt
00:58 MTecknology I'm kind of excited for the whole thing from start to end
00:59 nikolay_ joined #salt
00:59 MTecknology I should get out of work early so I can call family...
01:00 simonmcc if anybody is interested in integration testing with Test Kitchen & Salt, I just published kitchen-salt
01:00 simonmcc http://mccartney.ie/wordpress/?p=280
01:00 whiteinge seanz: are you calling me a liar?
01:00 simonmcc https://github.com/simonmcc/kitchen-salt/blob/master/INTRODUCTION.md
01:01 whiteinge simonmcc: very cool! you should send that link to the mailing list
01:02 simonmcc I tried, no bounce, I guess I'm waiting on moderation or something?
01:02 simonmcc The blog post is just a c&p of the email I sent to the ML
01:03 forresta joined #salt
01:04 whiteinge i don't have powers on the list so i can't double-check. if it doesn't get through moderation by tomorrow, hit me up though
01:05 simonmcc will do, thank you.
01:07 imaginarysteve joined #salt
01:07 bhosmer_ joined #salt
01:10 de_bigt joined #salt
01:15 de_bigt joined #salt
01:18 robawt wuddup whiteinge
01:23 sashka_ua joined #salt
01:24 SpeeR joined #salt
01:26 whiteinge robawt: yo!
01:27 JordanRinke joined #salt
01:32 giantlock_ joined #salt
01:38 cocoy1 joined #salt
01:44 diegows joined #salt
01:44 rockey joined #salt
01:44 puppet joined #salt
01:46 thaddeusmt joined #salt
01:52 andrej Can one rename a salt-minion?  A colleague went and renamed a host, and now the name of the minion within salt doesn't match the machine name - not good.
01:54 whiteinge andrej: the minion_id is cached in /etc/salt/minion_id
01:54 whiteinge just delete the file (or change it) and restart the minion
01:55 whiteinge (if you haven't already) you should also rename the key for the minion on the master in /etc/salt/pki/master/minions
01:56 foxx joined #salt
02:00 redondos joined #salt
02:02 thaddeusmt Is it possible to use file.managed (or something similar) to run a jinja transform on a file in the local file system? And not have to serve the file up from the salt file server (or HTTP or FTP)? Basically file.copy with a jinja template transform?
02:04 SpeeR joined #salt
02:09 whiteinge thaddeusmt: not that i can think of. that would be a straightforward addition to file.managed though
02:12 whiteinge thaddeusmt: basically just add a check for a local file scheme somewhere around here: https://github.com/saltstack/salt/blob/develop/salt/modules/file.py#L2067
02:12 cansis joined #salt
02:17 elithrar joined #salt
02:19 thaddeusmt whiteinge: thanks, just checking. I was actually thinking about looking at the code and seeing it it's a simple addition. I have no Python steeze, but looking at managed.copy maybe I can figure it out :)
02:20 whiteinge cool! hit me (or #salt) up if you have any questions :)
02:22 redondos joined #salt
02:24 [diecast] joined #salt
02:27 Shish joined #salt
02:30 yomilk joined #salt
02:37 jimallman_ joined #salt
02:39 redondos joined #salt
02:40 [diecast] joined #salt
02:44 ConceitedCode joined #salt
02:50 Ryan_Lane2 joined #salt
02:51 20WAAYN6L joined #salt
02:56 carmony will salt-cloud integration with the salt master be released on the next release?
02:57 Ryan_Lane2 joined #salt
03:03 Ryan_Lane2 utahcon: I think you'll get a kick out of how I handled hiera for my use case :)
03:04 fllr joined #salt
03:05 Ryan_Lane2 http://pastebin.com/qStnvCc1
03:06 Ryan_Lane2 http://pastebin.com/rqKH5uVv
03:07 Ryan_Lane2 utahcon: I'm iterating over the modules (and custom modules), and finding an __ext_pillars__ list on each, then loading those
03:07 NotreDev joined #salt
03:07 Ryan_Lane2 that way I can call saltutil.refresh_pillars and it'll cache them
03:08 Ryan_Lane2 and I can just use __pillar__.get(<pillar>)
03:08 bhosmer_ joined #salt
03:08 david_a joined #salt
03:10 david_a joined #salt
03:10 xiaoxiaoshen joined #salt
03:11 xiaoxiaoshen hi
03:17 cocoy joined #salt
03:27 UtahDave joined #salt
03:31 MTecknology DAVE!
03:32 MTecknology I'm confused about this certification bit... it's open notes and you can take it with you and complete it on your own time?...
03:32 forrest MTecknology, what? It doesn't say that anywhere.
03:33 MTecknology It's not in a specially guarded room with three cameras watching you take the test and only a blank sheet of paper and two pens with black ink allowed?
03:33 patrek joined #salt
03:34 MTecknology also... The exam will be available to take throughout the week. <-- I 100% read that wrong... wow, that makes MUCH more sense
03:34 forrest lol yea I was confused
03:34 forrest was going 'how did he misread that?'
03:34 MTecknology I did read something about notes that confused me
03:34 MTecknology I bet I read that wrong too
03:35 MTecknology I kinda want to be that first SSCE ever, but I also kinda wanna make sure I get it
03:35 forrest I saw nothing on notes, it said open book, what that means though, I don't know
03:35 MTecknology ya- open book, that
03:39 MTecknology I wonder how long it would take to spin up an AD server, create 40,000 accounts across 300 groups, and reproduce that issue I've been seeing.
03:40 MTecknology anyone wanna do that for me and just pass me the VM? pretty please?  ... no? :(
03:41 forrest no thanks
03:41 forrest keep your windows
03:41 mgw joined #salt
03:42 gazprom joined #salt
03:43 MTecknology forrest: that's kinda the reason I don't want to do build it
03:43 MTecknology oh! I'd also have to simulate a T1 between the two VMs
03:44 forrest good luck
03:45 MTecknology I'll probably just keep fighting it while at work. It'll be easier. It'll also mean I couldn't work on anything like that during the sprint. We have one weird environment.
03:46 MTecknology This will actually be the first coding sprint I've ever attended
03:59 xmltok joined #salt
04:06 elithrar joined #salt
04:08 SpeeR joined #salt
04:08 funzo joined #salt
04:10 SpeeR joined #salt
04:11 SpeeR joined #salt
04:14 SpeeR joined #salt
04:15 SpeeR_ joined #salt
04:17 SpeeR_ joined #salt
04:21 SpeeR joined #salt
04:22 SpeeR joined #salt
04:23 jkleckner joined #salt
04:24 SpeeR joined #salt
04:26 SpeeR joined #salt
04:26 joehh babilen: I've been tempted to, but I keep hearing of the iminient 0.17.5
04:27 MTecknology I think 0.17.5 should hold off for about 8 months
04:27 joehh I uploaded a 0.17.4-2 a couple of days ago and once that is in testing (and assuming no 0.17.5), I'll backport it officially
04:27 MTecknology which distro?
04:27 joehh MTecknology: interesting idea
04:28 SpeeR joined #salt
04:28 joehh MTecknology: debian - issue was the google analytics code in the docs meant you would be tracked readin gthe docs on your won computer
04:28 MTecknology 8mo is strictly a convenience thing for me... unless a 0.17.5 master will work well with a 0.17.4 minion
04:28 joehh won = own
04:29 MTecknology bestest distro eva
04:29 MTecknology I need to do more for nignx in debian
04:30 SpeeR joined #salt
04:31 redondos joined #salt
04:31 SpeeR joined #salt
04:33 SpeeR joined #salt
04:34 kalloc joined #salt
04:34 MTecknology heh... for a second, I almost tried to set a ban for a broken connection... then noticed the channel I'm in
04:35 SpeeR_ joined #salt
04:35 cachedout_home (Just catching up). Yes, the SSCE is open-book but trust me, it's pretty hard. :]
04:36 MTecknology where's the book come from?
04:37 SpeeR_ joined #salt
04:37 cachedout_home I'm not 100% positive, but I'm fairly sure you'll be able to access the Internet, etc.
04:38 cachedout_home But it really won't help much.
04:38 MTecknology oh?
04:38 MTecknology You're making me itch with anticipation.
04:38 cachedout_home It's challenging, that's all I'm really going to say about it. :]
04:38 SpeeR joined #salt
04:40 SpeeR_ joined #salt
04:41 MTecknology I guess I'll know for myself in ~4 days
04:41 MTecknology 5 days*
04:42 SpeeR joined #salt
04:42 MTecknology I'm sort of expecting it to be less about knowing what states and modules exist and more about knowing how to fit them together to solve a problem (and all of the other features)
04:43 MTecknology cachedout_home: one last question!
04:43 MTecknology Will my beard help me in any way?
04:43 cachedout_home Hah
04:44 cachedout_home If it were up to me, I would strongly consider beard credit!
04:44 cachedout_home But I'm sure you'll be just fine without it. :]
04:44 MTecknology So, you're saying there's a chance!
04:44 SpeeR joined #salt
04:44 cachedout_home Hahaha.
04:46 SpeeR joined #salt
04:48 SpeeR joined #salt
04:48 MTecknology cachedout_home: is there any chance you could do a /ch mode +b *!*@76-14-121-205.rk.wavecable.com$##FIX_YOUR_CONNECTION   pretty please?
04:49 cachedout_home My client doesn't display joins. He he flapping or something?
04:49 MTecknology yup
04:49 SpeeR joined #salt
04:49 MTecknology I show joins/parts because I'm an op in so many channels that I can't really disable it
04:50 cachedout_home Done.
04:50 cachedout_home Except I just realized I'm not op'd on this account. When I pop open my laptop later, I'll do it for you.
04:51 MTecknology I have this for reference - http://dpaste.com/1566895/
04:51 cachedout_home K, I'll do it a bit later if that's all right.
04:51 SpeeR_ joined #salt
04:51 MTecknology no prob, thanks
04:52 MTecknology also- thanks for the extra exam info... this this info, I will outbeard everyone!
04:52 yaru22 joined #salt
04:52 cachedout_home Are you going to the pre-conference training?
04:52 MTecknology YUP!
04:53 cachedout_home You'll have a leg up then. The trainings are going to be *really* good, I think.
04:53 cachedout_home (I"m not giving one, so I can say that fairly.) ;]
04:53 SpeeR joined #salt
04:53 mgw joined #salt
04:53 MTecknology I thought the cert wasn't even available for people not attending the pre-conf
04:54 cachedout_home Oh, maybe it's not? I don't know actually.
04:54 MTecknology I was wrong once already...
04:55 MTecknology I'm just excited for the learning bit
04:55 SpeeR_ joined #salt
04:55 MTecknology the only other conference I've ever attended was an absolute waste
04:55 cachedout_home I'm hopeful that these will be valuable. I'm going to sit in the Advanced States class myself and I"m hoping to learn some new things.
04:56 dangra joined #salt
04:56 cachedout_home Because, honestly, you could spend an entire morning just on templating and still have plenty to talk about.
04:56 MTecknology mostly mcafee trying to sell their own products by explaining in convuluted details how they provide value
04:56 cachedout_home Oh, yeah. None of that here. The training material was written 100% by the engineering staff.
04:56 SpeeR joined #salt
04:57 redondos joined #salt
04:57 cachedout_home And will be given entirely by the core dev team. Any speak of "value propositions" by instructors can and should be mocked! :]
04:58 MTecknology FOCUS12 was what I went to. The McAfee CTO was the only one that wasn't advertising their products and actually had any value.
04:58 SpeeR joined #salt
04:59 MTecknology I'm kind of excited to hear cedwards talking
05:00 SpeeR joined #salt
05:01 ajw0100 joined #salt
05:02 MTecknology This might be the first time in my life that I've been excited about a test too...
05:02 cachedout_home There are a number of talks I'm really looking forward to hearing.
05:02 SpeeR_ joined #salt
05:03 qybl joined #salt
05:04 SpeeR_ joined #salt
05:04 MTecknology I need to look at that list again
05:05 SpeeR joined #salt
05:07 SpeeR joined #salt
05:07 davet joined #salt
05:08 UtahDave joined #salt
05:09 bhosmer_ joined #salt
05:09 SpeeR_ joined #salt
05:11 SpeeR_ joined #salt
05:11 kermit joined #salt
05:12 cachedout joined #salt
05:13 SpeeR joined #salt
05:14 cocoy joined #salt
05:14 SpeeR_ joined #salt
05:15 dmwuw_ joined #salt
05:16 redondos joined #salt
05:16 SpeeR joined #salt
05:17 mgw1 joined #salt
05:18 SpeeR_ joined #salt
05:20 SpeeR__ joined #salt
05:21 ravibhure joined #salt
05:22 SpeeR joined #salt
05:23 redondos joined #salt
05:23 redondos joined #salt
05:23 SpeeR joined #salt
05:25 SpeeR joined #salt
05:27 SpeeR joined #salt
05:28 mgw joined #salt
05:29 SpeeR joined #salt
05:30 redondos_ joined #salt
05:31 SpeeR joined #salt
05:32 redondos joined #salt
05:32 SpeeR joined #salt
05:34 redondo__ joined #salt
05:34 SpeeR joined #salt
05:36 redondos_ joined #salt
05:36 SpeeR joined #salt
05:36 giantlock_ joined #salt
05:38 SpeeR joined #salt
05:40 SpeeR joined #salt
05:40 dmwuw joined #salt
05:41 SpeeR joined #salt
05:43 jalbretsen joined #salt
05:43 SpeeR joined #salt
05:45 SpeeR joined #salt
05:46 jcockhren salt+pam+yubikey works nicely
05:47 SpeeR joined #salt
05:49 SpeeR joined #salt
05:49 UtahDave cool, jcockhren
05:50 jcockhren though I'd like to see salt auth directly with yubikeyCloud
05:50 SpeeR joined #salt
05:52 MTecknology so much broken connection
05:52 SpeeR joined #salt
05:52 MTecknology jcockhren: was it you talking about meeting up like buddies?
05:53 MTecknology 'cause, you're ALL my buddies (except for broken connection guy)
05:54 SpeeR_ joined #salt
05:54 jcockhren MTecknology: yeah. I won't be at SaltConf tho. :(
05:54 ConceitedCode joined #salt
05:55 jcockhren my github buddy will be there tho
05:55 jcockhren he likes the fact that pillar and understand hiera
05:55 jcockhren s/and/can
05:56 SpeeR joined #salt
05:56 MTecknology jcockhren: :(
05:56 elithrar joined #salt
05:57 SpeeR joined #salt
05:58 MTecknology jcockhren: you're going to miss out on the key signing party :(
05:59 SpeeR joined #salt
06:01 SpeeR joined #salt
06:03 SpeeR joined #salt
06:05 SpeeR joined #salt
06:06 SpeeR_ joined #salt
06:07 justlooks joined #salt
06:07 justlooks hi anyone can help this? https://gist.github.com/justlooks/8592725
06:08 SpeeR joined #salt
06:09 kalloc joined #salt
06:10 SpeeR joined #salt
06:12 justlooks ok,i figure it out :)
06:12 SpeeR_ joined #salt
06:14 SpeeR_ joined #salt
06:15 SpeeR joined #salt
06:16 ndrei joined #salt
06:17 SpeeR joined #salt
06:18 Anonymouse__ joined #salt
06:19 anuvrat joined #salt
06:21 SpeeR joined #salt
06:22 malinoff joined #salt
06:22 Psyke joined #salt
06:23 SpeeR_ joined #salt
06:24 justlooks hi, if i have a pillar variable A value is no ,when i write in my temple file like this pillar['A']  ,it will get false ,not no ,how can i get no instead of False??
06:24 SpeeR joined #salt
06:25 justlooks_ joined #salt
06:26 SpeeR joined #salt
06:28 nkuttler justlooks_: you want the string "no" ?
06:28 seanz joined #salt
06:28 SpeeR joined #salt
06:30 SpeeR joined #salt
06:30 Mua joined #salt
06:32 SpeeR joined #salt
06:32 Mua_ joined #salt
06:33 SpeeR joined #salt
06:35 SpeeR joined #salt
06:37 SpeeR joined #salt
06:39 justlooks_ nkuttler: i quote it ,now work fine
06:39 SpeeR_ joined #salt
06:41 SpeeR joined #salt
06:42 strgcloud joined #salt
06:42 SpeeR joined #salt
06:44 SpeeR joined #salt
06:46 SpeeR joined #salt
06:48 SpeeR joined #salt
06:49 ajw0100 is anyone running a master as a non-root user?
06:50 SpeeR_ joined #salt
06:51 ajw0100 http://docs.saltstack.com/topics/nonroot.html seems to suggest that i don't need to chown cache, log, and pki however that's the only way i can get it to work
06:51 SpeeR joined #salt
06:53 SpeeR joined #salt
06:55 SpeeR joined #salt
06:57 SpeeR joined #salt
06:59 SpeeR joined #salt
07:00 SpeeR_ joined #salt
07:02 favadi joined #salt
07:02 SpeeR joined #salt
07:04 SpeeR joined #salt
07:06 leonardinius joined #salt
07:06 SpeeR joined #salt
07:08 SpeeR joined #salt
07:09 SpeeR_ joined #salt
07:10 bhosmer_ joined #salt
07:11 SpeeR joined #salt
07:13 SpeeR joined #salt
07:14 NotreDev_ joined #salt
07:14 matanya joined #salt
07:14 matanya joined #salt
07:15 SpeeR joined #salt
07:17 SpeeR_ joined #salt
07:18 SpeeR joined #salt
07:20 SpeeR_ joined #salt
07:22 SpeeR joined #salt
07:24 SpeeR joined #salt
07:26 SpeeR_ joined #salt
07:26 ndrei joined #salt
07:27 SpeeR joined #salt
07:29 SpeeR joined #salt
07:30 gammalget joined #salt
07:31 ckao joined #salt
07:31 SpeeR joined #salt
07:33 SpeeR joined #salt
07:33 kalloc joined #salt
07:35 SpeeR joined #salt
07:35 jtang joined #salt
07:35 package joined #salt
07:36 kalloc joined #salt
07:36 SpeeR joined #salt
07:38 package criz@rome:/etc/salt/master.d$ sudo salt '*' pkg.install 'salt.sls' [sudo] password for criz:  toron:     ----------
07:38 morsik joined #salt
07:38 SpeeR joined #salt
07:39 morsik hello there...
07:39 morsik i'm learning salt states now, and i have problem with installing unsigned package
07:39 morsik i added skip_verify: true, but package still don't want to install (CentOS 6)
07:40 morsik i read yumpkg.py, but everything seems to be ok ;\
07:40 SpeeR joined #salt
07:42 SpeeR joined #salt
07:44 SpeeR_ joined #salt
07:45 lesnail joined #salt
07:45 SpeeR joined #salt
07:47 SpeeR joined #salt
07:47 gurubert joined #salt
07:49 SpeeR joined #salt
07:49 rojem joined #salt
07:51 SpeeR_ joined #salt
07:52 SpeeR joined #salt
07:54 TamCore I added git://github.com/saltstack-formulas/openssh-formula.git as gitfs_remote, but when I execute 'salt \* state.sls openssh' it says "No matching sls found for openssh in env base". Already tried restarting my salt-master. Is there something I forgot?
07:54 SpeeR joined #salt
07:55 babilen joehh: Sure, but it would still be an improvement over the 0.16.4 currently in backports and I guess that it won't be that hard to upgrade from 0.17.4 to 0.17.5. I was just curious as we plan to deploy it soon and adding another third-party repository is a whole different thing than "just" installing from backports.
07:56 SpeeR_ joined #salt
07:58 SpeeR__ joined #salt
08:00 morsik and well.... i'm using redhat network
08:00 SpeeR joined #salt
08:01 linjan joined #salt
08:01 SpeeR joined #salt
08:03 SpeeR joined #salt
08:04 ecdhe joined #salt
08:05 SpeeR_ joined #salt
08:06 balboah joined #salt
08:07 SpeeR joined #salt
08:09 SpeeR joined #salt
08:11 SpeeR joined #salt
08:11 yomilk joined #salt
08:11 cchadda_ joined #salt
08:12 SpeeR_ joined #salt
08:14 SpeeR joined #salt
08:15 jacksontj joined #salt
08:16 SpeeR joined #salt
08:16 slav0nic joined #salt
08:18 SpeeR_ joined #salt
08:19 SpeeR_ joined #salt
08:21 elithrar joined #salt
08:21 SpeeR_ joined #salt
08:22 miguitas joined #salt
08:23 ndrei joined #salt
08:23 SpeeR joined #salt
08:24 harobed_ joined #salt
08:25 SpeeR_ joined #salt
08:27 SpeeR joined #salt
08:28 SpeeR joined #salt
08:30 SpeeR joined #salt
08:32 SpeeR_ joined #salt
08:34 SpeeR joined #salt
08:36 SpeeR joined #salt
08:37 elithrar joined #salt
08:37 SpeeR_ joined #salt
08:38 yomilk_ joined #salt
08:38 giantlock joined #salt
08:39 SpeeR joined #salt
08:40 steveoliver joined #salt
08:41 SpeeR_ joined #salt
08:43 SpeeR joined #salt
08:45 SpeeR joined #salt
08:45 ml_1 joined #salt
08:46 SpeeR joined #salt
08:48 SpeeR joined #salt
08:50 SpeeR joined #salt
08:52 SpeeR_ joined #salt
08:54 SpeeR_ joined #salt
08:55 SpeeR joined #salt
08:57 SpeeR_ joined #salt
08:59 ndrei joined #salt
08:59 SpeeR joined #salt
09:01 SpeeR_ joined #salt
09:01 scott_w joined #salt
09:01 helminthe joined #salt
09:03 SpeeR joined #salt
09:04 SpeeR joined #salt
09:06 SpeeR joined #salt
09:08 SpeeR joined #salt
09:10 SpeeR joined #salt
09:11 bhosmer_ joined #salt
09:11 ndrei joined #salt
09:12 SpeeR_ joined #salt
09:12 yomilk joined #salt
09:13 SpeeR joined #salt
09:15 SpeeR joined #salt
09:16 Rory left #salt
09:19 conf joined #salt
09:19 SpeeR joined #salt
09:19 conf criz@rome:/etc/salt/master.d$ sudo salt '*' pkg.install 'salt.sls' [sudo] password for criz:  toron:     ----------
09:19 conf i didn't get changes after running this pkg.
09:20 SpeeR joined #salt
09:21 cchadda_ hi guys !
09:21 cchadda_ is it intersting to have rundeck with salt ?
09:21 cchadda_ or if some one use this two tools together ?
09:22 SpeeR joined #salt
09:24 SpeeR joined #salt
09:25 Iwirada joined #salt
09:26 SpeeR_ joined #salt
09:28 SpeeR joined #salt
09:29 kalloc joined #salt
09:29 conf this is my salt.sls http://paste2.org/Z0vFcnMB
09:30 SpeeR joined #salt
09:31 SpeeR joined #salt
09:33 srage joined #salt
09:33 SpeeR joined #salt
09:35 SpeeR joined #salt
09:37 SpeeR joined #salt
09:37 matanya joined #salt
09:37 zooz joined #salt
09:38 matanya joined #salt
09:39 SpeeR joined #salt
09:40 baffle conf: That's all wrong.
09:40 SpeeR joined #salt
09:42 baffle conf: The top of the paste is /srv/salt/top.sls -- It says wich SLS files should be applied to what nodes in what environment. Here it is defined that in the base environment ALL nodes, i.e. '*': , should have the SLS file "basepackages" loaded. The other part should be in /srv/salt/basepackages.sls ..
09:42 baffle conf: That was just a quick example.
09:42 SpeeR_ joined #salt
09:42 baffle actually, there is a : missing after '*'.
09:43 baffle You would run this with: salt '*' state.highstate
09:43 baffle That would apply all definitions in top.sls to all hosts in salt.
09:43 baffle Or you could run just basepackages.sls with the following: salt '*' state.sls basepackages
09:44 baffle That would apply the state-file basepackages.sls to all nodes.
09:44 SpeeR joined #salt
09:45 matanya joined #salt
09:46 SpeeR joined #salt
09:48 SpeeR joined #salt
09:49 conf bafffle- accidentally i had deleted the /etc/salt/master file. now i am unable to connect to the minion
09:49 conf please let me know how to add the minion in the system
09:49 SpeeR joined #salt
09:51 conf criz@rome:/etc/salt$ sudo salt '*' test.ping [ERROR   ] Error parsing configuration file: /etc/salt/master - while scanning a simple key   in "<string>", line 15, column 1:     minion:192.168.2.27     ^ could not found expected ':'   in "<string>", line 16, column 1:     # Whether the master should list ...      ^ [ERROR   ] Error parsing configuration file: /etc/salt/master - while scanning a simple key   in "<string>", line 15, column
09:51 SpeeR joined #salt
09:53 SpeeR_ joined #salt
09:54 baffle conf: Just copy in a fresh master file?
09:54 conf yes done
09:54 baffle conf: As long as you've not deleted the certificates, they minions cert should still be signed?
09:54 conf sudo salt '*' test.ping No minions matched the target. No command was sent, no jid was assigned.
09:55 conf ok
09:55 baffle conf: It is signed, right? What does "salt-key" say?
09:55 SpeeR joined #salt
09:56 conf sudo !! sudo salt-key -A The key glob '*' does not match any unaccepted keys.
09:56 baffle Just write "sudo salt-key".
09:56 SpeeR_ joined #salt
09:57 baffle If you deleted stuff like the masters certificate, the minions will not try to connect to the new master before you delete the certificate from the minion..
09:57 conf criz@rome:/etc/salt$ sudo salt-key Accepted Keys: Unaccepted Keys: Rejected Keys:
09:57 psyl0n joined #salt
09:57 conf ok
09:57 baffle So it has no minions, then. If salt minion is set up on the client, it probably has cached the old information.
09:58 conf so please let me know what should i do, shall i reinstall  minion
09:58 SpeeR joined #salt
09:59 cast joined #salt
09:59 baffle On the minion: sudo rm /etc/salt/pki/minion/minion_master.pub
09:59 baffle And then restart the minion. (sudo restart salt-minion)
09:59 conf done
09:59 baffle Instead of writing sudo all the time, doing "sudo -s" gives you a root shell..
10:00 baffle Now to salt-key -A
10:00 SpeeR joined #salt
10:01 yomilk joined #salt
10:01 conf :/etc/salt$ sudo !! sudo salt-key -A The key glob '*' does not match any unaccepted keys.
10:01 srage joined #salt
10:01 baffle Uhh, why do you write "sudo !!"?
10:01 gammalget joined #salt
10:02 srage_ joined #salt
10:02 SpeeR joined #salt
10:02 baffle Just write "sudo salt-key -A".
10:02 apergos joined #salt
10:03 conf i am unable to post here
10:03 conf sudo salt-key -A The key glob '*' does not match any unaccepted keys.
10:03 conf still i getting the same
10:04 conf do help me to resolve this issue
10:04 SpeeR joined #salt
10:04 baffle If you deleted the minion_paster.pub file, restarted the minion, and you don't see it, then there is no communication to the master. Is the master even running?
10:05 baffle This is like sysadmin 101. I don't really have time to help you anymore. Sorry.
10:06 SpeeR_ joined #salt
10:07 malinoff conf, http://docs.saltstack.com/topics/tutorials/walkthrough.html
10:07 conf thanks
10:07 SpeeR_ joined #salt
10:09 SpeeR joined #salt
10:11 che-arne joined #salt
10:11 che-arne|2 joined #salt
10:11 SpeeR joined #salt
10:12 ndrei joined #salt
10:13 SpeeR joined #salt
10:14 cast forgot me if i'm mistaken, is it expected and desired behavior that ~/.salt_token may be created with permissions are world readable?
10:14 cast *permissions that are
10:14 SpeeR_ joined #salt
10:16 SpeeR joined #salt
10:18 ndrei joined #salt
10:18 SpeeR joined #salt
10:20 SpeeR joined #salt
10:22 SpeeR joined #salt
10:24 SpeeR joined #salt
10:25 SpeeR joined #salt
10:26 Egya_Koo joined #salt
10:26 Egya_Koo Morning All
10:26 Egya_Koo More NIC Bonding questions
10:27 Egya_Koo Trying to bond a 10G interface on Debian but getting ( State network.managed found in sls bond is unavailable)
10:27 SpeeR_ joined #salt
10:27 Egya_Koo Can anyone help plz ?
10:28 Egya_Koo Dave_den mentioned that support was available yesterday but we can't seem to get it to work
10:29 SpeeR joined #salt
10:30 redondos joined #salt
10:31 SpeeR joined #salt
10:32 de_bigt joined #salt
10:32 che-arne joined #salt
10:32 SpeeR joined #salt
10:34 SpeeR_ joined #salt
10:36 SpeeR joined #salt
10:38 SpeeR joined #salt
10:39 cast Egya_Koo: on my deb setup i notice /usr/lib/python2.6/dist-packages/salt/states/network.py says itll only work on redhat network style hosts, i'm very new to puppet so very easily mistaken
10:39 batulin-s joined #salt
10:40 SpeeR joined #salt
10:41 SpeeR joined #salt
10:42 redondos joined #salt
10:43 SpeeR joined #salt
10:45 SpeeR joined #salt
10:47 SpeeR joined #salt
10:49 SpeeR joined #salt
10:49 scott_w_ joined #salt
10:50 scott_w_ joined #salt
10:50 SpeeR_ joined #salt
10:52 SpeeR joined #salt
10:54 SpeeR joined #salt
10:56 SpeeR joined #salt
10:56 conf joined #salt
10:58 SpeeR joined #salt
10:58 Rory joined #salt
10:58 conf how can i view the history of logged out seesion
10:58 Rory Hello whiteinge are you around? I wonder if I could ask you more about that {{data['data']['hostname']}} pattern you helped me with yesterday
10:59 SpeeR joined #salt
11:00 lessismore joined #salt
11:01 SpeeR joined #salt
11:02 Egya_Koo cast: Thanks . Check this out https://github.com/saltstack/salt/blob/develop/salt/modules/debian_ip.py#L433
11:02 diegows joined #salt
11:03 ndrei joined #salt
11:03 SpeeR joined #salt
11:05 SpeeR_ joined #salt
11:05 cast ahh, that file doesn't exist in my 0.17.4 install - is cool debian support is being added though :)
11:06 * cast notes he said puppet before when he was meaning salt
11:07 SpeeR joined #salt
11:08 SpeeR joined #salt
11:09 Egya_Koo cast: It is ..
11:10 SpeeR_ joined #salt
11:12 bhosmer_ joined #salt
11:12 SpeeR joined #salt
11:14 SpeeR_ joined #salt
11:16 SpeeR joined #salt
11:17 SpeeR joined #salt
11:19 SpeeR_ joined #salt
11:21 SpeeR joined #salt
11:22 david_a joined #salt
11:22 Rory What sort of syntax/pattern do I want in my top.sls file to apply a state file to *all* roles?
11:23 SpeeR joined #salt
11:23 MaikDerstappen joined #salt
11:25 SpeeR_ joined #salt
11:26 SpeeR joined #salt
11:28 mlister2006 joined #salt
11:28 SpeeR joined #salt
11:30 gazprom joined #salt
11:30 SpeeR joined #salt
11:32 ConceitedCode joined #salt
11:32 SpeeR_ joined #salt
11:32 srage joined #salt
11:34 SpeeR_ joined #salt
11:34 kossy joined #salt
11:35 SpeeR joined #salt
11:37 SpeeR joined #salt
11:38 nkuttler joined #salt
11:38 nkuttler joined #salt
11:39 SpeeR joined #salt
11:41 SpeeR joined #salt
11:43 SpeeR joined #salt
11:43 kadel joined #salt
11:43 gadams999 joined #salt
11:44 SpeeR joined #salt
11:46 SpeeR joined #salt
11:49 rowleyaj joined #salt
11:49 rowleyaj joined #salt
11:50 SpeeR joined #salt
11:52 SpeeR joined #salt
11:53 batulin-s Rory, I'm using
11:53 batulin-s base:
11:53 batulin-s '*':
11:53 SpeeR joined #salt
11:53 batulin-s before '*' doublespace))
11:54 Rory OK batulin-s that's good ty
11:55 SpeeR joined #salt
11:55 elithrar joined #salt
11:56 batulin-s Rory, you're welcome
11:57 SpeeR joined #salt
11:58 SpeeR joined #salt
11:58 ndrei joined #salt
12:09 whiskybar joined #salt
12:14 beardo_ joined #salt
12:15 DaveQB joined #salt
12:20 jrdx joined #salt
12:23 blee joined #salt
12:24 ccase joined #salt
12:31 cachedout_home joined #salt
12:32 darrend joined #salt
12:34 kossy joined #salt
12:36 gammalget joined #salt
12:38 gammalget joined #salt
12:41 leonardinius joined #salt
12:43 ndrei joined #salt
12:44 aleszoulek joined #salt
12:52 whiskybar joehh: I saw you packaged the 0.17.4 salt release for Ubuntu; can we expect 2014.01 release soon?
12:52 whiskybar I mean are there obstacles or do you just need more time?
13:00 ggoZ joined #salt
13:00 ggoZ Hi guys
13:01 ggoZ is there a function in salt's python api to change config values in salt-minion's config (from within a python script)?
13:02 scott_w_ joined #salt
13:04 gadams9991 joined #salt
13:04 SpeeR joined #salt
13:04 balboah What am I missing now? did grains matching stop working in latest versions? http://bpaste.net/show/yIZuRc59o0IxcMw1bY4d/
13:07 leonardinius Hi All. Could someone please explain me what's the difference in state module - module.run vs module.wait?
13:08 leonardinius I'm trying to do s3.get. it works when i invoke it visa salt-ssh \* s3.get ..(args)
13:09 leonardinius however when I put it into states - i don't see files created
13:10 leonardinius ither i passin incorrect arguments or misuse run/wait ..
13:12 bhosmer_ joined #salt
13:13 Whissi joined #salt
13:19 LucasCozy joined #salt
13:19 mugsie joined #salt
13:19 mugsie joined #salt
13:21 kadel joined #salt
13:28 ndrei joined #salt
13:30 martoss joined #salt
13:33 JasonSwindle joined #salt
13:37 bhosmer_ joined #salt
13:40 ndrei_ joined #salt
13:40 Ahlee wait is used to run if a watch statement calls
13:40 martoss joined #salt
13:41 Ahlee like if you want to rm /tmp/foo if a process you have configured with a - watch is modified via the the state
13:41 Ahlee is s3.get a salt function or a command line utility?
13:43 BenCoinanke_q joined #salt
13:43 srage joined #salt
13:44 opapo_ joined #salt
13:44 pt|Zool joined #salt
13:45 jphall joined #salt
13:45 cyrusdavid joined #salt
13:45 mikkn joined #salt
13:45 luminous joined #salt
13:45 chitown joined #salt
13:45 yaru22 joined #salt
13:45 rizumu joined #salt
13:46 Hefeweizen joined #salt
13:47 toastedpenguin joined #salt
13:48 codysoyland joined #salt
13:48 jeffrubic joined #salt
13:49 bretep joined #salt
13:49 twinshadow joined #salt
13:49 bashcoder joined #salt
13:49 Guest35666 joined #salt
13:50 ewong_ joined #salt
13:51 goodwill joined #salt
13:51 scassidy joined #salt
13:51 rory joined #salt
13:51 LucasCozy joined #salt
13:51 coolj joined #salt
13:52 blee_ joined #salt
13:53 timoguin joined #salt
13:54 martoss1 joined #salt
13:55 brianhicks joined #salt
13:55 crazysim joined #salt
13:55 robins joined #salt
13:56 diegows joined #salt
13:56 elithrar joined #salt
13:57 ggoZ joined #salt
13:58 jimallman joined #salt
13:58 nkuttler_ joined #salt
13:58 dangra joined #salt
14:02 ml_1 joined #salt
14:04 blast_hardcheese joined #salt
14:05 Iwirada joined #salt
14:06 Mua joined #salt
14:06 timoguin What's the preferred way of updating the apt cache after a pkgrepo.managed state?
14:07 kadel joined #salt
14:07 timoguin Currently I have a 'module.run: - name: pkg.refresh_db' after that state, but that causes apt-get update to run multiple times when running the state
14:07 timoguin and i really only need it to run the first time i execute the state
14:08 timoguin I suppose I could use cmd.run with the unless flag, but wanted to see if anyone else knew a better way
14:08 Tekni joined #salt
14:08 Mua_ joined #salt
14:09 oz_akan_ joined #salt
14:10 oz_akan_ joined #salt
14:12 juicer2 joined #salt
14:15 Ahlee timoguin: i still use temp files for stuff like that
14:15 Ahlee touch /var/tmp/salt/some_lock_file
14:16 timoguin Ahlee, you mean with cmd.run? unless lock file exists?
14:17 Ahlee yeah
14:18 timoguin so hacky... i saw there's an open issue to add unless and onlyif flags to the module.run/wait states
14:19 Ahlee *shrug* everything's a hack :)
14:19 timoguin you are! ;-)
14:19 Ahlee oh I whole heartedly admit I'm a hack.
14:20 Ahlee terminalmage can attest ;)
14:22 luminous joined #salt
14:23 Psyke joined #salt
14:24 rlarkin joined #salt
14:26 Psyke joined #salt
14:29 toastedpenguin left #salt
14:30 Psyke joined #salt
14:31 gadams999 joined #salt
14:31 anuvrat joined #salt
14:32 jtang joined #salt
14:37 pass_by_value joined #salt
14:39 rhand joined #salt
14:40 dcolish joined #salt
14:40 mpanetta joined #salt
14:44 techhat joined #salt
14:45 cedwards joined #salt
14:45 cedwards joined #salt
14:45 timoguin joined #salt
14:51 imaginarysteve joined #salt
14:54 colinbits joined #salt
14:57 sroegner joined #salt
14:58 Rory left #salt
14:59 Gordonz joined #salt
15:01 Gordonz joined #salt
15:01 NotreDev joined #salt
15:05 kalloc joined #salt
15:05 rojem joined #salt
15:12 flebel joined #salt
15:13 srage_ joined #salt
15:13 ConceitedCode joined #salt
15:15 GradysGhost joined #salt
15:18 redondos joined #salt
15:18 redondos joined #salt
15:19 alunduil joined #salt
15:19 redondos joined #salt
15:24 fragamus joined #salt
15:24 babilen joined #salt
15:25 fragamus joined #salt
15:27 vejdmn joined #salt
15:39 LucasCozy joined #salt
15:40 SEJeff_work What is the name of the thing to bundle up a minion and all of it's deps into a single file?
15:40 SEJeff_work I'm looking at playing with this for RHEL4
15:41 JasonSwindle salt-thin?
15:41 SEJeff_work JasonSwindle, No
15:41 JasonSwindle dang……. not sure then.
15:41 SEJeff_work There is something else
15:42 [diecast] joined #salt
15:42 SEJeff_work Some crazy python module that lets you essentially do something like bundle the app and python all in 1
15:42 JasonSwindle that sounds useful
15:42 robinsmidsrod joined #salt
15:42 scoates joined #salt
15:43 ConceitedCode joined #salt
15:44 SEJeff_work JasonSwindle, I figured it would be somewhere in the setup.py and was right!
15:44 SEJeff_work https://github.com/saltstack/salt/blob/develop/setup.py#L535 check out bbfreeze: https://pypi.python.org/pypi/bbfreeze/
15:44 anuvrat joined #salt
15:45 gadams9991 joined #salt
15:45 JasonSwindle thank you
15:45 fragamus joined #salt
15:45 SEJeff_work anytime :)
15:46 ConceitedCode joined #salt
15:46 bhosmer_ joined #salt
15:52 leonardinius joined #salt
15:52 monokrome joined #salt
15:53 backjlack joined #salt
15:54 ravibhure1 joined #salt
15:54 jergerber joined #salt
15:55 jergerber joined #salt
15:56 gurubert1 joined #salt
15:56 tempspace joined #salt
15:56 gadams999 joined #salt
15:57 forrest joined #salt
15:59 timoguin joined #salt
15:59 abe_music joined #salt
16:00 Iwirada joined #salt
16:00 UtahDave joined #salt
16:00 seanz whiteinge: Not a liar, but the result on my machine persists as negative. :)
16:03 blee_ left #salt
16:03 Iwirada left #salt
16:03 whiteinge seanz: hm
16:04 whiteinge i suppose you'll have to go the shelling-out route then.
16:04 whiteinge there was a related discussion on reddit the other day with some good advice: http://www.reddit.com/r/saltstack/comments/1vuwyd/using_salt_to_install_tar_files/
16:04 whiteinge seanz: ^^
16:08 jalbretsen joined #salt
16:08 timoguin whiteinge, yay more r/saltstack promotion. :)
16:08 timoguin this month is the busiest it's ever had
16:09 whiteinge yeah! it's been great :)
16:09 mgw joined #salt
16:09 timoguin i look at the traffic stats errday.
16:10 whiteinge where do you find those?
16:10 timoguin you have to be a mod.
16:10 timoguin want me to add you?
16:10 quickdry21 joined #salt
16:12 cachedout joined #salt
16:12 whiteinge timoguin: yeah, that would be sweet
16:13 CheKoLyN joined #salt
16:13 JesseC joined #salt
16:13 timoguin whiteinge, invite sent. once you accept, you'll see a Moderation Tools menu in the sidebar
16:13 whiteinge timoguin: awesome! thanks :)
16:14 ConceitedCode joined #salt
16:14 racooper joined #salt
16:15 FL1SK joined #salt
16:15 timoguin I wish reddit had a way to query those stats via their API, but I think that page is all they have.
16:15 timoguin and historical data just eventually drops off the page
16:16 whiteinge dang :(
16:16 whiteinge that is very interesting to see
16:16 ConceitedCode joined #salt
16:17 timoguin indeed. it's been fun to watch it pick up in traffic.
16:17 sinh joined #salt
16:17 jtang joined #salt
16:18 tyler-baker joined #salt
16:18 tyler-baker joined #salt
16:18 mlen joined #salt
16:19 gadams999 left #salt
16:19 whiteinge it's definitely felt more active than usual. it's nice to see that in graph form :)
16:19 JasonSwindle YAML + JINJA whitespace control…… meh
16:19 ConceitedCode joined #salt
16:19 NotreDev joined #salt
16:19 whiteinge JasonSwindle: i'll second that meh
16:20 whiteinge ooc, what are you formatting that requires whitespace control?
16:20 JasonSwindle I just want it to remove one space or add one space….. not add or remove two…. 0_o
16:20 JasonSwindle I am using file.accumulated in some YAML files
16:21 JasonSwindle and I am picky about my spacing
16:23 foxx joined #salt
16:23 JasonSwindle grrrr, to heck with it.
16:25 mgw joined #salt
16:28 kaptk2 joined #salt
16:30 ConceitedCode joined #salt
16:32 Nacmac joined #salt
16:33 JasonSwindle Anyone know how to make not add a new line?
16:33 JasonSwindle https://gist.github.com/JasonSwindle/2fd092f39cbdc8220b9b
16:33 JasonSwindle gist
16:33 JasonSwindle if I put an - on line 5, it eats two new lines
16:34 JasonSwindle if I don't have -, I get a new line
16:36 Gordonz joined #salt
16:36 SpeeR joined #salt
16:39 forrest JasonSwindle, Try changing {% for line in accumulator['newrelic-plugin-agent-monitor'] %} to {% for line in accumulator['newrelic-plugin-agent-monitor'] -%}
16:39 forrest and leave that other dash
16:39 JasonSwindle forrest:  let me see how that renders
16:40 mpanetta forrest: What does the -%} at the end do?  I know at the beginning it means no whitespace, what does it do at the end?
16:40 JasonSwindle forrest:  HSing now.
16:41 JasonSwindle forrest:  +1 internet points.  That worked!
16:41 dave_den mpanetta: same thing. you can have the dash at the end, the beginning, or both.
16:42 mpanetta dave_den: Ah ok, thanks :)
16:42 JasonSwindle mpanetta:  :)
16:42 forrest JasonSwindle, sweet.
16:42 JasonSwindle Cleaning up my code before I commit it
16:43 ndrei joined #salt
16:49 Gifflen joined #salt
16:50 ConceitedCode joined #salt
16:51 bhosmer_ joined #salt
16:55 NotreDev joined #salt
16:57 freeminds_ joined #salt
16:58 [diecast] joined #salt
16:59 mlen joined #salt
17:00 freeminds_ What is the best way to compile something using salt? Should I just run a bash script or is there any module, which might help?
17:01 forrest freeminds_, as far as I know there isn't a compiler module.
17:02 robbyt joined #salt
17:03 freeminds_ forrest, so it would be easiest to just run a bash script?
17:04 CheKoLyN Hello All, has anyone had any issues with the "delete_sshkeys" option in salt-cloud?
17:04 xmltok joined #salt
17:04 jtang joined #salt
17:04 pydanny joined #salt
17:04 ml_1 joined #salt
17:05 forrest freeminds_, just run it as a cmd.run.
17:06 freeminds_ ok, thanks
17:08 ConceitedCode joined #salt
17:08 jacksontj joined #salt
17:09 Corey Good morning.
17:10 dave_den hoy hoy
17:10 Nacmac Morning
17:11 redondos joined #salt
17:11 Corey My presentation for SaltConf is shaping up nicely.
17:12 Corey Fun fact: "Blame UtahDave" is actually a Salt best practice.
17:12 ndrei joined #salt
17:13 UtahDave Corey: I expect there to be a slide dedicated to just that topic!
17:13 timoguin slides.
17:13 timoguin plural.
17:13 dave_den heh
17:14 forrest You aren't done yet Corey?
17:14 troyready joined #salt
17:16 jdenning joined #salt
17:18 Gifflen_ joined #salt
17:18 seanz whiteinge: Thanks for the link. I followed the links for the module and state archive.py files and am now trying them out.
17:18 seanz WE'LL SEE.
17:18 seanz :)
17:18 freeminds_ is it possible to use pillar variables in "src" files?
17:19 whiteinge seanz: if not, see the comment about the redis formula for doing the untar work manually
17:19 Corey forrest: Hey, I've got ages! :-)
17:20 Corey My talk is solid, I need to actually do slides.
17:20 forrest heh
17:20 forrest I need more funny pictures
17:20 Corey UtahDave: Did you reach out to the configcamp folks?
17:20 Corey Apparently they twooted at us about thatch having an unconfirmed talk.
17:20 seanz whiteinge: I got a Loader error when trying the archive.py state file. I'll examine the output a little more closely when the highstate finishes.
17:20 forrest freeminds_, do you mean templated files? Or already compiled files?
17:21 UtahDave Corey: Not yet. I will soon.
17:21 hunter joined #salt
17:23 colinbits joined #salt
17:23 Corey UtahDave: If you want to take it, go nuts. If you want the hilarity of us giving a joint presentation, that could work, but be ill advised. :-p
17:24 joehillen joined #salt
17:24 dimeshake joined #salt
17:26 UtahDave lol.  That would be fun.
17:26 freeminds_ forrest, not sure, whether I know the difference. I am pulling the file in by using the file module
17:26 erchn joined #salt
17:28 dave_den freeminds: yes. you just specify what templating renderer you want to apply to the source file
17:28 erchn hey guys, anyone feel like sharing how they organized state to setup .bashrc or .bash_profile files for a given user.  I'm looking for a clean way of creating those files if the user exists on that system and not having a state per user if possible.
17:28 DanGarthwaite joined #salt
17:28 Ahlee I push a .skel to all servers on install, and if a user wants to customize I make them do it
17:29 erchn this is for our Jeeves user, he's not a real user but does need some defaults if anyone sudo's to "him"
17:29 timoguin erchn, I haven't customized mine per-user yet, but I've thought about every user having their own dotfiles repo, and syncing that on a per-user basis
17:29 erchn timoguin, that's interesting, thanks
17:29 timoguin that way it gets setup when the machine is created, but each user can maintain it themselves
17:29 dave_den erchn: i break out all my shell configs into separate files for logical functions, e.g.  bash.d/01base…  bash.d/05colors…  bash.d/80rvm...
17:30 Ahlee timoguin: that's intriquing
17:30 leonardinius joined #salt
17:30 DanGarthwaite Please tell me the pre-conference classes have _not_ been moved to Monday.  I book my flight a month ago.
17:30 forrest ?
17:30 forrest no they are tuesday
17:30 UtahDave DanGarthwaite: nope. They are on Tuesday.
17:31 forrest what agenda are YOU looking at DanGarthwaite? :P
17:32 DanGarthwaite Th email from saltconf@saltstack that went out yesterday.   " Monday, January 27: 4:00pm - 7:00pm for Pre-Conference Training Attendees "
17:32 forrest that's for registration
17:32 dancat joined #salt
17:32 DanGarthwaite Great.  Looking forward to the sched.org rollout.
17:33 erchn timoguin, how would you know if the repo exists?  Would you set some pillar state for each user when you know the repo /does/ exist?
17:33 forrest can you access sched.org as a web page as opposed to via app?
17:33 erchn s/pillar state/pillar data/
17:33 jtang joined #salt
17:34 DanGarthwaite Ok, I see.  There was a list of dates and times the registration desk is open.  The extra information confused me.
17:34 timoguin erchn, yea setting the repo URL in pillar is how i figured i'd do it
17:34 erchn timoguin, good stuff, thanks man
17:35 timoguin np, hope it works for you.
17:36 seanz whiteinge: Ah! There's a syntax error in the file, which is why salt is complaining about return values being incorrect. Odd - maybe it was the way I downloaded the file.
17:36 DanGarthwaite Another question:  Is the cost of the certification exam included in the class tuition?
17:36 backjlack joined #salt
17:37 seanz whiteinge. et al: https://gist.github.com/SeanZicari/7b7d7ace7b4a40322040
17:37 viq I have almost ready a salt state to install gitlab on CentOS ;)
17:37 seanz Can someone give me some insight into this error?
17:38 seanz Other than the obvious apparent missing dependency?
17:38 cachedout joined #salt
17:38 seanz It looks like perhaps I need to include another file along with archive.py...
17:38 forrest viq, nice! If you make it modular enough, can you look at making a pull request over here? https://github.com/saltstack-formulas/gitlab-formula
17:38 forrest That repo is pretty empty
17:38 Ahlee seanz: unless i'm missing something, that's telling you there's no which method
17:38 timoguin forrest, lol
17:38 forrest timoguin, ?
17:39 timoguin oh nevermind.... i thought you were linking him to that
17:39 timoguin and then realized it was empty
17:39 forrest oh
17:39 forrest 'yea use this empty repo..'
17:39 seanz Ahlee: Again, I get the overall message, but I don't know where that method is supposed to come from or what file(s) I can include to provide it.
17:39 viq forrest: right now it's a bit centos centric, but I'll have a look. Chose to use RVM to get around the need for new ruby
17:39 seanz I'm looking for something deeper than the obvious.
17:39 forrest viq, Ahh ok, it still might be nice even if it only supports a single OS for now, at the very least it would be an example to go off!
17:40 Ahlee seanz: camein too late, apologies
17:40 forrest timoguin, You could always push some stuff to the formula repos, ehh? Ehh?
17:40 seanz Ahlee: It's coo.
17:40 amckinley joined #salt
17:40 [diecast] joined #salt
17:40 erchn seanz, what's the state file look like?
17:40 viq forrest: there's a couple of gitlab salt states around, just none of them worked for me and/or I liked things it was doing
17:40 forrest gotcha
17:40 timoguin forrest, i will soon. i have a handful i'm working on
17:41 forrest timoguin, oh nice, which ones?
17:41 forrest timoguin, I bookmarked a few to work on this weekend so they at least support the map.jinja.
17:41 Ryan_Lane2 joined #salt
17:41 Ahlee seanz: you're running develop?
17:41 viq I still need to add SSL support to mine, and right now I'm seeing what will happen when I change the git tag it's supposed to work for, AKA update it ;)
17:41 seanz erchn: https://gist.github.com/SeanZicari/95a5f16eb82a4b06601b
17:41 forrest heh
17:41 seanz Ahlee: 0.16
17:41 seanz Salt version, you mean?
17:42 Ahlee yes
17:42 timoguin forrest, been working on elasticsearch and logstash
17:42 Ahlee 0.16.0?
17:42 forrest we already all made fun of seanz for 0.16. Ahlee, no need to do so again :P
17:42 forrest timoguin, ok cool
17:42 Ahlee i'm just trying to make sure i have the right branch
17:42 timoguin still limiting myself to Ubuntu atm.
17:42 Ahlee :)
17:42 forrest timoguin, yea no worries, something is better than nothing, even when it only supports 1 OS!
17:43 timoguin yerp
17:43 erchn seanz, looks like a broken decorator to me, maybe a bug
17:43 mgw joined #salt
17:44 arcarsenal joined #salt
17:44 seanz erchn: Maybe something to do with the combination of my version and the fact that I took archive.py from the latest develop branch?
17:44 Ahlee seanz: when I checkout the v0.16 tag, salt.utils.decorators doesn't contain a which
17:44 timoguin seanz, yea probably
17:44 seanz whiteinge confirmed yesterday that it worked, though. I wonder what's different about his setup than mine.
17:44 seanz Probably so many things.
17:44 seanz Ahlee: So I guess that's it then.
17:44 seanz It's all over.
17:44 seanz I'll have to use cmd.run or the like.
17:45 seanz Not a huge deal.
17:45 arcarsenal i am just setting up salt and can't find anything in the documentation regarding recommended specs for the master, any thoughts?
17:45 jimallman joined #salt
17:45 hunter arcarsenal: relative to the # of clients - my initial one is a 6 year old 2 core HP 1U with 6GB ram.
17:45 Ahlee there seems to have been some considerable changes seanz
17:45 Ahlee one minute
17:45 timoguin seanz, did he confirm it worked or just say to try it?
17:45 hunter arcarsenal: your phone might be more powerful... :)
17:46 arcarsenal heh, thanks hunter
17:46 seanz timoguin: He said he tried it and provided a pastebin entry of a working state block. Mine was very similar.
17:46 timoguin ah
17:46 Ahlee my staging master has 180 clients, runs on 8vCPUs with 8G ram (1G dedicated to /var/salt/cache/master as tmpfs), 50 worker threads
17:46 morte joined #salt
17:46 cachedout joined #salt
17:46 KyleG joined #salt
17:46 KyleG joined #salt
17:47 Ahlee under the hood is an E7450 xeon
17:47 Gifflen joined #salt
17:47 Ahlee so, nothing impressive
17:47 arcarsenal we are a small shop so i was thinking 2 vcpus and 4gb ram but just wanted to see what others thought
17:47 viq Sweet, changed one pillar, reran the state, and now I have gitlab 6.5.1 instead of 6.4.3 ;D
17:48 forrest arcarsenal, How many servers do you have now?
17:48 arcarsenal for the environment this one will be in around 30
17:48 vlcn arcarsenal: from my experience, you really don't need much in terms of hardware at all.  I'm successfully working with ~200 minions and my master only has 2 vcpus and 2GB RAM
17:48 kalloc joined #salt
17:49 Ahlee seanz: commit 528ee3ae148e117cb7d68370714c5062943f058b looks to have introduced the which decorator when decorators was moved to being a package
17:50 Ahlee seanz: you'd need to patch support for that in, or do similar change
17:51 Ahlee vlcn: how? if i target all my minions i max out my 8vCPUs for a couple minutes at a time
17:52 Ahlee gitfs or local file root?
17:52 forrest maybe vlcn is running batch mode? Or his jobs might be not be as intensive?
17:52 seanz Ahlee: So no files that I could just drop into _states then.
17:53 seanz Ok, I guess I really am out of luck. There's no way I'm going to be able to patch the salt code.
17:53 forrest seanz, pssh, start back patching on your free time, duh!
17:53 seanz haha - negative.
17:53 seanz I would be hanged for doing that.
17:54 Ahlee pay the salt devs to do it for ya! :)
17:54 forrest seanz, why couldn't you upgrade again? You just have some prod machines where the service can't go down?
17:54 forrest the salt service that is
17:56 seanz forrest: Two reason: 1. We do have production machines running the current version of salt, and 2. We've run into some sizable issues and baffling error messages that have really caused us to be cautious of upgrades.
17:56 vlcn Actually, I was wrong.  It's just a single core, heh.  Ahlee, it should be expected that your load on the master would spike, no?  I don't see that as being a problem.
17:56 forrest seanz, ahh fair enough
17:57 forrest seanz, you should ask for a dev environment!
17:57 seanz forrest: How does that work?
17:57 KyleG1 joined #salt
17:57 forrest 'dear sirs, please give me money for dev environment to test upgrades, sincerely your humble servant and friend, seanz'
17:57 Gifflen_ joined #salt
17:57 forrest broken English and all
17:57 forrest it will work, I promise
17:57 Ahlee lol
17:57 seanz haha!
17:58 timoguin put it into a presentation
17:58 seanz forrest: haha. Well, we test on virtual machines with production settings, and we do have a couple of test machines to roll out upgrades.
17:58 timoguin make sure to have animations you can point to
17:58 timoguin and say money
17:58 forrest ahh ok
17:58 mgw joined #salt
17:58 Ahlee seanz: i was a long time 0.16.x holdout as well, now i'm a long time 0.17.x holdout
17:58 jtang joined #salt
17:58 Ahlee i will say 16 -> 17 was painful, and i'm sure 17->hydrogen will be painful
17:59 forrest yea one of my machines at home is still running 0.16.4
17:59 Mua joined #salt
17:59 forrest Ahlee, I don't think that will actually be the case
17:59 forrest there are already at least 2 RCs planned for hydrogen
17:59 forrest and the changes don't seem THAT radical once the bugs are fixed up
17:59 seanz No, but that's key.
17:59 Ahlee i hope so
17:59 seanz Once the bugs are cleaned up.
17:59 seanz It seems the new versions have a sizable number of bugs.
18:00 seanz Test coverage is also spotty, from what I can tell.
18:00 DanGarthwaite my debian boxes went from 0.15 to 0.17.   0.16 just never happened.
18:00 forrest this is why at the salt sprint you should write tests!
18:00 seanz That makes it tough to upgrade, since we're not sure what's going to happen.
18:00 forrest S0undt3ch will be doing a lab (which you can attend) that will talk about writing tests and such
18:00 seanz SaltConf?
18:00 forrest yea
18:00 seanz I'll be at PyCon, but not SaltConf.
18:00 seanz Unfortunately, we aren't being sent to that.
18:00 forrest that reminds me I need to buy my pycon ticket
18:00 forrest seanz, well, you can still participate
18:01 forrest just use your free time to write code...
18:01 bemehow joined #salt
18:01 seanz forrest: Definitely an option. I'm not knocking salt. I've personally enjoyed learning it.
18:02 forrest seanz, oh yea, and I'm not zealously defending it either, everyone knows the unit tests need work!
18:02 Mua_ joined #salt
18:02 forrest I'm just poking fun
18:03 gnu-man joined #salt
18:03 timoguin we'll be doing a sprint at PyTennessee next month too.
18:03 seanz forrest: Are there any plans to slow down and work on those before moving forward?
18:03 timoguin i'm hoping to get some work done on the tests and docs.
18:03 seanz Kind of get a better sense of stability before adding new features so quickly?
18:04 seanz Sounds like there is.
18:04 forrest seanz, I don't know, I spoke with the devs about that a couple months ago, and there were some docs written on that. I know that cachedout has been working on a lot of test integration stuff, but I'm unsure of the current scope internally
18:04 timoguin I just treat feature releases as unstable by default.
18:04 forrest timoguin, right which is something that needs to not be the case.
18:04 timoguin agreed
18:05 cachedout Hi there. Somebody rang?
18:05 timoguin especially when people try things out for the first time and stuff blows up.
18:05 timoguin then they're gone.
18:05 forrest cachedout, are you still writing tons of tests?
18:05 mephx joined #salt
18:05 forrest timoguin, yea, we've got an issue going over here: https://github.com/saltstack/salt/issues/9912 where we're discussing doc flow.
18:07 cachedout forrest: I have not been in the past week or so but we have dedicated QA people coming on board in the next several days.
18:07 forrest cachedout, woah, fancy
18:07 cachedout Indeed. :]
18:08 seanz I've enjoyed salt's declarative approach to configuration management, though. I think that's great. I like that I tell the machine what it should look like as opposed to Ansible, where I have to know the specific commands for my OS.
18:09 seanz I also think formulas go a long way towards cleaning up salt states that are meant to work across OSes.
18:09 seanz So in general, really great work being done.
18:10 KyleG joined #salt
18:10 KyleG joined #salt
18:12 puppet Hi guys, I'm comming from puppet to start up new systems, anyone got any good guides on how to use salt to bootstrap new machines with packages and so?
18:12 gnu-man joined #salt
18:13 KyleG puppet: This is a good place to start: http://docs.saltstack.com/topics/tutorials/starting_states.html
18:13 forrest puppet, As is http://docs.saltstack.com/topics/tutorials/walkthrough.html
18:13 KyleG http://docs.saltstack.com/ also has a few other articles under the heading section titled "Getting Started"
18:13 KyleG The docs are really decent actually.
18:13 ConceitedCode joined #salt
18:14 puppet thanks, just used to using salt to do cmd.run 'puppet agent -'t
18:14 KyleG lol
18:14 puppet was thinking of changing that now when we redo our infra
18:14 KyleG What OS flavor are you running?
18:14 puppet CentOS
18:14 puppet and some debian
18:14 KyleG blah, that's great
18:14 puppet My part of it is CentOS
18:14 KyleG I just wish we had more BSD people :[
18:14 puppet well
18:14 KyleG Salt could always use more BSD testing, lol
18:14 puppet we will have BSD on fileserver + database
18:14 cedwards KyleG: +1
18:15 puppet but they will be installed by hand prob.
18:15 KyleG ah cool, you running ZFS?
18:15 puppet but will be managed through salt to with generic stuff
18:15 puppet KyleG: that is the plan
18:15 KyleG Nice, ZFS is awesome
18:15 puppet Just ordered the hardware today
18:15 KyleG I just bought a Nexenta cluster yesterday because the big bosses wanted to have a support contract to back me up
18:15 KyleG I ordered mine yesterday!
18:15 KyleG go us
18:15 KyleG lol
18:15 puppet https://dl.dropboxusercontent.com/u/15136830/Screenshots/958b769214da64d926d2ccb13a01112a.png < database
18:15 redondos joined #salt
18:16 puppet https://dl.dropboxusercontent.com/u/15136830/Screenshots/cfdb982a66ba5b9125566c860bf5ab2a.png < file server
18:16 jtang joined #salt
18:16 KyleG Nice, nce
18:16 rojem joined #salt
18:16 KyleG Aren't the WD Reds for NL storage though?
18:16 KyleG I forget
18:16 puppet WD Reds are fine, don't need enterprise :)
18:16 puppet enterprise cost 2x more
18:16 puppet can just get more reds later and have at the datacenter
18:17 puppet and the speed issue isn't really a issue
18:17 KyleG well it all depends on how you setup your zpools
18:17 KyleG Make sure you have a good SSD for your ZIL
18:17 KyleG and a decent SSD as an L2ARC
18:17 puppet Yeah, samsung 840 pro
18:17 KyleG Those are nice
18:17 KyleG The STEC Zues RAM are really nice though
18:17 puppet getting the 843 for the Database though
18:17 KyleG 8 GB of DDR3 memory built into the drive itself
18:17 KyleG they're like $1500/each
18:17 puppet oh thats pretty nice
18:18 puppet so enterprise :D
18:18 puppet i kind of blew the budget on the CPUs
18:18 KyleG i'm an expensive bitch
18:18 KyleG lol
18:18 puppet so I had to go and beg for more money ;P
18:18 KyleG haha been there
18:18 kula One of these days I'm going to get enough round tuits to do more Salt stuff on NetBSD
18:18 puppet But felt so stupid to get the 8core and not 10core
18:19 puppet but yeah, the 2680v2 is kind of, OMFGZ GIEF
18:20 KyleG I got 2x Xeon E5-2643v2 3.5GHz 25MB Cache 8.0GT/s
18:20 KyleG For my storage servers
18:20 KyleG ZFS likes clock speed, not cores
18:20 KyleG although cores always help i'm sure
18:20 puppet yeah, thats why I went for 1620v2 for that, but just one on that one
18:21 puppet It's hard to get hardware...
18:21 puppet The sascard for the DB was easy though ;P
18:21 KyleG I was lucky with my DB servers, we had both ours fail in production within days of each other
18:21 puppet NOooooo, lol :(
18:21 puppet don't say that
18:21 puppet :P
18:21 KyleG So 10k was set aside immediately and I bought the Intel 910 SSD's
18:22 KyleG $2k/each 400GB
18:22 KyleG So in a RAID1 I get 200GB of PCI-E sweet intel-ness
18:22 KyleG It's been a year now and the wear indicator is at 1%
18:22 puppet I bought spare parts instead of better SSDs, got spare mobo, 10gbit card, etc etc all key components that got delivery time
18:22 puppet thats pretty nice
18:22 KyleG I had the hardware itself already in testing
18:22 KyleG Just had to rush it to production with some enterprise drives
18:22 KyleG Because I was going to do XtraDB
18:22 KyleG So I didn't care about using consumer drives
18:23 puppet Understandable
18:23 KyleG But then the plan changed back to Master-Slave-Slave-Slave-Slave
18:23 puppet Been there done that
18:23 KyleG yeah
18:23 jimallman joined #salt
18:23 KyleG It was fun.
18:23 puppet Now we got a bit more time hopefully, plan is to get new infra up in production in march or so
18:23 puppet then i got tons of other projects before then too on my part
18:23 KyleG Nice dude
18:23 KyleG We're re-doing our network then as well
18:23 KyleG Getting everything up to 10Gbe
18:23 KyleG We're all 1Gbe right now
18:23 KyleG That's the project i"m excited for
18:24 puppet We will have 10Gbe to the Fileserver, and the rest of the machines have 2-4 1gbes in LAG
18:24 puppet thats enough for what we do :)
18:24 puppet it's just game servers on the machines and website, on the nodes that is
18:24 puppet so not that IO intence except the database
18:24 KyleG yeah, that's why I went with a good PCI-E SSD
18:24 KyleG Because of IO
18:25 KyleG I use these in my development environment DB servers, much cheaper than the production Intels we have: http://eshop.macsales.com/shop/SSD/PCIe/OWC/Mercury_Accelsior/RAID
18:25 zach I tried to get my former employer to do local storage for DB servers vs SAN
18:25 KyleG zach: What's up man? Did your abarth unfreeze yet?
18:25 zach nah, still 1/8th inch of ice on it
18:26 KyleG damn lol spin those pirellis
18:26 zach could, they would spn just going out of driveway, they are summer tires
18:27 puppet stuck with the car? :)
18:28 zach my suburban is a sheet of ice too
18:29 zach I moved to Texas to get away from this weather :-)
18:29 n8n joined #salt
18:30 zach http://i.imgur.com/z1KqfCp.jpg - ice
18:31 racooper that looks like my car this morning.  (in Central Texas)
18:31 puppet zach: oh lol is that texas?
18:31 puppet dang
18:32 puppet I thought it was over ;P
18:32 zach Yep, I'm in Austin
18:32 puppet Want to move to sweden now maybe? ;P
18:32 rlarkin @zach , did you move from Seattle?
18:32 JasonSwindle San Antonio is ice
18:33 diegows joined #salt
18:33 Ryan_Lane2 puppet: I've been doing a bit of puppet integration with salt
18:33 rlarkin I have a question re http://docs.saltstack.com/ref/states/all/salt.states.file.html ; at the top of that page there is an example of context that appears to modify httpd.conf
18:34 puppet Ryan_Lane2: since I am starting from scartch my goal is to skip puppet fully
18:34 puppet Ryan_Lane2: if possible
18:34 Ryan_Lane2 ah. that's good
18:34 Ryan_Lane2 much easier
18:34 rlarkin there is not an example of the salt://apache/http.conf file
18:34 puppet Ryan_Lane2: since my puppet configs are a damn mess atm now too, so i still need to redo it
18:34 zach rlarkin: nope. Michigan
18:34 puppet Ryan_Lane2: and since Python is our main language at work
18:35 rlarkin Ah.  I used to know a zach in Seattle years ago that could have found himself in this channel
18:35 tyler-baker joined #salt
18:35 tyler-baker joined #salt
18:37 UtahDave rlarkin: what's your question?  How to template that file?
18:37 puppet Ryan_Lane2: another reason I want to jump over to salt from puppet, my nick is a bit annoying to have in #puppet
18:37 puppet Ryan_Lane2: ;)
18:38 rlarkin yeah.  I want to distribute config.yml with different values for different roles.
18:38 rlarkin I think my original config.yml needs to be a jinja template?
18:38 Ryan_Lane2 puppet: :D
18:39 puppet just did sys.doc, and first i saw, or last is that i can do virtualenv.create, thats so awesome
18:39 rlarkin my plan B is to not use file.managed and jinja an sls file and then copy that to my rails config folder
18:40 rlarkin *from the var/cache/salt folder
18:40 UtahDave rlarkin: just use the regular config.yml   and add in   {{ myvalue }}   or  {{ pillar['myvalue'] }}   depending on where your data is.
18:41 rlarkin ok. I'll try that.
18:41 puppet pkg.install, dang this is nice ;P now i just need to learn the basics before i go wild with all commands
18:43 timoguin puppet, nah just go wild! ;-)
18:43 puppet looking into grains atm, would be nice to combine that with cobbler in some way so i can tag them in cobbler and so
18:45 quickdry21 joined #salt
18:45 jtang joined #salt
18:47 rlarkin Thanks UtahDave
18:49 babilen joined #salt
18:49 hunter puppet: I've a .5 PB machine rocking centos 6.4 + zfsonlinux. It seems stable so far.... :)
18:50 puppet hunter:  Let's hope so for you :)
18:50 timoguin puppet, there is a module to use cobbler to get tops information for minions: https://github.com/saltstack/salt/blob/develop/salt/tops/cobbler.py
18:50 timoguin documentation is pretty sparse though.
18:50 puppet hunter: Just feals like when we through in 20 cores, FreeBSD may be a better pick :)
18:50 timoguin http://docs.saltstack.com/topics/master_tops/index.html, http://docs.saltstack.com/ref/tops/all/salt.tops.ext_nodes.html, aaand http://docs.saltstack.com/ref/tops/all/salt.tops.cobbler.html
18:50 puppet timoguin: thanks I will look on that now :)
18:53 kermit joined #salt
18:54 Nazzy zach, well at least you're saving on getting tinted windows....
18:54 hunter puppet: the big box had to be linux - golang doesn't go on solaris.
18:54 puppet hunter: hunter but FreeBSD then?
18:54 hunter puppet:  and we just couldn't give up the zfs - there's a major hatred of RAID cards here.
18:55 puppet FreeBSD support golang dont it?
18:55 hunter puppet: we had no experience with it - but that was plan C.
18:55 puppet hunter: ah, yeah, we are spoiled with the time atm so we can set up FreeBSD and get used to it
18:55 scoates (daily complaint about jinja debuggery (-: )
18:55 puppet hunter: my co-worker is running ZFS on his own Linus Machine, so that is probably our plan B
18:55 hunter Given how much we've loved a 2nd OS in solaris, that also counted against !linux.
18:55 SpeeR joined #salt
18:56 hunter If zfsonlinux continues being as solid (and fast) as we've seen so far, we're happy.
18:56 hunter and we went with SAS drives - we've decided all SATA drives are evil.
18:57 puppet hunter: I did opposite ;P cause SAS-drivers compared to SATA was a big pricedifference and the chassi didnt have a connection to each drive
18:57 jimallman joined #salt
18:57 Nazzy I'd almost be willing to take over admining zfs to get my graphite server moved over to zfsonlinux ... graphite on freebsd is killing me
18:57 puppet hunter: if the chassi had another backplane I may had gone SAS too
18:57 hunter we only saw about $50 from sata to sas.
18:57 hunter (per drive)
18:57 puppet hunter: well, true SATA enterprise against SAS enterprise
18:58 puppet hunter: but we went with 50% more higher quality "consumer" drives
18:58 puppet hunter: and still a lot cheaper
18:58 Nazzy I hope you're not using raptors lol
18:58 bhosmer_ joined #salt
18:58 strgcloud joined #salt
18:58 puppet no raptors in the fileserver:)
18:58 puppet BUT when you said that
18:58 puppet I have quoted 1tb raptors 2,5 in the db server
18:58 hunter puppet: the issue we've seen with SATA in our other big machines is the damn things don't FAIL - they just checkout and then zfs/solaris crawls to a halt because it waits forever
18:59 puppet hunter: depends on drives I guess, or is that enterprise SATA too?
18:59 hunter If the SATA drives would FAIL, we'd be fine - zfs and {linux,solaris} handles that perfectly.
18:59 Nazzy we've a draw full of failed 2.5" raptors
18:59 kossy joined #salt
18:59 puppet Nazzy: the 1tbs?
18:59 hunter puppet: enterprise too - its made worse by the fact we're using like 4 SAS to SAS enclosure encapsulating SATA
19:00 puppet hunter: ouch, yeah then i would prob. go enterprise too, we "just" have 12
19:00 hunter But we've seen it twice now on direct connect SATA
19:00 Nazzy mostly 600s and 900s as I recall ... the problem as best I could figure is that the tolerances are so tight they can't stand heat
19:00 hunter puppet: my big boxes have 180 drives. :)
19:00 puppet hunter: :p a tad more then me
19:00 puppet Nazzy: hmm, maybe should look a bit more for info about the raptors 1gbs then
19:01 Nazzy so if you try to run a 2.5" raptor in a 2.5" bay, the blasted things overheat
19:01 jacksontj joined #salt
19:01 puppet Nazzy: yeah it will be in 2,5
19:01 Nazzy if you're not driving them too hard, have good cooling, or a solid raid config, you should be fine
19:02 puppet Nazzy: raidz2 with 6 disks is the plan
19:03 Nazzy we were seeing 1-5% failure rate in a content serving application with ... gotta be at least a hundred of the things
19:03 puppet Nazzy: it is a 16 disk chassi, and will have 12 disks, so i could space out the raptorsdisks a bit
19:04 Nazzy they were all running raid6, so once or twice a week it was pop down, swap a caddy and rebuild the array
19:05 NotreDev joined #salt
19:05 Nazzy could work ... only time it was actually a problem was when the client didn't let us know a drive had failed
19:06 puppet well, if the problem continues we just have to swap drives to another brand and use theese drivers in some lowintence stuff
19:06 Nazzy it's not catastrophic failure either, it's errors and bad sectors, but the rest of the drive would stand up to a drive clone and test
19:06 Nazzy *nod* best way ... when they work they're a lovely density
19:07 puppet Just have to try it out and see
19:07 Nazzy and we never did rule out the possibility that the client was overloading the drives lol
19:07 puppet ;P
19:07 Nazzy they do like to hammer their hardware
19:07 puppet of course, who don't
19:07 Nazzy the demo guys ;)
19:08 puppet True.. ;P
19:08 Gifflen joined #salt
19:08 puppet So anyone else that works a Friday evening?
19:08 KyleG is gmail down for anyone else using google apps?
19:09 KyleG Nobody is able to send via SMTP or Gmail.com
19:09 cedwards KyleG: looks like it
19:09 puppet yeah down
19:09 KyleG ugh
19:09 Nazzy I slept in this morning, so I'm working til about 9pm ... 2 more hours and I'm in to the weekend ^_^
19:09 * KyleG picks up phone
19:09 puppet oh look
19:09 puppet surprise
19:09 puppet https://news.ycombinator.com/item?id=7116764
19:09 puppet haha
19:09 puppet first post
19:10 Ryan_Lane2 UtahDave: I'm not sure if you had seen the pastebins I made about the hiera stuff. I wanted your opinion on my approach
19:10 puppet Haha I wonder what happens if you reply "its up here"
19:10 Nazzy guess the NSA must have slipped while they were splicing in to google's fibre *snicker*
19:11 KyleG hah
19:11 KyleG enterprise support number had a pre-played message
19:11 puppet KyleG: they did? ;P
19:11 KyleG "We are aware of an issue with gmail and are currently investigating, if you're calling about any other issue please stay on the line. You can check our status page at..."
19:11 KyleG is the canned response I got via phone
19:12 puppet but the status page says its up ;P
19:12 KyleG http://techcrunch.com/2014/01/24/gmail-goes-down-across-the-world/?utm_campaign=fb&amp;ncid=fb
19:12 KyleG lol
19:12 puppet haha
19:12 puppet imagine if its down for 8 minutes, and goes out on all places
19:13 puppet I just had to troll techcrunch
19:13 bejer joined #salt
19:16 vlcn hah, gmail seems to be completely down
19:16 vlcn oh hey everyone already knew :P
19:17 puppet vlcn: haha ;P I trolled TechCrunch though, and wrote "It's up here" since it is so silly to post a news so quick after when it kind of says, its down ;P
19:17 AdamSewell joined #salt
19:17 AdamSewell joined #salt
19:18 puppet so is this the reason why you should host y our own email server again
19:18 DanGarthwaite Yeah, must be google interdiction day.
19:18 bejer joined #salt
19:19 KyleG puppet: Never host your own email.
19:19 KyleG lol
19:19 puppet KyleG: did that before on my own old crap box, never again :)
19:19 vlcn http://www.google.com/appsstatus#hl=en&amp;v=issue&amp;ts=1390625999000&amp;sid=1&amp;iid=8201b96db60ea3ccc26c53a4487c5492
19:20 vlcn 'We're investigating reports of an issue with Gmail. We will provide more information shortly.'
19:20 vlcn hah
19:21 JasonSwindle Must be that cold Texas air crashing GMail
19:21 gazprom gmail imap works fine
19:22 puppet gazprom: to bad that gmails imap integration is meh :)
19:22 puppet gazprom: or maybe just my clients I have tried
19:23 gazprom sure
19:23 gazprom they want you using the website
19:23 puppet True
19:26 whiteinge seanz: did you see that link to the redis formula with an example of how to do that with cmd.run?
19:26 seanz whiteinge: Yes, and I had that working yesterday. I just reverted back to that after confirming that the archive module isn't going to work for me.
19:31 ndrei joined #salt
19:33 vlcn hahaha
19:33 vlcn http://www.theonion.com/video/google-shuts-down-gmail-for-two-hours-to-show-its,27610/
19:34 whiteinge seanz: ah
19:34 Nazzy KyleG, why not host your own email?
19:34 KyleG because at the start of my career
19:35 KyleG a very wise co-worker at Rackspace told me at least 5x a day for a few months "Never host your own email, remember that."
19:35 KyleG So it's ingrained in my brain now.
19:35 KyleG lol
19:35 timoguin it's generally not bad advice.
19:35 timoguin generally.
19:36 Nazzy it's a bit of an odd piece of advice from someone at Rackspace lol
19:37 jtang joined #salt
19:39 Nazzy I suppose I'm biased, given the industry I'm in
19:40 aleszoulek joined #salt
19:42 JasonSwindle It is rare for GMail to go down like this
19:42 JasonSwindle vs self hosting.  I am lazy, self hosting just means one less thing I will not look at.
19:42 enqae joined #salt
19:44 SpeeR joined #salt
19:46 bejer joined #salt
19:48 enq_ae joined #salt
19:55 gadams9991 joined #salt
19:56 gadams9992 joined #salt
19:58 diegows joined #salt
20:01 tzero joined #salt
20:02 mgw joined #salt
20:04 mmlb joined #salt
20:04 analogbyte joined #salt
20:04 xmltok joined #salt
20:05 bejer joined #salt
20:06 mmlb Hi, is there a way to specify a version of a package required to be install along with the source location?
20:06 SpeeR joined #salt
20:08 KyleG mmlb: yes, there definitely is
20:08 KyleG http://docs.saltstack.com/ref/states/all/salt.states.pkg.html?highlight=pkg%20install#salt.states.pkg.installed
20:09 felixhummel joined #salt
20:09 KyleG You can specify the repo to install from, and the version
20:10 mmlb what if I dont have a repo and am using sources: salt://?
20:11 leonardinius Hi All, what are the options to pass pillar data in salt-ssh scenario?
20:11 jeremyBass joined #salt
20:11 jeremyBass good afternoon
20:12 mmlb KyleG: what if I dont have a repo and am using sources: salt://? (forgot to mention you)
20:12 MTecknology I might not be allowed to go to saltconf... :'(
20:12 leonardinius I've tried to create /srv/pillars/top.sls and ahve tried to create /etc/minion.d/minion1 files, with no success
20:12 timoguin mmlb, what kind of file? i use cmd.run with dpkg -i for some .deb files i have
20:12 KyleG mmlb: I'm honestly not sure, I manage my own repo so I haven't had to deal with that situation
20:13 jeremyBass quick question for someone, what would be the best way to get a last value in a jnija loop like {% for ext_key, ext_val in magento_extensions.iteritems() %} .. i would like to grab that last ext_key from the previous loop
20:13 leonardinius Anyone, does it work as I've described in standart salt scenario (not via salt-ssh?)
20:13 jeremyBass maybe setting a var or is there a better way to do that?
20:13 cedwards MTecknology: I thought you were all ready to go
20:14 mmlb KyleG: ok, also seems to me salt should check the version from the sources:// ref and check if it matches which is something it currently won't do
20:14 mmlb is there something more I need to specify?
20:16 MTecknology cedwards: there's so much broken at work that they're thinking about saying I can't go.
20:16 SpeeR joined #salt
20:17 MTecknology yay for lack of planning!
20:17 timoguin :(
20:17 dave_den mmlb: 'version' is ignored when using 'sources' in pkg.installed.
20:18 mmlb dave_den: got that, but currently salt doesn't validate the the currently installed package === package in salt://, at least not with just the sources:// line
20:22 dave_den it would have to do some manual comparison based on the packaged spec or control files
20:23 MTecknology I wanna go...
20:28 mmlb dave_den: thats kind of what I expected to happen...
20:28 jimallman joined #salt
20:28 mmlb looking into having a local repository in the local salt path.
20:29 mmlb is there a way to get the abs path to local salt://?
20:32 ekristen joined #salt
20:32 toofer joined #salt
20:33 dave_den i'm not quite sure what you mean, but the path of salt:// will change based on the file_roots paths defined for the environment where you reference salt://
20:34 SpeeR joined #salt
20:35 mmlb basically I can generate the Packages.gz for apt to use, then I want to point to that in a repo.managed and then force my package to be installed from that repo
20:36 kermit joined #salt
20:36 dave_den sure
20:36 mmlb and I wanted to use file_roots in the sls instead of hard coding what it is for my environment
20:37 dave_den so
20:37 mmlb not sure how to get value of file_roots into sls
20:37 mmlb :/
20:37 cachedout It should be in __opts__.
20:37 dave_den are you running a salt master? because file_roots is the path on the master
20:38 mmlb nope salt --local
20:38 dave_den if you want to create the repo on the minion, file_roots will not help at all
20:38 mmlb salt-call --local
20:38 dave_den ok
20:38 dave_den then config.get will be what you want
20:38 mmlb ok thanks
20:38 JasonSwindle anyone using publish.publish in RC1?
20:39 SpeeR_ joined #salt
20:40 JasonSwindle I am having an hell of a time with it but only on one sls
20:40 vejdmn joined #salt
20:41 JasonSwindle it is like the first time the minion talks to the master, it dies
20:42 gadams9992 left #salt
20:43 aleszoulek joined #salt
20:44 blee joined #salt
20:45 vlcn JasonSwindle, running the minion in debug mode?
20:46 JasonSwindle yep, been hunting this down for a few days
20:49 ajw0100 joined #salt
20:49 SpeeR joined #salt
20:52 rojem joined #salt
20:54 leonardinius joined #salt
20:55 Gifflen_ joined #salt
20:56 zooz joined #salt
20:56 UtahDave ls
20:56 Ryan_Lane2 joined #salt
20:56 JasonSwindle UtahDave:  awesome?
20:57 forrest I was gonna say spam
20:57 UtahDave :)  focus was on the wrong window.  :)
20:57 forrest oh hey that reminds me, cachedout are you on your laptop now?
20:57 cachedout Yes. Is that account still flapping around?
20:57 forrest Yea
20:57 forrest lol
20:57 forrest I tried to message them last night, never got a response
20:59 JasonSwindle log_level: debug , does this no longer work in salt-cloud?
20:59 JasonSwindle maybe I need to add minion:
21:00 teebes joined #salt
21:01 n8n joined #salt
21:01 pdayton joined #salt
21:03 mlen joined #salt
21:08 gnu-man joined #salt
21:11 JasonSwindle UtahDave:  did salt-cloud do away with the minion: ?
21:12 JasonSwindle UtahDave:  https://salt-cloud.readthedocs.org/en/latest/topics/map.html?highlight=debug
21:12 JasonSwindle I try the example, and it errors with KeyError: 'minion'
21:12 UtahDave JasonSwindle: I'm not sure what you mean.
21:13 JasonSwindle ok, let me keep playing at it
21:14 JasonSwindle well, I guess this is more to the point
21:14 JasonSwindle I want my minions in debug on salt-cloud build
21:14 JasonSwindle log_level: debug does not seem to work.
21:14 JasonSwindle in the map file that is
21:15 forrest managed file for the minion config?
21:15 mgw joined #salt
21:15 forrest if you can't figure it out
21:16 UtahDave JasonSwindle:    minion: \n  log_level: debug
21:18 JasonSwindle UtahDave:  like this?
21:18 JasonSwindle https://gist.github.com/JasonSwindle/6d99a12a7819a09ad605
21:18 UtahDave JasonSwindle: Yeah, I think that looks right.
21:18 gadams999 joined #salt
21:19 JasonSwindle UtahDave:  re-load, I get that error
21:21 UtahDave JasonSwindle: do you have your profile above your minion name?
21:21 microcosm77 joined #salt
21:21 JasonSwindle yep
21:21 JasonSwindle line 1 is
21:21 JasonSwindle openstack_2GB:
21:22 JasonSwindle UtahDave:  ^
21:22 UtahDave that should work.  You're on the RC?
21:22 JasonSwindle yep
21:22 ktenney_away joined #salt
21:22 jalbretsen joined #salt
21:22 UtahDave ok, let's open an issue on that.
21:22 JasonSwindle I feel like the kid who just wants a pepsi….. I just want debug….
21:23 JasonSwindle OK, let me open an issue on it
21:23 JasonSwindle forrest:  sass a way, sass….
21:24 Gareth joined #salt
21:25 aleszoulek joined #salt
21:25 forrest nah
21:25 ndrei joined #salt
21:26 mprymek joined #salt
21:27 JasonSwindle UtahDave:  https://github.com/saltstack/salt/issues/9936
21:27 JasonSwindle Filed.
21:28 JordanRinke Morning
21:28 JasonSwindle JordanRinke:  Morning
21:29 JordanRinke Been working on the distributed fail2banana stuff a bit, was worried it was going to cause latency with the ruleset overhead... then discovered ip hash sets, very exciting.
21:31 tinuva joined #salt
21:32 UtahDave thanks, JasonSwindle!
21:33 JasonSwindle Any time
21:33 JasonSwindle I also have a big issue I have been hunting
21:33 fllr joined #salt
21:33 JasonSwindle but I need debug on first ever highstate
21:34 zach JordanRinke: damn, really?
21:34 zach JordanRinke: http://www.zacharyfouts.com/wp-content/uploads/2014/01/Dynamic-Cloud-IP-Blocking-for-Brute-Force-Attempts-New-Page.jpeg
21:35 zach JordanRinke: I've been working on a fail2ban setup for a few months now, drew that chart up yesterday to show someone
21:35 JordanRinke Nice
21:35 zach JordanRinke: also why did you take down that epic site you had a few years back? :)
21:35 JordanRinke The dating one?
21:35 zach Yeah, it was awesome
21:35 JordanRinke It was on my RS account, and I just didn't migrate it basically :x
21:36 zach Not at RS anymore?
21:36 JordanRinke Nope, up in Canada at iTel.com now
21:36 zach Ah, well congrats (thats' how I know you, ex racker)
21:36 JordanRinke ah cool cool, thanks
21:37 zach I assume your fail2bannna (lol) is along the same concept of mine or is it different?
21:37 JordanRinke so, with my implementation I was thinking basically a custom action with fail2ban that pushes a banned IP to a DB
21:37 zach Yeah, that's how I was going to do mine too
21:37 JordanRinke that DB is an external pillar datasource for salt, and salt applies any ip in the pillar to the ban hash set
21:38 JordanRinke (actions to unban etc as well)
21:38 zach I had the idea to incorprate a few different things into it, complete IDS-style (file system monitoring, some packet sniffing, etc etc)
21:38 Ryan_Lane2 joined #salt
21:38 JordanRinke and maybe using reactor to trigger the updates, I was mostly just working on the, is this feasible across 500 systems blocking 100k ips part, which appears to be entirely possible now
21:39 zach yep absolutely
21:39 zach running fail2ban on every machine or a single centralized location?
21:39 cast that's a neat idea
21:40 JordanRinke every machine, we do mostly voip traffic on our vms so running them through an aggregate firewall causes unwanted latency
21:40 JordanRinke (which was also my concern with multiple iptables rules)
21:40 zach gotcha, little different than my approach
21:40 UtahDave JordanRinke: hey, there's still a few spots open at SaltConf. I haven't seen your registration come through!!!
21:40 JordanRinke I assume you are doing a more common front end device with NAT devices behind it?
21:40 zach nop3
21:40 zach nope*
21:40 JordanRinke oh?
21:41 zach ;-)
21:41 zach study my diagram
21:41 JordanRinke UtahDave: I want to go, but I can't :( I will be driving through 2 weeks later though :/
21:42 forrest man UtahDave, saltconf ticket salesman :P
21:42 zach I had the funding to go, boss gave me the green light....went to get the corporate card and he told me to bugger off that the budget was taken away
21:42 zach was so pissed...one of the (many) reasons I left my last employer
21:42 forrest lol, zach, so bitter.
21:42 forrest understandably, but still funny
21:42 JordanRinke SaltConf is worth it, pay your own way, get your salty certs, bELIEVE!
21:43 JasonSwindle I want my SSCE....
21:43 zach If it wasnt for having to pay the IRS, I would ;-)
21:43 JasonSwindle I want cannot wait to see all of the salt puns
21:43 [diecast] joined #salt
21:43 JasonSwindle gah typos
21:43 zach plus, who wnats to go to SLC in the dead of winter? Come on :)
21:43 JasonSwindle I cannot wait to see all of the salt puns
21:43 JordanRinke salt puns, ugh, they leave an unpleasant taste in my mouth
21:43 JordanRinke :-O
21:43 zach UtahDave: Vegas next year please ;-)
21:44 JordanRinke nooo fuck, please dont have your conference in vegas
21:44 JordanRinke ever
21:44 zach Vegas is the best
21:44 JasonSwindle San Fran?
21:44 JasonSwindle But the cost……..the cost....
21:44 Nacmac Right now SLC is warmer than large parts of the country, and we've not seen snow in weeks
21:44 JasonSwindle it is 29 here in San Antonio, TX
21:44 zach Miami, then
21:44 UtahDave :)
21:44 forrest no no no, clearly let's pull a pycon, and go to Montreal, it can still be terrible and winter, but super expensive to get there!
21:45 zach :-)
21:45 Mua_ joined #salt
21:45 JordanRinke SLC is perfect, pretty cheap, local home turf, nice place, stuff to see and do
21:45 zach SLC is shockingly pricey from Austin
21:45 JordanRinke SLC is a lot nicer than most people realize I think
21:45 forrest I don't mean SLC is terrible
21:45 zach Oh it is JordanRinke, I like SLC
21:45 JordanRinke local home turf for salt that is
21:45 forrest I mean winter = terrible no matter where you are
21:46 zach forrest: unless south florida
21:46 forrest then you're in florida
21:46 forrest granted I live in az, so I can't say much
21:46 forrest since it's... 71F here today
21:47 zach JordanRinke: the idea though...have a central syslog server that fail2ban monitors and generates the rules, uses salt (or gross, puppet, chef, ansible, etc)
21:47 zach to push the rules
21:47 zach it's mostly real-time, and global
21:47 JordanRinke ah yeah, we decentralize almost all of our stuff, mostly to squeeze out every ounce of networking performance for each individual customer
21:48 mlen joined #salt
21:48 zach wouldnt be difficult to add a *.* @salt-master-fail2ban-box.com though...
21:48 JordanRinke very cool, we will have to keep an eye on eachothers implementations to see if we can save eachother some effort
21:49 zach yea, I had a company contact me to sponsor the project...which is cool, but I almost rather it be 100% opensource and available to the community with no commercial gain
21:49 zach s/almost//
21:49 JordanRinke you know, if you weren't planning to do this already... it would be interesting to have a public globalized fail2ban database....
21:49 JasonSwindle BAN ALL THE THINGS!
21:49 zach yeah, absolutely that was one of the things on my list
21:49 zach biggest problem: I'm not a developer ;-)
21:50 JordanRinke fortunately, I am! I mean, I am not a great one, but I can make the codes dance as needed
21:50 JasonSwindle I break code it sems
21:50 JasonSwindle *seems
21:50 zach I can code anything in perl, I'm still very novice at Python
21:51 JordanRinke the one problem, is figuring out who you trust to add/remove ips from the blacklist
21:51 JordanRinke otherwise someone could use it as an attack vector to DoS stuff
21:51 zach You could juset fork dronebl and do everything you need
21:51 SpeeR joined #salt
21:51 zach not sure if dronebl is still around and OSS or not
21:52 ndrei joined #salt
21:52 zach the idea though is to have honeypots across the world in your salt network to help generate your banlist
21:53 JordanRinke ah, interesting
21:53 zach I have 2 more days before I start my new gig, I should really code it before I start so it doesnt become their property in a large legal battle :)
21:54 JordanRinke I think just having the diagram up and what not will protect you, depending on their IP clauses
21:55 forrest zach, just work on it during your off hours.
21:57 zach That's hard since once I start, I'm likely to be working 20 hours a day to get their infra on something managed with saltstack
21:57 synfin joined #salt
21:57 forrest lol
21:57 zach I believe they're using chef/puppet right now
21:57 zach which I will boycott and replace
21:57 forrest why do so many startups use chef??
21:57 forrest I just don't get it
21:58 aleszoulek joined #salt
21:59 JasonSwindle That is all they know
21:59 zach I have to report to 4 people there, it will be interesting
21:59 JasonSwindle or hear about
21:59 zach VP of Devel, VP of Sales, VP of Security, and CTO
22:00 forrest JasonSwindle, I guess that's fair, when I went to the devopsday in Atlanta a bunch of people I spoke to hadn't heard of salt
22:00 jtang joined #salt
22:01 rojem joined #salt
22:02 toofer_ joined #salt
22:04 JasonSwindle zach:  Moving on up
22:04 zach JasonSwindle: yea
22:05 DerekRBN joined #salt
22:06 farra joined #salt
22:07 bhosmer_ joined #salt
22:09 DerekRBN Hey guys quick question. Did we ever figure out a way to preseed autoscaling minions?
22:09 DerekRBN with keys**
22:09 SpeeR joined #salt
22:09 bhosmer_ joined #salt
22:10 xmltok joined #salt
22:12 jtang joined #salt
22:17 hunter forrest: startups are kinda insular and duplicative in a lot of stuff - I bet they've heard of chef, possibly puppet and little else.
22:17 forrest hunter, yea
22:18 MTecknology I've been told that I'm not allowed to go to the conference this year.
22:18 aidog joined #salt
22:18 aleszoulek joined #salt
22:18 hunter I can't because I didn't notify washington 6 months in advance.
22:19 MTecknology I couldn't be much more pissed off than I am right now.
22:19 DerekRBN go to conf anyways
22:19 MTecknology less pissed off and more incredibly disappointed
22:19 hunter MTecknology: come here for a staff meeting or 2 with the devs - you'll be so pissed off you'll be cross eyed.
22:20 farra is it possible to control the console output of salt-call? I'd like to have it only output if something is changed
22:23 kermit joined #salt
22:25 tonthon joined #salt
22:26 Ryan_Lane2 UtahDave: any feedback on my hiera stuff? crazy way to handle that?
22:27 UtahDave Ryan_Lane2: Could you post the pastebins again?  I looked for them earlier and I apparently wasn't logged into my irc client
22:27 MTecknology hunter: why's that?
22:27 Ryan_Lane2 yep
22:28 Ryan_Lane2 UtahDave: http://pastebin.com/rqKH5uVv http://pastebin.com/qStnvCc1
22:28 Ryan_Lane2 I tested it both for masterless and master
22:29 n8n joined #salt
22:32 MTecknology damnit... I was really hoping to be there... :'(
22:32 forrest MTecknology, they seriously can't deal with it?
22:32 forrest or if you fix it over the weekend?
22:32 hunter MTecknology: I don't think I've ever had a "high priority" project stay "high priority" for long enough to finish it.
22:32 forrest lol
22:33 MTecknology forrest: fixed or not, they're saying no
22:34 MTecknology I'm not sure what would happen if I went anyway, but I'm guessing paying for it would be in there and I can't afford it
22:36 aleszoulek joined #salt
22:36 UtahDave Ryan_Lane2: in line 35 is that looping through every single Salt module?
22:36 fragamus joined #salt
22:38 Ryan_Lane2 UtahDave: yep
22:38 Ryan_Lane2 it would be more ideal to loop only through custom ones
22:38 Ryan_Lane2 but I'd honestly like a facility for exactly what I'm trying to do in the future, where maybe modules register the pillars they are using
22:39 Ryan_Lane2 so that an external pillar can aggregate those and have them cached
22:41 farra @UtahDave: is it possible to configure salt-call state.highstate to suppress printing all the INFO lines?  I've tried adding state_verbose: False and state_output: mixed to /etc/salt/minion but I still get pretty verbose console output
22:41 MTecknology -l WARN  ?
22:42 MTecknology err... -l warn
22:42 NotreDev joined #salt
22:43 Ryan_Lane2 UtahDave: basically I want to avoid using pillar.ext (for a number of reasons)
22:46 farra thanks @MTecknology that did the trick
22:46 UtahDave Ryan_Lane2: I'm a little confused as to why you're looping over every module.  That's a ton of stuff
22:46 Ryan_Lane2 UtahDave: notice what I'm doing in my custom module
22:46 UtahDave farra: also try  state_output: terse
22:46 Ryan_Lane2 I'm adding a list that has all of the pillars I'm using
22:47 Ryan_Lane2 the ext_pillar is loaded via the config file, not via pillar.ext
22:47 farra @UtahDave: the state_output stuff doesn't seem to have any effect on the console output
22:47 Ryan_Lane2 so when saltutil.refresh_pillars is run, it'll iterate the modules, find the external pillars being used by the modules, then fetch those
22:47 Ryan_Lane2 which will also cache them
22:47 timoguin joined #salt
22:48 farra @UtahDave: am I missing something? I've been restarting salt-minion between changes to the /etc/salt/minion/local.conf where I put the salt_output line
22:48 Ryan_Lane2 and it lets the module just use __pillar__.get(<pillar>) rather than using __salt__['pillar.ext']('{hiera: blah}')
22:48 UtahDave Ryan_Lane2: you're also iterating over every module Salt ships with
22:48 Ryan_Lane2 which makes the module more reusable (and makes it easier to switch external pillars, if needed)
22:48 Ryan_Lane2 yeah. I'm not a huge fan of that
22:49 UtahDave ok, just wanted to make sure
22:49 Ryan_Lane2 which is why I said I'd really like some facility fo this
22:49 Ryan_Lane2 *for
22:49 UtahDave Ryan_Lane2: I like where you're going with this.
22:50 Ryan_Lane2 for some people using external pillars, they are really looking to completely replace the default pillar system
22:50 UtahDave Ryan_Lane2: We should run this by Tom and see if he can think of a shortcut to get that
22:50 * Ryan_Lane2 nods
22:50 Ryan_Lane2 it would be nice if it could somehow work for states too
22:50 bemehow joined #salt
22:50 Ryan_Lane2 but modules would be a good start
22:51 UtahDave yeah.  Why don't you send an email to the list with those pastes and describing what you're trying to accomplish.  I'll make sure Tom sees it
22:51 Ryan_Lane2 cool. will do
22:57 fllr joined #salt
22:59 UtahDave Ryan_Lane2: actually , Tom doesn't think it's such a bad idea to loop over all of __salt__.  apparently there's a couple places in Salt where that happens and it's pretty fast
23:00 Ryan_Lane2 yeah, I got the idea by trudging through the code
23:00 Ryan_Lane2 my worry is that it's going to happen for every single minion
23:00 Ryan_Lane2 on refresh_pillars
23:02 UtahDave hmm. yeah.
23:07 fridiculous joined #salt
23:08 fridiculous simple question:  what's the best way to run a python script in as a deamon with salt.  i haven't been successful using service, with upstart or directly
23:09 che-arne joined #salt
23:15 timoguin fridiculous, if you have an upstart script, you should be able to use the service.running state
23:19 mbarrien joined #salt
23:20 mbarrien How do we get someone to re-open a bug that I believe was incorrectly closed? (Specifically https://github.com/saltstack/salt/issues/7300)
23:20 forrest just post information showing the evidence that you believe it isn't closed, and it can be re-opened.
23:21 forrest err it isn't resolved
23:21 forrest mbarrien ^
23:22 seanz Greetings all. I've got a salt state that is starting up a service. The service forks off to the background immediately but is not fully started until about 5-10 seconds. Are there any suggestions for either delaying or monitoring something to have salt wait until the service is ready?
23:23 rojem joined #salt
23:23 noob13_ joined #salt
23:23 forrest that sounds like java seanz
23:23 seanz forrest: haha! It is.
23:23 seanz Sonatype Nexus server.
23:23 forrest hah
23:23 UtahDave mbarrien: I'll open it up for you.  Please add what you would change.
23:24 forrest seanz, Hmm, well, you could do something ghetto, like a cmd.wait immediatey afterwards that does a 5-10 second sleep
23:24 fridiculous upstart has not been working
23:24 fridiculous aka i haven't been successful at using service with upstart
23:24 forrest seanz, or just a cmd.run
23:25 forrest that's probably how I'd deal with it, unless you want to create a more fancy loop to do a ps and grep for the service or something
23:25 forrest seanz, don't use cmd.wait, was space acing, just use cmd.run :P
23:26 gjaber joined #salt
23:26 gjaber hello
23:26 seanz forrest: So a cmd.run with a sleep command, basically?
23:26 forrest yea
23:26 forrest it's ghetto
23:26 forrest but it should work
23:26 gjaber I need help with the watch requirement
23:26 seanz forrest: Ok, thanks. No, a team member suggested the same thing.
23:27 forrest seanz, cool!
23:27 seanz It's what we're doing for something similar.
23:27 forrest gotcha
23:27 forrest the joys of java
23:27 seanz Thanks for the confirmation.
23:27 forrest np
23:27 forrest I wish Java just wouldn't say it's started till the JVM is up
23:27 seanz Yeah, seriously. Although I've read some Java benchmarks, and it's not too bad.
23:27 forrest so dumb
23:27 forrest it's still dumb
23:27 seanz haha - that would be helpful in this case.
23:27 forrest if the service isn't up, it shouldn't report that it is up
23:27 seanz There's wisdom in that.
23:27 forrest what about it gjaber?
23:27 gjaber Hi
23:28 gjaber I need to restart a service whenever there are changes to a file
23:28 gjaber but
23:28 forrest fridiculous, I haven't messed with doing that before, so you have a python service that operates like a normal service, but the service option isn't working?
23:28 gjaber whenever I do change the file the service is not restarted
23:28 gjaber the thing is
23:28 gjaber righ now, the file is on a state of his own
23:29 vejdmn joined #salt
23:29 gjaber when I move it into the state the service is in it works perfectly
23:29 forrest gjaber, did you try using include in the file state?
23:29 forrest so at the top of the file state, use include: \n  - service_state
23:30 gjaber the states are both defined in the same file
23:30 forrest can you pastebin/gist it?
23:30 fridiculous thats right forrest
23:30 [diecast] joined #salt
23:30 forrest fridiculous, if you have this broken into a state, can you try to rerun that state that isn't working, and add -l debug onto the end?
23:30 fridiculous e.g. i have a python flask server i want to run
23:30 forrest ok
23:30 fridiculous if i launch with cmd.run
23:31 fridiculous the master doesn't return a job
23:31 forrest right, because when you start it like that you get locked into the session I believe
23:31 fridiculous if run it with /etc/init/flask.conf and use a service to run it
23:31 fridiculous it doesn't start
23:31 forrest did you try adding a nohup  & or something to the cmd.run so that it detaches from the process?
23:32 gjaber give me a sec
23:33 fridiculous whats a nohup?
23:33 gjaber http://pastebin.com/snBZmniP
23:33 gjaber that doesnt work
23:33 gjaber this does
23:33 forrest fridiculous, http://en.wikipedia.org/wiki/Nohup
23:33 forrest fridiculous, when you run the flask stuff from the command line, it 'holds' your session right?
23:34 fridiculous yeah
23:34 gjaber http://pastebin.com/Y7m9CBKV
23:34 forrest fridiculous, so that's what's happening on the cmd.run
23:34 forrest it's waiting for the command to exit
23:34 forrest but it never does
23:35 forrest gjaber, so these are each their own state file?
23:35 gjaber forrest, no what I showed you are two different versions of the same file
23:35 forrest ahh ok
23:35 forrest so the first one works
23:35 forrest second one does not
23:35 gjaber the other way around
23:35 forrest second one works?
23:35 forrest http://pastebin.com/Y7m9CBKV = works
23:35 gjaber first one doesnt work, the second one does work
23:36 gjaber yep
23:36 forrest I see ok
23:36 forrest so when pillar['pkgs_settings']['apache_sites_available'] what is that?
23:36 seanz Ok, another question forrest. I'm using cURL to POST some data to a server. The data needs to be JSON, and I'm wondering if there's a way to use a jinja template in the salt state to somehow inject that data in the command.
23:36 forrest is that the file from over in the working file?
23:37 gjaber that is the sites available for apache
23:37 gjaber its resolvs to /etc/apache2/sites-available under ubuntu
23:38 gjaber that is just a pillar variable that I use to keep things compatible across platforms
23:38 forrest seanz, I think you can pass the data and do something like {{ data var|json }}
23:38 forrest but I can't remmeber for sure.
23:38 forrest gjaber, ok so think of it like this. You have a state, which you watch this file right?
23:39 forrest but that file is an unknown
23:39 forrest the reason http://pastebin.com/snBZmniP works, is because that state knows what is going on with apache_conf.
23:39 gjaber forrest, ok
23:39 forrest so you're basically saying 'hey watch this file you do not know about'
23:39 forrest gjaber, let me gist this up real quick
23:40 gjaber forrest, how can you make it know about the other state??
23:40 forrest gjaber, by using include, give me a minute to gist this real quick, and it will be much clearer
23:40 gjaber forrest, ok
23:40 Ryan_Lane2 joined #salt
23:40 Ryan_Lane2 UtahDave: ugh, stupid computer disconnects most network on sleep
23:41 fllr joined #salt
23:41 Ryan_Lane2 UtahDave: so, yeah, I think the way I'm handling this now works for small numbers of minions, but may cause issues with large numbers
23:42 Ryan_Lane2 it would be awesome if this scanning could be done before the pillar is called and available via some __blah__ means
23:42 vejdmn joined #salt
23:43 cstelma joined #salt
23:43 fllr joined #salt
23:44 rojem joined #salt
23:45 forrest gjaber, take a look at this: https://gist.github.com/gravyboat/8609195
23:45 forrest it might not be perfect, but it gives you an idea of what I am getting at
23:46 forrest gjaber does that make more sense?
23:48 gjaber forrest, would a watch in apache/init.sls would work instead of a watch_in in apache/files.sls??
23:48 gjaber forrest: with the proper include of course
23:49 gjaber forrest: isn't there a repeated state??
23:50 gjaber forrest: the apache_conf state is defined in both files. Is that on purpose??
23:50 forrest gjaber no, I thought those were two different files, hang on
23:51 forrest gjaber, ok if you refresh that first one
23:52 forrest gjaber, and regarding your other question, if you wanted it to be in the init, something like this: https://gist.github.com/gravyboat/8609279
23:53 gjaber forrest: so basically we move the watch to the conf instead of service
23:54 forrest gjaber, you don't have to do that if you don't want, that second example I have includes the watch, but the problem there is that what happens if we need the apache service to run, but not that specific apache conf? We have to rewrite it
23:54 gjaber forrest: did not now I could include specifics states from a state file with dot notation
23:54 forrest gjaber, ahh gotcha
23:55 forrest gjaber, the cool thing about making your init just start the service (and usually install the associated package), is we can then branchh out, so if app1 needs a specific graphite conf, but app2 needs a different one, it doesn't matter.
23:55 gjaber forrest: Youre right
23:55 gjaber forrest: ty for the help
23:55 forrest yea np
23:56 jpeach joined #salt
23:56 jpeach hi all; is 'exclude' known to work in top.sls?
23:57 jpeach I saw a fixed github issue for that, but I could not find it in the docs, and it doesn't seem to work for me
23:57 jpeach of course, I could be doing it wrong :)
23:58 jpeach my top.sls looks roughly like this: http://apaste.info/avJw
23:58 Mua_ joined #salt
23:58 forrest jpeach, try - sls: saltminion
23:59 jpeach the situation I'm dealing with is that I have a subset of hosts where the salt-minion installation is managed by puppet so I don't want to manage saltmininon on them
23:59 jpeach forrest: testing ...

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