Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-07-27

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

All times shown according to UTC.

Time Nick Message
00:19 Ryan_Lane joined #salt
00:20 Ryan_Lane joined #salt
00:23 redbeard2 joined #salt
00:24 napperjabber joined #salt
00:25 efixit joined #salt
00:49 aat joined #salt
01:05 EugeneKay If that's what the package system does, no, not really.
01:13 jacksontj joined #salt
01:32 jacksontj joined #salt
01:41 squelch joined #salt
01:41 squelch So why should i use salt over bash scripts?
01:43 Newt[cz] joined #salt
01:48 EugeneKay It's less work to author a few lines of salt state describing a file.managed and associated file template than reimplementing the same thing in spaghetti shell
01:49 EugeneKay It already has all of the magic needed to copypasta a single file for a new host, change a few lines, and bring it online.
01:49 EugeneKay You don't need to manage SSH keys by hand
01:49 EugeneKay It includes a full logingg system, rather than dealing with 2> redirection
01:50 SEJeff_work joined #salt
01:50 EugeneKay Python conditionals suck a lot less than bash
01:50 EugeneKay It shits rainbows
01:54 Furao joined #salt
02:10 Joel_re joined #salt
02:12 mgw joined #salt
02:13 Joel_re joined #salt
02:22 Joel_re joined #salt
02:28 felskrone joined #salt
02:37 jacksontj joined #salt
02:38 auser joined #salt
02:46 Joel_re joined #salt
02:47 jeddi joined #salt
02:52 akoumjian Is there going to be a hangout again this year during the sprint?
02:54 jalbretsen joined #salt
02:56 aat joined #salt
03:01 mgw joined #salt
03:04 Furao joined #salt
03:15 joehh \
03:24 Joel_re left #salt
03:25 SEJeff_work joined #salt
03:25 jaequery joined #salt
03:25 napperjabber joined #salt
03:29 auser joined #salt
03:39 StDiluted joined #salt
03:43 sd joined #salt
03:44 surlyjake joined #salt
03:52 SEJeff_work joined #salt
03:54 jaequery joined #salt
04:01 jacksontj joined #salt
04:10 Furao joined #salt
04:20 nmistry joined #salt
04:20 dthom91 joined #salt
04:20 waverider joined #salt
04:28 Lue_4911 joined #salt
04:39 mikedawson joined #salt
04:42 kstaken joined #salt
04:44 druonysus joined #salt
04:56 Ivo joined #salt
05:09 avienu joined #salt
05:09 waverider joined #salt
05:10 go8ose joined #salt
05:11 napperjabber joined #salt
05:21 go8ose joined #salt
05:30 dthom91 joined #salt
05:36 steve___ joined #salt
05:39 Ryan_Lane joined #salt
05:54 whiteinge akoumjian: yes, there will be
05:55 whiteinge given limited Hangout seats and how much bigger this sprint is, hopefully we can make it work...
05:56 techdragon whiteinge community 'side sprints' perhaps? (did something like this at a conference recently, was good fun and helped make it easier to bring more people in)
05:57 whiteinge that would make a lot of sense
05:57 whiteinge i suspect there's going to be 2-3 distinct groups within the sprint
05:58 whiteinge formulas, salt core dev/testing, and UI
06:09 aaronhelmh joined #salt
06:10 aaronhelmh Can anyone point me to information about reactor? I found a page on docs.saltstack.com, but wanted to learn more (and failed in my search)
06:12 techdragon whiteinge id imagine there may be some spur groups around states/modules/returners too. separate from them. Wonder if theres a good way to publicise and coordinate these
06:12 * techdragon ponders
06:14 whiteinge coordination would be nice
06:24 balboah joined #salt
06:27 go8ose joined #salt
06:29 go8ose joined #salt
06:30 dthom91 joined #salt
06:31 backjlack joined #salt
06:52 berto- joined #salt
06:54 krissaxton joined #salt
06:55 jkleckner joined #salt
06:59 jacksontj joined #salt
07:01 krissaxton left #salt
07:05 mirrorbox joined #salt
07:06 mirrorbox joined #salt
07:12 carlos joined #salt
07:16 az87c joined #salt
07:17 Ivo joined #salt
07:22 tamentis joined #salt
07:25 berto- joined #salt
07:31 dthom91 joined #salt
07:36 tomeff joined #salt
07:37 mirrorbox joined #salt
07:38 giantlock joined #salt
07:51 jacksontj joined #salt
07:54 jacksontj joined #salt
08:06 go8ose joined #salt
08:15 UtahDave joined #salt
08:19 go8ose joined #salt
08:19 go8ose left #salt
08:44 Xeago joined #salt
08:50 jeddi joined #salt
08:59 aboe joined #salt
09:00 ggoZ joined #salt
09:07 faust joined #salt
09:11 krissaxton joined #salt
09:12 krissaxton [bang!] London is off like it's 2012 again!
09:12 krissaxton Like Bolt yesterday, bit slow out of the blocks.
09:17 ice9 joined #salt
09:20 zooz joined #salt
09:21 dthom91 joined #salt
09:36 remibernal joined #salt
10:04 krissaxton1 joined #salt
10:21 dthom91 joined #salt
10:30 UtahDave :)
10:44 qba73 joined #salt
10:52 jacksontj joined #salt
10:55 jacksontj_ joined #salt
11:14 tomeff joined #salt
11:22 dthom91 joined #salt
11:22 krissaxton1 Hi Dave, do you have details of the video stuff (Google Hangout?)
11:23 DredTiger joined #salt
11:25 jaequery joined #salt
11:25 Newt[cz]1 joined #salt
11:39 kenbolton joined #salt
11:44 UtahDave krissaxton1: not yet.  we still have several hours before anyone wakes up.  :)
11:52 dthom91 joined #salt
11:53 az87c joined #salt
11:54 krissaxton1 sorry, back to sleep : )
11:56 aboe joined #salt
12:03 jslatts joined #salt
12:07 carmony joined #salt
12:10 Heartsbane joined #salt
12:20 balltongu_ joined #salt
12:22 [vaelen]_ joined #salt
12:22 dthom91 joined #salt
12:29 krissaxton joined #salt
12:36 tester_ joined #salt
12:36 tester_ hi all
12:37 tester_ I'd like to ask about /srv/salt directory, I've installed salt-master and salt-minnion, then uncommented at the /etc/salt/master the next lines:
12:38 tester_ file_roots:   base:     - /srv/salt
12:38 tester_ and restarted salt-master
12:39 tester_ why I still can't see any salt directory at the path: /srv/
12:39 tester_ ?
12:48 waverider joined #salt
12:49 Xeago joined #salt
12:53 napperjabber joined #salt
13:03 remibernal joined #salt
13:10 waverider joined #salt
13:15 tester_ why the salt directory with examples at the /srv/ was not installed ?
13:19 dthom91 joined #salt
13:40 jeddi joined #salt
13:48 redbeard2 joined #salt
13:58 lazyguru joined #salt
14:01 mmilano joined #salt
14:09 Slipo joined #salt
14:09 redbeard2 is anyone at the nyc sprint online yet?
14:22 whit joined #salt
14:29 avienu joined #salt
14:41 krissaxton joined #salt
14:42 backjlack joined #salt
14:47 avienu What's the best practice to distribute a 3.5GB git repository to web minions and update it when it's updated?
14:48 avienu Am I over thinking it? Should I just use the obvious answer: git?
14:55 EugeneKay avienu - git.latest is the Salty way to do it; in #git we point to a !deploy document that outlines some solutions.
14:56 Newt[cz] joined #salt
14:56 EugeneKay It comes down to how you want to trigger updates - suck down changes, push them out, or something even more insane
14:56 joehh EugeneKay: not sure what you mean by "in #git we point to a !deploy document..."
14:56 EugeneKay The IRC channel, #git
14:56 joehh is that the irc channel #git?
14:56 joehh ahh
14:57 joehh what is the document you point to?
14:57 avienu EugeneKay: The changes are pretty stable. Nothing is committed to the master branch unless it's been tested up the wazu.
14:57 EugeneKay The bot isn't here, and I don't have the link memorized
14:57 EugeneKay :-p
14:57 EugeneKay <gitinfo> Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html
14:57 joehh great - thanks for that
15:00 Xeago joined #salt
15:00 Koma joined #salt
15:00 mgw joined #salt
15:00 avienu EugeneKay: Okay, assuming I go that route… Any thoughts about key management? I mean, should I just have each minion's web account create a ssh key and then query for that key and make sure the git master has it?
15:01 EugeneKay Yup.
15:01 EugeneKay gitolite works great for the repo/key management portion
15:02 EugeneKay my recommendation on method depnds on what's in the repo. a $LANGUAGE webapp(that possibly needs compilation steps), or just some asset files to be served up?
15:02 EugeneKay Or..... bacon!
15:03 avienu Just scripting language files. No compilation needed.
15:04 remibernal joined #salt
15:05 avienu We do use gitolite, it just isn't managed by salt yet. So the idea would be just to have the salt master get the minion's ssh key and commit it as a read client to gitolite?
15:05 EugeneKay Yup.
15:06 EugeneKay Should even be safeish to have Salt autocommit that change
15:06 EugeneKay (without resorting to git plumbing commands)
15:06 avienu EugeneKay: All right, sounds fun. I now know how to get myself into trouble on Monday :).
15:07 avienu EugeneKay: Thanks!
15:07 EugeneKay Or, you can just edit the gitolite users' authorized_keys directly(using the appropriate command= to invoke gitolite)
15:07 EugeneKay I think the existing salt module for ssh key mgmt supports that
15:07 thatch45 joined #salt
15:08 thatch45 The Great Salt srpint is now being broadcast on air
15:09 krissaxton awesome: details?
15:09 krissaxton can we join?
15:09 thatch45 yep
15:09 thatch45 i sent an invite to your gmail account
15:09 krissaxton thnx
15:09 thatch45 should I use a different email?
15:11 krissaxton yes, kris@automationlogic.com pls
15:11 krissaxton don't really use gmail much
15:12 avienu krissaxton: Why not? That must make it hard for you email to get tracked by the CIA :P
15:12 remibernal joined #salt
15:12 thatch45 ok, I am sending it
15:12 krissaxton don't worry GCHQ catches it all on the way in : )
15:12 krissaxton thnx
15:13 thatch45 lemme know if you get it
15:17 thatch45 @krissaxton can you get in alright?
15:18 krissaxton I've got the YouTube channel up, is that something we can 'join'?
15:18 krissaxton give us a wave : )
15:19 thatch45 yes, I sent your email an invite
15:20 luminous avienu: don't forget, they all have plugs into the tubes such that all clear text requests can be picked up.
15:20 * luminous hides again
15:20 krissaxton you're all alone!
15:20 krissaxton not got the hangout invite, just the eventbrite one
15:21 thatch45 I will send it again
15:21 krissaxton we're just finishing up, about to start on the beer : )
15:21 krissaxton not yet
15:23 kula this is thomas from columbia university libraries. can someone send me the salt sprint broadcast details?
15:23 krissaxton @thatch45 should be able to send you an invite
15:23 thatch45 yes @kula
15:23 kula thanks.
15:23 kula i'm the only one here so far
15:23 thatch45 what email do you want me to attempt to use
15:23 thatch45 ?
15:24 kula tlk2126@columbia
15:24 thatch45 ok
15:24 kula thanks!
15:24 robawt wuddup thatch45!
15:25 thatch45 @kula sent the invite
15:25 thatch45 @robawt yo!
15:26 thatch45 let me know if you guys are having trouble joining the hangout
15:27 robawt i'm just watching you stalker style from the youtube link from the G+ post
15:27 thatch45 yes, it is creepy
15:28 robawt hahaha
15:28 robawt no, now it's a weird B-movie
15:30 akoumjian thatch45: Cementary? What are you talking about?
15:30 robawt with no explanation
15:30 robawt akoumjian: hey hey!
15:30 * akoumjian thatch45 has gone off the deep end
15:30 akoumjian robawt: howdy!
15:32 thatch45 @krissaxton, any luck joining the hangout?
15:33 akoumjian thatch45: now I have to watch it.
15:33 thatch45 @kula, did you get the invite email?
15:34 dthom91 joined #salt
15:35 jslatts joined #salt
15:35 krissaxton @thatch45 no invite yet : (
15:35 krissaxton weird seeing as I got the evenbrite one
15:38 thatch45 man
15:39 thatch45 I wonder if you need to be following the google plus page or somethign dumb like that
15:39 robawt thatch45: ask mike when he's going to let people buy saltstack shirts off the website :D
15:39 thatch45 whos mike?
15:40 robawt I meant marc!
15:40 thatch45 ahh, marc!
15:43 akoumjian thatch45: It looks like people have to be invited or in your circles in google plus to join on hangout? https://support.google.com/plus/answer/2553119?hl=en
15:44 thatch45 ok
15:44 thatch45 I am putting them in circles now
15:47 akoumjian thatch45: I'm not sure that's true, just a guess. documentation is poor
15:50 bud joined #salt
15:50 akoumjian next time just run test=True on the hangout :-)
15:52 thatch45 we got columbia!
15:53 bud Hello from Romania :-).
15:54 costi joined #salt
15:54 thatch45 hi bud!
15:54 thatch45 what time is it bud?
15:54 bud 7 pm here :).
15:54 bud It's morning :-).
15:56 thatch45 awesome
15:56 * akoumjian heading down to the HP Cloud Seattle group soon
15:57 jxqz joined #salt
15:58 jxqz hello
15:58 jxqz saltness!
15:58 ponderability joined #salt
15:58 scalability-junk had a good discussion last few days, which got me thinking. what's the main benefit of using salt with iaas instead of paas, besides customization with the downturn of speed of development?
15:59 scalability-junk hello from Germany have fun!
16:02 saurabhs joined #salt
16:03 bud Hello Germany, have fun!
16:07 jkleckner joined #salt
16:14 StDiluted joined #salt
16:14 StDiluted Hey all
16:14 StDiluted anyone know where the hangout is?
16:17 redbeard2 StDiluted: http://youtu.be/xqVAyEKEZ7k
16:18 scalability-junk yeah I see a thinkpad \o/
16:18 redbeard2 bud: good to see romania here!
16:18 geopet joined #salt
16:20 Arnon joined #salt
16:20 Arnon Are there any active hangounts now?
16:21 Furao bud: where in .ro ?
16:22 bud Furao: Timisoara, you from .ro too?
16:22 Furao no but I spent few months there last year
16:22 redbeard2 Arnon: http://youtu.be/xqVAyEKEZ7k
16:22 Furao I'm actually in Malaysia
16:22 bud Good to see you too redbeard2 :-).
16:22 bud What's the time there?
16:22 Furao midnight 22
16:23 abqdave joined #salt
16:24 Furao the closest to Timișoara I went is Cluj-Napoca :)
16:24 StDiluted how do i join the hangout with our cam?
16:25 abqdave Albuquerque group is online. We have video and audio on youtube
16:25 abqdave is there a Google Hangout/group that we can join in?
16:26 bud One of my favorite cities from .ro.
16:27 kstaken joined #salt
16:27 Furao bud: it was my favourite too, and I went from Satu Mare to Constanța… so I've seen a few of them :)
16:28 Furao Brașov is cute but not fun as cluj
16:30 bud Furao: you must have spent quite some time in .ro then. I have lived in Brasov for some time and I agree not as fun as Cluj.
16:31 Furao few month, 1 in Bucarest and 2 elsewhere. we stayed 2 weeks in Cluj
16:32 bud What kind of states are you people going to write?
16:33 bud For what tools, I mean? I think of writing states for OpenLDAP.
16:33 thatch45 @abqdave, have you got an invite yet?
16:34 Linz joined #salt
16:34 thatch45 @bud, we could use mroe openldap states
16:34 thatch45 take a look at: https://github.com/saltstack-formulas
16:34 StDiluted thatch45, you can add st.diluted@gmail.com
16:34 StDiluted that will be the Albuquerque hangout
16:35 jslatts anyone see this when trying to set up local dev for salt (when starting master)? ZMQError: Operation not permitted
16:36 JordanRinke So, hello.
16:36 thatch45 getting you added
16:36 Furao find salt/ -type f -name '*.sls'  | wc -l     694
16:36 Furao I should publish some of my states :)
16:36 abqdave I'm in on the video feed
16:36 thatch45 @JordanRinke did you get the hangout invite?
16:37 letterj joined #salt
16:37 Linz joined #salt
16:37 thatch45 @abqdave can you send me your email so we can get you an invite?
16:37 doublerr joined #salt
16:37 sifusam joined #salt
16:38 StDiluted thatch45: st.diluted@gmail.com for the albuquerque site
16:38 thatch45 ok, gimme a minute
16:38 StDiluted thanks
16:38 capricorn_1 joined #salt
16:40 abqdave dave@atpay.com (Albuquerque)
16:40 errr I didnt register so I dont have a hangout invite. Can someone send me one at errr.errr@gmail.com
16:40 errr Im at the San Antonio event
16:41 RBNJamie joined #salt
16:41 JordanRinke thatch45: We are just getting everything  setup and rolling here.
16:41 RBNJamie Michigan checking in.  How do I jump into the Hangout?
16:44 Furao left #salt
16:46 thatch45 @RBNJamie what is your email?
16:46 thatch45 we will get you an invite
16:46 RBNJamie jjbegin@rightbrainnetworks.com
16:47 thatch45 I already invited you, I will do it again
16:48 thatch45 @abqdave invite sent
16:49 RBNJamie I'm rather old school and don't use G+.  Am I supposed to get an email notifcation about an invite to the hangout?
16:50 thatch45 yes
16:51 StDiluted waiting on the invite to the hangout, circle is added
16:52 thatch45 ok, I will resend
16:52 isomorphic joined #salt
16:53 Arnon am I supposed to get an invite as well? I registered to virtual...
16:53 thatch45 StDiluted invite re-sent
16:54 thatch45 we can only have 10 people on the hangout, so only dedicated locations can join, but it is on air, so you can watch
16:54 Arnon Is it this one: http://www.youtube.com/watch?v=xqVAyEKEZ7k&amp;feature=youtu.be ?
16:54 KyleG joined #salt
16:54 teampoop joined #salt
16:55 KyleG Hey guys, does anyone have the Google+ hangout link for the hackathon
16:55 KyleG I'm here at hulu, we want to make sure we're not in the dark here lol
16:55 teampoop I've only seen the youtube link..
16:56 mgw joined #salt
16:56 KyleG Youtube link of what? A live stream?
16:56 teampoop yes.. but it's not in my stream here.. saw it on someone else's stream before I joined the channel
16:57 thatch45 @Aaron, thats it!
16:57 thatch45 @Kyle@ that youtube link is the live stream
16:57 Arnon Is Tom gonna talk and stuff?
16:58 teampoop ABQ is having a hard time joining the hangout though..
16:59 mmilano left #salt
17:00 redbeard2 KyleG: we're working on getting you guys set up right now, with our contact over there
17:00 abqdave Albuquerque is twisting off into a basic tutorial here - most of our crowd are Salt beginners
17:00 abqdave we'll keep an eye on the main feed
17:00 KyleG redbeard2: Okay cool
17:03 thatch45 @Arnon, yes, I will be talking once we get more groups in
17:03 cowmix what's the hangout info?
17:04 rava joined #salt
17:04 rava greetings programs
17:04 thatch45 @abqdave I PMed you the direct hangout join link
17:05 KyleG redbeard2: Please send an invite for the hangout to kyle@wiredrive.com, I've got my google+ up on the TV's here
17:05 cowmix i need the hangout info for the phx location
17:05 cowmix mine: mmarch@gmail.com
17:05 juck joined #salt
17:05 juck hi
17:05 juck is anybody here?
17:06 rava where's here?
17:06 KyleG juck: Is time even real
17:06 redbeard2 KyleG and cowmix, thanks, we're setting you up
17:06 KyleG thanks redbeard2
17:06 thatch45 @cowmix I sent you a direct link to join, in a PM, did you get it?
17:07 rava was looking in the google group for it, could someone send me the hangout for seattle?
17:08 bud We are installing PowerDNS with MySQL backend using salt.
17:09 bud The installation procedure requires to run some SQL queries. Where would you store the queries, in the states tree or in pillar?
17:09 thatch45 @bud, probably in the state tree
17:09 r3d91ll joined #salt
17:10 redbeard2 rava: pm me and i'll get you set up
17:10 rava redbeard2: thatch45 has me covered
17:10 rava thanks
17:10 juck left #salt
17:11 kstaken joined #salt
17:12 redbeard2 rava: are you on google+?
17:12 rava redbeard2: i am
17:12 bud Would you transport the file to the minion  and pass it through mysql command or would you use salt mysql.query module from the state and iterate over the queries written in files/init.sql?
17:12 bud I would choose the latter.
17:13 errr rofl, this hangout is funny. Can all the people please mute?
17:14 JordanRinke We are going to try a Rackspace hosted chat, to see if we get lag with a few people. If we dont it might be worth trying to hangout with a larger piped host.
17:15 UtahDave joined #salt
17:15 UtahDave UtahDave is in the house!!  Wait.. The Castle!!
17:16 JordanRinke So, I move salt users going forward be called Saltines
17:16 redbeard2 everyone: portugal currently has the lead on the scoreboard: http://sprint.saltstack.com/scoreboard/
17:17 rava JordanRinke: lol
17:17 rava JordanRinke: here i was planning on calling everyone a cracker
17:17 UtahDave lol
17:17 JordanRinke Well, I was going to suggest that, and then everytime someone said it be like... dude that is kind of racist haha
17:18 luminous non-sprint question: say you have some python code that runs on a master, and this code has a data structure it wants to pass to a module that runs on a minion.. what do you have to do to make this possible?
17:19 luminous is this even possible?
17:20 KyleG utahDave!!!
17:20 KyleG whats good
17:20 KyleG lol
17:20 bud Can we add new formulas to saltstack-formulas?
17:23 naiyte joined #salt
17:24 rava is there an issue list to pull off of or just grab what looks shiny?
17:25 akoumjian Seattle location is coming together
17:31 dlindquist joined #salt
17:31 redbeard2 bud: i can open up a repo there for you, what are you working on?
17:32 bud powerdns at the moment with mysql backend.
17:32 redbeard2 bud: i'll set up a repo called powerdns then
17:33 bud Cool, thanks :-). I'll fork it.
17:33 redbeard2 bud: https://github.com/saltstack-formulas/powerdns
17:33 JordanRinke ohh who is doing the powerdns forumla?
17:34 JordanRinke formula even
17:34 redbeard2 JordanRinke: bud
17:34 JordanRinke Nice, I am going to watch that
17:34 scalability-junk alright so saltstack-formulas will be the puppet forge equivalent?
17:34 scalability-junk cool
17:34 JordanRinke Refreshing, waiting to see his fork
17:34 JordanRinke REFRESHING
17:35 bud JordanRinke: cool, I can't wait to hear your feedback about it.
17:35 redbeard2 enhancing. *tap* *tap* *tap*
17:35 redbeard2 enhancing. *tap* *tap* *tap*
17:35 JordanRinke lol
17:35 * scalability-junk doesn't have time, but git annex, gitlab, owncloud and piwik formula would be on my todo list :D
17:36 scalability-junk am I right that formulas won't have pillar example files? I would love them to have it...
17:37 redbeard2 scalability-junk: they will have pillar example files. let me see if i can find an example.
17:37 scalability-junk I looked at salt but it doesn't have it :)
17:37 redbeard2 scalability-junk: https://github.com/saltstack-formulas/canvas/blob/master/canvas/pillar.example
17:37 thatch45 yes, we need to get pillar.example files in all of these
17:38 redbeard2 thatch45 was going to do a writeup on the directory strucutre for those, i'm not sure if he has yet
17:38 scalability-junk shouldn't there be some sort of guideline? salt uses salt/*.sls | canvas is doing init.sls o0
17:38 iquaba1 joined #salt
17:38 scalability-junk should all be like README + salt/*.sls + pillar.example?
17:38 MarkAtwood joined #salt
17:38 luminous no love for non-sprint questions?
17:39 luminous :P
17:39 scalability-junk or actually the dir should be $project/*.sls I would say
17:39 thatch45 luminous: generally you would send it vian an external pillar
17:39 Arnon Is anybody working on PgPool ?
17:40 thatch45 Arnon: not that I know of
17:40 luminous thatch45: so you could not do arbitrary python obj?
17:40 luminous only pillar-style json
17:40 * scalability-junk actually thinks about doing pull requests for each of the formulas to change them into my suggested structure... but that would probably confuse current development... thatch45 ideas?
17:40 thatch45 yes, needs to be json, everything in salt is that way
17:41 luminous ok, thanks for confirming!
17:41 thatch45 @scalability-junk we have a standard structure, but not all of them have been updated to it yet
17:41 luminous actually, one last question thatch45, can the module add to pillar, or only ext-pillar?
17:41 scalability-junk thatch45: my I ask which structure so I can port my recent stuff to it?
17:42 Arnon How about Logstash+Elasticsearch+kibana ?
17:42 scalability-junk any guideline on what goes into the formulas? I have a git+git-annex deploy formula laying around...
17:42 akoumjian Arnon: I've got that! Let me clean it up and make a public repo
17:42 cowmix Arnon: +1
17:42 thatch45 ext-pillar gets merged into the pillar
17:42 thatch45 scalability-junk: I am writing it right now
17:43 scalability-junk great
17:43 scalability-junk thatch45: pad? perhaps I can second and add ideas?
17:44 thatch45 pad?
17:44 JordanRinke What is the best/most complex salt-formula to look at for reference?
17:44 scalability-junk etherpad or something
17:44 thatch45 right now it is boundary
17:44 thatch45 gimme a second to clean up one
17:45 bud git basics question: I would like to post the powerdns formula that we currently have in our repo. Could I add a remote in my git on the branch powerdns to track powerdns from my github account?
17:45 krissaxton joined #salt
17:45 redbeard2 thatch45: boundary has the pillar.example in a different place than canvas. which is correct?
17:45 scalability-junk redbeard2: boundary
17:46 luminous thatch45: thanks for taking the time to answer
17:46 luminous :)
17:46 luminous RE salt-formula, are there any guidelines we could refer to for how things ought to be?
17:46 luminous or 'just look at existing exmples'
17:47 redbeard2 looks like boundary is correct. i will update canvas
17:47 Corey Good morning!
17:47 Arnon akoumjian: Will it be in the WIll it be on saltstack-formulas ?
17:47 intchanter joined #salt
17:47 scalability-junk thatch45: ok something like this it will be?
17:47 scalability-junk http://piratenpad.de/p/Q0oUc9zsLr
17:47 akoumjian Arnon: yes
17:47 Arnon cool!
17:48 scalability-junk luminous: I wrote this on the recent answers I got: http://piratenpad.de/p/Q0oUc9zsLr
17:48 Arnon akoumjian: Is is RHEL or ubuntu based?
17:49 RBNJamie joined #salt
17:49 Corey Question! We're having a discussion here in LA about load average. On Linux we hit the /proc filesystem, on FreeBSD we're using os.getloadavg; uh... why aren't we just doing the latter everywhere and simplify greatly?
17:49 akoumjian Arnon: currently ubuntu. I would need help mekaing it more generic, if you'd be interested
17:49 Arnon ok
17:50 Arnon What is the best rout for orchestrating bare-metal private-clouds via salt?
17:50 * Corey kicks UtahDave's chair
17:51 Arnon I really like Foreman...
17:51 dlindquist Corey: The code in question: http://pastebin.com/hLyanQPD
17:51 bud Good question Arnon.
17:51 redbeard2 scalability-junk: sorry, i didn't see your note when i sent my last message
17:51 * UtahDave throws Corey a cookie
17:51 dlindquist From https://github.com/saltstack/salt/blob/develop/salt/fileserver/roots.py
17:51 dlindquist ahem
17:51 scalability-junk redbeard2: I try to write up some guidelines so if anyone wants to help: http://piratenpad.de/p/Q0oUc9zsLr
17:52 akoumjian Arnon: Actually, this is very ubuntu specific looking at it (upstart configs, pkg names, fetching deb pkgs). There might not be much here for rhel
17:52 redbeard2 Corey: i don't think it would be a problem to swtich the linux code over. what you see is probably what i wrote, like, 2 years ago, and it never got updated
17:52 redbeard2 scalability-junk: thatch45 is working on guidelines too
17:52 redbeard2 looks like yours (so far) are right on tho
17:53 Corey redbeard2: Oh good. Pull request incoming.
17:53 scalability-junk redbeard2: yeah, wanted to sort of do them as a group so a bit of discussion is involved, but thatch didn't pick up the idea yet :d
17:54 redbeard2 scalability-junk: thatch45 and i discussed this last week, and have an example on the white board here.. we just hadn't done the write up yet
17:54 Arnon akoumjian: I can live with that - not a magor issue for me, as I haven't yet decided on a platform for our private-cloud - it could be a hybrid for all I care....
17:54 robert_james joined #salt
17:54 redbeard2 JordanRinke: moving san antinio up the board, i see
17:54 thatch45 ok, I just updated hosts to meet the structure standards
17:54 scalability-junk redbeard2: give me a pic and I'll write it up
17:54 thatch45 a doc is on the way
17:55 Arnon Anybody has experience using cobbler with salt?
17:56 luminous thanks scalability-junk
17:57 Corey redbeard2: https://github.com/saltstack/salt/pull/6348
17:57 redbeard2 Arnon: no, but i've had one person already ask for a module, so we'll need to get it together
17:57 AlcariTh1Mad anyone here using the mysql module for anything serious? what does mysql.processlist do for you?
17:57 Corey redbeard2: +1, I'd want to see Cobbler integration as well.
17:58 Corey redbeard2: I'm doing that with Puppet next week.
17:59 Arnon I'm a total neubie in salt.. Sorry for nagging... :) I'm not in any position to contribute - yet...
18:00 Arnon I've started using Ansiblle laely, and having some worries about their community...
18:01 scalability-junk thatch45: http://piratenpad.de/p/Q0oUc9zsLr structure is alright if yes I will port some formulas to it. any preferred LICENSE?
18:01 Corey Arnon: Don't be silly; it's a valid need, call it out. :-)
18:01 Corey Arnon: Are you at one of the sprint locations?
18:01 Arnon Nope... I'm in a small shit-hole in the middle-east... :)
18:04 krissaxton joined #salt
18:04 jslatts see ya
18:04 jslatts whups
18:09 geopet joined #salt
18:09 thatch45 scalability-junk: Apache
18:10 Corey Arnon: Which?
18:10 scalability-junk what's with apache?
18:10 dlindquist thatch45: Regarding changing minion names dynamically as we discussed at OSCON - https://github.com/saltstack/salt/issues/5327
18:10 thatch45 scalability-junk: put the config directory under the $projectname
18:10 scalability-junk ah now I get it :D
18:10 scalability-junk thatch45: alright
18:10 thatch45 awesome
18:10 thatch45 dlindquist
18:10 thatch45 scalability-junk: yep
18:11 scalability-junk thatch45: I'll go through the formulas and move the files around ;)
18:11 thatch45 dlindquist: I am looking
18:11 dlindquist thatch45: thanks!
18:13 Arnon Corey: The jewish one... :)
18:14 thatch45 scalability-junk: thanks!
18:14 scalability-junk thatch45: I will add the basic files, but won't do more than the project empty folder ;)
18:15 thatch45 ok :)
18:15 redbeard2 scalability-junk: was that you that just did the apache pull req?
18:15 scalability-junk redbeard2: could be
18:16 scalability-junk yeah will to the next pull requests with a full change so you have to click once for each repo ;)
18:16 Corey Arnon: ?עברית
18:17 Arnon כן
18:17 Corey And wow is that obnoxious to work with in tmux...
18:17 stw-nm joined #salt
18:18 scalability-junk thatch45: the config folder should be named config or files?
18:18 Arnon Corey: You have a Hebrew keyboard? Why? :)
18:18 thatch45 it can be named anything, but we generally use files
18:19 scalability-junk alright
18:20 StDiluted thatch45: I still never received a google hangout invite, although I did get added to the circle.
18:21 Corey Arnon: Good lord no. Alternate keymapping. :-)
18:21 Arnon LOL... Thought so...
18:24 Lue_4911 joined #salt
18:24 jesusaurus joined #salt
18:27 samsalt joined #salt
18:27 scalability-junk redbeard2: now that was me on apache ;)
18:28 scalability-junk damn forgot something
18:32 redbeard2 scalability-junk: is it ready?
18:32 scalability-junk yeah
18:33 mikecb joined #salt
18:34 redbeard2 scalability-junk: are you connected to any sprint locations?
18:34 scalability-junk redbeard2: nope
18:34 redbeard2 do you want to be?
18:34 redbeard2 or are you virtual?
18:35 druonysus joined #salt
18:35 druonysus joined #salt
18:35 krissaxton joined #salt
18:35 scalability-junk You can name my sprint location Backspace hackerspace located in germany if you want ;) then I have a one person sprint :)
18:35 druonysus joined #salt
18:35 druonysus joined #salt
18:36 redbeard2 scalability-junk: pm me and i'll hook you up
18:37 druonysus joined #salt
18:37 druonysus joined #salt
18:38 scalability-junk where to pm?
18:39 redbeard2 scalability-junk: redbeard2
18:39 Arnon Everyone: What are your thoughts about Ansible?
18:40 akoumjian whiteinge: How would I get a repo in the formulas org? Do you need to add me?
18:40 thatch45 I will give you right to add them
18:40 thatch45 since you are already a top guy :)
18:40 akoumjian thatch45: Am I allowed to add completely untested formulas? :-)
18:41 Corey Is auser around?
18:41 Corey Arnon: I've been using Ansible. I like it, but it stands in a different place in my toolchain than Salt does.
18:42 Arnon Corey: How so? There is a major overlap, no?
18:44 akoumjian Corey Arnon : You can use ansible (or fabric) to push commands to your salt-master from your laptop :-)
18:44 sifusam joined #salt
18:44 thatch45 akoumjian: You have powers
18:45 thatch45 akoumjian: yes, but comment in the readme
18:45 Arnon Oh... Isn't that an "insult" to aAnsible?
18:45 akoumjian thatch45: Will do. I want to clean it up later but I want to get it up there for Arnon
18:46 akoumjian Arnon: I was just kidding. But you could honestly use it for that
18:46 thatch45 Corey: I have added an paralell ssh system in salt head that can execute salt routines without installing a minion on the target systems
18:46 thatch45 it will be in 0.17.0
18:46 thatch45 I will not announce this one on a Friday afternoon :)
18:48 akoumjian Arnon: https://github.com/saltstack-formulas/elasticsearch-logstash-kibana I haven't tested it after reformatting it for this repo. Unfortunately I don't have time to do that yet, but everything is there
18:50 Arnon akoumjian : Gee 10x ! That's greate - I'll test it on monday at work...
18:51 Arnon Everyone: Michael Dehann, the guy who wrote Ansible, is the same guy who wrote Cobbler and Func - I recently saw an interview with him, in which he talks about Salt and Thomas. He sais Tom copied his concepts from Func, and is bashing Salt for re-inventing SSH - What are your thoughts on that?
18:52 MarkAtwood everyone takes ideas from everyone
18:53 MarkAtwood complaining that you inspired someone else's implemention is not a useful statement
18:53 akoumjian Arnon: I don't think it's work taking the time to take about.
18:53 MarkAtwood and where we use salt, we like it because we can disablle ssh and it still works, and it works at scale where ssh craps out
18:54 thatch45 Those claims are very weak, just because someone used yaml and globbing before me does not mean that I stole it from them
18:55 thatch45 right, there is good reason to replace ssh in modern environments for this sort of thing
18:55 eculver has anyon mentioned working on https://github.com/saltstack/salt/issues/6285 ?
18:55 eculver I was gonna try to knock that out
18:55 thatch45 sorry, I already got that one a few days ago
18:55 eculver haha
18:55 eculver k
18:56 eculver I think the last time I looked it was open :P
18:56 thatch45 I just closed it
18:56 thatch45 seems I missed closing it when I wrote the code, sorry :)
18:57 Arnon MarkAtwood: hmm... Not so sure about that... Perhapse in clouds of thousands of nodes... Even then, it's supposed to be pretty fast using the python-module that Ansible uses for concurrent-ssh stuff - or the new features in OpenSSH that offer similar things, or even via MCollective.
18:58 MarkAtwood Arnon, guess who i work for  *grin*
18:58 Arnon thatch45: He was reffering to the minions architecture
18:58 scalability-junk damn I really love contributing right now, so much better than studying :D
18:58 MarkAtwood and how many nodes are in my cloud
18:58 akoumjian worth*
18:59 MarkAtwood HP Cloud Services
18:59 eculver how about https://github.com/saltstack/salt/issues/6297 ?
18:59 Corey Arnon: My employer built a test lab to teach a class (In Puppet, of all things) and that meant 30 VPCs. I didn't want to use an agent to get things set up on all of them (a running salt-minion would have confused people) and doing it by hand to 150 machines wasn't going to happen, so I used a combination of ansible and ssh's ProxyCommand
19:00 keekz MarkAtwood: 10k nodes?
19:00 Corey Generated a ~/.ssh/config to let me in, and let it run. It was a lot slower than Salt, since it's iterative.
19:00 Arnon MarkAtwood: No idea. What do you mean? BTW: Not trying to start a flame-fest here, just asking....
19:01 MarkAtwood keekz, the answer i am authorized to give is "many many lots"
19:02 p3rror joined #salt
19:03 Arnon This is a very popular article: http://missingm.co/2013/06/ansible-and-salt-a-detailed-comparison/ - it has seriouse critisism about salt's security - Should we be worried? How about the lack of unicode in msgpack? Is that an issue?.
19:06 thatch45 Arnon, are you just trying to troll us? There are no known security issues in Salt and the crypto has been audited my many cryptographers at this point
19:06 thatch45 and the unicode in msgpack has not proven to be a serious issue
19:06 [diecast] joined #salt
19:06 [diecast] joined #salt
19:07 qba73 joined #salt
19:07 bud Can you store files in the mine?
19:07 basepi bud: define "files"
19:07 basepi =P
19:07 Arnon thatch45: Gosh no, I'm not trying to troll at all - I like both projects, but I am evaluating my options, and I wanted to rule-out bogus accusations - thanks for clarifying things.
19:07 bud I would like to store the tinc public key of a minion.
19:08 thatch45 ok, sorry to jump the gun :)
19:08 UtahDave joined #salt
19:08 thatch45 btw, keep in mind that salt is shipping with an ssh based option in the next release
19:08 thatch45 so that it can do things in an agentless way
19:08 basepi bud: you can store the result of any salt module function.  so, for example, you could use `cmd.run` to cat the identity file, and the result would be stored on the master
19:09 basepi bud: but let me look through the ssh module, pretty sure there's a function that already exists that would serve your purposes
19:09 akoumjian Arnon: I like salt's configuration management much better than ansibles
19:10 Arnon thatch45: That's good news. A lot of people are reluctant to adopt Salt because they don't trust anything except OpenSSH in terms of security - I'm not one of them, just saying - I've seen this issue pop up more than occasionally.
19:11 thatch45 yes, that is a concern, and it does take time for some people to trust new crypto implimentations
19:11 thatch45 even though we use very standard cryto methods
19:11 EugeneKay There's standard crypto methods and there's reinventing the wheel :-p
19:12 krissaxton joined #salt
19:12 Arnon Yup. See? No trolling here :)
19:13 thatch45 ok :)
19:14 basepi bud: if you look in the salt.modules.ssh module you'll see a bunch of key-related functions you can use
19:14 Arnon Is the new web-UI going to be also FOSS ?
19:14 basepi bud: including auth_keys(), host_keys(), etc.  i think one of those should serve your purposes.
19:15 Arnon Ansible's isn't....
19:15 basepi bud: it won't be saved as a *file* persay, but the key will be there
19:15 thatch45 Yes, the Salt GUI is 100% open source
19:15 thatch45 we don't do open core
19:15 whiteinge Arnon: https://github.com/saltstack/halite/blob/master/LICENSE   <--- apache 2. same as salt
19:16 dthom91 joined #salt
19:16 Arnon Cool! :) What's the status on it? Any place I could see a roadmap/release-date?
19:17 thatch45 ok, since the hangout died a new one is being set up
19:19 thatch45 the UI is under heavy development, it does work, and work well today
19:19 whiteinge Arnon: the roadmap will be tracked via github milestones, like salt. we'll be adding to it today and the comig week. it's working now so you can dive in (depending on your needs)
19:19 Joe630 thatch45!
19:19 Joe630 it was awesome meeting you
19:21 Arnon whiteinge: Awesome! 10x - will check it out - most-def :)
19:21 Joe630 (at oscon)
19:21 * scalability-junk still has 3 pullrequests open *cough* https://github.com/saltstack-formulas/canvas
19:21 whiteinge Arnon: cool. we would *love* feedback
19:21 scalability-junk https://github.com/saltstack-formulas/canvas/pull/2
19:22 bud basepi: thanks for pointers. tinc generates its own private/public key pair and saves the public key in a file that needs to be distributed to other VPN members.
19:22 scalability-junk https://github.com/saltstack-formulas/dansguardian/pull/1
19:22 scalability-junk https://github.com/saltstack-formulas/rabbitmq/pull/3
19:22 scalability-junk :)
19:22 JasonSwindle joined #salt
19:22 Arnon whiteinge: Sure - I'd love to help. What back-end framework (if any) is being used/planned ?
19:23 bud basepi: The same file contains networks which that particular node routes over the VPN.
19:23 basepi bud: ah, so it's not just a classic ssh key or something?
19:24 whiteinge Arnon: the UI itself doesn't require much of a backend, any webserver that will serve static media will do (with a slight caveat since we're using the HTML5 history API; see the README)
19:24 thatch45 Joe630: it was a good con
19:24 whiteinge Arnon: the UI then makes HTTP calls to salt's REST API
19:24 jslatts pull request: https://github.com/saltstack/salt/pull/6354
19:25 basepi bud: so in that case i would probably use a `cmd.run 'cat <thefile>'` or something like that to get the file contents, then you can template it in on a file.managed or similar.  there may be an easier way, i'll think on it
19:26 basepi (that cmd.run would be specified as one of your mine functions
19:26 basepi )
19:27 Arnon whiteinge: Ok, cool - So I can basically throw it anywhere, right? As long as I configure it to find the salt-master's REST URL? And the REST-API, is does need a web-server, though, right? Or should CherryPy be enough?
19:27 kstaken joined #salt
19:28 dlindquist Hey, I'd like to make a change to service.running / service.dead.  If the kwargs 'enabled' is present, return an error stating that the proper option is 'enable'.  This seems like a common issue...
19:28 whiteinge Arnon: the existing REST API can also serve the static media and that is the quickest way to get going with it
19:29 dlindquist We could accept both options, but would rather not have a TMTOWTDI philosophy.
19:29 Arnon whiteinge: Oh, that's even cooler... :)
19:29 dlindquist Are we okay with such a change?
19:31 bud basepi: thanks, I am working on it.
19:31 thatch45 dlindquist: I am catching up with you...
19:31 Arnon whiteinge: Are there plans to have it support Salt-Cloud, and/or bare-metal orchestration (A-la "Foreman") ?
19:31 whiteinge Arnon: yes, definitely :)
19:32 rava anyone know where i an find the patched version of python, or an ubuntu ppa with it, that disables sslv2?
19:32 Arnon whiteinge: That's it - I'm sold! 10x
19:32 rava 2.7 that is
19:32 thatch45 dlindquist: yes, we allow these types of args
19:33 thatch45 rava: You need to install m2crypto from the ubuntu repos
19:33 thatch45 that will solve your issue
19:34 dlindquist thatch45: So, would a change to disallow 'enabled' being passed to service.running be a change you would like?
19:35 dlindquist thatch45: I'll just submit the pull request and you can approve or deny it, haha.
19:35 rava thatch45: thanks, i thought i installed it already, but it was the python-m2crypto pkg i got
19:37 Corey Salt question: I have a minion that isn't able to talk to the master due to a network disruption. How can I get it to spit out its grains?
19:40 kenbolton joined #salt
19:40 Corey Ah, thanks to dlindquist; salt-call --local is what I was looking for.
19:40 Corey That said, this annoys me like you wouldn't believe:
19:40 Corey [WARNING ] Both 'dmidecode' and 'lspci' failed to execute, either because they do not exist on the system of the user running this instance does not have the necessary permissions to execute them. Grains output might not be accurate.
19:41 Corey Of course not, it's a *mac*
19:41 Corey 'cpu_model': 'MacBookAir4,1',
19:41 Corey FAIL!
19:41 Corey Let me see what I can do on that one.
19:42 rava no dice
19:42 rava hmm
19:46 Corey Trying to fix the cpu_model issue. It SHOULD spit out: Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz
19:46 rava thatch45: no dice on that m2crypto install.
19:46 geopet joined #salt
19:48 dthom91 joined #salt
19:48 thatch45 rava: Are you running in a virtualenv? Did you uninstall failing m2crypto?
19:48 Corey eculver: Can you tell me what the output of these commands is? sysctl -n machdep.cpu.brand_string; sysctl -
19:48 rava yes on uninstall, no on virtualenv
19:48 Corey eculver: And sysctl -n hw.model \
19:49 eculver joined #salt
19:50 eculver Corey: sysctl: unknown oid 'machdep.cpu.brand_string'
19:50 abqdave joined #salt
19:51 rava fixed it
19:51 rava had to reinstall the python-m2crypto pkg after removing the pip installed m2crypto package
19:53 napperjabber joined #salt
20:01 nate_ joined #salt
20:03 kula did i see mention of a new hangout?
20:03 mgw joined #salt
20:04 DerekRBN joined #salt
20:04 DerekRBN Hello, anyone working on salt sprint right now?
20:04 kula also, if someone could add the github names 'kula' and 'jslatts' to the scoreboard for 'New York City - Columbia University Libraries' that would be awesome. gotta make those commits count.
20:04 kula i am
20:05 UtahDave redbeard2: ^^
20:05 UtahDave DerekRBN: a bunch of us are
20:05 napperjabber joined #salt
20:05 thatch45 yes, there is a new hangout
20:05 thatch45 info is inbound from joseph
20:05 Xeago joined #salt
20:05 thatch45 and we will get you guys added to the scoreboard
20:05 DerekRBN Great thanks
20:05 kula nice. thanks!
20:06 DerekRBN We're looking for a way to get minion ip with out grains
20:06 JasonSwindle joined #salt
20:06 KyleG JordanRinke: Is that you talking?
20:07 KyleG We've got feedback so it's muted
20:07 KyleG haha
20:07 KyleG Funny dude
20:08 redbeard2 kula: which real0world names do they belong to? (you can pm me the answer)
20:12 kula redbeard2: done
20:13 akoumjian Question about custom module discovery: I want to store custom modules in _modules/ , _states/, etc, but I want them in subdirectories. ie: /srv/salt/_modules/pkgname/my_module.py
20:13 akoumjian Will salt discovery it there? Do I need to add /srv/salt_modules/__init__.py ?
20:14 redbeard2 akoumjian: did you guys get the new link for the hangout?
20:15 akoumjian redbeard2: nope. we don't have a central camera though, so it might not work for us
20:15 akoumjian redbeard2: I know there's a limit of 9
20:15 redbeard2 akoumjian: ah, okay. you guys are on the conference bridge tho?
20:15 akoumjian redbeard2: nope, didn't knwo about it
20:17 redbeard2 akoumjian: sent you the info
20:17 RBNJamie If I connect to the master as a minion, will I be able to view the config info for all other connected minions?
20:18 Corey For those using Macs: https://github.com/saltstack/salt/pull/6358
20:18 akoumjian redbeard2: got it. setting up my cell :-)
20:19 akoumjian redbeard2: Any idea on the custom module discovery question? ^^
20:19 redbeard2 looking
20:20 redbeard2 thatch45: pointing you to akoumjian's question. i think the answer is yes, but i'm not sure.
20:21 pbrian joined #salt
20:22 avienu joined #salt
20:25 dthom91 joined #salt
20:26 scalability-junk \o/ hehe top contributor with restructuring hehe I'm such an ass :D
20:26 krissaxton joined #salt
20:29 thatch45 akoumjian: no, they will not be discovered
20:30 akoumjian thatch45: :-( Would you be opposed to me trying to extent that? I am trying to develop a way to namespace folders there
20:30 akoumjian thatch45: Unless you have another suggestion
20:31 terminalmage is that sprint hangout still live?
20:31 KyleG thatch45: We were just talking about you, we've decided you're the goddamn batman
20:31 Morton joined #salt
20:32 terminalmage KyleG: hahaha, my wife is sitting right next to me playing Lego Batman, so I got a chuckle out of that
20:32 KyleG lol
20:32 terminalmage :)
20:33 terminalmage thatch45: within the next hour or so I should have a pull ready with an awesome new feature
20:33 dlindquist Wait, is there a conference bridge?
20:33 dlindquist We're not dialed into that...
20:34 terminalmage suggested on the mailing list, a couple new functions in the file module that allow you to list available backups for a file, and then pick one and restore it
20:34 terminalmage instead of manually replacing the backup
20:35 Slipo joined #salt
20:35 rava setup.py doesn't install the testing module it seems? running ./setup.py test fails with slattesting module not installed
20:36 zooz joined #salt
20:41 Ryan_Lane joined #salt
20:43 Slipo joined #salt
20:52 dlindquist Is there a phone conference bridge that people are on?
20:53 redbeard2 dlindquist: there is. i'll pm it to you.
20:53 dlindquist thanks!
20:57 Linz_ joined #salt
20:59 avienu joined #salt
21:02 jslatts this is Justin
21:02 pbrian newbie question from London-sprint: salt-cloud: am unable to get it to accept config files as expected. Following https://salt-cloud.readthedocs.org/en/latest/topics/rackspace.html.
21:02 RBNJamie jjbegin@rightbrainnetworks.com
21:02 jslatts RBNJamie: awesome. I have the same issue, autoscaling in VPC
21:03 pbrian if I use -C cloud.providers -V cloud.profiles I still get "not yet using new default path" error
21:05 JasonSwindle UtahDave:  Is the hackathon still going?
21:06 qba73 joined #salt
21:08 scalability-junk JasonSwindle: slowly :D
21:10 JasonSwindle Ok :)
21:11 bud How can one easily transform the subnet mask from salt network.interfaces to prefix length. 255.255.255.0 -
21:11 bud > /24
21:13 kula hey everyone, we've gotta close up here a columbia, the building will be closing in a bit and gotta clean up the room. great hackathon, and thanks to everyone who participated and made it happen.
21:14 andrew joined #salt
21:14 Corey When https://github.com/saltstack/salt/pull/6362 gets merged we'll have cpu_flags on MacOS for the first time. Thanks to eculver for the python help.
21:15 TOoSmOotH joined #salt
21:15 Corey bud: Our very own terminalmage has a blog post on that! http://terminalmage.net/2012/06/10/how-to-find-out-the-cidr-notation-for-a-subne-given-an-ip-and-netmask/
21:16 jalbretsen joined #salt
21:16 terminalmage yeah, I need to actually start writing more blog posts
21:16 Corey terminalmage: Quite.
21:17 terminalmage before I started working for saltstack I could use the excuse that work + commute took up too much of my time
21:17 terminalmage I can't quite use that excuse anymore
21:18 bud Thanks Corey. If I want to use that code in a state, I would need to create a module and pass on input the network address and subnet mask gathered via salt network.interfaces?
21:18 Corey bud: I'm the wrong person to ask, but "probably?"
21:18 Corey Next problem on a mac: virtual: VirtualBox
21:19 JasonSwindle terminalmage:  Working on adding something to the docs for grains….. just trying to find the correct area
21:19 terminalmage sure, there's topics/targeting/grains/
21:20 JasonSwindle yep
21:20 JasonSwindle https://github.com/saltstack/salt/blob/develop/doc/topics/targeting/grains.rst
21:20 terminalmage that's probably as good a place as any to start
21:20 JasonSwindle Going to add on for this; https://github.com/saltstack/salt/issues/6335
21:21 terminalmage yeah I commented on that one
21:21 terminalmage I liked your grains "workaround" for it
21:21 terminalmage works quite nicely
21:21 terminalmage many people don't know that templating works in the top file as well
21:21 terminalmage that could probably use documenting
21:22 JasonSwindle Going to do a header; Grains in top file
21:22 terminalmage cool
21:22 JasonSwindle and give the simple grains matching and the example I have.
21:23 JasonSwindle It really made my top file so "DRY"
21:23 KyleG joined #salt
21:23 Corey cquinn@quinntel ~/src/salt % sudo dmesg | grep VirtualBox
21:23 Corey VirtualBoxVM (map: 0xffffff801b4dd828) triggered DYLD shared region unnest for map: 0xffffff801b4dd828, region 0x7fff9a000000->0x7fff9a200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
21:23 Corey That's why my Mac detects as virtual: VirtualBox. What logic should I apply to that?
21:24 napperjabber joined #salt
21:25 Corey The code in question is simply grepping the entire output of dmesg for "VirtualBox" and deciding I must be a guest if the string matches.
21:27 krissaxton joined #salt
21:29 KyleG joined #salt
21:32 LarsN by default, when adding/installing packages with salt via state files, does salt first trigger an update of the repos?
21:32 LarsN or do I need to work a cmd.run...  into my states if I'm adding additional repos.
21:37 whit joined #salt
21:43 kenbolton joined #salt
21:45 JasonSwindle terminalmage: How is this? https://gist.github.com/JasonSwindle/924fc0b5d2abd40f771f#grains-in-top-file
21:45 letterj left #salt
21:45 JasonSwindle I am not a word smith….
21:45 letterj joined #salt
21:45 letterj left #salt
21:46 terminalmage JasonSwindle: we try to make an effort not to use first person in the docs
21:46 terminalmage also, for emphasis, you can use enclose "node_type" in double-backticks
21:47 terminalmage and it'll "pop" more
21:47 terminalmage otherwise, it looks great
21:47 costi hey guys, what's the best practice to create some tables in mysql from a state?
21:48 JasonSwindle Let me try that
21:48 terminalmage JasonSwindle: cool
21:48 mmilano joined #salt
21:49 KyleG Hey guys, isn't https://github.com/saltstack/salt/issues/6265 covered by state.show_highstate
21:49 JasonSwindle terminalmage:  https://gist.github.com/JasonSwindle/924fc0b5d2abd40f771f#grains-in-top-file  Better?  Sorry if my English is off.  Not slept in a day and just got done camping in 90+ F weather.  GO TEXAS!
21:50 terminalmage the node_type part is good, but we have been trying to avoid "we" and "you"
21:50 terminalmage if you want to submit it like that, then it can certainly be cleaned up later though
21:51 terminalmage it's a great addititon
21:51 terminalmage *addition
21:52 cvrebert joined #salt
21:52 dthom91 joined #salt
21:53 JasonSwindle Done, PR is in
21:53 JasonSwindle I will have more with peer and publish.publish
21:53 JasonSwindle But, that will be later/
21:54 terminalmage keep 'em comin!
21:54 terminalmage :)
21:56 JasonSwindle Awesome!
22:06 dlindquist Hey, I'm looking at https://github.com/saltstack/salt/issues/4176.  Looking in the code, I see an undocumented option: retcode_passthrough.
22:06 dlindquist The option is mentioned in https://github.com/saltstack/salt/issues/4904..
22:06 dlindquist Specifically, https://github.com/saltstack/salt/commit/9971c9dbbcdf9a2e997cd991f4330e0f2e99c341
22:07 akoumjian So, should I extend salt's loader to search recursively for custom modules (ie: /srv/salt/_modules/mypkg/mymodule.py) or should I have a metaclass load it dynamically inside of a file like /srv/salt/_modules/magic_meta.py) ?
22:08 Corey https://github.com/saltstack/salt/pull/6371 makes virt detection on OS X less horrible by a bit. I don't like how it's done, but I dont' want to refactor the entire thing.
22:12 dlindquist Can the retcode_passthrough logic be removed?
22:14 dlindquist Commented on the commit in question.
22:15 cvrebert hey, there we go. Travis is A-OK again.
22:16 robert_james joined #salt
22:16 Corey https://github.com/saltstack/salt/pull/6372 <-- Physical memory detection works on OS X now.
22:16 dlindquist hey, Salt Lake, I think you dropped off the conference line...
22:17 JasonSwindle terminalmage:  New logo? http://salt-api.readthedocs.org/en/latest/_static/salt-vert.png
22:17 bud JordanRinke: costi worked on the PowerDNS state with MySQL backend. It is available in the formulas repo.
22:18 terminalmage JasonSwindle: no, old logo
22:19 terminalmage the one on saltstack.com is current
22:23 akoumjian Where is SLC on the teleconference? I need advice from the likes of Tom or whiteinge, et. all
22:24 terminalmage akoumjian: they're on the google hangout
22:24 terminalmage need an invite?
22:24 akoumjian terminalmage: Yeah, where's the new one?
22:24 terminalmage akoumjian: PM me your email
22:27 scalability-junk let's finish up the restructuring \o/
22:27 krissaxton joined #salt
22:30 scalability-junk ohh damn someone is getting close to my commit score :O
22:31 lazyguru joined #salt
22:32 JasonSwindle I look forward to what halite can do
22:33 JasonSwindle I hope the dependency graph gets in. :)
22:34 JasonSwindle terminalmage:  Not sure if you work on Salt-API, but have you seen this? http://falconframework.org/ ?
22:35 terminalmage no I've never touched the api
22:35 terminalmage might be worth mentioning on the mailing list
22:36 Corey https://github.com/saltstack/salt/pull/6373 nails down virt detection on OS X.
22:36 JasonSwindle Ok, mailing list scare me…… but I will try.
22:37 terminalmage :)
22:45 jeddi joined #salt
22:45 whiteinge JasonSwindle: falcon looks cool
22:46 whiteinge JasonSwindle: do you know how it handles concurrency? threads? event loop?
22:47 avienu joined #salt
22:48 JasonSwindle I do not, but I can ask the Racker who wrote it. :)  I know they are going to use it in an OpenStack project + uWSGI
22:49 JasonSwindle whiteinge:  I think he did most of the work; https://github.com/kgriffs
22:50 * whiteinge looks
22:51 whiteinge i may be misinterpreting those benchmarks, it looks like it may rely on an external server
22:52 JasonSwindle I don't know much about it; I just hear talks about it
22:52 whiteinge thanks for the link. i'll investigate :)
22:53 dthom91 joined #salt
22:54 JasonSwindle No problem.  Not sure if you have looked at uWSGI as well.  Now that is crazy; https://projects.unbit.it/uwsgi/
22:55 rava left #salt
22:57 whiteinge the current implementation should run on uWSGI but we haven't tested that
23:01 JasonSwindle whiteinge:  The project I help is using NGINX + uWSGI and WOW does it scream
23:02 whiteinge i've heard good things about that pairing. i haven't had an opportunity to play with it yet though
23:06 Slipo joined #salt
23:07 scalability-junk Yeah now I can stop 100+ commits
23:09 JasonSwindle whiteinge:  Give it a try.  NGINX can talk right to the socket uWSGI creates.  https://gist.github.com/JasonSwindle/07a448f4f5ea5e7da3aa
23:13 KyleG JasonSwindle: We are using uWSGI for our API+AUTH service (not public yet but we're building it out)
23:13 KyleG Using nginx as the reverse proxy
23:14 KyleG I have no complaints os far
23:14 KyleG so*
23:14 JasonSwindle KyleG:  Ditto
23:14 KyleG nicee
23:14 JasonSwindle Mine is going to be LB + NGINX proxy on the node
23:14 KyleG Good to know we're heading in the right direction :P
23:14 JasonSwindle and NGINX on the node will have SPDY
23:15 KyleG Of course
23:15 terminalmage Corey: check out this awesomeness https://github.com/saltstack/salt/pull/6376
23:15 JasonSwindle I looked at Apache + Guncorn + etc……. passed on that
23:15 scalability-junk and DONE \o/
23:15 Corey https://github.com/saltstack/salt/pull/6377 <-- We now can detect and ennumerate GPUs on a Mac. Somebody praise me.
23:15 scalability-junk now I could port all non pillar things into pillars, but not tonight :D
23:15 Corey terminalmage: That's awesome.
23:16 terminalmage Corey: I know, right?
23:16 Corey I'm doing edge cases, you're doing things people might actually want to use.
23:16 terminalmage "oh, I just overwrote this config file on 300 minions"
23:16 terminalmage "I'll just run this ONE COMMAND" and restore it on all 300
23:16 Corey Hahahah I did that once with /etc/rc.conf on a FreeBSD box using clusterssh.
23:17 Corey > isn't the same thing as >>
23:17 terminalmage edge cases are still important to cover
23:23 stephen__ joined #salt
23:25 KyleG +1 to edgecases
23:26 KyleG Nothing is more upsetting than something seemingly small failing
23:26 KyleG edge cases*
23:26 JasonSwindle SaltStack feels like cheating at times.
23:27 JasonSwindle It is too easy
23:28 krissaxton joined #salt
23:34 Corey Uh... problem.
23:34 Corey salt-call is missing from the root of the checkout. Apparently someone was a bit too quick to approve a munged commit.
23:34 Corey Can... we get that back, please? :)
23:40 Corey I'm wrong.
23:40 Corey But sudo salt-call --local grains.items is now breaking ind evelop.
23:43 Corey Tom right now: http://fireden.net/4chan/images.4chan.org//vg/src/1359359726839.jpg
23:45 terminalmage Tom's looking at it
23:45 terminalmage and apparently fixed
23:46 kstaken joined #salt
23:49 koolhead17 joined #salt
23:50 Corey Yay, thanks.
23:50 Corey Glad it wasn't me.
23:51 Corey https://github.com/saltstack/salt/pull/6380 <-- It annoyed me that there wasn't a way for me to see "10.8.4" on my Mac, this rectifies that.
23:53 dthom91 joined #salt
23:54 JasonSwindle We need a way of know some type of summary at the end of a highstate
23:54 JasonSwindle Like for example; 52 states, 51 True || 1 False
23:54 JasonSwindle or something
23:54 JasonSwindle and 1 skipped
23:57 RBNJamie joined #salt
23:57 Corey Now seeing this, it's new: [WARNING ] Key acceptance_wait_time_max with value None has an invalid type of <type 'NoneType'>, a <type 'float'> is required for this value

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