Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-02-05

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

All times shown according to UTC.

Time Nick Message
00:02 amcorreia joined #salt
00:03 nitti joined #salt
00:06 sh-ricky joined #salt
00:07 iwishiwerearobot joined #salt
00:16 yomilk joined #salt
00:18 sh-ricky joined #salt
00:19 spiette joined #salt
00:19 giantlock joined #salt
00:19 GabLeRoux joined #salt
00:20 GabLeRoux joined #salt
00:29 cao joined #salt
00:32 ALLmight_ joined #salt
00:37 yomilk joined #salt
00:37 sumguy joined #salt
00:37 sumguy left #salt
00:43 sh-ricky joined #salt
00:48 nitti joined #salt
00:51 Singularo joined #salt
00:52 Singularo joined #salt
00:54 sumguy joined #salt
00:54 sumguy left #salt
00:55 lynxman joined #salt
00:58 socket76 joined #salt
00:58 ajw0100 joined #salt
00:59 Singularo_ joined #salt
01:00 bash1234123123 joined #salt
01:02 echtish joined #salt
01:10 scoates joined #salt
01:15 dimeshake_ joined #salt
01:17 elfixit joined #salt
01:19 otter768 joined #salt
01:19 aqua^mac joined #salt
01:21 singularo joined #salt
01:26 Nazzy joined #salt
01:26 aCodinMan joined #salt
01:30 keeth joined #salt
01:32 mdasilva joined #salt
01:37 nitti joined #salt
01:38 aCodinMa_ joined #salt
01:39 aCodinM__ joined #salt
01:42 yomilk joined #salt
01:53 aCodinMan joined #salt
01:54 keeth joined #salt
01:55 iwishiwerearobot joined #salt
01:59 timoguin joined #salt
02:01 badon joined #salt
02:02 iwishiwerearobot joined #salt
02:08 mpoole joined #salt
02:11 CheKoLyN joined #salt
02:18 aparsons joined #salt
02:28 viq joined #salt
02:34 TTimo joined #salt
02:36 TTimo setting up a new set of docker containers with latest saltstack release, and salt-call invocations have started segfaulting on me :(
02:36 aparsons joined #salt
02:37 thedodd joined #salt
02:46 aparsons joined #salt
02:48 ilbot3 joined #salt
02:48 Topic for #salt is now Welcome to #salt | SaltConf 2015 is Mar 3-5! http://saltconf.com | 2014.7.1 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/
02:49 twellspring joined #salt
02:49 MatthewsFace joined #salt
02:51 Nazca__ joined #salt
02:53 keeth joined #salt
02:57 hasues joined #salt
02:57 hasues left #salt
03:00 favadi joined #salt
03:00 Furao joined #salt
03:00 beneggett joined #salt
03:06 detailyang joined #salt
03:08 stanchan joined #salt
03:09 druonysus joined #salt
03:09 druonysus joined #salt
03:10 aparsons joined #salt
03:10 chitown anyone here?  having a problem with mysql state
03:10 chitown MySQL Error 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock
03:11 chitown but the host and port are specified
03:14 beneggett joined #salt
03:16 MaliutaLap joined #salt
03:16 MaliutaLap joined #salt
03:20 otter768 joined #salt
03:23 TyrfingMjolnir joined #salt
03:25 mosen joined #salt
03:25 aparsons joined #salt
03:32 sh-ricky joined #salt
03:33 jalaziz joined #salt
03:37 clintberry joined #salt
03:42 dude051 joined #salt
03:43 evle1 joined #salt
03:44 aparsons joined #salt
03:58 bhosmer_ joined #salt
03:59 bfoxwell_ joined #salt
03:59 sh-ricky joined #salt
04:04 rjc joined #salt
04:11 timoguin joined #salt
04:14 favadi joined #salt
04:15 GabLeRoux joined #salt
04:15 iwishiwerearobot joined #salt
04:15 quickdry21 joined #salt
04:24 sh-ricky joined #salt
04:38 ajw0100 joined #salt
04:38 nitti joined #salt
04:51 IOMonster joined #salt
04:51 IOMonster joined #salt
04:51 theologian joined #salt
04:53 miqui joined #salt
05:00 aquinas joined #salt
05:01 hal58th joined #salt
05:04 rihannon joined #salt
05:09 rihannon joined #salt
05:10 monkey66 joined #salt
05:15 khaije1 I was able to get past the "VIServer" errors ... I found the virtual-env I created to pip-install pysphere didn't include it's own site-install dir in the $PYTHONPATH, by exporting that addition I'm now able to run salt-cloud commands
05:15 khaije1 fyi- this is on Debian testing
05:15 khaije1 left #salt
05:21 otter768 joined #salt
05:24 j_t joined #salt
05:24 j_t # salt --verbose --out txt --batch 20 -L 'b0e006ash2007.prod.me.net' cmd.run "echo drac_fw_version=`/usr/bin/ipmitool mc info|grep -i 'firmware revision'|awk '{print $4}'` > /etc/facter/facts.d/drac_version.txt"
05:24 j_t -bash: /usr/bin/ipmitool: No such file or directory
05:25 j_t If I type that exact cmd.run directly into a shell on the box it works fine
05:25 j_t any ideas what I'm doing wrong. I suspect I'm pebkac'ing somewhere, not sure where though.
05:27 TTimo joined #salt
05:46 kermit joined #salt
05:50 ramteid joined #salt
06:03 jY j_t: the `` might be running locally
06:03 favadi joined #salt
06:03 beneggett joined #salt
06:11 jerematic joined #salt
06:18 Furao joined #salt
06:20 sh-ricky joined #salt
06:20 iwishiwerearobot joined #salt
06:23 calvinh joined #salt
06:24 favadi1 joined #salt
06:29 mikeywaites joined #salt
06:30 j_t jY: Any way to not have that happen?
06:31 jY try replacing the double quotes with single quotes around the cmd.run
06:35 calvinh joined #salt
06:38 j_t jY: Thanks!
06:59 calvinh_ joined #salt
07:00 aparsons joined #salt
07:00 krelo joined #salt
07:00 colttt joined #salt
07:02 a7p joined #salt
07:02 aparsons joined #salt
07:06 toanju joined #salt
07:11 JlRd joined #salt
07:12 markm joined #salt
07:16 TTimo joined #salt
07:17 kawa2014 joined #salt
07:18 I3olle joined #salt
07:22 otter768 joined #salt
07:23 Andre-B joined #salt
07:31 favadi2 joined #salt
07:32 j_t left #salt
07:32 favadi3 joined #salt
07:32 kevc joined #salt
07:34 flyboy joined #salt
07:35 mosen joined #salt
07:36 sh-ricky joined #salt
07:47 jtang joined #salt
07:47 trikke joined #salt
07:48 KermitTheFragger joined #salt
07:49 Auroch joined #salt
07:49 spicyWith joined #salt
07:50 slafs joined #salt
07:50 slafs left #salt
07:56 iwishiwerearobot joined #salt
07:57 eseyman joined #salt
07:58 bastiandg joined #salt
07:58 dRiN joined #salt
07:58 stanchan joined #salt
08:00 jerematic joined #salt
08:00 bhosmer joined #salt
08:01 BigBear joined #salt
08:02 smithd joined #salt
08:11 beneggett joined #salt
08:13 zadock joined #salt
08:14 JlRd joined #salt
08:15 monkey66 left #salt
08:20 karimb joined #salt
08:21 bluenemo joined #salt
08:21 bluenemo joined #salt
08:22 pduersteler joined #salt
08:23 kevc salt-minion -l debug should just connect to the server, run commands to bring the system into line with the state, then exit, right?
08:23 kevc I seem to be hitting https://github.com/saltstack/salt/issues/4199
08:24 shorty_mu joined #salt
08:25 felskrone joined #salt
08:25 chiui joined #salt
08:27 mosen kevc: nah it doesn't run high state, just connects to master and waits, doesn't fork
08:29 kevc ah, so I wan"t salt-call -l debug state.highstate"
08:29 mosen ahh yep
08:29 Andre-B joined #salt
08:29 mosen possibly :)
08:31 Andre-B_ joined #salt
08:32 mikkn joined #salt
08:34 somenick_ joined #salt
08:36 matrixcal joined #salt
08:39 somenick_ There's some interesting wording in http://docs.saltstack.com/en/latest/ref/configuration/master.html#file-roots:  "The subdirectories in the multiple file roots cannot match, otherwise the downloaded files will not be able to be reliably ensured"
08:42 calvinh joined #salt
08:44 somenick_ Could somebody explain what's meant by that? I'm having issues with pillar_roots that may be based in misunderstanding that...
08:45 calvinh_ joined #salt
08:45 badon joined #salt
08:47 BigBear good morning folks
08:47 intellix joined #salt
08:49 BigBear just found that there is a module for chocolatey under windows, and I can run the cmds such as salt 'my-winpc-1' chocolatey.install npp   - just fine - which is great
08:49 calvinh_ joined #salt
08:49 somenick_ I think it ain't morning for most people here
08:49 somenick_ but good morning to you too
08:49 teogop joined #salt
08:49 flyboy joined #salt
08:50 BigBear BUT, how can i create salt states that can applly to my windows minions that use chocolatey to pkg manage the apps installed?
08:51 ramteid joined #salt
08:51 BigBear afaik only the salt-winrepo has a pkg.install cmd that is 'linked' or used to read and apply state to the windows minions to alter software installed?
08:52 ale_ joined #salt
08:53 lb1a joined #salt
08:55 fredvd joined #salt
08:55 kevc been so long since I even did much with configuration management tools
08:56 kevc can I just say, this is worlds away from cfengine :)
08:56 calvinh joined #salt
08:57 ]V[ joined #salt
09:03 viq joined #salt
09:05 TTimo joined #salt
09:07 bash1234123123 joined #salt
09:11 bash1234123123 joined #salt
09:13 malinoff joined #salt
09:16 I3olle joined #salt
09:21 Madhurranjan joined #salt
09:23 otter768 joined #salt
09:24 Madhurranjan hi, when i try to run 'salt-ssh' and pass the priv key in the roster, it fails because it tries to write that file and asks if i can rewrite the file. I wanted to know how i can just point it to the priv key that it  can use
09:25 beneggett joined #salt
09:32 primechuck joined #salt
09:33 N-Mi joined #salt
09:33 N-Mi joined #salt
09:36 paulm- joined #salt
09:39 amcorreia joined #salt
09:39 paulm-- joined #salt
09:44 moncky left #salt
09:49 jerematic joined #salt
09:49 yuhl_work_ joined #salt
09:53 lothiraldan joined #salt
09:58 cberndt joined #salt
09:59 mr_chris joined #salt
10:01 jtang joined #salt
10:03 kwatoko joined #salt
10:03 jeddi joined #salt
10:04 akafred joined #salt
10:10 BigBear joined #salt
10:14 mr_chris joined #salt
10:26 jakul_ joined #salt
10:26 jakul_ Hey all
10:26 jakul_ Does anyone have experience using salt to orchestrate docker containers?
10:26 jakul_ i'm having a very specific problem setting environment variables for the container when using the docker states
10:34 Madhurranjan joined #salt
10:39 workingcats joined #salt
10:39 smithd joined #salt
10:45 DorfOnGolf joined #salt
10:54 ralalala joined #salt
10:59 elfixit joined #salt
11:00 Hybrid1 joined #salt
11:03 bash1234123123 how do I get the hostname from the a host having a specific role ?
11:03 calvinh joined #salt
11:03 bash1234123123 for example host1 has role webserver
11:04 bash1234123123 and I need to apply only his hostname to a jinja file
11:10 bash1234123123 nvm
11:11 SubOracle joined #salt
11:11 evle joined #salt
11:20 jhauser joined #salt
11:23 giantlock joined #salt
11:25 CeBe joined #salt
11:30 BigBear joined #salt
11:31 pduersteler hi all. I'm trying to call module.run.quota.set, however, I'm unable to provide a human readable limit to the module function. anyone here with a hint? I don't want to store the values as bytes (which works), but rather as human-readable (e.g. 200M), but I can't get salt to provide it correctly. Any hint on this? Enclosing the value in parentheses does not work for me
11:37 jerematic joined #salt
11:42 tomh- joined #salt
11:47 calvinh_ joined #salt
11:54 CeBe1 joined #salt
11:57 Furao joined #salt
12:01 brayn joined #salt
12:02 bhosmer joined #salt
12:07 vbabiy joined #salt
12:12 yomilk joined #salt
12:23 intellix joined #salt
12:24 TTimo joined #salt
12:25 shorty_mu Hi folks, I'm at a dead-end while trying to figure out how to iterate over a Jinja dict: http://paste.scsys.co.uk/462428 As usual the error message is _really_ helpful. Please enlighten me... ;)
12:27 Madhurranjan joined #salt
12:27 Sacro shorty_mu: http://blog.mattcrampton.com/post/31254835293/iterating-over-a-dict-in-a-jinja-template
12:27 jhauser you have a list with one dict
12:28 Sacro Also that
12:28 * shorty_mu no Python speak
12:28 malinoff shorty_mu, just remove [ and ]
12:28 Sacro [] = list
12:28 Sacro {} = dict
12:29 shorty_mu Sry, Python isn't my language. I'm still trying to get "comfortable" with it.
12:29 Sacro [{}] = dict inside a list
12:29 shorty_mu Now I got it... Will try
12:30 Madhurranjan joined #salt
12:31 shorty_mu So all data types in Jinja are actually Pyhton data types?
12:32 shorty_mu ... and next time I just look into Pythons docs?
12:34 dgiagio joined #salt
12:34 shorty_mu Thx to all, that did the trick!
12:38 jerematic joined #salt
12:41 N-Mi joined #salt
12:41 N-Mi joined #salt
12:44 Madhurranjan joined #salt
12:49 sroegner joined #salt
12:50 Nazzy joined #salt
12:50 TTimo joined #salt
12:52 dkrae joined #salt
12:56 kawa2014 joined #salt
12:58 jcsp joined #salt
13:00 ralalala joined #salt
13:01 ksj hi, I'm hitting a yaml issue with my pillar data. I'm trying to define an optional parameter for each item in a list, but can't seem to do it no matter which way I try. Paste here: http://pastebin.com/raw.php?i=Zea2eV9d
13:01 rubenb joined #salt
13:03 Nazzy ksj, the way you wrote it initially, if I'm understanding the yaml properly, would result in an item in the list containing a dict of "{ profile: None, template: True }"
13:03 Nazzy yaml is not a fun time lol
13:03 ksj Nazzy: yes. that was the error I was getting
13:04 ksj and on the yaml idiosyncracies page it explains this problem
13:04 ksj and suggests using either four spaces (ugh) or brackets
13:04 ksj I tried both, but neither worked
13:04 rubenb Hi, I'm having some trouble with terminology: A salt returner returns data from minion to something_else_like_redis?
13:04 Nazzy if you can grok python you can use the cheat I do when I get issues with yaml ... I make what I want in the python shell and then do yaml.dump() on it lol
13:04 rubenb Is that correct?
13:04 Nazzy rubenb, correct
13:05 Nazzy rubenb, it returns directly from the minion, not via the master
13:05 phx Nazzy, i just use py pillars, and return the dict directly, no messing with yaml :)
13:05 ksj Nazzy: hmm, might have to try that. I think my second version is syntactically correct yaml though, so I don't understand why it's failing
13:05 rubenb Nazzy: That's what I thought. Is it possible to do something via the master?
13:06 Nazzy phx, honestly, that's definitely better lol
13:06 Nazzy ksj, try "- profile: { template: True }"
13:06 Nazzy rubenb, not to my knowledge
13:07 tkharju joined #salt
13:07 Nazzy *disappears to meeting*
13:08 rubenb k, thanks :)
13:08 ksj Nazzy: thanks, but it still doesn't work. I'm still getting "expected <block end> but found '}'"
13:08 ksj ... {'profile': {'template': 'True'}}:
13:08 lothiraldan joined #salt
13:08 phx Nazzy, i'm generating lots of data from my inventory database. even I'm generating the state top.sls using a pillar from a database
13:09 ksj that looks like a correct nested dic to me....but then I don't really know python
13:10 phx that's pretty much a correct syntax
13:10 phx you just don't need the : at teh end
13:10 ksj phx: yeah, the: is appended by the trace dump
13:11 ksj the arrow points to the second close bracket as the culprit, but really, I have no idea what's wrong with it
13:11 ksj damn I hate yaml
13:12 malinoff ksj, you can use different renderers
13:12 rubenb ksj: Try: http://yaml-online-parser.appspot.com/
13:12 ksj malinoff: yeah I know. I'm looking into it, but since I'm just really getting started with salt I didn't want to over complicate things
13:12 ksj rubenb: thanks, that's useful
13:13 ksj parses cleanly
13:18 pduersteler left #salt
13:18 GabLeRoux joined #salt
13:19 GabLeRou_ joined #salt
13:22 yomilk joined #salt
13:26 giantlock joined #salt
13:27 jerematic joined #salt
13:36 ksj by parses cleanly, I meant "parses cleanly in the online parser but still does not work".....god this stuff is so infuriating
13:41 alfborge joined #salt
13:42 alfborge We're using 2014.1.13 and gitfs. Today highstate started failing because it seemed to use the top.sls file from a branch other than master. Any idea how this can happen?
13:43 alfborge (The top.sls in that branch refered to states that did not exist in the master branch).
13:45 Nazzy ksj, http://pastebin.com/F5iyvr2L
13:45 alfborge When I look in salt-minion.cache/files I find that salt has checked out the top.sls files from all the branches but only the state files from the base (master) branch.
13:46 Nazzy phx, if you're pulling from a database you could get your pillar from it directly... if it's mysql, check out the mysql pillar :)
13:46 Nazzy <malinoff> ksj, you can use different renderers <--- *grin* "Other rendered are available"
13:47 Nazzy s/rendered/renderers/
13:48 piv joined #salt
13:48 malinoff Nazzy, i'm not sure how should i react
13:50 phx Nazzy, if only it was that simple, and gladly it's not toysql :)
13:51 phx Nazzy, like the binddns pillar of mine checks the for each domain which hosts belong to it, what aliases they have, then it goes to the cluster information and checks what clusters do need SRV records and what, so on, and outputs a structure based on this
13:51 Nazzy malinoff, think of it as the catalyst for a laughter emission ... or you could negative and keep an ion it...
13:52 Nazzy phx, oooh, that's a funky idea... I like it
13:53 numkem_ joined #salt
13:53 Brew joined #salt
13:59 TTimo joined #salt
14:00 jeremyr joined #salt
14:01 fredvd_ joined #salt
14:06 subsignal joined #salt
14:06 duncanmv joined #salt
14:07 ptinkler joined #salt
14:07 duncanmv is the minions connected to the master or the master connects to the minion? (tcp level, not salt protocol level)
14:08 nitti joined #salt
14:08 I3olle joined #salt
14:08 ptinkler anyone done much postgres/postgis using salt? having a bit of difficulty enabling the postgis extension
14:09 toanju joined #salt
14:09 Miq joined #salt
14:10 Ligthert duncanmv: I believe the latter iirc.
14:10 malinoff duncanmv, actually the former
14:10 Ligthert I stand corrected
14:11 ze- joined #salt
14:11 GnuLxUsr joined #salt
14:12 mdasilva joined #salt
14:12 duncanmv can salt-ssh be used with the salt-master so that the salt-master talk to the minions via ssh, without raet/0mq, or is it just a replacement for the salt command?
14:14 murrdoc joined #salt
14:14 Madhurranjan joined #salt
14:15 cpowell joined #salt
14:16 keeth joined #salt
14:18 GabLeRoux joined #salt
14:18 joehh2 ptinkler: when we did this under salt from memory we had some variant of cmd.wait running psql -c "create extension postgis"
14:19 primechuck joined #salt
14:19 ptinkler joehh2: thanks, I've been using the postgres_extension state to do the same thing
14:20 joehh2 We've since moved our db creation out of the control of salt and back to the admin
14:20 redzaku joined #salt
14:20 ptinkler and after several hours, worked out that it's "maintenance_db" and not "maintainance_db"
14:20 ptinkler so the French are at fault for having stupid words
14:20 shorty_mu *ouch*
14:20 shorty_mu ;)
14:21 joehh2 painful
14:21 joehh2 we're still on 2014.1 so don't have that state - nice to see it exists
14:22 nitti joined #salt
14:23 ptinkler yeah it's working nicely now that  my idiotic spelling is no longer a factor
14:25 jcsp joined #salt
14:29 Nazzy *grumbles* I found a change to my logic in the mysql pillar that isn't going to do what it's supposed to do ¬_¬
14:30 Nazzy `if not self.ignore_null or ret[self.num_fields-1]:` <--- anyone know why that construction is bad?
14:31 Nazzy duncanmv, I /think/ the answer to that is yes, but I've not used salt-ssh myself
14:32 mpanetta joined #salt
14:34 timoguin joined #salt
14:35 murrdoc joined #salt
14:37 dooshtuRabbit joined #salt
14:39 elfixit joined #salt
14:42 penguin_dan joined #salt
14:44 dude051 joined #salt
14:45 diegows joined #salt
14:48 andrew_v joined #salt
14:49 mpanetta_ joined #salt
14:49 toanju joined #salt
14:49 Deevolution joined #salt
14:58 Madhurranjan joined #salt
14:59 lothiraldan joined #salt
15:00 kaptk2 joined #salt
15:01 ProT-0-TypE joined #salt
15:03 TTimo joined #salt
15:06 twellspring joined #salt
15:09 housl joined #salt
15:09 BigBear joined #salt
15:09 Madhurranjan joined #salt
15:11 bhosmer joined #salt
15:11 fredvd joined #salt
15:12 Auroch joined #salt
15:15 scanya joined #salt
15:15 scanya hello
15:16 redzaku joined #salt
15:16 jhauser_ joined #salt
15:17 scanya Maybe anyone knows what could be wrong but sometimes after state.highstate I'm receiving      Comment: Source file salt://files/filename.conf not found
15:19 jcsp1 joined #salt
15:19 smithd joined #salt
15:20 aw110f joined #salt
15:24 kermit joined #salt
15:24 bhosmer joined #salt
15:27 FeatherKing joined #salt
15:27 conan_the_destro joined #salt
15:27 bhosmer_ joined #salt
15:28 FeatherKing i was wondering if anyone has any best practices or tips on upgrading salt from 2014.1 to 2014.7. we have a mix of linux (debian/centos) and windows(server2008) minions
15:28 FeatherKing we are trying to complete it before saltConf
15:29 murrdoc do it in a test environment, update master, update one minion by role, if it all works, use the manage module to get the rest
15:29 FeatherKing is there a worry of minions going offline? we have not been through a major salt upgrade yet
15:30 aw110f_ joined #salt
15:32 FeatherKing murrdoc: also is the manage bootstrap going to install git on all my minions?
15:33 stevednd FeatherKing: yes, if you do a git bootstrap
15:33 mikeywaites joined #salt
15:33 stevednd if you do package based 2014.7 I don't *think* it installs git automatically
15:33 FeatherKing id rather it not, so id be looking at a salt-run mange.bootstrap 2014.7
15:34 FeatherKing just setup a test master yesterday so will be running through it today on a test minion
15:34 Madhurranjan joined #salt
15:35 druonysus joined #salt
15:35 druonysus joined #salt
15:35 FeatherKing i guess since stable looks like the default maybe just salt-run manage 'host1,2,3' would be enough
15:35 jerematic joined #salt
15:38 paulm- joined #salt
15:38 murrdoc the other thing you could do is write a salt state  package
15:38 murrdoc state
15:39 murrdoc set it up to , upgrade and restart minions
15:39 murrdoc so after your testing apply the state everywhere
15:39 FeatherKing i feel like at one time there was an issue with a salt state restarting the minion and it not coming back up? maybe i am dreaming?
15:41 claytron joined #salt
15:43 TTimo joined #salt
15:45 ALLmightySPIFF joined #salt
15:48 BigBear joined #salt
15:48 rick_ joined #salt
15:49 yomilk joined #salt
15:50 nitti joined #salt
15:51 Brick_ joined #salt
15:51 calvinh joined #salt
15:52 smcquay joined #salt
15:54 berserk joined #salt
15:56 redzaku joined #salt
15:57 calvinh_ joined #salt
15:57 beneggett joined #salt
15:58 clintberry joined #salt
16:00 jdowning joined #salt
16:02 _prime_ joined #salt
16:03 beneggett joined #salt
16:05 nitti joined #salt
16:06 Nazzy FeatherKing, my observation suggests that 2014.1 and 2014.7 are protocol compatible
16:07 jalbretsen joined #salt
16:09 doobi-sham-95717 joined #salt
16:10 jcsp joined #salt
16:11 tkharju joined #salt
16:12 schlueter joined #salt
16:14 FeatherKing Nazzy: great thanks. i am going to get my testing environment set up today and try running that salt-run manage on ubuntu, centos and windows and see how my luck fares
16:16 SheetiS joined #salt
16:18 Ox joined #salt
16:18 druonysus joined #salt
16:18 druonysus joined #salt
16:19 thedodd joined #salt
16:19 _prime_ joined #salt
16:22 to_json joined #salt
16:22 mschiff is there a way to use salt['pillar.get'] from within a pillar sls?
16:23 mschiff think of a reference pointer...
16:24 ProT-0-TypE joined #salt
16:27 to_json left #salt
16:28 forrest joined #salt
16:31 druonysus joined #salt
16:31 druonysus joined #salt
16:32 dude051 joined #salt
16:32 Madhurranjan joined #salt
16:34 xf10e joined #salt
16:34 bhosmer joined #salt
16:34 bluenemo joined #salt
16:34 bluenemo joined #salt
16:34 _mel_ joined #salt
16:36 tomspur joined #salt
16:37 joehh2 FeatherKing: there was a packaging bug for debian/ubuntu around 0.16.3 ish that was to aggressive in killing the minion when restarting
16:37 joehh2 so it would kill itself off before it could start a new minion
16:38 joehh2 This has not been the case for awhile
16:39 Madhurranjan joined #salt
16:41 ralalala joined #salt
16:42 Nazzy *waves a cane* in my day we did updates by execv()'s the new binary and we were grateful for it!
16:44 BigBear joined #salt
16:44 Nazzy (if you've never encountered it, one of the neat tricks in some MUD codebases is that they do transparent upgrades by dumping all their data and socket info to disk, exec the new binary in, then reload all the data.  Maintains connections and state across restart)
16:45 hasues joined #salt
16:46 FeatherKing Nazzy: joehh2: thanks i will look at doing a salt state as an option too
16:48 tligda joined #salt
16:49 rihannon I've been seeing this error a lot recently: SaltClientError: Failed sign in
16:49 rihannon It is sporadic, the target host will fail sometime and succeed other times.  Anyone care to hazard a guess as to what the problem might be?
16:50 rihannon Not isolated to one host, but it seems to be a thing with a group of VMs.
16:50 hasues left #salt
16:55 murrdoc looks like the salt client
16:55 murrdoc is unable to log in
16:55 murrdoc — madden
16:57 _prime_ joined #salt
16:57 _prime_ #join gentoo
17:02 felskrone joined #salt
17:07 StDiluted joined #salt
17:07 dude051 joined #salt
17:08 rihannon I get this error when running: salt '*' state.sls somestate
17:08 rihannon The debug logs show that parts of the state file succeed, but then this message occurs.  So to me, it seems like it's already logged in.
17:10 theologian joined #salt
17:11 zadock joined #salt
17:15 tkharju joined #salt
17:16 MatthewsFace joined #salt
17:22 alexbst what is the salt equivalent of ohai/facter ?
17:24 manfred for finding information about servers?
17:24 manfred grains
17:24 manfred alexbst:  https://github.com/saltstack/salt/tree/develop/salt/grains
17:24 KyleG joined #salt
17:24 KyleG joined #salt
17:27 davet joined #salt
17:27 Ryan_Lane joined #salt
17:28 wendall911 joined #salt
17:31 dirkcjelli joined #salt
17:31 nitti_ joined #salt
17:33 aparsons joined #salt
17:34 bregalad joined #salt
17:36 che-arne joined #salt
17:38 spicyWith joined #salt
17:38 saffe joined #salt
17:39 I3olle joined #salt
17:39 mpoole left #salt
17:42 keeth joined #salt
17:44 aparsons joined #salt
17:45 murrdoc Do you guys have suggestion/opinions about using http://docs.saltstack.com/en/latest/topics/tutorials/preseed_key.html vs uses salt-api to get the key
17:45 chitown having an issue using the mysql_* states
17:45 chitown it keep trying to connect via the socket
17:47 arthabaska joined #salt
17:49 arthabaska Hi all, is it currently possible to target based on grain numerical value? Like: salt -G 'mem_total:<1024' test.ping
17:49 arthabaska ?
17:49 bluenemo joined #salt
17:51 desposo joined #salt
17:51 iggy <3 murrdoc
17:51 higgs001 joined #salt
17:53 DJCP joined #salt
17:53 murrdoc <3 iggy :D
17:54 manytrees hi, i'm trying to loop over a set of machines 1 by 1 and highstate them.  what's the best way to ensure the highstate completed and there were no errors before moving on to the next machine?
17:55 DJCP hey everyone i have run into an issue Invalid requisite type 'cmd.run' in state 'some-service', in SLS 'linux-server.some.server'. Requisite types must not contain dots, did you mean 'cmd'?
17:55 DJCP anyone see this b4
17:56 Ryan_Lane manytrees: you watch batch mode
17:56 Ryan_Lane with a batch size of 1
17:56 iggy manytrees: salt doesn't really work like that... it's meant to be done in parallel... generally you would use orchestrate to do things across multiple hosts, but that's probably not a good solution for "do something to all minions"
17:57 iggy TL;DR you're doing it wrong
17:57 khaije1 joined #salt
17:57 gladiatr joined #salt
17:57 gladiatr joined #salt
17:58 manytrees Ryan_Lane: will it stop on failure or continue on to the next machine?
17:59 iggy hardfail: True in master config
17:59 khaije1 are the upcoming SaltConf videos going to be made available similar to last year?
18:00 manytrees iggy: if i do all machines in parallel i'll cause a service outage as all java servers restart
18:00 _JZ_ joined #salt
18:01 clintber_ joined #salt
18:01 Ryan_Lane manytrees: you should consider something like this: http://salt.readthedocs.org/en/latest/ref/states/all/salt.states.zk_concurrency.html
18:01 khaije1 I setup salt-cloud to be able to query my vCSA server last night, any advice on setting up the create, destroy and provision config a/o steps?
18:01 Ryan_Lane and you just have to ensure you don't fail
18:01 Ryan_Lane use a canary
18:01 Ryan_Lane test on the canary. if it fails there, rollback
18:02 Ryan_Lane if it succeeds, roll it out in a batch size small enough for you to handle
18:02 Ryan_Lane a batch of 1 is excessive
18:03 manytrees yes the zk stuff could work but is a pretty heavy prereq
18:03 manytrees canary test then rollout with batchsize is probably best compromise
18:03 Ryan_Lane having a canary is just good practice anyway :)
18:04 manytrees i have preprod but it's still a bit scary pushing that button for prod
18:04 iggy re-architect everything so you roll out everything new, test, switch over, trash old stuff
18:05 Ryan_Lane red/black is pretty difficult to do effectively
18:05 Ryan_Lane and is really slow
18:05 hal58th DJCP: Just change your requisite to "require: cmd and not cmd.run. Just like you would do require pkg and not pkg.installed
18:05 iggy I can roll out an entirely new cluster (granted we're only at 40 nodes) in <20 minutes
18:05 iggy from 0 (i.e. not even a salt-master running)
18:06 manytrees iggy: that's the target, not there yet though so need an inplace upgrade solution in the meantime
18:06 Ryan_Lane and if you realize you need to roll back after you've destroyed the other stuff, you could be in an outage like situation for 20 minutes :)
18:07 Ryan_Lane if you're using docker, it's a lot easier to do this, of course
18:08 manytrees Ryan_Lane: what did you mean by hard to do effectively?
18:08 bash1234123123 joined #salt
18:08 Ryan_Lane manytrees: you need to spin up the new resources. test it out-of-band, send traffic to it, wait till you know it's baked in well, then destroy all the other nodes
18:08 Madhurranjan joined #salt
18:08 Ryan_Lane it's an orchestration headache
18:09 Ryan_Lane and it's potentially expensive if you have large clusters
18:09 Ryan_Lane since you need to keep all the old hardware running while you bake in the new hardware
18:09 iggy we don't actually spin up entire clusters at once... I just can
18:09 iggy we usually do a set of app servers at once
18:10 Ryan_Lane oh, that's not full red/black, then :)
18:10 iggy and yeah, we're moving some of our larger services into docker and splitting them up, so it should get even easier as time goes by
18:10 bhosmer_ joined #salt
18:10 iggy but for now, I just need to get them to let me f'ing update salt without a maint window
18:11 nitti joined #salt
18:11 aw110f joined #salt
18:11 manytrees Ryan_Lane: alternative is to rely on the canary test and then push an upgrade knowing you can push a rollback in case of issues?
18:13 Ryan_Lane yep
18:13 hal58th1 joined #salt
18:13 Ryan_Lane except that if you've made system-level changes, you may need to undo what you've done with another code push
18:13 Ryan_Lane and even then, may not be able to
18:13 Ryan_Lane so there's danger in doing so
18:14 iggy test, test, test, test, do some more testing, and then still expect that it could easily fail and you'll have to pick up the pieces
18:14 timoguin joined #salt
18:15 TheoSLC joined #salt
18:15 TheoSLC Greeting ye olde salts.
18:16 TheoSLC I have a wish...  I wish that minions could be seeded with some secret that would allow them to be automatically accepted by the master.
18:16 spookah joined #salt
18:17 malinoff TheoSLC, preseed
18:18 iggy there are actually a number of ways you can do that
18:18 iggy salt.wheel.key is another one
18:18 DJCP hal58th: thx! that seems to have done the trick!
18:19 hal58th1 welcome DJCP :)
18:20 egil preseeding works, but it requires manual steps
18:21 TyrfingMjolnir joined #salt
18:22 martino joined #salt
18:22 martino howdy
18:23 egil TheoSLC: http://docs.saltstack.com/en/latest/topics/reactor/#a-complete-example
18:23 FRANK_T joined #salt
18:24 martino I have a question on the boto_elb state module(aws load balancer), I am able to create a load balancer but I do not seem to find the proper syntax to add a minion(AMI) to the loadbalance
18:24 egil according to docs, you can get minions to be authorized by the master, automaticlly
18:25 iggy you can also use auto_accept: True
18:25 murrdoc automatic is dangerous
18:25 iggy doesn't mean it's a great idea
18:25 murrdoc hee hee
18:25 murrdoc reactor systerm recommendation is nice
18:25 murrdoc you could add logic for what ids to accept and only accept those
18:26 nitti joined #salt
18:26 iggy autosign_file
18:26 murrdoc like put expected minion ids in a cache , and if the minion shows up in that time
18:26 murrdoc accept the minion
18:26 egil well, I feel like the reactor way is atleast a tad safer then auto_accept
18:27 egil But a security risk, for sure :)
18:28 murrdoc i think i am gonna do the cache thing, have a 'we have been expecting you' data store
18:28 egil having static IP's though, it could be used with an ACL
18:28 murrdoc use a module to verify against that
18:28 iggy as I said originally, there are a number of ways to handle the problem
18:29 iggy which one(s) is/are best for you depends on what you've got to work with
18:29 aCodinMan joined #salt
18:29 egil of course, it all depends on your situation
18:30 chitown we used auto_accept when i was at linkedin
18:30 chitown it was a bad idea (TM).... but, it did work
18:30 chitown we were working on a reactor system, but it just never got the effort needed
18:30 iggy my plan is to assign some project level metadata (a secret key of sorts) in GCE and have the minions read that at startup and send it along some how
18:31 chitown ya, you need some kind of trust store somewhere
18:31 iggy or just shove the key into the instance metadata
18:31 scarcry joined #salt
18:31 iggy but right now we just use auto_accept ;)
18:31 chitown not familar with gce, but im guessing the metadata store isnt suprt secure
18:31 chitown ya... we came to the same conclusion :/
18:31 chitown key mgmt is a PITA
18:31 iggy it isn't (any user could read it), but we don't have users
18:32 chitown gotcha
18:32 iggy and if we did via instance metadata, we could later clear that metadata key after the key was accepted on the master
18:32 _prime_ joined #salt
18:33 iggy but even in our situation... there are at least 5 ways I could think of that it could be made to work
18:33 chitown well, a more complicated system would be to put a temp key in the metadata and then use a reactor to read that and accept
18:33 chitown but, only if it happens within, say, 30 mins
18:33 iggy yeah
18:33 meylor joined #salt
18:34 chitown how often do you add systems that you need to manage the keys?
18:34 chitown is it "
18:34 iggy and salt-cloud actually supports handling all this for us
18:34 meylor left #salt
18:34 iggy so if we ever switch back to it...
18:34 chitown "bad enough" that you cant use salt-key?
18:34 chitown ya, we use salt-cloud and its handled... so, just trying to gauge how painful it is for others
18:35 murrdoc i dont want to log on to a system
18:35 murrdoc automate!
18:35 murrdoc :D
18:35 iggy the OP hasn't said anything in like 20 minutes that we've been sitting here discussing...
18:37 chitown 10:32 < murrdoc> i dont want to log on to a system
18:37 chitown that is soooo nice to hear :)
18:37 chitown so sick of "just type this in..."
18:37 chitown YOUR KILLIN ME! :)
18:37 chitown YOU'RE*
18:38 chitown anyone use the mysql_* states?
18:39 chitown i keep getting an error saying it cannot connect... it keeps wanting to use a local socket
18:40 nitti joined #salt
18:40 bytemask joined #salt
18:41 bhosmer_ joined #salt
18:42 parnigot joined #salt
18:44 linjan joined #salt
18:46 keeth i am but but only with local sockets
18:47 Brick_ joined #salt
18:47 chitown the mysql cli works fine
18:48 chitown i put in protocol=tcp in my.cnf to try to force it
18:48 ralalala joined #salt
18:54 moos3 is there away to test salt mine from the cli ?
18:55 g3cko joined #salt
18:55 SneakyPhil chitown: did you set the address that mysql binds to something other than 127.0.0.1?
18:55 SneakyPhil or will it not even let you connect locally
18:56 chitown host: <aws instance name>
18:56 chitown SneakyPhil: ^^
18:57 chitown im wondering if it isnt getting propogated all the way
18:57 chitown mysql_databse (state) -> mysql (module) -> mysql pyton libs
18:57 chitown ugh.... :(
18:57 chitown im doing it manually for now, waas going to track down unles someone had some pointers
18:58 thedodd joined #salt
19:00 anotherZero joined #salt
19:00 ckao joined #salt
19:03 ekristen joined #salt
19:06 twellspring joined #salt
19:06 chiui joined #salt
19:10 mapu joined #salt
19:10 SneakyPhil I have a question about pulling a docker container. I have the following state file which gives me an error that "docker.pulled" is not found. https://gist.github.com/pgporada/8e196747d26fa7a7ced5
19:15 nitti joined #salt
19:16 timoguin joined #salt
19:16 bluenemo joined #salt
19:17 nitti joined #salt
19:18 albertid_ joined #salt
19:19 ajw0100 joined #salt
19:19 twellspring joined #salt
19:19 albertid_ Hi, I know that I can run salt without a master, but can I also run salt without a MINION? e.g. just have some state applied with a single command/process?
19:21 Thiggy joined #salt
19:22 chitown albertid_: iirc, you can run commands without the minion being up
19:22 Thiggy How do other people handle the problem of knowing when a machines first highstate is complete on initial provision?
19:22 chitown albertid_: try salt-call --local
19:23 chitown also, you can write against the caller client
19:25 albertid_ chitown, thx I'll look it up
19:25 chitown albertid_: http://docs.saltstack.com/en/latest/topics/tutorials/standalone_minion.html
19:25 chitown good starting point
19:26 chitown also, look for Ryan_Lane 's blog... he does a lot with masterless minion and writes about it quite a bit
19:26 chitown http://ryandlane.com/blog/
19:27 chitown Thiggy: i have the same problem, fwiw...
19:27 chitown today, i have to watch the initial highstate... which is a huge PITA
19:27 Thiggy I was thinking of a file.managed that lays down /etc/foo/machine-ready with the righ dependencies so it happens last-ish
19:28 Thiggy seems like there should be another way though
19:29 chitown you could watch the event stream for all highstates and then lookup the job and verify there were no errors
19:29 chitown if you want it just to be initial, you would need to correlate that against a "new host"... lots of bookkeeping
19:29 murrdoc setup saltpad, look at guis
19:30 Thiggy yeah the bookkeeping is a killer
19:30 chitown i am going to implment looking for a couple of key states working
19:30 aCodinMa_ joined #salt
19:30 chitown eg. i dont care that users dont get installed properly
19:30 chitown but, datadog is a hard requirement
19:31 hal58th1 Thiggy, I would use order: last http://docs.saltstack.com/en/latest/ref/states/ordering.html#the-order-option
19:31 chitown s/datadog/whatever basic monitoring solution/
19:31 Thiggy oh ho!
19:31 twellspring joined #salt
19:31 Thiggy @chitown this is perfect.
19:31 Thiggy we're running salt v.ancient, I'll have to confirm this is an option forus
19:31 chitown hal58th1: ^ :)
19:31 Thiggy we use salt for service discovery during our deployments, and I need a way to not try to deploy on boxes that aren't ready yet
19:32 Thiggy they get listed in salt a few minutes before they're ready to accept a deployment
19:32 chitown but, that will just verify that particular state ran... not that all of them completed successfuly, right?
19:32 Thiggy We test our states elsewhere, so I'm pretty comfortable assuming the rest of them ran.
19:32 chitown ah...
19:32 Thiggy well, we test some of them, it's not ideal, but this is better than what we have
19:32 Thiggy Thanks!
19:33 TTimo joined #salt
19:34 marvelaz joined #salt
19:35 timoguin joined #salt
19:36 marvelaz hi there i am new to salt, any recommendation on a good tutorial or book to start?
19:36 cpowell_ joined #salt
19:36 twellspring joined #salt
19:36 Brick_ The documentation have some tutorials that are helpful
19:37 Brick_ http://docs.saltstack.com/en/latest/contents.html
19:37 subsignal joined #salt
19:42 hal58th1 marvelaz book is still being worked on. The CEO is cowriting it though
19:47 aCodinMan joined #salt
19:49 twellspring joined #salt
19:49 forrest joined #salt
19:49 smithd_ joined #salt
19:53 ralalalala joined #salt
19:54 twellspring joined #salt
19:56 chitown marvelaz: book coming soon
19:56 chitown its me and tom
19:56 chitown http://shop.oreilly.com/product/0636920033240.do
19:56 chitown its VERY rough
19:57 chitown i have made a lot of changes in the past few weeks
19:57 chitown Ryan_Lane: gave some great feedback that is still being incorporated
19:57 ralala joined #salt
19:58 hal58th1 Well now I want a rough cut. I don't have the premium membership on safaribooksonline, so I can't read it
19:59 mikeywaites joined #salt
19:59 chitown hal58th1: i am looking for more feedback...
19:59 ajw0100 joined #salt
19:59 chitown if you are willing to look at it and give feedback int he next 2 days
19:59 chitown (yes, seriously; 2 days)
19:59 hal58th1 Yeah I have some time.
19:59 chitown i can get you access
19:59 hal58th1 I can look it over tonight
20:04 Edgan I am seeing "non-deterministic" behavior from salt. I created a new entry in a pillar, and updated a jinja template to use it. I did a git push locally and a git pull to the salt server. I then ran it against two hosts. One worked, and one didn't. I then ran the one that didn't a second time and it worked. Why?  http://pastebin.com/cB3kXXA7
20:08 thedodd joined #salt
20:09 ksj Hi, I've solved my problem from earlier, but the result's kind of ugly: http://pastebin.com/raw.php?i=gkbcMPRD
20:09 ksj is there a better way of doing this?
20:10 robawt is there a way to modify pillar in a salt call?
20:10 ksj the problem, btw, was having an item in a list that has an optional parameter
20:11 TaiSHi Is there any roadmap for packaged versions? I really don't want to install from git :P (it slows down deployments + can't keep it updated properly)
20:12 Edgan TaiSHi: What distribution?
20:12 TaiSHi Ubuntu 14.04
20:13 TaiSHi (I'm using PPA's and got 2014.7.1 atm)
20:14 Edgan TaiSHi: What is run with the ppa? I see one here, http://docs.saltstack.com/en/latest/topics/installation/ubuntu.html
20:14 BigBear joined #salt
20:14 Edgan TaiSHi: I mean What is wrong?
20:14 TaiSHi Nothing at all, just want to know when new versions are deployed
20:14 TaiSHi And if there are testing packages on the ppas and such
20:17 parnigot joined #salt
20:17 linjan joined #salt
20:18 Edgan TaiSHi: digging into the ppa, doesn't look like they are packaging anything newer. Though the source is there. You could make your own tarball, and change the source files to use the newer version.
20:20 TaiSHi Was digging as well, will consider making my own deb package, but maintaining it is a pain!
20:20 Edgan TaiSHi: Depends on how frequently you want to update
20:21 TaiSHi I'm quite (a) picky (bitch), I like to have my packages up to date
20:21 TaiSHi :P
20:21 Edgan TaiSHi: So you want to track git master daily?
20:21 smithd joined #salt
20:22 murrdoc webhook to salt-api
20:22 murrdoc pew pew
20:23 murrdoc or git commit hook to salt api
20:23 iggy robawt: wheel
20:23 robawt iggy: wheel the python wheel?
20:23 iggy salt.wheel.pillar.*
20:24 TaiSHi Edgan, I might, you're taking me way too seriously
20:24 TaiSHi :*
20:25 robawt thanks iggy
20:28 che-arne joined #salt
20:31 aparsons joined #salt
20:31 catpig joined #salt
20:32 ajw0100 joined #salt
20:33 TaiSHi Been reporting quite a lot lately to salt's gh
20:33 TaiSHi I feel somewhat useful
20:35 subsignal joined #salt
20:35 aCodinMan joined #salt
20:36 linjan joined #salt
20:37 murrdoc wheel u dont say
20:45 * SheetiS hates epel sometimes.
20:45 ralala joined #salt
20:47 Edgan SheetiS: ?
20:49 Edgan SheetiS: Long time no see. I take it you are still in Kansas.
20:49 SheetiS just the time it takes to get new salt pacakges.
20:49 SheetiS I am
20:50 nene joined #salt
20:51 SheetiS I may just start building my own and putting them in my local yum repo.  I am already doing that with some things, so shouldn't be that hard to add.
20:51 Edgan SheetiS: epel-testing has 2014.7.1 :)
20:52 SheetiS yeah it has had it since like 1/22
20:52 SheetiS I'm just impatient :D
20:53 manfred pip install ftw
20:53 murrdoc manfred:  lives dangerously
20:53 manfred pip install -e git://github.com/saltstack/salt.git#egg=hellyes
20:54 manfred i used to run out of my own git repository, going to have to start again in a bit
20:54 murrdoc i do
20:54 murrdoc dev is done against a local git mirror
20:55 arnoldB hey guys, need your feedback concerning the use of the py renderer. yaml|jinja = https://github.com/bechtoldt/saltstack-tomcat-formula/blob/v0.1/tomcat/init.sls vs py= https://github.com/bechtoldt/saltstack-tomcat-formula/blob/master/tomcat/init.sls what would you prefer?
20:55 murrdoc plus u can point salt-bootsrap at any arbitrary git url
20:55 smithd joined #salt
21:00 viq joined #salt
21:06 ralala joined #salt
21:15 subsignal joined #salt
21:16 twellspring joined #salt
21:19 jeremyr1 joined #salt
21:20 subsignal joined #salt
21:21 ralala joined #salt
21:23 subsignal joined #salt
21:25 twellspring joined #salt
21:25 subsignal joined #salt
21:27 Nazzy grrr... I'm installing a package then trying to use it... since it failed detection the state related to it isn't available that run.  I know there's a way to handle this properly, but for the life of me I can't remember what or where that way is.
21:28 robawt you could use an unless clause
21:28 robawt and check for the rpm being installed
21:28 robawt but you should just have the run require the pkg install
21:29 Nazzy no no, sorry, I'll clarify... I've got a state that is supposed to install layman, upload a config for layman, then use the layman state to activate the config
21:30 moos3 using salt mine, how can i get the ip address of every minion
21:30 Nazzy since the code behind the layman state detects the presence of layman, the state doesn't appear to be available on the first run
21:31 robawt i'm not familiar with layman, can you make a gist of the state in question?
21:33 Nazzy it wouldn't be of much help, it's using an internal helper library for the first two steps
21:35 Nazzy what I really need is a way to tell salt "redo your imports after completing this state"
21:41 Ryan_Lane Nazzy: yes
21:41 Ryan_Lane wait. you mean your sls imports?
21:41 donmichelangelo joined #salt
21:41 Ryan_Lane or python module imports?
21:41 Ryan_Lane or pillars or grains?
21:42 ralala joined #salt
21:42 Ryan_Lane if you add "- reload_modules: true" to the state that installs something, it'll cause salt to reload its modules
21:42 Nazzy Ryan_Lane, salt itself ... the layman salt module has a salt.utils.which('layman') and ... yes, that's what I'm looking for!
21:43 Ryan_Lane it's possible to do so with pillars and grains too
21:43 Ryan_Lane http://ryandlane.com/blog/2014/12/10/reloading-grains-and-pillars-during-a-saltstack-run/
21:44 Nazzy http://docs.saltstack.com/en/latest/ref/states/#reloading-modules <--- that was the page I was looking for :D
21:44 Ryan_Lane cool
21:44 Ryan_Lane I don't know why that's still not listed as a global state argument
21:44 Ryan_Lane it's annoying
21:44 mgw joined #salt
21:44 mgw is there a way to get salt-call to exit non-zero on a highstate failure?
21:45 Ryan_Lane yep
21:45 Nazzy I remembered it from one of the tutorial pages, couldn't find it on any of the current ones though
21:45 Ryan_Lane mgw: --retcode-passthrough
21:45 Ryan_Lane see salt-call --help
21:45 mgw already tried that
21:45 Ryan_Lane oh? are you using a really old salt version?
21:45 Ryan_Lane I'm using 2014.7. works for me
21:45 mgw no
21:46 mgw 2014.7.0
21:46 michelangelo joined #salt
21:46 mgw it has such an argument, but my failure is still returning 0
21:46 mgw the failure i'm testing with is no top file
21:47 mosen joined #salt
21:48 ralala joined #salt
21:50 mgw ryan_lane: sorry, i was doing something else wrong
21:50 mgw retcode-passthrough does indeed work
21:51 Ryan_Lane cool
21:54 theologian joined #salt
21:59 Andre-B joined #salt
22:00 thedodd joined #salt
22:02 yomilk joined #salt
22:02 aCodinMan joined #salt
22:03 giantlock joined #salt
22:04 TTimo joined #salt
22:05 conan_the_destro joined #salt
22:10 gnord joined #salt
22:11 singularo joined #salt
22:11 singularo joined #salt
22:13 twellspring joined #salt
22:15 Heartsbane joined #salt
22:15 Heartsbane joined #salt
22:24 jdowning joined #salt
22:28 aparsons joined #salt
22:35 khaije1 joined #salt
22:37 khaije1 I'd like to use salt-cloud to create new VMs on an ESXi machine and the 'image' option is tripping me up - where/how is that created or set?
22:44 hal58th1 Wouldn't you use salt-virt for vm's on esxi? I've never tried either one
22:47 ajw0100 joined #salt
22:47 chitown ftr: figured out the mysql issue: you need "connection_{host,port,user,pass}" as key names, not just host,...
22:50 chitown where is the best place to document that?
22:50 chitown mysql_database?
22:50 TyrfingMjolnir joined #salt
22:50 chitown its relevant to mysql_*
22:50 chitown whiteinge: ^^
22:51 chitown lol... it *is* documented in mysql_user
22:52 schlueter1 joined #salt
22:52 hal58th1 oh yeah, I noticed that to when I tried to use it. It's only documented there
22:53 thedodd joined #salt
22:53 chitown adding a reference in all of the mysql-* states to a "central/master" one would be cool
22:53 murrdoc anyone here running salt-minion in venvs on the prod servers
22:53 khaije1 hal58th1: salt-cloud is actually pointed at the vCSA, and it works for queries
22:54 khaije1 I believe ESXi is accessible w/ salt-virt when using libvirt, not 100% certain
22:56 jerematic joined #salt
22:58 aparsons joined #salt
23:01 schlueter joined #salt
23:14 whiteinge chitown: +1 on adding that everywhere
23:15 whiteinge i've puzzled about how best to add documentation in one place and make it available in multiple places. would be a useful thing
23:18 hebz0rl_ joined #salt
23:24 hal58th joined #salt
23:26 yomilk joined #salt
23:31 Ryan_Lane for those in the SF bay area, or who will be in the area on Feb 26th: https://www.eventbrite.com/e/masterless-saltstack-on-aws-orchestration-and-config-management-tickets-15659270299
23:32 murrdoc will there be webcast ?
23:33 murrdoc there is no salties in chicago sadly
23:34 theologian joined #salt
23:35 murrdoc Ryan_Lane:  ?
23:35 Ryan_Lane hm. asking
23:35 Ryan_Lane not sure
23:36 murrdoc thanks
23:36 mosen salties? :)
23:37 sumguy joined #salt
23:37 sumguy left #salt
23:37 singularo joined #salt
23:37 singularo joined #salt
23:37 Ryan_Lane murrdoc: I'll see if I can make it happen. ping me about it again before the date, if you remember
23:38 murrdoc will do
23:38 murrdoc salties is better then salters and saltines
23:38 nitti_ joined #salt
23:38 murrdoc fits the whole greybeard thing too
23:39 mosen still using saltines
23:39 Ryan_Lane minions is the other term :D
23:40 Diaoul joined #salt
23:41 murrdoc hah
23:41 bash1234123123 joined #salt
23:41 murrdoc time to bring bananas to all salt meetups
23:45 CeBe1 joined #salt
23:49 subsignal joined #salt
23:49 TTimo joined #salt
23:55 subsigna_ joined #salt

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