Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-01-23

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

All times shown according to UTC.

Time Nick Message
00:00 UtahDave true
00:01 Ryan_Lane2 in my case I want all pillar lookups to go to hiera
00:01 de_bigt joined #salt
00:01 Ryan_Lane2 it's unfortunate there isn't a hiera pillar renderer
00:02 hunter why the use of hiera? Existing setup, compat with puppet, ?
00:02 Ryan_Lane2 because it would be nice to just point salt at the hiera config and get all the pillar data
00:02 xmltok joined #salt
00:02 Ryan_Lane2 hunter: compat with puppet
00:02 hunter [I ask only for information, not to complain]
00:03 Ryan_Lane2 I need compatibility with puppet for: certs, pillars, grains (I have this), module calls, etc, etc
00:03 alekibango joined #salt
00:04 Ryan_Lane2 the idea is compat for now, with an easy migration path for later
00:06 UtahDave catch you tomorrow, Ryan_Lane2.  heading home
00:06 * Ryan_Lane2 waves
00:07 MZAWeb joined #salt
00:11 alunduil joined #salt
00:13 Ryan_Lane2 joined #salt
00:13 ndrei joined #salt
00:13 blarghmatey joined #salt
00:17 [diecast] joined #salt
00:21 taion809 joined #salt
00:22 jtang joined #salt
00:27 jacksontj joined #salt
00:28 davet joined #salt
00:28 bhosmer joined #salt
00:34 alekibango_ joined #salt
00:43 alekibango_ joined #salt
00:51 oz_akan_ joined #salt
00:57 saurabhs left #salt
00:59 mgw joined #salt
01:21 xzarth_ joined #salt
01:23 madduck gmtech, Ixan: reclass (mainly) also does pillar stuff. I suppose I should rewrite the introduction.
01:24 tempspace So, how/why/is Salt using Jenkins and Travis at the same time?
01:24 Gifflen joined #salt
01:24 auser left #salt
01:27 DavidEzek joined #salt
01:29 diegows joined #salt
01:31 DavidEzek Just upgraded to 0.17.4, getting bit by the issues mentioned in https://groups.google.com/forum/#!msg/salt-users/DTtccH6uAm0/G2Zjjdlt7rsJ.
01:31 DavidEzek Is there an ETA on 0.17.5?
01:34 Mua joined #salt
01:34 [diecast] joined #salt
01:37 Mua_ joined #salt
01:39 tempspace yeah that's aggravating
01:39 tempspace I just set mode's everywhere to work around it
01:39 jacksontj joined #salt
01:42 DavidEzek ugh
01:42 bhosmer joined #salt
01:42 cedwards DavidEzek: I don't think a 0.17.5 is scheduled, but the next major release is due by the end of the month.
01:44 MedicalJaneParis joined #salt
01:45 DavidEzek Oh, @thatch45 said in the thread I pasted that "We just pushed some changes to address this yesterday and they will be in 0.17.5..." on 1/8
01:46 cedwards oh, i hadn't heard about that.
01:46 cedwards last i heard was the 2014.1 release was slated for hopefully next week
01:47 alekibango_ joined #salt
01:50 n8n joined #salt
01:52 SlaveLess joined #salt
01:52 elfixit1 joined #salt
01:54 danielcharles joined #salt
01:56 DavidEzek Hmm, I tend to avoid moving to the first minor version of a new major version.
01:57 jacksontj joined #salt
02:03 yaru22 joined #salt
02:04 psyl0n joined #salt
02:06 Veticus_ joined #salt
02:14 tempspace Yeah, I need to get the salt repo off of my machines before that happens
02:16 Ryan_Lane2 joined #salt
02:17 bhosmer joined #salt
02:18 SlaveLess left #salt
02:21 ajw0100 joined #salt
02:21 Mua joined #salt
02:24 Mua_ joined #salt
02:25 quickdry21 joined #salt
02:31 thrashr888 joined #salt
02:34 jalbretsen joined #salt
02:36 Ryan_Lane2 I can't figure out how to use the module pillar.ext
02:36 Ryan_Lane2 when I try to call it masterless it doesn't actually call the ext_pillar
02:36 Ryan_Lane2 when I try to use it in master mode, I can't figure out how to tell the master where the pillar is
02:37 Ryan_Lane2 where the ext_pillar python script is*
02:37 MTecknology ext_pillars are a pain in the bum sometimes
02:37 Ryan_Lane2 I'd really like to be able to use masterless for now if possible, but via the module
02:37 Ryan_Lane2 but I wouldn't mind knowing how to configure the master to find my custom ext_pillar
02:37 MTecknology I've never used ext_pillar w/o a master
02:38 Ryan_Lane2 well, let's say I want to use a master… :) how do I tell it where to look for custom ext_pillar python?
02:39 MTecknology http://dpaste.com/1565282/
02:39 yomilk joined #salt
02:39 MTecknology the yaml stuff is the master config, the .py file is the ext_pillar
02:40 n8n joined #salt
02:40 Ryan_Lane2 sweet
02:40 Ryan_Lane2 that did it
02:40 Ryan_Lane2 I wonder if it's the same setting in the minion
02:41 Ryan_Lane2 alas
02:44 mgw joined #salt
02:45 pydanny joined #salt
02:45 pydanny whiteinge are you there?
02:45 xmltok joined #salt
02:46 nocturn joined #salt
02:47 pydanny whiteinge I'm one of the authors of Two Scoops of Django. We want to include the Salt formula for Django in the next edition, but it's empty https://github.com/saltstack-formulas/django-formula
02:47 pydanny Should we just use https://github.com/esacteksab/Salted-Django ?
02:47 pydanny (we're including that one anyway)
02:50 pydanny Anyone from Saltstack.com here?
02:50 jesusaurus basepi: ^^
02:51 sroegner_ pydanny: you could just fork the formula for now and send a PR
02:51 sroegner_ pydanny: no - I'm not with saltstack
02:51 pydanny sroegner_ No worries. :-)
02:52 sroegner_ pydanny: this is how i started and it works very well
02:52 pydanny sroegner_ I'm not sure how to say this, but we aren't Salt experts. Forking the formula and getting it working in the time we have left isn't feasible'
02:52 sroegner_ what's the timeframe?
02:52 pydanny Monday.
02:53 sroegner_ do you have any code yet?
02:53 pydanny sroegner_ Nope. We just noticed the open issue.
02:53 sroegner_ lol
02:53 pydanny Not to put a fine point on it, but saltstack.com said they could give us something in November.
02:53 sroegner_ sounds to me something small could go in for now
02:54 sroegner_ i'm not sure i understand what sort of deal you had
02:54 pydanny We are linking to https://github.com/esacteksab/Salted-Django, which is by one of our Dev Ops reviewers
02:54 sroegner_ looking at that
02:54 pydanny sroegner_ No deal. Just one small company to another by internet handshake. :-)
02:55 pydanny We are supporting Salt, and would like to provide a link to their work. Even if we don't have an official repo, we still like them.
02:55 sroegner_ looks almost like a puppet module ;-)
02:55 jesusaurus pydanny: several of the saltstack-formulas are bare. if you PR'd the codebase of esacteksab's formula against the django-formula repo it would probably be accepted
02:56 sroegner_ the salted-django project looks sound but it need some small changes to be a formula
02:57 pydanny jesusaurus That's an interesting idea. However, we're already swamped with remaining issues and besides calling Salt in Vagrant scripts, have never done anything but read source code. We just don't have the time before our deadline to get up to speed.
02:57 sroegner_ the general idea as i understand is that you would leave that code in place but reference individual formulas
02:57 sroegner_ thats what we do
02:57 pydanny jesusaurus In other words, the last thing I want to do is point new developers at my crappy newbie salt formula. ;-)
02:58 pydanny sroegner_ I think that's the plan for Salted-Django. The maintainer will have that ready by publication of the book.
02:58 jesusaurus but thats how developers know to make it better ;)
02:59 auser joined #salt
03:00 pydanny jesusaurus Normally I would agree but in this case, the book is on best practices for Django. We would catch a storm of flak if we pointed people at a broken resource. Especially one that we created. ;-)
03:00 sroegner_ :-)
03:01 pydanny Yes, the pressure is on. Every mistake we make gets analyzed in public and private.
03:01 pydanny Sorry, not trying to be difficult. Just trying to get more people to use Salt.
03:03 sroegner_ pydanny: don't give up then
03:03 sroegner_ i would have offered some help but there is a lot of code
03:03 sroegner_ which means testing is going to be taking lots of time
03:04 sroegner_ and we're just talking refactoring - not reference-level
03:04 sroegner_ that i would do in a second round of refactoring
03:05 sroegner_ i just finished a very similar refactoring project, turning a huge pile of code into formulas
03:05 sroegner_ so promisning something by this weekend is plain unrealistic
03:07 auser joined #salt
03:07 pydanny sroegner_ Yup.
03:07 pydanny sroegner_ No worries. ;-)
03:08 sroegner_ sry
03:09 pydanny sroegner_ No apologies needed. You aren't a paid employee of Salt Stack or Two Scoops Press, right? -)
03:09 sroegner_ but an enthusiastic salt user
03:09 UtahDave joined #salt
03:12 auser joined #salt
03:15 pydanny Hi UtahDave
03:15 UtahDave hey, pydanny!  How are you?
03:16 pydanny Great! Just knocking out some last issues for Two Scoops of Django 1.6.
03:16 pydanny I… um… missed the issue for the Salt formula, hence the last minute urgency.
03:16 UtahDave Cool.  I must say I'm pretty excited about Salt being mentioned in Two Scoops!
03:16 pydanny The book is off to the printer in days.
03:16 pydanny UtahDave Us too!
03:16 pydanny whiteinge said on twitter that you guys have a formula that can be placed in there.
03:17 UtahDave So, one of our engineers recently finished a really awesome Salt Django formula
03:17 pydanny \o/
03:17 pydanny Total win
03:17 UtahDave yeah, it's really cool because it's a great example of how individual Salt states can be built into one larger application
03:17 pydanny Audrey is now adding your formula to the deployment chapter.
03:18 pydanny All current our work is deployed by Salt, but we didn't write the formula, and it's not open sourcable.
03:18 UtahDave So with this Salt Formula, if you have one server it installs a full Django stack for you.  But it's also super simple to have it automatically installed on several servers as one Django app
03:18 pydanny Excellent!
03:18 UtahDave gotcha.
03:18 pydanny Once the book is launched, we'll mention in social media that we cover Salt Stack.
03:18 auser joined #salt
03:18 pydanny And our marketing
03:18 pydanny All that stuff
03:19 UtahDave woot!  We'll be sure to talk it up, too
03:19 UtahDave I just talked with whiteinge.  He's going to push the updated Salt formula to that repo you linked to tonight. It should be ready to go with good examples by tomorrow
03:20 pydanny UtahDave You people are wonderful. Thanks for putting up with me not following up on this issue.
03:20 UtahDave Ah, it's ok. We know how busy everyone gets.
03:20 UtahDave We're having our first Salt user conference next week, so we've been crazy busy, too.
03:21 UtahDave That's why that repo hasn't been updated with the latest coolness yet.
03:21 UtahDave But it's a simple update to get it put together
03:22 Ryan_Lane2 UtahDave: https://github.com/saltstack/salt/blob/develop/salt/pillar/__init__.py#L125
03:22 * Ryan_Lane2 stabs
03:22 pydanny UtahDave Well, in all honest, I have a good excuse for missing this one: http://pydanny.com/i-married-audrey-roy.html
03:22 Ryan_Lane2 a hard coded list of on demand external pillars?!
03:23 UtahDave pydanny: oh wow!  Congratulations!
03:23 pydanny yeah, she's the smart one too. I seriously leveled
03:23 UtahDave :)  nice
03:23 Ryan_Lane2 that hard coded list stops pillar.ext from working when using a masterless minion
03:24 UtahDave pydanny: can I email you when the repo is ready?
03:24 UtahDave Ryan_Lane2: Let me take a look at that.
03:24 pydanny UtahDave yes. I'm pydanny@twoscoopspress.com
03:25 UtahDave Ryan_Lane2: argh. That does appear to be the case. I'm not sure why Tom would have put that in there.
03:26 UtahDave ok, pydanny. I'll ping you when the repo is ready.  Hopefully the docs should be pretty self-explanatory.
03:26 pydanny Excellent!
03:26 pydanny Thank you again so much!
03:26 UtahDave If you have any questions we'll be around to help.
03:27 UtahDave Ryan_Lane2: If you comment out lines 125 to 127, does your external pillar work?
03:27 pydanny Well, if people ask us Salt questions we'll be directing them to http://www.saltstack.com/community/
03:28 UtahDave pydanny: also, if you'd like me or one of our engineers to proofread your section on Salt, we'd be more than willing to do that, too
03:28 Ryan_Lane2 UtahDave: yes
03:28 UtahDave that's perfect, pydanny. We really appreciate that.
03:28 pydanny Sure, UtahDave, send me your email address
03:28 UtahDave pydanny: dave@saltstack.com
03:30 thrashr888 joined #salt
03:30 Ryan_Lane2 UtahDave: https://github.com/saltstack/salt/issues/9892
03:30 UtahDave Ryan_Lane2: I wonder if he was trying to avoid some security issue or something.
03:30 Ryan_Lane2 probably
03:31 Ryan_Lane2 it would be nice to have a config option for that, if so
03:33 UtahDave yeah.
03:33 UtahDave I just tagged Tom on that issue.
03:34 dren joined #salt
03:34 mgw joined #salt
03:36 auser joined #salt
03:42 Ryan_Lane2 heh. I'm betting the hiera pillar has never been tested
03:43 Ryan_Lane2 because there's absolutely no way it works
03:43 helderco joined #salt
03:43 strgcloud joined #salt
03:44 forresta joined #salt
03:44 auser left #salt
03:44 UtahDave Ryan_Lane2: It's been there quite a while. Wouldn't surprise me that there's some bitrot in there.
03:45 Ryan_Lane2 I wouldn't even say bitrot. hiera takes a key and gives back a value, without listing back the key
03:45 Ryan_Lane2 then the ext_pillar tries to yaml safe_load it
03:45 Ryan_Lane2 it wouldn't return back the key into the resulting pillar
03:45 UtahDave oh, really?
03:45 Ryan_Lane2 yep
03:45 Ryan_Lane2 I'll submit a patch
03:46 UtahDave cool.  thanks, man!
03:46 Ryan_Lane2 hiera also seems to return json and not yaml, which is odd
03:46 Gifflen joined #salt
03:47 Ryan_Lane2 hm. actually, it doesn't even return that. it returns a damn ruby hash
03:47 UtahDave whaaa?
03:47 UtahDave yaml safe_load should handle json just fine, but I don't know about a ruby hash
03:48 Ryan_Lane2 https://gist.github.com/mgwilliams/1887753
03:48 Ryan_Lane2 indeed
03:48 alekibango_ joined #salt
03:49 pydanny UtahDave email sent!
03:51 UtahDave cool, thanks, pydanny!
03:51 pydanny Our Salt section is brief, but several times longer than the alternatives. If you've got tips or advice to share, there's the place to do it. ;-)
03:51 ConceitedCode joined #salt
03:52 Ryan_Lane2 sweet. my ext_pillar from hiera is working :)
03:52 pydanny I can't wait until this is done. This is as much work as the first edition. :P
03:52 Ryan_Lane2 heading home
03:54 UtahDave congrats, Ryan_Lane!
03:55 forresta Hmm, is there no way on the new layout for this: https://github.com/saltstack-formulas to see everything on a single page? Or am I just missing it
03:55 UtahDave that's great, pydanny. I'm going to send that to several of our SaltStack devs to review
03:56 pydanny Wonderful. Hate to be pushy, but sooner is better. This is supposed to go to the printer tonight.
03:56 UtahDave forresta: not sure.
03:56 pydanny We can extend that for Salt Stack. ;-)
03:56 UtahDave oh, really?  OK we'll get on it.
03:57 pydanny UtahDave , it's a whole new book. This is the 'short' list of changes: http://twoscoopspress.com/pages/two-scoops-of-django-1-6-change-list
03:58 MZAWeb joined #salt
04:02 xmltok joined #salt
04:03 kermit joined #salt
04:05 bhosmer joined #salt
04:07 carmony UtahDave: So I'm working on a little side project using SaltStack
04:07 UtahDave oh, yeah?
04:07 UtahDave What magic are you conjuring up?  :)
04:08 Furao joined #salt
04:10 rojem joined #salt
04:10 UtahDave carmony: oh, by the way, I may be using your Salt Tutorial vagrant setup as the base for some other Salt tutorials
04:10 carmony UtahDave: sweet!
04:10 rojem joined #salt
04:11 rojem joined #salt
04:13 auser joined #salt
04:16 alekibango_ joined #salt
04:21 pydanny joined #salt
04:22 SpeeR joined #salt
04:24 modafinil_ joined #salt
04:24 auser joined #salt
04:34 Xiao joined #salt
04:35 Furao joined #salt
04:36 pydanny joined #salt
04:42 Furao joined #salt
04:43 Xiao joined #salt
04:44 adizam joined #salt
04:49 Mua_ joined #salt
04:51 brianhicks joined #salt
04:54 Topic for #salt is now Welcome to #salt - SaltConf Jan 28-30, 2014! http://saltconf.com (registration extended! Hurry!) | 0.17.4 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
04:54 ndrei joined #salt
04:55 xmltok joined #salt
05:03 alekibango_ joined #salt
05:03 falican joined #salt
05:05 oz_akan_ joined #salt
05:06 jtang joined #salt
05:13 n8n joined #salt
05:14 pdayton joined #salt
05:16 Mua joined #salt
05:23 n8n joined #salt
05:26 alekibango_ joined #salt
05:32 auser joined #salt
05:32 auser left #salt
05:33 Furao joined #salt
05:35 alekibango_ joined #salt
05:44 pdayton joined #salt
05:45 middleman_ joined #salt
05:47 ravibhure joined #salt
05:49 pdayton joined #salt
05:53 strgcloud joined #salt
05:53 bhosmer joined #salt
05:57 [diecast] joined #salt
05:58 alekibango_ joined #salt
06:06 jacksontj joined #salt
06:06 Psyke joined #salt
06:06 oz_akan_ joined #salt
06:08 alekibango_ joined #salt
06:12 sroegner_ joined #salt
06:13 alekibango_ joined #salt
06:14 Ryan_Lane joined #salt
06:16 Ryan_Lane2 joined #salt
06:18 alekibango_ joined #salt
06:19 Whissi_ joined #salt
06:23 Ryan_Lane2 is there any way to iterate the set of modules from inside a module?
06:23 Furao joined #salt
06:24 Ryan_Lane2 __salt__ has a set of functions, but I'd like to introspect the modules themselves
06:26 leonardinius joined #salt
06:35 alekibango_ joined #salt
06:39 lesnail joined #salt
06:40 salt_ joined #salt
06:43 salt_ i have installed a salt master and it works fine with minion. salt '*' cmd.run '' works fine but if need to installed a pkg of all commands in single command. what should i do.
06:44 anuvrat joined #salt
06:47 Furao salt_: still not reading doc?
06:47 Furao you always ask questions that are well documented with lot's of examples
06:48 alekibango_ joined #salt
06:50 n8n joined #salt
06:53 alekibango_ joined #salt
06:58 Ryan_Lane2 salt_: http://docs.saltstack.com/ref/modules/all/salt.modules.apt.html#salt.modules.apt.install
07:02 salt_ salt '*' pkg.install i got it
07:03 salt_ but let me know how to create the package.
07:06 pdayton joined #salt
07:07 oz_akan_ joined #salt
07:08 troyready joined #salt
07:11 garthk joined #salt
07:11 Furao ahaha
07:15 salt_ ohoho
07:19 abele_ left #salt
07:21 abele joined #salt
07:22 linjan joined #salt
07:30 ckao joined #salt
07:31 ConceitedCode joined #salt
07:42 bhosmer joined #salt
07:42 kalloc joined #salt
07:43 Iwirada joined #salt
07:45 kalloc joined #salt
07:45 che-arne joined #salt
07:45 alekibango joined #salt
07:45 auser joined #salt
07:48 lesnail joined #salt
07:55 alekibango joined #salt
07:58 matanya joined #salt
07:58 balboah joined #salt
08:01 sroegner_ joined #salt
08:05 Shenril joined #salt
08:07 Furao joined #salt
08:08 oz_akan_ joined #salt
08:08 alekibango joined #salt
08:10 ndrei joined #salt
08:11 xmj cedwards: around?
08:11 gurubert joined #salt
08:14 zimo joined #salt
08:17 miguitas joined #salt
08:17 alekibango joined #salt
08:18 helminthe joined #salt
08:20 miguitas joined #salt
08:21 harobed joined #salt
08:21 donnex joined #salt
08:22 Teknix joined #salt
08:25 jpaetzel joined #salt
08:26 Furao_ joined #salt
08:31 kossy joined #salt
08:31 aleszoulek joined #salt
08:32 arthurlutz joined #salt
08:33 arthurlutz hi, about salt-cloud and libcloud, has salt decided if it's sticking to libcloud or using something different ?
08:43 favadi joined #salt
08:47 ndrei joined #salt
08:52 martoss joined #salt
08:53 alekibango_ joined #salt
08:53 yomilk joined #salt
08:54 giantlock_ joined #salt
08:55 martoss1 joined #salt
08:59 martoss1 left #salt
09:01 shenril1 joined #salt
09:02 micko joined #salt
09:09 oz_akan_ joined #salt
09:09 cachedout_home joined #salt
09:11 miguitas joined #salt
09:11 ravibhure joined #salt
09:11 Jahkeup joined #salt
09:11 jeddi joined #salt
09:14 miguitas joined #salt
09:14 ravibhure joined #salt
09:20 Furao_ joined #salt
09:20 scott_w joined #salt
09:21 steveoliver_ joined #salt
09:21 baffle What is the correct way to get cmd.run in a state to work like a login shell? I am setting shell: /bin/bash, env: { BASH_ENV: /home/user/.bashrc } but the $PATH that is defined in .bashrc does not seem to be set.
09:24 leonardinius joined #salt
09:26 srage joined #salt
09:30 bhosmer joined #salt
09:30 alekibango joined #salt
09:33 baffle Ah, I found out what happend. Top of .bashrc checks if $PS1 is set, and since it is not it just exits.
09:40 Jahkeup joined #salt
09:49 zooz joined #salt
09:50 sroegner_ joined #salt
09:57 cewood joined #salt
10:00 slav0nic joined #salt
10:00 slav0nic joined #salt
10:07 srage_ joined #salt
10:09 oz_akan_ joined #salt
10:11 MaikDerstappen joined #salt
10:11 kadel joined #salt
10:17 rowleyaj joined #salt
10:17 rowleyaj joined #salt
10:19 kalloc joined #salt
10:20 arthurlutz joined #salt
10:22 dangra joined #salt
10:26 Shenril joined #salt
10:34 jpihl joined #salt
10:41 package joined #salt
10:49 njpatel joined #salt
10:51 package how to make a package to run using salt
10:51 che-arne joined #salt
10:52 baffle package: Package to run?
10:53 package salt '*' pkg.install ''
10:53 baffle package: I think you answered your own question? Or what do you mean?
10:54 baffle package: That installs a package. Do you mean how to ensure a service is running?
10:56 package if i want to create a package  containing node,mongodb,vim,svn etc.. to install
10:57 baffle package: You mean a state-file that installs a bunch of packages?
10:57 package yes, exactly
10:58 package note bunch of packages must contain aove all
10:58 zimo package: u ca try docker
10:58 zimo can*
10:58 package sorry for the typos above^
10:58 package docker?
10:58 zimo docker.io
10:59 ndrei joined #salt
11:00 package Zimo: ok, but i need to work on saltstack to do this one
11:00 baffle package: http://paste2.org/Z0vFcnMB
11:02 package baffle: thanks, please let me know, how can i create this package using terminal
11:04 baffle package: O
11:04 zimo package: i think that you are trying to make one package containing (vim,mongodb ...ect) ?
11:04 baffle package: I'm a bit confused.. Have you read the salt documentation at all? :)
11:04 package exactly sir
11:04 package yes i had
11:05 zimo with salt we not act like that :)
11:06 zimo u need to edit sls file on your master, and all minion will install all packages (present on the sls file)
11:07 zimo no need to use orchestration (salt '*' pkg.install '')
11:10 oz_akan_ joined #salt
11:10 baffle package: Once you have your .sls files set up, and have set up top.sls to point to it, you can do "salt '*' state.highstate" to push everything. To run a separate statefile on one server, you can do "salt 'server.domain.com' state.sls statefile"
11:18 bhosmer joined #salt
11:19 david_a joined #salt
11:24 giantlock_ joined #salt
11:24 batulin-s joined #salt
11:25 cchadda joined #salt
11:27 batulin-s Hi all, Help me please. All files in file_root doesnot available in minion.
11:27 batulin-s test01-p-link-se / # ls -la srv/salt total 36 drwxr-xr-x 6 root root 4096 Jan 22 11:09 . drwxr-xr-x 4 root root   96 Jan 23 11:35 .. drwxr-xr-x 2 root root 4096 Jan 23 11:16 _grains drwxr-xr-x 2 root root 4096 Jan 21 11:48 _modules drwxr-xr-x 2 root root 4096 Jan 17 14:54 _states drwxr-xr-x 2 root root   88 Jan 21 12:10 iptables -rw-r--r-- 1 root root   25 Jan 15 13:12 ipython.sls -rw-r--r-- 1 root root  105 Jan 21 16:54 st_apache.
11:28 batulin-s ls srv/salt _grains  _modules  _states  iptables  ipython.sls  st_apache.sls  top.sls
11:28 batulin-s file_roots:   base:     - /srv/salt
11:29 batulin-s salt '*' state.sls st_apache.sls
11:30 batulin-s returned  No matching sls found for 'st_apache.sls' in env 'base'
11:31 cchadda_ joined #salt
11:32 batulin-s On minion slat version of salt salt 2014.1.0rc1 and master - 0.17.4
11:32 batulin-s On minion slat version of salt 2014.1.0rc1 and master - 0.17.4
11:32 batulin-s sorry for dirty in chat
11:34 sroegner_ joined #salt
11:34 batulin-s pillar not work too
11:34 cchadda joined #salt
11:38 elithrar joined #salt
11:39 yomilk joined #salt
11:40 package i don't find any sls file in my master
11:43 bhosmer joined #salt
11:44 Psyke @batulin-s, when you call the state.sls you do not need to specify the sls extension on the state file. e.g salt '*' state.sls st_apache
11:44 batulin-s package , you nedd to create sls files in file_root directory
11:45 Psyke @package, exactly what batulin-s said. You need to write the SLS file yourself
11:45 batulin-s Psyke, sorry salt '*' state.sls st_apache return the same as
11:46 batulin-s No matching sls found for 'st_apache' in env 'base'
11:49 Psyke Can you run this from the minion? salt-call state.sls st_apache --log-level=debug
11:51 batulin-s Psyke, returned "No matching sls..." too
11:52 ekristen joined #salt
11:52 Psyke That's very weird :|
11:53 Psyke I tried it with my test server and it works fine.
11:54 Psyke Have you restarted the salt-master after you changed the config?
11:55 anuvrat joined #salt
11:56 batulin-s Psyke, restarted, now authentication failed, runing salt-key
12:04 batulin-s after restarting master and minion nothing changed
12:05 kalloc joined #salt
12:05 batulin-s No matching sls found for 'st_apache' in env 'base'
12:05 package sudo salt '*' pkg.install 'salt.sls' jeper:     ----------
12:08 Psyke @batulin-s Okay, I am really stumped. Last thing I can think of is check your master config and make sure the spacing is correct. I am also a new guy with salt, maybe the more senior guys can help out.
12:09 jtang joined #salt
12:10 baffle states.iptables is the only thing we have for firewall management now, right?
12:10 baffle "management". :)
12:12 batulin-s Psyke, thank you, I think this trouble because I'm using different version master and minion?
12:12 Furao baffle: I use iptables-persistent
12:13 Furao with file.managed
12:13 Psyke Batulin-s, could be. I am not sure how the differing versions will affect each other.
12:15 batulin-s Psyke, thank you a lot, Trying to reinstall minion...
12:17 Psyke No problem, hope you get it sorted out. :)
12:19 baffle Furao: So you're not using salt-functionality to manage it, just distribute configuration files, then. :) I think I'll do something simmilar.. Maybe use ferm..
12:22 bhosmer_ joined #salt
12:25 bhosmer_ joined #salt
12:29 dangra joined #salt
12:43 blee joined #salt
12:58 kalloc_ joined #salt
12:58 diegows joined #salt
13:10 Dale22 joined #salt
13:10 Nazzy batulin-s, I believe there are incompatibilities between 2014.1 and 0.17.4 ... I was getting weird behavior from the pair
13:16 batulin-s Nazzy, Thank you, so I need to upgrade salt, but I'm using gentoo and don't understand how to do it... I'm tying to use pip, but it was broke portage tree...
13:20 Psyke Have you tried using the wget bootstrap?
13:24 batulin-s No, now trying, Thank you
13:25 Nazzy batulin-s, if you add to package.accept_keyword a "app-admin/salt **" line, you can emerge the current dev branch
13:25 blee joined #salt
13:25 Nazzy don't know if 2014.1 is in portage yet
13:28 leonardinius joined #salt
13:29 oz_akan_ joined #salt
13:34 oz_akan_ joined #salt
13:37 tomspur joined #salt
13:43 mpanetta joined #salt
13:48 Valdo left #salt
13:49 ndrei joined #salt
13:50 Mua_ joined #salt
13:51 tyler-baker joined #salt
13:51 tyler-baker joined #salt
13:55 juicer2 joined #salt
13:57 mgw joined #salt
14:00 tessellare joined #salt
14:04 arthurlutz when is 2014.1 supposed to be released ?
14:05 mgw joined #salt
14:05 mpanetta joined #salt
14:06 Nazzy arthurlutz, some time in the next week?
14:06 bhosmer_ joined #salt
14:06 arthurlutz Nazzy: great news
14:07 Nazzy arthurlutz, to my knowledge they haven't set a fixed release date, though last time I asked the expectation was "before SaltConf" ... beyond that, your guess is as good as mine
14:07 kadel joined #salt
14:07 Gifflen joined #salt
14:07 arthurlutz does anyone know if saltconf will be streamed ? or recorded ?
14:08 dangra joined #salt
14:08 Nazzy ooh, that's a good question
14:08 Gifflen joined #salt
14:08 bhosmer joined #salt
14:09 yaru22 joined #salt
14:11 racooper joined #salt
14:13 Nazzy I've not been able to find an answer, it's not mentioned in any of the most likely locations
14:14 ndrei joined #salt
14:20 farra joined #salt
14:43 pass_by_value joined #salt
14:47 babilen joehh: Is there a plan to make salt 0.17.4-1 available in wheezy-backports?
14:50 JasonSwindle joined #salt
14:50 taion809 joined #salt
14:51 imaginarysteve joined #salt
15:01 Voziv How can I create a user that has all global privileges?
15:07 quickdry21 joined #salt
15:09 dstanek joined #salt
15:12 abe_music joined #salt
15:13 ekristen anyone using the nagios formula?
15:13 ndrei joined #salt
15:13 eliasp joined #salt
15:15 srage joined #salt
15:15 jergerber joined #salt
15:16 AdamSewell joined #salt
15:16 AdamSewell joined #salt
15:16 kadel joined #salt
15:17 cnelsonsic joined #salt
15:18 srage_ joined #salt
15:21 GradysGhost joined #salt
15:22 vlcn is there any documentation on how to apply mine_functions via pillar?
15:22 srage joined #salt
15:23 vlcn https://github.com/saltstack/salt/issues/6655
15:23 taion809 joined #salt
15:23 vlcn guess not :P
15:24 taion809 joined #salt
15:25 morte joined #salt
15:26 sroegner joined #salt
15:31 Voziv Hmm, how can I set permissions on a folder only after a package is installed? (Installing phpmyadmin and I'd like to be able to change the owner of it's files so the webserver can read the files properly)
15:32 kalloc joined #salt
15:33 [diecast] joined #salt
15:41 GradysGhost Voziv: You'll probably want to do something like 'requires: pkg: phpmyadmin'
15:42 Voziv Hmm, does everything in an sls file get executed? So if I have a block for just setting the permissions it'd get run without being required by the "phpmyadmin" block?
15:43 GradysGhost Depends on what context you're talking about. If you run a highstate on a server, salt "compiles" all the states defined in your sls files, and then makes that state true if possible.
15:44 GradysGhost Yes, a state that sets ownership/perms will get run if it applies to the server you're highstating, unless it depends on some other state that can't be run.
15:46 Voziv I get it now! Thanks
15:46 GradysGhost Try something like this: http://www.hastebin.com/dafikinigu.sm
15:46 GradysGhost And no problem!
15:46 vejdmn joined #salt
15:46 Voziv yeah that makes my configuration much easier to do
15:46 Voziv I always included those files by using a require on my package
15:47 lessismore joined #salt
15:47 Voziv some of them make sense to be required, but yeah
15:47 Voziv in that format, would it be - file: '/etc/mypackage/mypack.conf'  to require the file's configuration?
15:50 [diecast] joined #salt
15:54 forrest joined #salt
15:55 pydanny joined #salt
15:55 Psyke joined #salt
15:56 ravibhure1 joined #salt
15:58 Gordonz joined #salt
16:00 srage_ joined #salt
16:00 Gifflen_ joined #salt
16:00 srage_ joined #salt
16:01 Iwirada left #salt
16:02 Gifflen joined #salt
16:03 UtahDave joined #salt
16:10 [diecast] joined #salt
16:12 JasonSwindle joined #salt
16:13 jetole joined #salt
16:14 gadams999 joined #salt
16:14 Rory joined #salt
16:15 Rory Hello. Is it possible to perform an action when a minion is powered off or becomes unreachable?
16:15 jetole Hey guys. I have a bootstrap file for installing salt master and salt minion on one VM and salt-minion on all of the rest of the VM's via vagrant. when I run the individual steps of the file or if I run the file from a terminal it works flawlessly but it seems when `service salt-minion start` is run from the vagrant bootstrap (with no tty) I always get the error: [CRITICAL] The Salt Master has rejected this minion's public key!
16:15 jetole of and part of the bootstrap is setting the salt master to auto accept
16:15 jalbretsen joined #salt
16:16 andresr joined #salt
16:16 UtahDave Rory: There's a wol runner and salt-cloud can tell the cloud providers to start up a shutdown vm
16:18 UtahDave jetole: so you're copying the minion's public key to the master?
16:19 jetole UtahDave, The master is set to auto accept and all the VM's have the "salt" hostname in /etc/hosts. When they start they should automatically be uploading the key to the master. Right?
16:19 blee_ joined #salt
16:19 jetole UtahDave, one case and point is where master and minion are the same machine (host: salt) and I get that same error
16:21 JasonSwindle joined #salt
16:21 jetole UtahDave, If I run the commands manually or run the script from the command line and then run `salt-key -L` I see the accepted keys plus I don't see that error when the command runs
16:22 UtahDave Hm. not sure about that. I've only just begun using Vagrant.
16:22 UtahDave carmony:  do you know what would cause jetole's issue here?
16:22 UtahDave or akoumjian? ^^
16:23 jetole UtahDave, I'm starting it again. This time I added a `ping` command before starting the minion on the first run in the boot strap to verify it can connect to the master
16:24 jetole even though it's the same host in this case
16:24 Voziv How do I get a configuration file to get parsed with Jinja?
16:24 Rory left #salt
16:26 batulin-s Thans a lot for Nazzy!!! I'm write to etc/portage/package.accept_keywords "app-admin/salt **", then emerge -u app-admin/salt on master and minion, then all working fine. Yehoo!!
16:27 batulin-s Thanks
16:27 Nazzy batulin-s, you're welcome :)
16:27 anuvrat joined #salt
16:27 jetole Voziv, in the file.managed section add the line: - template: jinja
16:29 mike251 joined #salt
16:29 * mike251 hi from Frankfurt
16:30 cedwards xmj: hey
16:31 timoguin joined #salt
16:32 mike251 hi guys ... just wondering... i want to add ... some existing servers to a salt pool ... and before running the highstate... i am wondering if is possible to run a DRYRUN ... just to see .. what will be the possible changes to an existing prod system ... any ideas?
16:32 cedwards mike251: you can run with test=True
16:32 mike251 REALLY????
16:33 mike251 cedwards: shit man... it was so easy ... how could i miss that from the documentation??! THAAAANKS
16:33 cedwards mike251: np
16:33 carmony I'm here now
16:33 carmony UtahDave: what is the problem?
16:34 carmony Hrm, Vagrant + Salt issue with keys...
16:37 hunter joined #salt
16:37 blee joined #salt
16:38 gadams9991 joined #salt
16:38 xmj cedwards: o/
16:38 jetole UtahDave, I think I found my problem. The /etc/hosts update doesn't occur until after the bootstrap
16:39 * jetole shifts to #vagrant
16:39 xmj cedwards: I wanted to ask you something about salt on freebsd but I don't remember what it was
16:39 cedwards xmj: well, if you remember..
16:39 xmj cedwards: ayw
16:39 mike251 xmj:  are you getting old? :)))
16:39 [diecast] joined #salt
16:39 xmj cedwards: might have been this: does salt.states.network play nice with freebsd?
16:40 xmj it's doing a good job on centos/rhel i hear
16:40 alunduil joined #salt
16:41 cedwards don't know if i've tried
16:42 kalloc joined #salt
16:42 admineric|46005 joined #salt
16:42 cedwards xmj: doesn't look like it - https://github.com/saltstack/salt/blob/develop/salt/states/network.py
16:43 networkpadawan joined #salt
16:44 blee_ joined #salt
16:45 dmwuw joined #salt
16:47 Rory joined #salt
16:52 jpcw joined #salt
16:54 ekristen is there a way to search all grains from all hosts and find all the unique values for a grain
16:56 hunter oooh - thats a good question.
16:57 UtahDave ekristen: not directly.  You could create a runner that would query all the data from the minions and then process it to get that data
16:57 UtahDave Or even a standalone python script
16:57 jtang joined #salt
16:57 hunter UtahDave: is there an example of such a thing?
16:58 mgw joined #salt
16:58 sroegner ekristen: if they're exposed through the mine then you could sort them out in jinja
16:58 UtahDave hunter: I'd start with looking at the manage runner.   Specifically  manage.down
16:58 sroegner ekristen: but i think it wouldn't look pretty
16:59 hunter ekristen: if you find a solution that works for you, ping me on it -thats a cool thing to do.
16:59 ekristen yeah, was trying to figure out a way to auto-configure nagios
16:59 ekristen with hostgroups, etc
17:00 gadams999 joined #salt
17:00 taion809 joined #salt
17:00 UtahDave hunter and ekristen:  look here: https://github.com/saltstack/salt/blob/develop/salt/runners/manage.py#L97
17:00 hunter bleh. Glad we switched to check_mk - but there's other things that would be useful for.
17:00 pass_by_value You could also submit a grains.get with the grain name through Halite. Then just visually inspect under Job.
17:01 ekristen k
17:01 miguitas joined #salt
17:02 xmj cedwards: eh, too bad
17:02 wblair joined #salt
17:04 gadams999 left #salt
17:04 ekristen can I do G@monitor_with_nagios = True in a compound search?
17:06 jankowiak joined #salt
17:06 gnu-man joined #salt
17:06 forrest ekristen, I think you'd just do G@monitor_with_nagios:True
17:06 forrest similar to how the OS grains glob works like this:  G@os:Ubuntu
17:07 Gareth morning
17:07 forrest hey Gareth
17:07 forrest how goes the conference planning?
17:07 Psyke joined #salt
17:07 Gareth forrest: howdy.
17:07 Gareth forrest: we're on the outskirts of the pending storm. :)
17:08 forrest heh
17:08 Gareth UtahDave: you about?
17:09 wblair writing first state to append text to /etc/host then ensure mode, owner, group.  get error saying sls contains multiple states of same time. (cont)
17:09 wblair my .sls has /etc/hosts:    file.append:  -text: <stuff>   file.managed: -mode:     What don't I understand about applying multiple sates to the same file?
17:09 mike251 left #salt
17:10 jdenning joined #salt
17:10 Rory Could someone please help me troubleshoot why my reactor event isn't working? When I run the "eventlisten.py" script I can see the event firing on the salt master, but the actual command doesn't get run. More info: http://rory.sh/reactor
17:10 psyl0n joined #salt
17:10 UtahDave Hey, Gareth!  Yep.
17:10 ekristen can someone point me to the docs where I can pass variables to a file.managed?
17:11 Gareth UtahDave: question for you.  PM okay?
17:11 UtahDave Gareth: Yep!  any time, man
17:11 UtahDave Rory: what's the tag showing in the event when you're seeing it with eventlisten.py?
17:11 dstanek joined #salt
17:11 Rory UtahDave: Tag: register_zabbix
17:12 redondos joined #salt
17:12 redondos joined #salt
17:12 Rory UtahDave: If I replace the command with something more diagnosable like "touch /tmp/foo" it doesn't work
17:13 UtahDave Rory: did you restart the salt-master after modifying its config file?
17:13 Rory Yes UtahDave
17:13 ndrei joined #salt
17:14 dave_den wblair: you cannot have more than one module function with the same ID declaration.
17:15 Rory UtahDave: I updated http://rory.sh/reactor with the full event
17:15 UtahDave Rory: one thing I always do to ensure it's not a problem is make sure each indentation level of my sls files is 2 spaces.
17:15 Rory OK UtahDave no harm in trying
17:16 Rory UtahDave: Must I restart the salt service after editing .sls files for the reactor?
17:16 UtahDave Rory: what you have does seem to be correct.  whiteinge, is there anything there that looks incorrect to you?
17:16 UtahDave Rory: no, just when you modify the master's config file
17:16 wblair Do I split the is to two different .sls files under the same directory to apply mutiple states to the same file?
17:17 troyready joined #salt
17:18 vejdmn joined #salt
17:18 Rory UtahDave: Is there a way to log what happens as a result of the event? All I can see so far is that the event arrives at the saltmaster correctly, but the "trail" ends there
17:19 whiteinge Rory: i don't see any obvious issues either
17:19 Rory OK I'm pretty sure my environment is haunted at this point :(
17:19 whiteinge try running the master in the foreground. you can see the event catch and the sls file get rendered in the output
17:19 Rory OK whiteinge
17:20 Rory whiteinge: To be sure: that involves stopping the salt-master service, and then running `salt-master -l debug`
17:20 whiteinge also, i recommend restarting the master after editing a reactor sls file...just in case
17:20 whiteinge Rory: correct
17:20 whiteinge i find the reactor to be impossible to debug without doing that :)
17:21 dave_den wblair: you just have to use different id declarations. e.g.:  append_hosts_file:\n  file.append:\n    - name: /etc/hosts\n    - text: stuff\nset_hosts_perms:\n  file.managed:\n    - name: /etc/hosts\n    - mode: '644'....
17:21 Rory Ohh whiteinge I finally got a Python exception! SaltRenderError: Undefined jinja variable; line 6 in template
17:22 bemehow joined #salt
17:22 whiteinge Rory: doh! i think i know the problem then
17:22 timoguin joined #salt
17:22 Rory more here http://pastebin.com/raw.php?i=7Tr3yPEU
17:22 Rory Well this is significantly more useful than NOTHING which I had before! thanks whiteinge
17:23 whiteinge try looking for this in your sls file: {{ data['data']['hostname'] }}
17:23 UtahDave whiteinge is a wizard
17:23 wblair Thanks.  I didn't realize I found have multiple id declairations in the same .sls
17:23 whiteinge when you fire an event manually the data shows up in the context differently than when salt does so
17:25 Rory ERMAGHERD
17:25 * Rory does a jig
17:25 Rory And 5 minutes before hometime as well :D
17:25 whiteinge woot
17:26 Rory so Friday I can finish off this feature, which is perfect timing :)
17:26 Rory Thanks whiteinge
17:26 Rory you did some of my job for me
17:27 whiteinge we should add that to the docs...
17:28 Nazzy fun error of the day: /usr/sbin/nginx: symbol lookup error: /usr/sbin/nginx: undefined symbol: EC_KEY_new_by_curve_name
17:30 hunter joined #salt
17:32 KyleG joined #salt
17:32 KyleG joined #salt
17:32 dave_den looks like you have a version of nginx compiled against a newer openssl library
17:33 Nazzy dave_den, yea, that's my guess ... I'd just gotta figure out why it's wasn't pulled in when salt installed nginx
17:33 Nazzy dave_den, certainly explains why salt was failing my service.running state
17:34 ajw0100 joined #salt
17:35 strgcloud joined #salt
17:37 ekristen is there docs about what variables are by default passed to a jinja template?
17:38 Egya_Koo joined #salt
17:38 Egya_Koo Evening Gurus
17:38 forrest ekristen, well you'd be calling variables from pillar usually
17:38 Egya_Koo Is there a way to bond a 10GigE
17:38 Egya_Koo We can only get bonding on 1Gig
17:38 Egya_Koo Is it possible to do this on 10GigE ?
17:39 whiteinge ekristen: you have ``opts``, ``pillar``, ``grains``, ``salt``, and ``sls``. (not sure if that's documented or not...)
17:39 backjlack joined #salt
17:40 forrest oh nice whiteinge, I don't think that is documented anywhere.
17:40 kaptk2 joined #salt
17:40 forrest nevermind it is http://docs.saltstack.com/ref/states/vars.html
17:40 whiteinge ah, nice
17:40 dave_den Egya_Koo: do you mean from the rh_ip module?
17:41 ekristen whiteinge: thanks
17:42 Egya_Koo dave_den: Something along those lines. Currently have this in the config - speed: 1000 . Wondering if we can set it to 10000 plz
17:43 whiteinge forrest: how did you find that page?
17:43 Egya_Koo dave_den: We're using  http://docs.saltstack.com/ref/states/all/salt.states.network.html
17:43 Egya_Koo BTW - SaltStack Rocks man
17:44 dave_den Egya_Koo: no, you can't set it to 10000 at the moment.
17:44 forrest whiteinge, I just googled 'saltstack template variables' and it's the first link
17:44 whiteinge i was afraid of that :)
17:45 taion809 joined #salt
17:45 whiteinge we really need to work on the "flow" of the docs. seems each individual page is an island
17:45 dave_den Egya_Koo: are you able to manually bond your 10GigE ports with the same exact settings other than changing the speed?
17:45 Nazzy <Egya_Koo> Is there a way to bond a 10GigE <--- bonding 10GE ... for when the speed of light just isn't fast enough
17:45 Egya_Koo dave_den: Thanks for that
17:46 Ryan_Lane2 joined #salt
17:46 Egya_Koo Nazzy: We work in High Performance Computing
17:46 forrest whiteinge, yea I've been trying to fix that up a bit via linking over through notes and such, but something better would help.
17:46 amckinley joined #salt
17:47 Nazzy Egya_Koo, I may or may not have web servers running bonded 10GE >_> <_< >_>
17:48 Egya_Koo Nazzy: I believe you
17:48 Egya_Koo dave_den: Works manually
17:48 dave_den Egya_Koo: if you can confirm that nothing else needs to change, it would be simply a matter of changing the speed checks in the module: https://github.com/saltstack/salt/blob/develop/salt/modules/rh_ip.py#L159
17:49 Egya_Koo dave_den: Thanks . Let me try that
17:49 analogbyte joined #salt
17:49 dave_den Egya_Koo: are you running redhat or debian based?  the debian module has '10000' as an options: https://github.com/saltstack/salt/blob/develop/salt/modules/debian_ip.py#L433
17:50 Egya_Koo dave_den: We're on RHEL6
17:50 thrashr888 joined #salt
17:51 diegows joined #salt
17:51 [diecast] joined #salt
17:52 blee joined #salt
17:52 [diecast] joined #salt
17:52 rlarkin joined #salt
17:53 pydanny joined #salt
17:55 dave_den Egya_Koo: https://github.com/saltstack/salt/pull/9906
17:56 Nazzy Egya_Koo, I only actually have one dual 10GE in production at the moment, the rest are in my benchmarking rack... 24 core 2.27GHz (I forget the exact details, two higher end 6 core E3 xeons I think), 128G DDR3 ram, 2TB of rather nice SSD storage ... I probably shouldn't explain exactly what purpose the box serves, but it is a crazily overpowered web server that got upgraded to bonded after it consistently ma
17:56 Nazzy xed a 10G link
17:56 Egya_Koo dave_den: Thanks . Will try that . Will be nice to have this on rhel
17:57 Egya_Koo Nazzy: Nice one
17:57 Nazzy Egya_Koo, it's not HPC by any stretch, but it's been a fun project here finding and tuning things to kill all its bottlenecks
17:58 Egya_Koo Nazzy: Nothing wrong with being a Geek. I'm also a trained accountant turned geek
17:59 Egya_Koo Nazzy: Know what you mean
17:59 techhat joined #salt
18:00 JasonSwindle joined #salt
18:00 Egya_Koo Funny how, we spent years trying to get our heads round other config management tools and a few hours with salt, and we've done so much damage already
18:00 Egya_Koo OH MAN !
18:00 Egya_Koo :)
18:00 forrest Yea it's pretty awesome
18:00 joehillen joined #salt
18:00 Nazzy Egya_Koo, I'm a professional geek heh... full time software dev at a hosting/ISP ... they pay me to play with things like Salt, it rocks ^_^
18:01 Ahlee Egya_Koo: i noticed the 10G defeciencies as well, our work around is to not let salt manage interfaces
18:02 gadams9991 joined #salt
18:02 felixhummel joined #salt
18:02 Egya_Koo Ahlee: That makes sense
18:02 Egya_Koo Good night Geeks
18:03 oz_akan_ joined #salt
18:05 strgcloud joined #salt
18:05 jimallman joined #salt
18:05 Egya_Koo left #salt
18:06 pydanny joined #salt
18:11 n8n joined #salt
18:11 jacksontj joined #salt
18:12 yano joined #salt
18:21 bdf Hi, what is the procedure for reporting security problems?
18:23 Mua joined #salt
18:23 Nazzy bdf, carefully? ... wait, no, that's not right lol.
18:24 dmwuw joined #salt
18:24 Veticus joined #salt
18:26 Ahlee That's an exellent question
18:26 forrest bdf, I believe security@saltstack.com?
18:26 bdf well, don't want to ruffle any feathers
18:26 gmtech Send an email to the guardian ?
18:26 bdf I'll try it I suppose :)
18:26 Nazzy bdf, I'm not aware of a policy... I've not encountered one during my reading at any rate... I'd guess the proper way would be to attract the attention of a core dev heh
18:26 Mua_ joined #salt
18:26 bdf yeah the guardian seems good :)
18:26 forrest UtahDave, Is the vulnerability email address security@? I can't remember.
18:27 cachedout joined #salt
18:31 taion809 joined #salt
18:32 oz_akan_ joined #salt
18:32 MTecknology I have one box where the issue I filed is so bad that state.highstate won't finish
18:32 MTecknology *grumble*
18:33 MTecknology I have no idea how to fix this... :'(
18:33 gmtech Whats the issue?
18:34 MTecknology https://github.com/saltstack/salt/issues/9743
18:36 Guest80624 joined #salt
18:37 xmltok joined #salt
18:37 bdf I guess I'll try security@ for now and if it bounces I'll ask again :)
18:38 Nazzy MTecknology, if it makes you feel better, I found that a state that should have been confirming file permissions was actually reading the entire content of the files instead... on the hundreds of gigs of log files folder
18:39 cachedout bdf, I just joined. Did you need to report a security issue? (Sorry for only getting half the conversation here)
18:39 vejdmn joined #salt
18:39 Nazzy cachedout, yus
18:39 MTecknology Nazzy: ouch
18:39 bdf yeah little one
18:39 Ahlee MTecknology: interesting issue
18:39 cachedout bdf, security@saltstack.com please.
18:39 bdf cachedout: will do
18:39 cachedout bdf, Thank you.
18:40 Nazzy MTecknology, best I could figure, it was doing stat for the size of the file then opening and reading to EOF to confirm that size... not had time to debug it properly
18:40 MTecknology Ahlee: ya... and it's causing me some pretty extreme headaches right now and I have zero clue how to fix it beyond creating some patch that will add an option to have salt not cache users
18:41 MTecknology users/groups *
18:45 dave_den MTecknology: do you also have that problem when you start the highstate from the salt master?  From the debug log in that issue it doesn't seem like it has anything to do with the actual state run, but instead with the minion startup.
18:45 MTecknology dave_den: yup, any time at all
18:46 MTecknology it's partly the minion startup, but any time a user/group state is run it rebuilds that cache and the timeout happens again
18:46 MTecknology It's not a "salt" problem as much as it's a system+salt problem
18:47 kermit joined #salt
18:48 Ahlee that's a tough caching solution too, since how often is often enough when it comes to users
18:50 MTecknology Ahlee: it 'should' re-cache then. It makes sense.
18:51 MTecknology I'm thinking that an option to just do no caching of users/groups would take care of this issue... but I might be wrong
18:51 Ahlee yeah
18:51 Ahlee on the surface, it doesn't make sense to me that it'd be walking the tree at all
18:51 Ahlee but, i also don't know what its doing
18:52 Ahlee so, rose colored glasses and whatnot
18:52 MTecknology sounds like a reference that I don't get
18:52 Ahlee i probably used it wrong.
18:53 MTecknology it's a very interesting and pain in the ass issue for me... I'm a bit unique. I doubt anyone using salt is doing anything like what we're doing
18:53 patrek_ joined #salt
18:54 MTecknology meeting time!
18:55 patrek joined #salt
18:55 jtang joined #salt
18:56 scott_w joined #salt
18:57 JasonSwindle joined #salt
18:59 leonardinius joined #salt
18:59 fragamus joined #salt
19:00 sroegner is there any way to alias a mine function?
19:01 sroegner if i needed one twice with different args
19:03 ahammond joined #salt
19:05 Ahlee how do you query help for modules again?
19:06 cedwards Ahlee: are you looking for sys.doc?
19:07 jrdx joined #salt
19:08 Ahlee that's it.
19:09 Ahlee Thank you cedwards
19:17 blee_ joined #salt
19:21 SpeeR joined #salt
19:21 druonysus joined #salt
19:21 johtso joined #salt
19:23 KyleG joined #salt
19:23 KyleG joined #salt
19:28 wblair left #salt
19:36 srage joined #salt
19:38 oz_akan_ joined #salt
19:45 cedwards any other FreeBSD SaltStack users coming to SaltConf?
19:46 vejdmn joined #salt
19:48 ccase joined #salt
19:49 njpatel joined #salt
19:49 dangra1 joined #salt
19:49 njpatel joined #salt
19:49 darrend joined #salt
19:51 ahammond I'm trying to get an initial setup going. I have installed salt and created a /srv/salt directory with a top.sls. I'm trying salt-call state.highstate --local and getting "No Top file or external nodes..."
19:52 ahammond I've configured /etc/salt/minion with the file_roots: base: - /srv/salt   and also with file_client: local
19:52 ahammond what am I missing?
19:53 dave_den what does your top.sls look like?
19:55 vejdmn joined #salt
19:56 yomilk joined #salt
19:57 dave_den MTecknology: re: the user.present/LDAP lookups, are subsequent highstates on the same minion fast? Your nscd cache should make subsequent lookups almost instant
19:59 mr_chris Found some really odd behavior with pkg.install. Running a fresh copy of centos 6 with salt from epel testing with 2 different packages, httpd and zabbix20-agent. If you pkg.install either of those packages, the respective users for those services (apache and zabbix) do not get created.
19:59 mr_chris This keeps the services from starting up.
19:59 mr_chris If you remove the packages and run install them with yum install, they do get created.
20:00 mr_chris This was tested with both a master and local configuration.
20:00 Gifflen joined #salt
20:01 Gifflen joined #salt
20:01 whiteinge mr_chris: that is a problem with SELinux
20:01 mr_chris It know that it is not due to any other states interfering with it because I tested it in outside of the highstate by manually running pkg.install.
20:01 mr_chris whiteinge: Ah. I did not consider that.
20:01 srage joined #salt
20:02 KyleG joined #salt
20:02 KyleG joined #salt
20:02 whiteinge the yum module you're using on centos6 has had all sorts of problems so we swapped it out for a simpler one for the next salt release
20:02 whiteinge the centos6 yum module that you're using uses yum's python API but we don't have se linux rules for it in place so certain post install operations are blocked
20:03 mr_chris whiteinge: Thanks for the information. Testing without it.
20:03 whiteinge you can work around it with your current version by putting se linux in permissive mode during the pkg.install or by forcing salt to use the yumpkg5 instead with the "providers" setting in the miniion config
20:04 whiteinge mr_chris: here's a semi-crazy way to script that workflow :)
20:04 KyleG http://stopdisablingselinux.com/
20:04 whiteinge https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/server.sls#L27
20:04 JasonSwindle joined #salt
20:05 mr_chris whiteinge: Thanks again.
20:05 mr_chris KyleG: Wouldn't want Dan Walsh to cry.
20:05 KyleG exactly, poor Dan
20:06 KyleG http://people.redhat.com/dwalsh/ he already looks like he's about to cry in this pic
20:06 johtso joined #salt
20:06 yota joined #salt
20:08 thrashr888 joined #salt
20:11 mr_chris KyleG: He just watched someone do it in a presentation.
20:12 mr_chris I'm speculating.
20:14 CheKoLyN joined #salt
20:15 leonardinius joined #salt
20:16 leonardinius left #salt
20:17 leonardinius joined #salt
20:18 salt_whitebelt joined #salt
20:20 oz_akan_ hi, does 17.4 has issues with returning resultset from minion?
20:20 oz_akan_ has = have
20:21 yomilk joined #salt
20:21 mgw joined #salt
20:21 darrend joined #salt
20:23 srage joined #salt
20:23 srage joined #salt
20:23 teskew joined #salt
20:24 zooz joined #salt
20:24 Mua joined #salt
20:25 microcosm1 joined #salt
20:27 n8n joined #salt
20:27 adizam joined #salt
20:31 whiteinge forrest: https://github.com/saltstack/salt/issues/9912
20:31 whiteinge oz_akan_: not that i know of. are minions and master all on 0.17.4?
20:32 whiteinge or are any minions running windows?
20:32 oz_akan_ whiteinge: yes all of them ar 0.17.4
20:32 oz_akan_ all ubuntu
20:32 diegows joined #salt
20:32 oz_akan_ often master doesn't display anything
20:32 whiteinge when you run ``salt-run jobs.list_jobs`` do you see the command you ran in that list?
20:33 whiteinge if so can you successfully look up the result with ``salt-run jobs.lookup_jid <JIDHERE>`` ?
20:33 oz_akan_ i do see
20:34 oz_akan_ i am able to find jid by checking minion logs
20:35 oz_akan_ -v shows job id for sure on master
20:35 oz_akan_ "Minion did not return"
20:35 oz_akan_ is what I get when I run salt -v
20:35 oz_akan_ then I am able to get result by querying jid
20:36 fllr joined #salt
20:36 forrest whiteinge, That issue looks good, though I don't know if I'd tag it as low hanging fruit :P
20:36 whiteinge oz_akan_: gotcha. apologies, i misspoke. there is an issue with minions not returning in time if they're under heavy load
20:36 matanya joined #salt
20:37 oz_akan_ what do you mean with heavy load?
20:37 oz_akan_ load on OS? or minion process being busy
20:37 whiteinge load on the OS
20:38 whiteinge try using a --timeout value which is higher than the time you expect the job to run and see if you get returns to show up correctly that way
20:38 whiteinge forrest: good call. removed
20:39 forrest whiteinge, I don't know if a table of contents is the way to go or not as we have the walkthrough, but it still seems like there is confusion there.
20:40 oz_akan_ whiteinge:  hmm it might be networking issue with master and minion as well
20:40 oz_akan_ --timeout worked
20:40 whiteinge my thinking there is to have more defined "sections" in the docs
20:41 whiteinge it could be organized that way using sphinx contents directives, but there are other ways too
20:41 austin987 left #salt
20:41 oz_akan_ whiteinge: thanks, we have just started to use 17.4. for some reason my assumption it was a bug.. looks like not
20:41 dave_den MTecknology: added my comments to your issue https://github.com/saltstack/salt/issues/9743
20:41 whiteinge oz_akan_: nice. glad that works!
20:41 oz_akan_ dave_den: are you utahdave?
20:41 bhosmer joined #salt
20:42 whiteinge utah_dave is afk for a bit
20:42 dave_den oz_akan_: no, we are two different people  :)
20:42 oz_akan_ I didn't see him for a while, thought he changed nickname :D
20:42 oz_akan_ dave_den: sorry :)
20:42 dave_den we just happen to prefer to indicate where we live in our nicks apparently  :D
20:42 whiteinge haha
20:42 oz_akan_ hehe, no relocation then
20:43 forrest whiteinge, I guess what I mean is even though we have the table of contents on pages like the walkthrough, it's almost like people still miss that, or it could be that there is a lack of a clear path laid out for users to branch out from there. I opened this issue where we had a discussion going that was in the same vein: https://github.com/saltstack/salt/issues/9810
20:43 whiteinge utah_dave was also out of town for several days
20:43 whiteinge forrest: i see. that makes sense
20:44 forrest whiteinge, didn't he tell you that he was in california driving around and enjoying the weather laughing at you guys back in the office?
20:45 n8n joined #salt
20:45 nahamu xinkeT: more SmartOS improvements for salt coming down the pipe. :)
20:45 forrest nahamu, nice!
20:46 JasonSwindle joined #salt
20:47 ajw0100 joined #salt
20:47 nahamu well technically bugfixes, but still... :)
20:48 fllr joined #salt
20:50 kermit joined #salt
20:52 bhosmer_ joined #salt
20:55 bhosmer joined #salt
20:56 austin987 joined #salt
20:59 mgw joined #salt
21:00 Gifflen joined #salt
21:04 jdenning joined #salt
21:04 gadams9991 left #salt
21:04 gadams999 joined #salt
21:06 elfixit1 joined #salt
21:07 blee joined #salt
21:09 bhosmer joined #salt
21:15 cewood joined #salt
21:17 fllr joined #salt
21:18 hunter whiteinge: from eariler (I'm reading backscroll) you mentioned jobs.list_jobs - does that work with regular "salt" in 0.17.4?
21:19 whiteinge hunter: the salt-run command runs on the master (if i understand your questions correctly)
21:20 hunter whiteinge: I get {}
21:21 whiteinge hm. do you have the job cached turned off perchance? did you run the command as root (or whatever user your salt master is running as)?
21:21 hunter nahamu: what kind (we use smart, openindiana and god help up some opensolaris still survives here)
21:21 fllr joined #salt
21:22 hunter whiteinge: I haven't turned it off intentionally - where do I check that?
21:22 hunter whiteinge: and I ran as root, as does the master.
21:23 bhosmer joined #salt
21:24 ndrei joined #salt
21:25 bhosmer_ joined #salt
21:29 backjlack joined #salt
21:29 hunter any suggestions?
21:31 fllr joined #salt
21:34 dave_den hunter: have you executed any jobs from the master recently?
21:34 dave_den the master cleans out old job info periodically.
21:34 hunter oh
21:34 hunter Let me run one
21:34 david_a joined #salt
21:34 dave_den hunter: the variables to control that are keep_jobs and loop_interval
21:35 hunter I got data that time.
21:35 pydanny joined #salt
21:36 hunter dave_den: what my team wants is to be able to say "What has been done to $client in the past."
21:36 hunter dave_den: is it practical or advisable to tell the master to keep that info for a "long" time?
21:36 dave_den hunter: well, there are a few considerations with that
21:37 srage joined #salt
21:37 hunter I figured - reason I asked.
21:38 hunter I'd be happy with a list of all the .SLS files that have been run (?formulas?) and ... maybe the corresponding md5's of the formulas themselves.
21:38 dave_den you proabably want to configure an ext_job_cache if you want to archive everything salt does on a minion
21:38 MTecknology I'm not sure who dlanderson is, but I appreciate his input!
21:39 hunter david_den: I'll add that to my list of things to look into once $current_project is dead and buried
21:39 rojem joined #salt
21:40 basepi wait, is dave_den dlanderson?  or a different dave?  too many daves, and nicks don't always match up.  =P
21:40 dave_den heh, you're welcome, MTecknology. Hopefully someone can use that info to refactor the getgrall code in salt to avoid the performance issue when using things like LDAP
21:40 basepi ok, that's what i thought. =P
21:40 dave_den basepi: i'm indeed dlanderson on github
21:40 basepi coolio
21:41 MTecknology dave_den: you gonna be at the key signing party in utah?
21:41 dave_den and the Kids in the Hall did it best:  http://www.youtube.com/watch?v=JF1chLj1fro
21:42 MTecknology dunno when, but we's gonna haz dat pahrtay
21:43 dave_den I won't be at saltconf this year, unfortunately, if that's where it's happening
21:44 MTecknology :'(
21:44 jtang joined #salt
21:44 Ahlee how are people monitoring saltstack reporting properly
21:46 Ahlee hunter: i'm exploring that right now, how to maintain a record of what was changed, when, and who triggered the run
21:46 Ahlee the who is proving the most difficult.
21:47 JasonSwindle joined #salt
21:48 NotreDev joined #salt
21:48 hunter Ahlee: for us its always going to be "root on the master"
21:48 hunter And while I agree that "who" is important if you've cracked 2 out of 3, post what you have - its useful to a sufficient subset of the community
21:49 NotreDev i want to use a template on server A to get a grain value from server B for a Jinja template file. how would i do this?
21:49 hunter Ahlee: and I always seem to read your nick as "Ashlee"
21:49 fllr joined #salt
21:49 Ahlee hunter: yeah, but i can't tell auditors "oh, root did that!" :)
21:49 hunter But thats mostly a personal problem for me. :)
21:49 Ahlee heh.  Definitely not an Ashlee ;)
21:49 hunter Ahlee: I know. But like I said if you've got the other 2 figured out, put that out as 1.0
21:50 Ahlee when i come up with something I'm happy with (or just not completely disgusted by) i'll share
21:51 Ahlee i do most of my work through salt-api, and getting the master, api, and minions all agreeing on a default returner that allows job querying is proving way more difficult than I anticipated
21:51 Ahlee though, to be fair, last time i tried i had no idea what i was doing and didn't read the docs closely
21:52 hunter Ahlee: hunter@mcs.anl.gov would appreciate a quick ping when you release something, if I'm no in channel (or paying attention).
21:52 fllr joined #salt
21:53 bhosmer joined #salt
21:53 Ahlee added an item to the task
21:55 fllr joined #salt
21:55 bhosmer__ joined #salt
21:56 timoguin Ahlee, using the client_acl and giving users the appropriate permissions to run the modules they need should make reporting easier.
21:56 timoguin actually i'm sure how salt reports that in the job cache
21:57 timoguin but that's the first thing i'd rty
21:57 Ahlee timoguin: true, but then i but into the lack of group support
21:58 Ahlee but, that's certainly better than my current one-user-one-pass
21:58 Ahlee and the ever present root
21:58 strgcloud joined #salt
22:01 timoguin i'm not sure why the default is for the salt-master to run as root.
22:01 timoguin i run mine as a different user.
22:01 timoguin only minion is root
22:01 seanz joined #salt
22:02 seanz Greetings. This is a very easy question, I'm sure. I'm getting this error:
22:02 seanz State archive.extracted found in sls nexus-server is unavailable
22:02 seanz Which program needs to be installed for archive.extracted to work?
22:02 yomilk joined #salt
22:02 timoguin seanz, which salt version are you running?
22:02 seanz 0.16.3
22:02 seanz timoguin: ^ ^ ^
22:02 dave_den seanz: arcive.extracted is only in the development github code and the 2014.1rc1 release code
22:03 timoguin yep, what dave_den said
22:03 seanz Ah.
22:03 * seanz punches himself in the face.
22:03 seanz The docs don't really make that clear.
22:03 seanz However, I guess I could grab the right modules for this to work, couldn't I?
22:04 dave_den seanz: there's a little note about it on the html page: http://docs.saltstack.com/ref/states/all/salt.states.archive.html
22:04 JasonSwindle New in version 2014.1.0: (Hydrogen)
22:04 timoguin "New in version 2014.1.0: (Hydrogen)"
22:04 seanz I just saw that.
22:04 dave_den it's easy to miss, though
22:04 timoguin indeed
22:04 seanz I was too happy that the feature was available that I didn't see it.
22:04 seanz Thanks, dave_den and timoguin.
22:04 srage joined #salt
22:04 seanz You are the "pillars" of the community. Get it?
22:05 * timoguin blushes
22:05 dave_den funday punday!
22:06 seanz haha - exactly.
22:07 schristensen_ joined #salt
22:07 dave_den i haven't looked at the archive state code, but it's possible you could just grab modules/archive.py and states/archive.py
22:07 dave_den but i wouldn't recommend it
22:07 dave_den especially with 0.16
22:08 sroegner might be worth a try - archive used to live in salt-contrib
22:08 leonardinius joined #salt
22:08 whiteinge ^^ agreed
22:08 bhosmer joined #salt
22:08 whiteinge seanz: added a more prominant note: https://github.com/saltstack/salt/commit/07da7f5
22:09 forrest whiteinge, good add there, I missed the module when I added my note before :(
22:10 kossy joined #salt
22:10 leonardinius joined #salt
22:11 leonardinius joined #salt
22:13 seanz whiteinge: Thanks!
22:13 leonardinius joined #salt
22:15 leonardinius joined #salt
22:16 jkleckner joined #salt
22:16 leonardinius joined #salt
22:17 leonardinius joined #salt
22:18 bhosmer_ joined #salt
22:18 leonardinius joined #salt
22:18 leonardinius joined #salt
22:19 fllr joined #salt
22:19 ndrei joined #salt
22:20 leonardinius joined #salt
22:20 jkleckner joined #salt
22:20 nineteeneightd joined #salt
22:21 leonardinius joined #salt
22:22 kossy joined #salt
22:23 rowleyaj joined #salt
22:24 nahamu hunter: I do my testing on SmartOS.
22:24 nahamu But in theory the resulting esky builds might run on other illumos distros.
22:24 nahamu I haven't tried, but would be curious to hear feedback.
22:24 hunter hahamu: for me its _mostly_ academic as we're making solaris (and its children) go away (again). But zfsonlinux means I should fix the zfs/zpool modules.
22:26 forrest hunter, I wish you the best of luck
22:27 hunter I like parts of the solaris(en) but ... oh well.
22:27 hunter I'll not start a flamewar here - we've had too many at $work already.
22:28 forrest lol
22:30 Gordonz joined #salt
22:32 Gordonz joined #salt
22:32 Ahlee I miss solaris
22:32 ahammond I'm running salt locally. usually I'd do file.managed: - source: salt://foo/files/etc/...  but it's not finding my source file. does salt:// work with local?
22:33 Ahlee cutting my teeth on linux then learning solaris made some things seem...odd :)
22:33 ajw0100 joined #salt
22:34 redondos joined #salt
22:35 timoguin ahammond, it does if you have 'file_client: local' in the minion config
22:35 ahammond timoguin yeah, I'm doing that and also using --local on commandline.
22:35 timoguin with salt-call it does at least
22:36 ahammond oh never mind. I pooched it.
22:40 tinuva joined #salt
22:41 Shish joined #salt
22:46 jacksontj joined #salt
22:52 kossy joined #salt
22:53 leonardinius joined #salt
22:54 analogbyte joined #salt
22:54 jtang joined #salt
22:55 jtang joined #salt
22:56 kossy joined #salt
22:56 redondos joined #salt
22:56 redondos joined #salt
22:57 analogbyte joined #salt
23:01 fllr joined #salt
23:01 jtang joined #salt
23:01 analogbyte joined #salt
23:02 analogbyte joined #salt
23:03 analogbyte joined #salt
23:04 analogbyte joined #salt
23:05 leonardinius joined #salt
23:07 bhosmer joined #salt
23:07 qybl joined #salt
23:08 analogbyte does anybody know a way to include a whole directory of pillar sls files? I'd like to do a <minion_id> folder with some sls files in it
23:08 seanz whiteinge: So it seems I can't just drop archive.py into _states for salt version .16. I get the error at the other end of this link:
23:09 seanz http://dpaste.com/1566551/
23:11 redondos joined #salt
23:12 fragamus joined #salt
23:12 whiteinge hm. it looks like the correct return structure is in there...wonder what the issue is
23:12 whiteinge sec. i'll try it here
23:12 hunter seanz: can you at least bump to 0.17.4?
23:13 seanz hunter: Sadly, no. We're pinned at salt .16.3 because we have a number of prod servers running at this version and decided to stay there for the time being.
23:13 hunter ah
23:13 mattbarto joined #salt
23:13 seanz So *I* can switch, but my org will not.
23:14 seanz I would like to. Many improvements in the newer version.
23:14 hunter seanz: auto_order (or wathever its called) in 0.17 made salt usable for me - it allowed me ot go with salt over ansible.
23:14 seanz hunter: I'm with you, though I wasn't switching from Ansible. It takes a lot of the 'require' work out of it, which was great for me.
23:15 hunter Oh I switched from puppet - but ansible and salt were in the race and that allowed salt the win. The docs are better nad the community friendlier I've found. But manually ordering everything was a no go.
23:16 mattbarto left #salt
23:16 seanz We were leaning towards salt from early on because we had briefly employed one of the core salt developers.
23:16 * seanz pokes whiteinge
23:16 seanz For a time.
23:17 seanz Hopefully that wasn't sensitive info.
23:17 whiteinge They found me. I don't know how but they found me. Run for it, Marty!
23:17 seanz whiteinge: SO THIS IS WHERE YOU WENT.
23:17 seanz Just kidding.
23:17 seanz whiteinge is brilliant. :)
23:18 whiteinge i will not dispute that claim. i cannot prove it...but i won't dispute it.
23:19 whiteinge seanz: i'm seeing a different error...'nother sec...
23:19 seanz A'ite.
23:20 seanz Also whiteinge: Is there a high res saltstack logo somewhere?
23:20 seanz Available to commoners such as myself?
23:20 seanz Like from a presskit or something?
23:20 forrest hunter, auto_order is pretty awesome. I was excited when it became standard.
23:21 forrest using puppet and having to deal with requires all the time made it somewhat tough
23:21 seanz Also a question about auto-order:
23:21 mesmer joined #salt
23:21 seanz Does it go top-to-bottom within each file in top-file order?
23:21 seanz I know it should be obvious, but I just want to be sure I understand what it's *supposed* to do when I'm looking at the output.
23:21 forrest seanz, this is the one I always use: http://developer.rackspace.com/images/2013-07-12-join-the-great-salt-sprint/saltstack_logo.jpg but you're probably looking for something larger.
23:22 seanz forrest: Hey, thanks. I'll try it.
23:22 forrest seanz, yes, so auto_ordering first runs your includes through, and then just goes down the file
23:22 seanz I found a 300x300 image, but this is better.
23:22 jtang joined #salt
23:22 whiteinge seanz: we used to have a "press kit" of downloadable logos but that was one or two logos ago...
23:22 whiteinge we need a new one
23:22 n8n joined #salt
23:22 seanz Nice. Am I wrong in thinking that puts salt ahead of some of the other similar solutions?
23:22 seanz auto-ordering, that is.
23:23 forrest seanz, well, it's easier to explain than with puppet yea
23:23 whiteinge seanz: i can email you the vectors for now until we can get those back online
23:23 seanz Vectors?
23:23 seanz Oh, images?
23:23 seanz Vector graphics.
23:24 whiteinge no! the character from Despicable Me 1.
23:24 seanz I'm trying the image forrest linked me to.
23:24 seanz Let's...wait on that.
23:24 forrest that's a pretty good movie
23:24 forrest second one wasn't bad either
23:24 whiteinge kristen wiig is freakin' awesome
23:25 Mua joined #salt
23:26 seanz whiteinge: I think the image forrest sent will work. (I just tried it in my presentation)
23:26 whiteinge coolio
23:26 seanz The presentation is titled: "Why whiteinge left Cars - an expository investigation"
23:27 seanz There are a lot of pictures of you, your family, others you know...leaving your house, driving, etc.
23:27 seanz In reality, it's a 5-minute lightning talk at a local python meetup.
23:27 whiteinge both sound a little creepy
23:28 forrest seanz, oh cool, let me know if you need some slides, depending on the topic I have a 'intro to salt' presentation I made last month, so it's fairly up to date
23:28 seanz forrest: Most definitely! Where can I find them?
23:28 seanz At the very least, I'd like to verify that I'm including all the important bits.
23:28 seanz (back in a few minutes)
23:28 redondos joined #salt
23:29 forrest seanz, here you go: http://goo.gl/RRe9vH
23:29 forrest keep in mind that this was something I did with a live demo
23:29 forrest and feel free to steal whatever you want.
23:31 alunduil joined #salt
23:32 jacksontj joined #salt
23:32 whiteinge seanz: ok, verified that it does work on 0.16.4
23:32 whiteinge ...with a few (ignorable) errors
23:34 whiteinge seanz: http://paste.fedoraproject.org/71173/05200551
23:35 whiteinge seanz: i wasn't able to get it working with the python lib for untaring but shelling out to tar looks to work (the "tar_options" option determines)
23:37 Gifflen joined #salt
23:37 seanz whiteinge: Trying it out.
23:37 redondos joined #salt
23:37 seanz forrest: Thanks. This is a great presentation to verify mine against. I'm happy to say I at least had some of what you covered in mine.
23:38 forrest seanz, yea no problem! I'd be impressed if you stuffed 30+ minutes into a 5 minute lightning talk :P
23:38 seanz forrest: haha - I was supposed to give this talk in Decemeber. The fact that I had to wait a month is because so many *other* people weren't able to fit within their time constraints.
23:39 forrest lol
23:39 seanz I'm hoping to cover the highlights only, for sure.
23:39 forrest That's good though, better more people talking than fewer!
23:39 seanz This is true.
23:39 seanz whiteinge: Hm - I still get the same error. Maybe I grabbed the wrong archive.py files.
23:39 seanz I'm getting the links to the ones I downloaded.
23:40 seanz whiteinge: https://raw.github.com/saltstack/salt/develop/salt/states/archive.py
23:40 seanz That was the states file.
23:41 seanz This was the modules file: https://raw.github.com/saltstack/salt/develop/salt/modules/archive.py
23:49 redondos joined #salt
23:52 jtang joined #salt
23:53 foxx joined #salt
23:58 techhat joined #salt
23:58 dstanek joined #salt
23:59 taion809 joined #salt

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