Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-30

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

All times shown according to UTC.

Time Nick Message
00:00 ni638629 joined #salt
00:01 * Gareth mutters about windows and it's lack of %s support for date functions.
00:02 ni638629 left #salt
00:03 summers joined #salt
00:11 diegows joined #salt
00:11 keerleb joined #salt
00:18 aron_kexp joined #salt
00:22 younqcass joined #salt
00:27 aqua^mac joined #salt
00:27 stevednd UtahDave: are there any plans to shorten the release cycle for salt?
00:28 Ryan_Lane stevednd: it's switching to a quarterly release cycle, starting with next release
00:29 Ryan_Lane this is for you splunk users out there :) https://github.com/saltstack/salt/pull/19285
00:29 stevednd Ryan_Lane: thanks. Do you have a recommended way for keeping salt up to date when tracking a git branch?
00:29 Ryan_Lane stevednd: you may not want to do what I'm doing :)
00:29 stevednd is it best to use the saltify cloud provider?
00:30 Ryan_Lane I don't know. I use tarballs of virtualenvs
00:30 stevednd that's entirely possible
00:30 Ryan_Lane I'm using AWS
00:30 Ryan_Lane so I stick them into S3
00:30 Ryan_Lane and I have my instances pull down the tarball, and untar them
00:30 stevednd ahh
00:30 Ryan_Lane then I run salt
00:31 Ryan_Lane I install any necessary system packages first, of course
00:31 Ryan_Lane 0mq, for instance
00:31 Ryan_Lane hm. do I install that anymore? I actually install very little
00:32 Corey iggy: Oh, I love my job. But I'm a consultant, and this environment belongs to a client. :-)
00:32 Corey iggy: The good part is I GET TO LEAVE. :-)
00:32 Ryan_Lane yep, m2crypto, 0mq, and a few python dependencies
00:33 Ryan_Lane stevednd: I have a fork of salt and I have a stable branch in my fork
00:33 Ryan_Lane I generate my venv tarballs from a docker container
00:34 Ryan_Lane that way it's replicating the environment completely
00:34 Ryan_Lane or, well, closely enough
00:34 stevednd I do nothing with virtualenvs, but I have been thinking about doing more with docker
00:34 ahammond venvs are fabulous
00:34 Ryan_Lane the venvs put all the python and its dependencies together into a single location
00:35 Ryan_Lane and you can create them from git branches
00:35 stevednd that does sound handy. I know almost nothing about working with python itself.
00:35 stevednd left #salt
00:35 Ryan_Lane I'd probably just use the packages, but we tend to submit a lot of fixes to salt and don't want to wait for the next release
00:35 stevednd joined #salt
00:36 stevednd I should probably look into some of this
00:36 geekatcmu venvs are kind of like git.
00:36 geekatcmu Initially you look at them and say, "meh, this seems like a lot of overhead for little gain."
00:37 geekatcmu Then you go to deploy something you developed on your desktop and discover a dozen dependencies you didn't realize you had, because your desktop is basically "pip INSTALL ALL THE THINGS".
00:39 stevednd geekatcmu: sounds similar to using rbenv and bundler for ruby
00:39 stevednd I figured there was something like that for python as well
00:42 stevednd is there some benefit to using them over docker containers?
00:43 geekatcmu Dunno.
00:43 geekatcmu I have zero experience with docker
00:43 geekatcmu It doesn't really apply to any of the things I care about these days
00:44 Ryan_Lane stevednd: I'd use them even with docker
00:44 jcockhren haha. Ryan_Lane beat me to it
00:44 aurynn pyenv makes development a lot easier
00:44 aurynn I found
00:44 Ryan_Lane (in fact, I use them with docker)
00:44 aurynn because it makes virtualenvs suck markedly less
00:45 brianfeister joined #salt
00:45 aurynn pyenv virtualenv blah && cd proj_dir && pyenv local blah
00:45 aurynn and now I have a virtualenv that kicks in as I enter/exit proj_dir
00:45 aurynn *joy*
00:45 ahammond jcockhren and Ryan_Lane both beat me to it.
00:46 ahammond virtualenv + requirements.txt is an absolutely manditory first step for any python project I'm working with... because the second step is setting up auto-build and test with buildbot, and that pretty much requires the first step (unless you like to suffer)
00:47 aurynn ahammond, VMs or docker reduce that pain somewhat
00:47 robawt ahammond++++++ yes absolutely
00:47 ahammond aurynn I was talking about virtualenvs and using a requirements.txt file.
00:47 aurynn yes
00:47 ahammond aurynn, however for some testing, VMs are essential, too.
00:48 jcockhren yeah. I don't really see a case for python dev without virtualenv and I'm sure its the same for most of the community. That's probably why it's built into python3
00:48 aurynn for serious though, pyenv + pyenv-virtualenv
00:48 aurynn stock virtualenv is awful
00:49 jcockhren there's also virtualenvwrapper
00:50 jcockhren I like to sometimes one codebase/directory using multiple envs.
00:51 jcockhren and there are some python libs that I want to use regardless of project but still isolate it all from the system pythons+libs
00:52 singularo joined #salt
00:52 singularo joined #salt
00:53 aqua^mac joined #salt
01:05 pdayton joined #salt
01:47 glyf joined #salt
01:48 programmerq joined #salt
01:48 keerleb joined #salt
01:52 TyrfingMjolnir joined #salt
01:58 B joined #salt
02:00 fishdust joined #salt
02:02 emid joined #salt
02:21 brianfeister joined #salt
02:28 bhosmer__ joined #salt
02:28 nitti joined #salt
02:29 brianfeister joined #salt
02:33 younqcass joined #salt
03:01 pentabular joined #salt
03:02 pentabular left #salt
03:09 Mso150 joined #salt
03:13 TheThing joined #salt
03:22 berto- joined #salt
03:27 mgw joined #salt
03:31 JlRd joined #salt
03:49 keerleb joined #salt
04:21 hasues joined #salt
04:21 hasues left #salt
04:55 meylor joined #salt
04:55 avatar joined #salt
04:55 avatar left #salt
04:56 meylor joined #salt
05:02 meylor Is there a Salt equivalent to Puppet's Hiera? specifically I want to be able to define topologies for 1 to many environments and want to be able to keep the data separate from the state. I see pillars but do those integrate with salt-cloud and salt?
05:05 aurynn pillars integrate with salt, and salt-cloud can be used from salt
05:05 meylor aurynn: what do you mean by "and salt-cloud can be used from salt"
05:05 aurynn just that
05:05 aurynn salt-cloud states can be used from inside salt
05:06 meylor is there a term for that?
05:07 meylor from what I've read in the docs, salt-cloud can read in profiles and maps but it can also use pillar info from salt?
05:10 meylor http://docs.saltstack.com/en/latest/topics/cloud/salt.html
05:11 meylor that's what I was looking for. i wasn't sure if it was possible
05:11 meylor thanks
05:19 brianfeister joined #salt
05:21 mgw joined #salt
05:31 Ryan_Lane joined #salt
05:51 keerleb joined #salt
05:54 malinoff joined #salt
06:00 stoogenmeyer__ joined #salt
06:00 Furao joined #salt
06:03 catpigger joined #salt
06:15 swa_work joined #salt
06:21 ndrei joined #salt
06:29 bhosmer_ joined #salt
06:31 singularo joined #salt
06:38 kermit joined #salt
06:45 mgw1 joined #salt
06:47 aquinas joined #salt
06:49 mgw joined #salt
06:53 keerleb joined #salt
06:58 xsteadfa1 joined #salt
07:03 ttrumm joined #salt
07:04 keerleb joined #salt
07:18 monkey66 joined #salt
07:24 flyboy joined #salt
07:31 stoogenmeyer__ joined #salt
07:44 slafs joined #salt
07:46 stoogenmeyer_ joined #salt
07:52 freimer joined #salt
07:58 slafs left #salt
07:59 trikke joined #salt
07:59 keerleb joined #salt
08:05 nethershaw joined #salt
08:06 keerleb joined #salt
08:16 TheThing joined #salt
08:21 iwishiwerearobot joined #salt
08:24 meylor joined #salt
08:24 meylor joined #salt
08:35 shoma joined #salt
08:45 cberndt joined #salt
09:00 ttrumm joined #salt
09:00 Sypher joined #salt
09:01 aw110f joined #salt
09:05 giannello joined #salt
09:08 SheetiS joined #salt
09:09 keerleb joined #salt
09:10 Mso150 joined #salt
09:13 Valdo joined #salt
09:14 lothiraldan joined #salt
09:21 keerleb joined #salt
09:24 ramishra_ joined #salt
09:25 xliiv joined #salt
09:26 abele_ joined #salt
09:26 georgemarshall joined #salt
09:26 copelco joined #salt
09:26 kormoc joined #salt
09:26 kossy joined #salt
09:27 mohae joined #salt
09:28 Sway joined #salt
09:28 superted666_____ joined #salt
09:28 monkey66 left #salt
09:31 N-Mi joined #salt
09:31 N-Mi joined #salt
09:32 jrluis joined #salt
09:33 dRiN joined #salt
09:42 ttrumm joined #salt
09:43 keerleb joined #salt
09:46 SheetiS joined #salt
09:50 younqcass joined #salt
09:54 keerleb joined #salt
09:54 aqua^mac joined #salt
09:54 JlRd joined #salt
09:55 younqcass_ joined #salt
10:00 cpt-oblivious joined #salt
10:10 otter768 joined #salt
10:10 iwishiwerearobot joined #salt
10:11 TheThing joined #salt
10:14 swingswing joined #salt
10:15 swingswing hello,everyone, can syndic-master set two or more topmasters?
10:31 bhosmer__ joined #salt
10:36 ttrumm joined #salt
10:42 seshan joined #salt
10:48 seshan I have been trying this for quite sometime now .. and not able to get it working.
10:48 seshan https://www.refheap.com/95589
10:48 seshan sample code goes here ..
10:55 ttrumm joined #salt
10:55 swingswing joined #salt
10:56 ttrumm_ joined #salt
10:57 swingswing joined #salt
11:08 badon joined #salt
11:08 bhosmer joined #salt
11:23 freimer I'm not getting any reactor triggers when I receive events: https://www.refheap.com/95590
11:23 freimer Any ideas?  I am getting the events, as can be seen in the log and the eventlisten.py I ran.  But it doesn't look like it is doing anything with the reactor sls file...
11:25 iwishiwerearobot joined #salt
11:30 freimer On line 13, I had the tag for the event start with salt initially, but I changed it to git thinking that maybe Salt was filtering events that start with salt...  So they do match in what is sent in the event and what the reactor is configured to listen for...
11:39 bhosmer joined #salt
11:50 beardo_ joined #salt
11:52 aqua^mac joined #salt
11:54 benjy How come nearly all the docs only have the CLI examples? Is there an easy way to find examples for sls files? Or maybe a way to convert one to the other that i'm not aware of?
12:00 Furao benjy: there is examples in the doc http://salt.readthedocs.org/en/latest/topics/index.html
12:00 Furao https://github.com/bclermont/states this is quite old but can you show real example that used to works
12:00 benjy Furao: i'm looking at this page for example: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.hosts.html
12:00 cobakobodob joined #salt
12:00 herzi joined #salt
12:00 benjy and I see no reason why there wouldn't be some examples for doing this stuff in the file?
12:01 Furao because this is a module
12:01 Furao module should not be called in .sls (but they can be)
12:02 cobakobodob joined #salt
12:02 Furao for .sls use http://docs.saltstack.com/en/latest/ref/states/all/salt.states.host.html#module-salt.states.host
12:02 benjy Furao: I' a newb with Salt, only started in the last day or so. What would be the recommend way to set a host entry?
12:03 Furao look last url
12:03 benjy o, that's exactly what i need
12:03 benjy thank you
12:03 benjy i'm guessing when I google, i need to include the word "states"
12:03 Furao basically modules is the main logic and states call modules
12:06 cobakobodob joined #salt
12:09 benjy Furao: is it common use to just run them from the command line?
12:09 benjy that would seem to me that you have no canonical place of what has been run if you did that
12:10 younqcass joined #salt
12:11 otter768 joined #salt
12:14 cobakobodob joined #salt
12:16 jchen joined #salt
12:19 badon_ joined #salt
12:30 cobakobodob joined #salt
12:32 cobakobodob joined #salt
12:34 vbabiy joined #salt
12:34 seanz joined #salt
12:44 jespada joined #salt
12:45 thawes joined #salt
12:46 vbabiy joined #salt
12:55 lothiraldan joined #salt
12:56 Roee joined #salt
12:56 Roee Hi all
12:56 Roee Does someone have an experience with salt-api ?
12:57 Roee i'm trying to connect jenkins with salt
12:57 Roee seems that something is not configured properly in my master and they could'nt connect
12:58 Roee appreciate your help
13:01 younqcass_ joined #salt
13:06 TyrfingMjolnir joined #salt
13:06 torment joined #salt
13:30 numkem I've very newbie on that front but I've had to play with external_auth for halite
13:31 numkem have you configured the external_auth part in master conf?
13:31 numkem Roee: sorry for the delay
13:32 xsteadfastx joined #salt
13:33 Roee hi thanks
13:33 Roee actually no, just installed the salt-api
13:34 lothiraldan joined #salt
13:34 numkem Also, seems like '@wheel' and '@runner' was necessary by halite so I wouldn't be surprised if jenkins needs it as well for creating jobs and getting their status
13:40 aqua^mac joined #salt
13:41 Roee thanks i will check this
13:41 jaimed joined #salt
13:45 bhosmer joined #salt
14:01 nitti joined #salt
14:01 bhosmer joined #salt
14:03 cleme1mp_ joined #salt
14:05 manji joined #salt
14:09 sgregory_ joined #salt
14:09 ggoZ joined #salt
14:10 glyf joined #salt
14:12 otter768 joined #salt
14:21 goudale joined #salt
14:21 goudale hi
14:21 goudale On my Ubuntu, I have /etc/shadow- besides /etc/shadow, with the same sha1
14:21 goudale is it a file created by salt to manage users ?
14:22 manji left #salt
14:22 ze- goudale: non, I have it on a non-salt host.
14:22 murrdoc joined #salt
14:22 numkem goudale: I have on a non-salt host as well
14:23 murrdoc morning
14:26 mapu joined #salt
14:26 monkey661 joined #salt
14:27 mpanetta joined #salt
14:27 goudale looks like they are simple backups
14:27 goudale http://unix.stackexchange.com/questions/53128/difference-between-passwd-and-passwd-file
14:28 numkem What does the insecure_registry option in the docker.pulled state? Doesn't seem like it's changing anything
14:30 perfectsine joined #salt
14:31 mpanetta joined #salt
14:39 bhosmer joined #salt
14:40 bhosmer Channel: help me sell SALT over ansible to a colleague. I've never used ansible and want give him some reasons.
14:41 murrdoc http://ryandlane.com/blog/2014/08/04/moving-away-from-puppet-saltstack-or-ansible/
14:41 murrdoc also ansible is == salt-ssh
14:41 murrdoc so you get much more with salt
14:41 bhosmer Yeah, I told him about zeromq as opposed to ssh
14:42 nahamu (and some day RAET...)
14:42 ben_ko joined #salt
14:42 numkem to me its things like grain and pillar that makes you able to automate the heavy lifting required by ansible to write the hosts files
14:42 Furao joined #salt
14:43 bhosmer How does ansible accomplish that? Or does it not? Can I target things with ansible?
14:43 ben_ko Hi guys, has someone a comprehensive guide at hand on how to set up a salt-minion in OSX?
14:44 numkem you can with the hosts file but you have to specify them by hand. With salt you can match states with things defined in many ways both on the client and server side
14:44 ben_ko or, for that matter, tell me it is not possible to do so (to preserve my sanity).
14:45 numkem or even by say the os or even crazy cool thinks like matching by subnet
14:46 numkem it could have evolved since than but I still feel like you end up doing a lot of manual labor for a tool that is in the end should do it for you
14:47 numkem So I ended up going with puppet and I regret it because it's just not as flexible as you think
14:47 numkem plus ruby is just there to annoy me I think...
14:48 bhosmer numkem: That was one of my arguments too. I've seen puppet and I hated the config files written in ruby. The guy I'm trying to convince is definitely more experienced with puppet than I am.
14:49 numkem I spent hours trying to figure out how to do an override only to realise it was ['']... How is that supposed to be making sens?
14:50 heaumer in a salt module, how can i return a string and tell salt to output it in red instead of green?
14:50 heaumer (also, hello :)
14:51 _JZ_ joined #salt
14:58 bhosmer_ joined #salt
14:59 sgregory_ @heaumer this might point you in the right direction: https://github.com/saltstack/salt/blob/develop/salt/output/grains.py
14:59 lothiraldan_ joined #salt
15:01 sgregory_ @heaumer I too am looking into doing that for something I'm working on, I just haven't quite gotten that far yet.
15:01 diegows joined #salt
15:02 heaumer sgregory_: i found https://hveem.no/salt-cli-visualization-using-runner-and-outputter
15:02 heaumer your's seems simpler
15:03 perfectsine_ joined #salt
15:05 cleme1mp joined #salt
15:07 murrdoc joined #salt
15:07 numkem Does anyone have experice with using the docker module in Salt?
15:08 numkem Trying to pull a private repo with a tag and it's only pulling latest
15:09 xt hey, that's my blog!
15:09 xt haven't used that block outputter for a long time, there's probably better ways to do it now
15:11 heaumer sgregory_: xt any idea where the __opts__ comes from in the https://github.com/saltstack/salt/blob/develop/salt/output/grains.py ?
15:11 murrdoc cli options
15:11 heaumer oh
15:11 snave joined #salt
15:14 murrdoc or in this case, outputter options
15:17 heaumer hm, if i use http://paste.awesom.eu/2Igt&ln
15:17 heaumer calling it via salt gives me:  ?[0;31mhi?[0m (in green)
15:17 heaumer what am i doing wrong?
15:17 sr4f joined #salt
15:18 heaumer i trieds using http://misc.flogisoft.com/bash/tip_colors_and_formatting color codes but same results..
15:18 housl joined #salt
15:19 andrew_v joined #salt
15:21 iggy ben_ko: it should be possible... did you see if the bootstrap script has support for it?
15:21 lothiraldan joined #salt
15:24 fala joined #salt
15:25 favadi_ joined #salt
15:26 glyf joined #salt
15:26 mordonez joined #salt
15:26 pdayton joined #salt
15:26 monkey661 left #salt
15:26 mordonez joined #salt
15:29 aqua^mac joined #salt
15:31 quantumsummers joined #salt
15:32 netw joined #salt
15:34 sgregory_ @heaumer running that in the python repl works for me
15:34 sgregory_ will try it in salt
15:35 ws1989 joined #salt
15:38 sgregory_ @heaumer try setting the outputter for ok to txt
15:39 diegows joined #salt
15:40 dude051 joined #salt
15:52 heaumer sgregory_: ok, if i do: salt-call main.ok --out txt (testing only locally for now), it works
15:52 heaumer can i set the outputter within the module itself?
15:53 sgregory_ you can add __outputter__ = { 'ok' : 'txt' }
15:53 sgregory_ inside your module
15:53 heaumer magic :-)
15:54 heaumer as a side question, why doesn't salt.output.txt.output() throws me a « AttributeError: 'module' object has no attribute 'txt' », although it is documented here: http://docs.saltstack.com/en/latest/ref/output/all/salt.output.txt.html#module-salt.output.txt ?
15:55 heaumer thanks anyway, i'll use the __outputter__, much easier to use :-)
15:55 CeBe joined #salt
15:58 sgregory_ you might have to explicitly import salt.output.txt
15:58 sgregory_ but calling output on that just returns a string
15:58 heaumer hu, ok
16:01 goudale f%ck, 75% of my minion get down in a row, service is still running on minion but does not shows on the master, nothing in the logs
16:01 goudale this is annoying
16:01 goudale now I have to ssh all those and restart them manually :/
16:02 goudale or maybe if I restart just the master ?
16:02 ajolo joined #salt
16:03 goudale bad idea, now ``salt-run manage.status`` does not seems to returns
16:05 murrdoc what does test.ping return
16:05 iggy goudale: usually I just send a couple of test.ping's and all my minions start responding again
16:05 murrdoc i almost always run a test.ping before doing anything with salt
16:05 goudale test.ping hang for a while, now returning the 25% minions ups
16:05 murrdoc how many minions and masters
16:06 goudale I set a timeout of 120s, but it is not helping
16:06 goudale murrdoc: 1 master and 14 minions
16:07 goudale simple config, everyone is an ubuntu
16:07 murrdoc weird, thats not too many
16:07 goudale runned a few more pings, no progression, still 75% down
16:08 heaumer sgregory_: huhu, http://paste.awesom.eu/CE8t&ln : 'ok' works, but 'ok2' fails...
16:08 goudale last lines in /var/log/tadc/minion/
16:08 goudale 2014-12-30 14:35:49,843 [salt.loaded.int.module.cmdmod][ERROR   ] Command "grep foouser '/etc/shadow-'" failed with return code: 1
16:08 goudale 2014-12-30 14:35:49,845 [salt.loaded.int.module.cmdmod][ERROR   ] output:
16:08 heaumer local: hi ('hi' in red) for ok
16:08 heaumer local:\n    ?[0;31mlol?[0m for ok2
16:08 goudale did that makes minions fails ?
16:09 overyander joined #salt
16:09 goudale no, alive minions have those lines as well
16:10 heaumer oh wait a minute
16:10 diegows joined #salt
16:10 * heaumer just understood how setting the outputter works
16:11 sgregory_ yeah sorry I could have explained that better
16:12 jalbretsen joined #salt
16:12 heaumer np, and well, is there a way to set it for every exported methods? :p
16:12 heaumer i should have tried to understand better
16:13 murrdoc no, i should have intervened and helped better
16:13 otter768 joined #salt
16:13 murrdoc :)
16:14 Ozack1 joined #salt
16:14 sgregory_ It doesn't look like there is : https://github.com/saltstack/salt/blob/ea7af4fb65b9aed73883edf0dd2d8ac487dbe704/salt/loader.py#L1226
16:15 perfectsine joined #salt
16:17 heaumer i'll try to toy around dir()/globals() and relatives to list them all then
16:18 badon_ joined #salt
16:18 goudale now if I run ``salt-call -l debug state.sls <somestate>`` on a down minion, it actually execute and update the state
16:18 goudale so I guess the minion can actually connect the master, but the master still not sees the minion
16:20 sgregory_ does salt-key show the minion?
16:20 goudale sgregory_: yes, as well as manage.status
16:21 goudale i am running elasticsearch and logstash on the master, maybe I ran out of file descriptors ?
16:21 goudale not very credible since when I restart a minion, it shows on the master
16:22 sgregory_ anything in the minion log on on the down machines?
16:22 goudale nothing of interrest
16:23 goudale the minion process is still alive and running, it just loosed connection
16:23 goudale lsof | wc -l
16:23 goudale lsof | wc -l => 1272
16:23 goudale ulimit -n => 1024
16:24 goudale so I guess I have reached the maximum openable file descriptors
16:24 iggy it probably didn't lose connection... the master just hadn't gotten anything from it, so it doesn't show up in manage.status
16:25 programmerq joined #salt
16:25 sgregory_ the minion should have its own fd limit though, right?
16:25 sgregory_ cat /proc/sys/fs/file-max
16:26 goudale sgregory_: 379090
16:26 sgregory_ yeah, so you're not running out of open files
16:26 programmerq joined #salt
16:26 goudale indeed, just checko
16:27 goudale checked with ``sysctl fs.file-nr``
16:27 sgregory_ yeah
16:27 goudale do you have any idea what can going on ?
16:28 jeffspeff joined #salt
16:28 goudale any suggestions appreciated
16:28 sgregory_ so you said restarting the minion "fixes" it
16:28 goudale maybe the simplest fix would be to cron the minion start
16:28 sgregory_ is there something you're doing before they stop working?
16:28 sgregory_ haha
16:28 sgregory_ so when I ran into this we had a problem in an init script
16:29 sgregory_ it wasn't redirecting output correctly
16:29 sgregory_ and the salt-minion would wait for stdin or stdout to close before it exited
16:29 sgregory_ or something along those lines
16:29 goudale nothing special, last executed command was ``cmd.run "grep ...."`` that returned a non-zero value
16:29 heaumer for those interested, the following works: http://paste.awesom.eu/dynn
16:30 goudale I guess I will restart them all manually
16:30 sgregory_ @heaumer  nice
16:31 thawes joined #salt
16:31 heaumer i never did python before, i have to admit the language is agreable
16:37 acabrera joined #salt
16:39 thawes joined #salt
16:42 glyf joined #salt
16:47 conan_the_destro joined #salt
16:48 numkem python is my light through the clouds, that "haaaaaaa" momment
16:48 numkem pretty much the same thing that happened when I discovered linux. Computer and coding can be fun
16:49 fishdust joined #salt
16:58 funzo joined #salt
16:59 fishdust joined #salt
17:00 pmcg joined #salt
17:01 glyf joined #salt
17:01 ndrei joined #salt
17:04 goudale joined #salt
17:07 mordonez joined #salt
17:08 beneggett joined #salt
17:08 forrest joined #salt
17:11 REdOG joined #salt
17:12 ska joined #salt
17:18 KyleG joined #salt
17:18 KyleG joined #salt
17:18 aqua^mac joined #salt
17:22 murrdoc :)
17:24 SheetiS joined #salt
17:29 theologian joined #salt
17:32 aron_kexp joined #salt
17:51 rap424 joined #salt
17:54 spookah joined #salt
17:54 spookah joined #salt
17:55 kballou joined #salt
18:00 jpalmer joined #salt
18:01 iggy basepi: do you know if your change to disable compound matching for mine functions was backported to 2014.1 branch?
18:05 ajolo joined #salt
18:10 iggy I'm to the point where I can't find a single version of salt that actually works
18:12 Mso150 joined #salt
18:17 scott2b joined #salt
18:20 stephas joined #salt
18:23 agend joined #salt
18:30 Ryan_Lane joined #salt
18:34 cpt-oblivious_ joined #salt
18:35 snaga joined #salt
18:37 __alex joined #salt
18:38 snaga having some trouble with gitfs on an Ubuntu 12.04 salt master. getting this:
18:38 snaga Exception 'This transport isn't implemented. Sorry' caught while fetching gitfs remote git+ssh://git@.....
18:38 snaga I have installed python-git
18:40 iggy snaga: what version of salt?
18:40 schristensen joined #salt
18:41 snaga salt 2014.7.0 (Helium)
18:42 stoogenmeyer joined #salt
18:43 snaga iggy: ^^^
18:43 iggy did you see the note about having to install GitPython from pip/easy_install on 12.04?
18:43 snaga no I did not. I used apt-get. where is that note?
18:44 iggy on the gitfs walkthrough page
18:44 snaga found it, thanks
18:46 aw110f joined #salt
18:48 mapu joined #salt
18:50 shoma joined #salt
18:57 debian112 joined #salt
19:00 Furao joined #salt
19:03 Edgan joined #salt
19:07 aqua^mac joined #salt
19:11 gngsk joined #salt
19:12 julius joined #salt
19:16 smokerings joined #salt
19:16 smokerings Smoke weed every day ~---> http://VisitsToMoney.com/index.php?refId=604352
19:16 smokerings le day http://VisitsToMoney.com/index.php?refId=604352
19:16 smokerings every single day * http://VisitsToMoney.com/index.php?refId=604352
19:17 smokerings bwahahahahahahah ~---> http://VisitsToMoney.com/index.php?refId=604352
19:22 druonysus joined #salt
19:25 Thiggy joined #salt
19:25 nitti_ joined #salt
19:26 t0rrant joined #salt
19:36 nitti joined #salt
19:40 thawes joined #salt
19:44 robawt I feel like I can gauge internet activity by how busy #salt is
19:44 murrdoc :)
19:46 Luijk joined #salt
19:50 nitti joined #salt
19:50 Luijk I am trying to launch a instance in EC2 with salt-cloud. Everything is working apart from a public IP address is not being associated with the instance. Does anyone have any pointers?
19:52 thawes joined #salt
19:53 basepi iggy: I think I did it but the pull request was closed because it was breaking other things. Let me see if I can find it
19:55 iggy 2014.1.13+ definitely refuses to do anything with compound mine.get's (and I eventually found the log messages to verify)
19:56 basepi iggy: Oh, I'm sure it's not in a 2014.1 release, I was just hoping it was in the branch
19:57 basepi iggy: Realized I dropped the ball on getting that merged. So I just merged it: https://github.com/saltstack/salt/pull/18233
19:58 diegows joined #salt
19:58 forrest Jeez that basepi guy, what a slacker
20:02 Deevolution left #salt
20:03 Mso150 joined #salt
20:05 Deevolution joined #salt
20:07 rypeck joined #salt
20:07 bfoxwell joined #salt
20:14 netw_ joined #salt
20:15 otter768 joined #salt
20:29 ingwaem joined #salt
20:30 mattjb joined #salt
20:31 druonysus joined #salt
20:31 iggy basepi: yeah, we were running from the 2014.1 branch (not a release) since the 2014.1 packages are gone and 2014.7.0 won't work for us
20:31 iggy for now, I've just rolled everything back to 2014.1.10
20:33 JlRd joined #salt
20:36 basepi forrest: =D
20:36 mordonez joined #salt
20:36 cAn8man2 joined #salt
20:36 basepi iggy: sounds good. 2014.7.1 should be very close, hoping for next week when everyone is back from vacation.
20:38 vbabiy joined #salt
20:39 netw joined #salt
20:42 iggy sadly, we've already missed the window for our next release, so I won't be able to play with it till probably after march
20:48 iggy going to be a little weird doing a saltconf talk when I'm stuck over a year back in releases
20:52 basepi Hehehe, you wont' be the only one. Just look at Ahlee! ;)
20:56 aqua^mac joined #salt
20:56 overlooknova joined #salt
21:04 BrianJ joined #salt
21:05 iggy I don't want to think about that
21:06 netw joined #salt
21:11 thawes joined #salt
21:15 Thiggy if you use the extension_modules configuration directive, can you put modules, grains, and pillar directories in there?
21:16 Thiggy Or do you still have to put the '_modules' directory in the  base thing?
21:19 netw joined #salt
21:22 Mso150 joined #salt
21:28 younqcass joined #salt
21:31 mapu joined #salt
21:41 peters-tx0 joined #salt
21:43 peters-tx joined #salt
21:43 cberndt joined #salt
21:50 CeBe joined #salt
21:59 dooshtuRabbit joined #salt
22:00 BrianJ left #salt
22:05 cAn8man2 how do i retrieve user and uid in this example http://docs.saltstack.com/en/latest/topics/tutorials/pillar.html, the example give me error "Jinja variable 'list object' has no attribute 'items'"
22:06 iggy {% for user, uid in salt['pillar.get']('users') %} (maybe)
22:07 iggy not a big yaml reader
22:07 nafg_ joined #salt
22:08 cAn8man2 thanks iggy, let me try
22:10 cAn8man2 no, throw more errors
22:15 otter768 joined #salt
22:17 forrest joined #salt
22:26 KaaK joined #salt
22:27 singularo joined #salt
22:28 iggy try pasting the code you're working with, the errors, etc.
22:31 KaaK is it possible (in any way) to register the output of a command in one state as input to another state?
22:32 iggy no(t easily)
22:32 KaaK im running into trouble doing the deployment of a tarbal. They are numbered according to a build number, along with a latest build that is symlinked to the last build number
22:32 KaaK i want to deploy this latests tarbal, but I have to know what its build number is as part of the deployment processes
22:33 KaaK that is, 1) get <LATEST>, 2) read build info, 3) deploying according to build info
22:33 iggy {% set tarball = salt['cmd.run']('ls /path/to/tarballs | tail -n1') %}
22:33 iggy or something similar
22:33 iggy pretty sure that's how most people are handling things like that atm
22:34 iggy but I think it would be a nice addition to salt at some point... just comes down to how to have that interface
22:36 KaaK iggy, where does the `salt['cmd.run']` get executed? on the master or on the targeted minion?
22:37 iggy depends
22:37 iggy if you put it in the pillar it runs on master, if you put it in a state file/etc it runs on the minion
22:38 iggy pretty sure anyway
22:41 KaaK thanks iggy! I think this will get the job done
22:42 iggy I think there might be a bug open about supporting output from one state going to another... might want to see if you can find it and follow it
22:44 kermit joined #salt
22:45 aqua^mac joined #salt
22:46 Ryan_Lane joined #salt
22:48 aquinas joined #salt
22:52 SheetiS joined #salt
22:52 Diaoul joined #salt
22:59 cAn8man2 left #salt
23:06 Ryan_Lane joined #salt
23:16 nickdew joined #salt
23:16 ckao joined #salt
23:18 glyf joined #salt
23:22 nitti joined #salt
23:25 MindDrive joined #salt
23:33 viq joined #salt
23:35 nickdew left #salt
23:38 ampex joined #salt
23:40 ggoZ joined #salt
23:41 nickdew joined #salt
23:41 singularo joined #salt
23:41 singularo joined #salt
23:49 Diaoul joined #salt
23:52 pdayton joined #salt
23:59 superted666_____ joined #salt
23:59 Gareth eliasp: ping
23:59 eliasp Gareth: pong

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