Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-09-17

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

All times shown according to UTC.

Time Nick Message
00:03 tristanmaatthews joined #salt
00:05 tristanmaatthews Hi All, Is there a way to require that an entire group of states is run before another. In my top.sls file I'd like to have
00:05 tristanmaatthews base:   '*':     - setup     - application
00:05 tristanmaatthews but run everything in setup before application
00:05 forrest tristanmaatthews, just include setup in the application state.
00:05 vbabiy joined #salt
00:06 tristanmaatthews wont I need to include it in each state in application?
00:06 forrest tristanmaatthews, do the application states not chain?
00:07 forrest or require each other?
00:07 Sypher joined #salt
00:08 tristanmaatthews my application includes about 4 stop things which are independent and chain
00:08 tristanmaatthews if that makes sense
00:08 aparsons joined #salt
00:10 tristanmaatthews applications init.sls includes 4 groups of things that all require everything in setup to be run
00:10 tristanmaatthews but don't require each other
00:10 aparson__ joined #salt
00:10 n8n joined #salt
00:11 forrest so shouldn't those other things require setup?
00:11 tristanmaatthews It seems like I'm thinking about this wrong, so structured it in a weird way.
00:11 forrest yeah each thing should be modular
00:12 tristanmaatthews so do I need to make every state in application require setup? or is there a way to define a global requirement for the group
00:12 forrest tristanmaatthews, well that's why I was asking about the chaining, because if state A includes setup, and state B includes state A, by default state B has setup.
00:12 forrest but if state B doesn't require state A, it should just include setup, because then you keep it modular
00:12 forrest does that make sense?
00:13 tristanmaatthews right so I have state A, B, C, D which each require setup but don't require each other.
00:13 forrest ok
00:13 forrest so what does application require?
00:13 aparsons_ joined #salt
00:14 tristanmaatthews application right now is just a file that includes A-D
00:14 forrest tristanmaatthews, ok so what's wrong with that?
00:15 anotherZero joined #salt
00:15 anotherZero joined #salt
00:16 tristanmaatthews Nothing I guess, I'm just wondering if I need to have A-D each require setup or if there is a way to have one requirement for all 4
00:17 forrest Depends on how modular you prefer your design. I've gotta head out for th evening, if you're still having trouble we can discuss it more tomorrow.
00:17 tristanmaatthews k, thanks for your help
00:18 fannet_ Anyone have any idea how to implement this: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.network.html
00:18 fannet_ do I just create a regular SLS file?
00:20 rome joined #salt
00:21 aparsons joined #salt
00:24 otter768 joined #salt
00:35 blarghmatey joined #salt
00:35 blarghmatey Does anyone have an example of using the exclude kwarg in an orchestrate state when running a highstate?
00:36 blarghmatey I want to exclude my Mongo primary based on grain data when executing the overstate
00:36 vbabiy joined #salt
00:44 vbabiy joined #salt
00:44 oz_akan joined #salt
00:50 troyready joined #salt
00:53 bezeee joined #salt
01:00 teebes joined #salt
01:00 bhosmer joined #salt
01:00 bezeee joined #salt
01:01 rostam joined #salt
01:06 aparsons_ joined #salt
01:08 Guest58446 joined #salt
01:09 elfixit1 joined #salt
01:10 druonysus joined #salt
01:10 druonysus joined #salt
01:10 fannet_ how do I configure my bootstrapped minions to put themselfs in startup_state: highstate ?
01:11 bhosmer joined #salt
01:11 aparsons joined #salt
01:14 winmutt fannet_ that seems like the logical answer right? or template it out with some pillar data?
01:15 malinoff joined #salt
01:15 fannet_ ?
01:17 fannet_ oh I see you were replying to my previous question lol
01:17 fannet_ I managed to get that working
01:18 winmutt what do you guys do for code revisioning? just store the salt states and not the pillars?
01:18 winmutt its kinda of a shame they havent brought eyaml to salt
01:19 winmutt not that i fully trust encrypted passwords, but it would make me feel better about pushing to a private repo on bitbucket
01:34 scbunn joined #salt
01:37 jalaziz joined #salt
01:47 winmutt how can i require a database is installed for something else to happen? in this case installing pgcrypto
01:47 ramishra joined #salt
01:47 bhosmer joined #salt
01:50 ilbot3 joined #salt
01:50 Topic for #salt is now Welcome to #salt | 2014.1.10 is the latest | Help us test the 2014.7 RC! http://bit.ly/salt-rc | SaltStack is hiring! http://www.saltstack.com/careers | 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/
01:53 diegows joined #salt
01:53 druonysus joined #salt
01:53 aquinas joined #salt
01:53 jY joined #salt
01:53 ndrei joined #salt
01:53 joehh joined #salt
01:53 CryptoMer joined #salt
01:53 scoates joined #salt
01:54 vbabiy joined #salt
01:54 yomilk joined #salt
01:54 asmaps joined #salt
01:54 sunkist joined #salt
01:54 rypeck joined #salt
01:54 MindDrive joined #salt
01:54 adrenaline_ joined #salt
01:54 tempspace joined #salt
01:54 akitada__ joined #salt
01:54 chutzpah joined #salt
01:54 elfixit joined #salt
01:54 cruatta joined #salt
01:54 cwright joined #salt
01:54 sastorsl joined #salt
01:54 modafinil__ joined #salt
01:54 EWDurbin joined #salt
01:54 scalability-junk joined #salt
01:54 rogst joined #salt
01:54 ph8 joined #salt
01:54 mpoole joined #salt
01:54 imanc__ joined #salt
01:54 doriftoshoes joined #salt
01:54 thunderbolt joined #salt
01:54 go|dfish joined #salt
01:54 Schmidt joined #salt
01:54 Hazelesque joined #salt
01:54 hopthrisC joined #salt
01:54 mikjaer joined #salt
01:54 cyberjames joined #salt
01:54 p2 joined #salt
01:54 jeremyb joined #salt
01:54 notbmatt joined #salt
01:54 Damianz_ joined #salt
01:54 patarr joined #salt
01:54 shalkie joined #salt
01:54 bdf joined #salt
01:54 peno joined #salt
01:54 luminous joined #salt
01:54 rigor789|away joined #salt
01:54 ujjain joined #salt
01:54 jgelens joined #salt
01:55 go|dfish joined #salt
01:56 akitada__ joined #salt
01:56 quickdry21 joined #salt
01:58 basepi joined #salt
02:00 simonmcc joined #salt
02:02 quickdry21 joined #salt
02:03 sunkist joined #salt
02:04 quickdry21 joined #salt
02:06 quickdry21 joined #salt
02:06 snuffeluffegus joined #salt
02:08 scbunn joined #salt
02:08 catpig joined #salt
02:09 quickdry21 joined #salt
02:10 quickdry21 joined #salt
02:13 asmaps joined #salt
02:23 quickdry21 joined #salt
02:28 fannet winmutt - you can use "unless"
02:28 quickdry21 joined #salt
02:29 jaimed joined #salt
02:29 acabrera_ joined #salt
02:30 fannet assuming you mean you don't want to perform X unless database is present?
02:31 fannet I think 'unless' and 'onlyif' are only in certain modules like cmd.run though
02:38 jalaziz joined #salt
02:59 Ryan_Lane joined #salt
03:02 quickdry21_ joined #salt
03:06 quickdry21__ joined #salt
03:06 teebes joined #salt
03:07 ajprog_laptop joined #salt
03:10 gfa joined #salt
03:22 dude051 joined #salt
03:25 active8 joined #salt
03:30 dude051 joined #salt
03:31 kermit joined #salt
03:32 anotherZero joined #salt
03:38 freelock joined #salt
03:40 chrisjones joined #salt
03:42 bezeee joined #salt
03:50 yomilk joined #salt
03:58 aquinas joined #salt
03:58 aquinas_ joined #salt
04:05 cshoe joined #salt
04:07 timbermaniac joined #salt
04:08 micko joined #salt
04:17 Gnouc joined #salt
04:20 stewba joined #salt
04:49 ramteid joined #salt
04:51 bhosmer joined #salt
04:53 felskrone joined #salt
04:53 anotherZero joined #salt
04:54 anotherZero joined #salt
05:01 anotherZero joined #salt
05:02 oz_akan joined #salt
05:04 n8n joined #salt
05:07 Gnouc joined #salt
05:07 n8n joined #salt
05:15 Ryan_Lane joined #salt
05:18 bhosmer joined #salt
05:36 Sypher joined #salt
05:41 Ryan_Lane joined #salt
05:58 jnials joined #salt
06:03 oz_akan joined #salt
06:03 yomilk joined #salt
06:03 jnials_laptop joined #salt
06:04 beneggett joined #salt
06:07 jnials_ joined #salt
06:13 ramishra joined #salt
06:14 thayne joined #salt
06:21 arapaho joined #salt
06:23 agend joined #salt
06:26 lcavassa joined #salt
06:27 yomilk_ joined #salt
06:30 SheetiS joined #salt
06:39 yomilk joined #salt
06:43 n8n joined #salt
06:43 agend joined #salt
06:51 Sweetsha1k joined #salt
06:51 jhauser joined #salt
06:57 chiui joined #salt
07:02 Nexpro joined #salt
07:03 kiorky joined #salt
07:03 viq joined #salt
07:03 oz_akan joined #salt
07:05 fredvd joined #salt
07:06 yomilk joined #salt
07:07 bhosmer joined #salt
07:07 alanpear_ joined #salt
07:10 akafred joined #salt
07:11 Ryan_Lane joined #salt
07:14 alanpear_ joined #salt
07:15 Furao joined #salt
07:19 sectionme joined #salt
07:21 Furao joined #salt
07:22 jsm joined #salt
07:32 brain5ide joined #salt
07:32 oz_akan joined #salt
07:35 j-saturne joined #salt
07:36 slav0nic joined #salt
07:36 slav0nic joined #salt
07:39 PI-Lloyd joined #salt
07:40 fredvd_ joined #salt
07:47 jsm left #salt
07:58 j-saturne1 joined #salt
08:00 yomilk joined #salt
08:05 Ryan_Lane joined #salt
08:16 ndrei joined #salt
08:20 Furao joined #salt
08:21 darkelda joined #salt
08:21 xsteadfastx joined #salt
08:25 ndrei joined #salt
08:26 wnkz_ joined #salt
08:32 ramishra joined #salt
08:33 oz_akan joined #salt
08:36 sectionme joined #salt
08:43 Outlander joined #salt
08:43 Outlander_ joined #salt
08:46 sectionme joined #salt
08:47 Nazca__ joined #salt
08:48 Nazzy joined #salt
08:49 Nazca__ joined #salt
08:49 Nazzy where in the heck is that client connecting from o_O
08:51 SheetiS joined #salt
08:52 j-saturne joined #salt
08:56 fredvd joined #salt
08:56 bhosmer joined #salt
08:56 ramishra joined #salt
09:04 rawtaz joined #salt
09:04 rawtaz hey guys
09:07 sectionme joined #salt
09:10 yomilk joined #salt
09:17 j-saturne joined #salt
09:18 rawtaz silly question perhaps, but from where does the `salt-call` binary in http://karlgrz.com/testing-salt-states-rapidly-with-docker/ come? i dont see him installing it anywhere. the closest is the /src/salt-bootstrap but he doesnt really reference that folder in actual use, so it doesnt seem to be from there (or the article is just missing that path in the call)
09:28 viq rawtaz: it's part of normal salt, which gets installed by salt-bootstrap
09:28 rawtaz right. but he never actually installs/runs the bootstrap, right?
09:29 viq sudo docker run -i -v /home/karl/workspace/salt-bootstrap:/srv/salt-bootstrap -v /home/karl/workspace/salt-states:/srv/salt -t karlgrz/salt-base /bin/bash
09:29 viq Isn't that running it?
09:29 rawtaz afaik that only mounts those two folders and then runs /bin/bash
09:29 rawtaz the -v are for mounting host:guest folders
09:29 viq I don't know enough abount docker
09:30 rawtaz who does anyway :D
09:31 viq someone who tried running it more than once? ;)
09:31 sectionm1 joined #salt
09:32 debianix joined #salt
09:32 TheThing joined #salt
09:32 jensnockert joined #salt
09:32 catpig joined #salt
09:34 oz_akan joined #salt
09:38 sectionme joined #salt
09:41 ze- is there a simple way to ask salt to *really* restart itself? (when reload would not work enough...)
09:42 ze- i meant ask a minion to restart itself, from the master :)
09:42 ThomasJ|d Could always do cmd.run "service salt-minion restart"
09:42 ThomasJ|d Adapt as appropriate for OS specific syntax
09:43 ze- ThomasJ|d: that would require it to be a real system wide configured minion :)
09:43 ze- I have a few hosts having multiple minions running, connecting to different masters. (for dev purpose :)
09:43 ThomasJ|d Right
09:43 ThomasJ|d That makes it a tad more complex
09:44 ThomasJ|d You should still be able to use the cmd.run approach, but it would be a bit more messy
09:45 ze- would need to know which command line it was launched with, to deduce which script to launch...
09:45 ProT-0-TypE joined #salt
09:46 ThomasJ|d Yes. It would depend on having a consistant system on the launching, and would probably be best left to a script. And it would definately be better if there actually is a way to make the minion restart itself
09:47 ze- That's the option I was looking for.
09:47 ze- Idealy something like exec the program like it was called the first time.
09:48 ze- (keeping the same pid?)
09:53 giantlock joined #salt
09:54 donaldinho joined #salt
09:54 debianix joined #salt
09:55 englishm joined #salt
10:06 donaldinho I'm running into a yaml render error with what I consider to be a very simple bit of code. I must be doing some thing obviously wrong but I can't for the life of me see what it is. code is here http://pastebin.com/hNGeWCce
10:07 donaldinho Rendering SLS "base:master_install" failed: Unknown yaml render error; line 3
10:07 thehaven joined #salt
10:09 viq donaldinho: seems your indentation is off, is the first thing. two spaces instead of one before cmd.run. Then, two instead of three before the - in lines below
10:11 viq erm, so just indent cmd.run one more space
10:13 yomilk joined #salt
10:14 donaldinho viq: maybe the pastebin doesn't show it correctly but there are two spaces before the cmd and 4 spaces before the - lines
10:14 ze- donaldinho: missing : after cmd.run
10:14 ze- indent could be 1, 2, 5, it would still works, as long as it's consistent.
10:15 ze- (for a given indent, doesn't even need to be consistent with nested indent, or indent on other places)
10:15 donaldinho ze-: thanks for that. I just noticed that just as you said it. you really don't want to know how long I've been looking at that
10:16 kevinaloys joined #salt
10:16 ze- donaldinho: no worry. I'm used to have coworkers call me after possibly hours for stupid mistakes like that. (and at times, i'm the one calling them too :)
10:18 viq oh, yeah, missed the missing :
10:18 j-saturne joined #salt
10:19 Ashex joined #salt
10:19 bhosmer joined #salt
10:19 Ashex Having a really annoying issue
10:19 Ashex Trying to fetch a file from a windows minion, specifying the full path and it fails
10:26 kingel joined #salt
10:35 crooton joined #salt
10:36 jensnockert joined #salt
10:43 44UAAACKE joined #salt
10:44 bhosmer_ joined #salt
10:45 VSpike Salt docs say "Many of the standard Salt modules have been ported to work on Windows and many of the Salt States currently work on Windows, as well." ... is there actually an up-to-date list of what works and what doesn't?
10:49 TheThing joined #salt
10:53 vbabiy joined #salt
10:56 VSpike Some of them tell lies. salt '*' timezone.get_hwclock says this windows box has a TZ of "America/Danmarkshavn" but it's actually UTC
10:57 babilen ze-: I've run into situations were the indentation did not only have to be consistent, but exactly two. This is rather an idiosyncrasy of the yaml parser in use than the format though
10:57 giannello joined #salt
10:57 cuonglm joined #salt
10:59 darkelda joined #salt
10:59 darkelda joined #salt
11:05 VSpike https://bpaste.net/show/86bd8039191e
11:05 VSpike ^ time zone mismatch
11:06 intellix joined #salt
11:16 TheThing joined #salt
11:19 jensnockert joined #salt
11:20 spo0nman joined #salt
11:30 ndrei joined #salt
11:36 oz_akan joined #salt
11:38 yomilk joined #salt
11:39 jeddi joined #salt
11:40 englishm joined #salt
11:41 hobakill joined #salt
11:41 VSpike How would you make use of this module without a corresponding state module? http://salt.readthedocs.org/en/latest/ref/modules/all/salt.modules.chocolatey.html
11:42 kingel joined #salt
11:43 viq VSpike: maybe http://salt.readthedocs.org/en/latest/ref/states/all/salt.states.module.html  ?
11:47 ramishra joined #salt
11:48 blarghmatey joined #salt
11:50 VSpike viq: that's the only way I can see, but running it every time would be bad, unless the were some way to make it sensibly conditional
11:51 * viq nods
11:51 oz_akan joined #salt
11:52 VSpike Is there any direct relation between state modules and regular modules?
11:52 viq state modules use execution modules
11:53 VSpike Right, that makes sense ... hoped that was the case. So if you wanted to create a chocolatey state module, you wouldn't have to duplicate the work already done... just add ways to detect current state
11:55 kingel joined #salt
11:57 j-saturne joined #salt
11:57 VSpike I'm looking at setting up Windows machines (as you might have guessed). I already have load of powershell scripts to do stuff, so I want to wrap them in Salt. Bits that salt can do natively I'll use salt for, else it can call my scripts and manage the params via piller
11:58 VSpike Is there actually a way when doing something like calling a script from a state file to make it do a conditional test first?
11:59 VSpike I'd think not, since that's an imperative concept and salt states are declarative
11:59 oz_akan joined #salt
12:00 VSpike Perhaps something via Jinja though?
12:00 viq or depend on a command state
12:00 VSpike I guess that would work, but only for what is available to the engine at the time, which AIUI is pillar and grain data
12:01 VSpike viq: can you give me an example?
12:01 mndo joined #salt
12:02 viq VSpike: something like cmd.run that will run your powershell to see if something is already installed, and fail if it is. Then a chocolatey.install (however it is really called) requiring that cmd state
12:02 mndo joined #salt
12:02 VSpike ahh
12:02 VSpike yes, that would work
12:03 viq Of course you will have failed states with that
12:03 viq VSpike: http://salt.readthedocs.org/en/latest/ref/modules/all/salt.modules.chocolatey.html#salt.modules.chocolatey.install_missing
12:07 viq VSpike: that wrapped in the states.module should get you set
12:08 jensnockert joined #salt
12:08 ggoZ joined #salt
12:10 j-saturne joined #salt
12:12 jensnockert joined #salt
12:12 j-saturne1 joined #salt
12:19 tk75 joined #salt
12:22 tk75 joined #salt
12:23 tk75 joined #salt
12:27 che-arne joined #salt
12:28 diegows joined #salt
12:30 oz_akan joined #salt
12:31 jensnock_ joined #salt
12:32 oz_akan_ joined #salt
12:33 jslatts joined #salt
12:33 bhosmer joined #salt
12:38 cshoe joined #salt
12:39 XenophonF joined #salt
12:49 bhosmer joined #salt
12:50 AxelFooley joined #salt
12:51 AxelFooley hey guys, someone could help me understand what can i do with the "config" module?
12:51 AxelFooley i mean, if i launch salt '*' config.get pkg:apache
12:51 AxelFooley i get nothing
12:51 AxelFooley if i'm not wrong, i should retrieve the apache configuration? right?
12:52 rypeck joined #salt
12:53 mapu joined #salt
12:55 debianix joined #salt
12:57 babilen AxelFooley: What do you expect "configuration" to be here? Did you configure anything in salt regarding apache?
12:58 AxelFooley only the pkg.install thing
12:58 babilen It is essentially a way to lookup values from grains, pillars, master and local minion config regardless of origin.
12:58 AxelFooley i thought it was a module used to inspect the local apache configuration
12:58 AxelFooley you know, like apache2.conf
12:58 babilen No, it is not.
12:58 AxelFooley ok, thank you :)
12:59 babilen Think of it as a mix of pillar.get and grains.item (and so on for master config)
12:59 cpowell joined #salt
12:59 AxelFooley clear
12:59 cshoe joined #salt
13:00 teebes joined #salt
13:00 dccc joined #salt
13:05 fredvd joined #salt
13:06 miqui joined #salt
13:06 XenophonF is it possible to have more than two or more state SLS files extend the same state in another SLS file?
13:07 briner joined #salt
13:10 babilen XenophonF: You can only extend once. Not 100% sure if that is globally on if you simply cannot extend an already extended state again. Why don't you try it?
13:10 babilen s/on/or
13:12 mpanetta joined #salt
13:13 ninkotech_ joined #salt
13:14 debianix joined #salt
13:14 DaveQB joined #salt
13:16 mpanetta joined #salt
13:23 XenophonF will do
13:23 micah_chatt joined #salt
13:23 XenophonF thanks babilen
13:23 cpowell joined #salt
13:24 ninkotech__ joined #salt
13:25 SheetiS joined #salt
13:28 jensnockert joined #salt
13:29 micah_chatt joined #salt
13:32 wendall911 joined #salt
13:35 nitti joined #salt
13:35 viq AxelFooley: for apache on the other hand you have http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.apache.html and more general http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.augeas_cfg.html
13:35 smcquay joined #salt
13:36 AxelFooley thank you viq
13:36 AxelFooley reading right now
13:38 ninkotech__ joined #salt
13:40 VSpike viq: thanks... was just snapshotting a clean windows vm so i can experiment a bit, but that looks pretty good.
13:40 j-saturne joined #salt
13:41 englishm joined #salt
13:43 catpig joined #salt
13:43 j-saturne1 joined #salt
13:43 higgs001 joined #salt
13:47 Hell_Fire joined #salt
13:48 skos joined #salt
13:51 skos Hi all
13:51 XenophonF babilen, i was thinking about extending a state twice in the context of multiple web apps installed on a web server
13:51 XenophonF so say one has owncloud and django installed on a web server
13:51 XenophonF both need to add stuff to an Apache virtual host configuration file
13:52 tristianc joined #salt
13:52 perfectsine joined #salt
13:52 XenophonF i was thinking about having some context variable contain these config customizations
13:52 XenophonF but how to merge them...
13:53 XenophonF I dunno.  I need to take another look at file accumulators.
13:53 viq XenophonF: you can have a file per vhost, and have apache include all of them
13:54 che-arne joined #salt
13:54 justyns joined #salt
13:55 justyns joined #salt
13:56 justyns joined #salt
13:56 ninkotech_ joined #salt
13:56 babilen XenophonF: viq's approach is akin to Debian's with site-{available,enabled}
13:56 XenophonF I'm talking about multiple web apps (described in other states) configured in a single virtual host
13:57 XenophonF i need to rtfm on how apache's config include directive works
13:58 XenophonF so TFM says that I can use an include inside a virtualhost context
13:58 viq XenophonF: any particular reason why a single vhost?
13:59 ninkotech_ joined #salt
13:59 dude051 joined #salt
14:00 XenophonF viq: no, none
14:01 XenophonF i'm trying to generalize my apache formula
14:01 viq XenophonF: then maybe it would be easier to have vhost per app?
14:01 XenophonF so i'm trying to think about ways other people (not me) might want to use it
14:01 jemejones joined #salt
14:01 viq ah
14:01 XenophonF because the current apache formula needs some lovin'
14:02 XenophonF babilen wanted something more general
14:02 babilen Did I/
14:02 babilen ?
14:02 yomilk joined #salt
14:02 XenophonF like, me, i use https everywhere, one app ver vhost (and at the root), etc.
14:03 XenophonF well, it was kind of an off-hand comment, babilen :)
14:03 XenophonF i took it as inspiration
14:03 skos if one minion belongs to two nodegroups, it seems that it consumes pillars from both those nodegroups ("match: nodegroup" in /srv/pillar/top.sls) even if we execute state.sls for only one of those nodegroup (salt -N nodegroup_1 state.sls my_state) ?
14:05 viq skos: "Which pillars does this host get" and "which hosts do I execute this command on" are separate
14:05 viq skos: thus this is working as intended
14:05 ninkotech_ joined #salt
14:06 housl joined #salt
14:07 kt76 joined #salt
14:10 wackycaptain joined #salt
14:13 SheetiS joined #salt
14:14 kaptk2 joined #salt
14:15 CeBe joined #salt
14:20 ndrei joined #salt
14:24 Ozack1 joined #salt
14:24 skos tnx viq
14:26 djstorm joined #salt
14:27 felskrone joined #salt
14:29 martoss joined #salt
14:29 kingel_ joined #salt
14:30 martoss hey folks, any idea why firing an event in sls via module.run is not working here: http://pastebin.com/qKVx53Jv while firing the event manually via salt-call event.fire_master works fine?
14:31 tmh1999 joined #salt
14:31 pdayton joined #salt
14:33 Ahlee There, slides are done for my salt talk tomorrow
14:34 Ahlee now hopefully compliance approves of the latest changes
14:34 rallytime joined #salt
14:36 Sp00n left #salt
14:43 koalallama Ahlee: send them over and I'll check if they'll pass compliance
14:46 mihait__ joined #salt
14:46 Ahlee heh
14:47 mikepea_ joined #salt
14:47 doriftoshoes joined #salt
14:47 imanc__ joined #salt
14:47 CaptTofu___ joined #salt
14:47 EWDurbin joined #salt
14:47 wiqd joined #salt
14:47 pwiebe___ joined #salt
14:47 codekobe___ joined #salt
14:48 manytrees___ joined #salt
14:48 akitada__ joined #salt
14:48 hillna__ joined #salt
14:48 neilf_____ joined #salt
14:48 scalability-junk joined #salt
14:48 basepi joined #salt
14:48 whiteinge joined #salt
14:48 copelco__ joined #salt
14:48 grepory_ joined #salt
14:48 munhitsu__ joined #salt
14:48 modafinil__ joined #salt
14:48 thunderbolt joined #salt
14:48 fxdgear_ joined #salt
14:48 ikanobori joined #salt
14:48 akafred joined #salt
14:48 octarine joined #salt
14:49 JonGretar_ joined #salt
14:53 perfectsine joined #salt
14:55 smcquay joined #salt
14:55 pdayton joined #salt
14:57 luminous hi! For anyone familiar with raet library: is it usable enough to authenticate/protect client/server connections?
14:59 bhosmer_ joined #salt
15:00 kingel joined #salt
15:01 ericof joined #salt
15:01 sectionme joined #salt
15:02 rypeck joined #salt
15:03 briner joined #salt
15:05 kingel joined #salt
15:07 pdayton joined #salt
15:07 higgs001 joined #salt
15:09 briner hello, I'm having some python code for sls state. I'm replicating some code from state to other state. Is there a way to factorize the code. Maybe we could push the code to «python module» which will be imported in the sls state.
15:11 vejdmn joined #salt
15:11 eunuchsocket joined #salt
15:12 conan_the_destro joined #salt
15:16 kingel joined #salt
15:17 Ahlee briner: _module ?
15:17 kingel joined #salt
15:17 Ahlee http://docs.saltstack.com/en/latest/ref/modules/
15:18 lempa joined #salt
15:19 jalbretsen joined #salt
15:20 vejdmn1 joined #salt
15:23 ndrei joined #salt
15:24 kiwnix joined #salt
15:24 kbyrne joined #salt
15:31 jaimed joined #salt
15:33 n8n joined #salt
15:34 ckao joined #salt
15:36 perfectsine joined #salt
15:38 n8n_ joined #salt
15:40 tristianc joined #salt
15:40 ajolo joined #salt
15:42 skos joined #salt
15:44 tligda joined #salt
15:50 hopthrisC how can i get the rendered version of a state file for debugging?
15:51 pentabular joined #salt
15:56 jY hopthrisC: can you just run salt-call on the node with debug enabled and test=True ?
15:56 kaptk2 joined #salt
15:56 Gareth hopthrisC: I think http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.state.html#salt.modules.state.show_low_sls might be what you're looking for.
15:58 hopthrisC jY: can i salt-call a state?
15:58 jY sure
15:58 jY salt-call state.sls stateHere
15:59 hopthrisC oh, that way
15:59 xDamox joined #salt
16:00 hopthrisC jY: how should that show me the rendered sls file?
16:04 holms anybody got sls with jinja syntax highlight for vim?
16:04 troyready joined #salt
16:04 tcotav https://github.com/saltstack/salt-vim
16:05 tcotav the underlying default vim yaml parser was bad for me (slooooow on large files) so I had to replace it
16:05 hopthrisC Gareth: that's not what i imagined, but i think i can work with it
16:05 hopthrisC thanks!
16:05 ajolo_ joined #salt
16:06 davet joined #salt
16:07 ajolo__ joined #salt
16:11 scbunn joined #salt
16:13 KyleG joined #salt
16:13 KyleG joined #salt
16:14 higgs001 joined #salt
16:18 obimod joined #salt
16:20 hobakill joined #salt
16:22 sectionme joined #salt
16:22 scoates not exactly salt-related, but hoping someone in here might know (and I'm working *with* salt). is there a way to get yaml.dump() to resolve identifiers (like `*id006`) before outputting?
16:22 aparsons joined #salt
16:23 bezeee joined #salt
16:24 thayne joined #salt
16:28 ksalman can i pip install a module into the python that comes with Salt on Windows?
16:28 druonysus joined #salt
16:28 ksalman via salt?
16:28 kingel joined #salt
16:29 ksalman well, I guess I don't even know if i can install pip in the first place
16:30 jY ksalman: salt can install things via pip
16:30 jY http://docs.saltstack.com/en/latest/ref/states/all/salt.states.pip_state.html
16:30 ksalman jY: on Windows is what i am wondering about, really
16:31 jY if a cmd.which_bin pip works
16:31 jY then it *should*
16:33 luminous hobakill: you also want log-level=debug
16:33 luminous hopthrisC: sorry ^^
16:34 scoates fwiw, I got it to work with this http://signal0.com/2013/02/06/disabling_aliases_in_pyyaml.html
16:34 TheThing joined #salt
16:36 sudarkoff joined #salt
16:37 tristianc joined #salt
16:42 n8n joined #salt
16:43 bhosmer joined #salt
16:44 bhosmer_ joined #salt
16:48 jeremyb joined #salt
16:48 spookah joined #salt
16:50 debian112 joined #salt
16:52 bhosmer joined #salt
16:53 iggy so... if overstates are going to be deprecated, what is the "new" way of doing inter-node dependencies between services?
16:54 babilen orchestrate!
16:54 BrendanGilmore joined #salt
16:56 iggy okay, that was confusing
16:56 cshoe joined #salt
16:56 obimod joined #salt
16:57 iggy state.orch used to be called state.sls... but that's not the same state.sls as you might run with salt/salt-call
16:57 iggy I was assuming they were the same
16:57 iggy I get it now
16:57 iggy babilen: thanks for getting me to relook at that
16:58 TheThing joined #salt
16:58 aparsons joined #salt
17:00 vejdmn1 joined #salt
17:00 nitti joined #salt
17:00 cpowell joined #salt
17:00 jslatts joined #salt
17:00 blarghmatey joined #salt
17:00 viq joined #salt
17:00 active8 joined #salt
17:00 drawks joined #salt
17:00 rmnuvg joined #salt
17:00 Flusher joined #salt
17:00 seblu joined #salt
17:00 wm-bot4 joined #salt
17:00 Damoun joined #salt
17:00 InAnimaTe joined #salt
17:00 z3uS joined #salt
17:00 snuffop joined #salt
17:00 manfred joined #salt
17:00 Deevolution joined #salt
17:00 ghartz joined #salt
17:00 renoirb_AFK joined #salt
17:00 jayne joined #salt
17:00 g3cko joined #salt
17:00 emostar joined #salt
17:00 abele joined #salt
17:00 Gareth joined #salt
17:00 jasonrm joined #salt
17:00 roo9 joined #salt
17:01 n8n_ joined #salt
17:01 monokrome joined #salt
17:02 bhosmer joined #salt
17:02 jeremyb joined #salt
17:02 xDamox joined #salt
17:02 tligda joined #salt
17:02 djstorm joined #salt
17:02 SheetiS joined #salt
17:02 catpig joined #salt
17:02 mndo joined #salt
17:02 jeddi joined #salt
17:02 Sweetsha1k joined #salt
17:02 stewba joined #salt
17:02 ajprog_laptop joined #salt
17:02 simonmcc joined #salt
17:02 tkharju joined #salt
17:02 tmmt joined #salt
17:02 gmoro joined #salt
17:02 winmutt joined #salt
17:02 jab416171 joined #salt
17:02 borgstrom joined #salt
17:02 goodwill joined #salt
17:02 analogbyte joined #salt
17:02 hjst joined #salt
17:02 jchen joined #salt
17:02 stoffell joined #salt
17:02 JordanTesting__ joined #salt
17:02 ze- joined #salt
17:02 dean joined #salt
17:02 akoumjian__ joined #salt
17:02 hotbox_ joined #salt
17:02 csa joined #salt
17:02 kaictl joined #salt
17:02 homelinen joined #salt
17:02 kalessin joined #salt
17:02 nickg joined #salt
17:02 rawzone joined #salt
17:02 toddnni joined #salt
17:03 toddnni joined #salt
17:03 rawzone joined #salt
17:03 nickg joined #salt
17:03 kalessin joined #salt
17:03 homelinen joined #salt
17:03 kaictl joined #salt
17:03 csa joined #salt
17:03 hotbox_ joined #salt
17:03 akoumjian__ joined #salt
17:03 ze- joined #salt
17:03 JordanTesting__ joined #salt
17:03 stoffell joined #salt
17:03 jchen joined #salt
17:03 hjst joined #salt
17:03 analogbyte joined #salt
17:03 goodwill joined #salt
17:03 borgstrom joined #salt
17:03 jab416171 joined #salt
17:03 winmutt joined #salt
17:03 gmoro joined #salt
17:03 tmmt joined #salt
17:03 tkharju joined #salt
17:03 simonmcc joined #salt
17:03 ajprog_laptop joined #salt
17:03 stewba joined #salt
17:03 Sweetsha1k joined #salt
17:03 jeddi joined #salt
17:03 mndo joined #salt
17:03 catpig joined #salt
17:03 SheetiS joined #salt
17:03 djstorm joined #salt
17:03 tligda joined #salt
17:03 xDamox joined #salt
17:03 jeremyb joined #salt
17:03 bhosmer joined #salt
17:03 monokrome joined #salt
17:03 n8n_ joined #salt
17:03 rofl____ joined #salt
17:03 oeuftete joined #salt
17:03 mattikus joined #salt
17:03 xintron joined #salt
17:03 iamtew joined #salt
17:03 ampex_ joined #salt
17:03 minaguib joined #salt
17:03 andredieb joined #salt
17:03 ashb joined #salt
17:03 etw joined #salt
17:03 nkuttler joined #salt
17:03 Sacro joined #salt
17:03 LordOfLA|Weechat joined #salt
17:03 chitown joined #salt
17:03 moos3 joined #salt
17:03 grep_away joined #salt
17:03 Kakwa joined #salt
17:03 lynxman joined #salt
17:03 wedgie joined #salt
17:03 seb` joined #salt
17:03 masterkorp joined #salt
17:03 timoguin joined #salt
17:03 lude1 joined #salt
17:03 gwmngilfen joined #salt
17:03 UForgotten joined #salt
17:03 dober_ joined #salt
17:03 twobitsprite joined #salt
17:03 baffle joined #salt
17:03 nhubbard joined #salt
17:03 Kenzor joined #salt
17:03 rblackwe joined #salt
17:03 eculver_ joined #salt
17:03 anteaya joined #salt
17:03 colon_D joined #salt
17:03 jeblair joined #salt
17:03 bigmstone joined #salt
17:03 scooby2 joined #salt
17:03 djaykay joined #salt
17:03 the_lalelu joined #salt
17:03 nahamu joined #salt
17:03 msil joined #salt
17:03 mortis joined #salt
17:03 nyov joined #salt
17:03 eightyeight joined #salt
17:03 tedski joined #salt
17:03 avn_ joined #salt
17:03 _|d0m|_ joined #salt
17:03 smkelly joined #salt
17:03 akl joined #salt
17:03 davromaniak joined #salt
17:03 pmcg joined #salt
17:03 oldclone joined #salt
17:03 crazysim joined #salt
17:03 Heggan_ joined #salt
17:03 stan_k joined #salt
17:03 alainv joined #salt
17:03 terinjokes joined #salt
17:03 marcinkuzminski joined #salt
17:03 ifmw joined #salt
17:03 mugsie joined #salt
17:03 Ixan joined #salt
17:03 koyd_ joined #salt
17:03 v0rtex joined #salt
17:03 sinwave joined #salt
17:03 zsoftich1 joined #salt
17:03 IOMonster joined #salt
17:03 agj joined #salt
17:03 AnswerGuy joined #salt
17:03 carmony joined #salt
17:03 maber_ joined #salt
17:03 robawt joined #salt
17:03 fivethreeo joined #salt
17:03 sdebot_ joined #salt
17:03 Bryanstein joined #salt
17:03 skullone joined #salt
17:03 nlb joined #salt
17:03 platforms joined #salt
17:03 ahale joined #salt
17:03 Yoda-BZH joined #salt
17:03 dwfreed joined #salt
17:03 amontalban joined #salt
17:03 Zuru joined #salt
17:03 shano joined #salt
17:03 stotch joined #salt
17:03 twiedenbein joined #salt
17:03 fejese joined #salt
17:03 Doqnach joined #salt
17:03 syst3mw0rm joined #salt
17:03 tcotav joined #salt
17:03 bensons_ joined #salt
17:03 Ahlee joined #salt
17:03 JPaul joined #salt
17:03 andabata joined #salt
17:03 martin_ joined #salt
17:03 zz_chamunks joined #salt
17:03 oncallsucks joined #salt
17:03 ShibMcNe joined #salt
17:03 csa_ joined #salt
17:03 rubenb joined #salt
17:03 beebeeep joined #salt
17:03 arnoldB joined #salt
17:03 trevorj joined #salt
17:03 garphy joined #salt
17:03 keekz joined #salt
17:03 Blacklite joined #salt
17:03 samed joined #salt
17:03 _dancat_ joined #salt
17:03 fxhp joined #salt
17:03 whyzgeek joined #salt
17:03 aarontc joined #salt
17:03 berserk joined #salt
17:03 eclectic joined #salt
17:03 ede joined #salt
17:03 mik3 joined #salt
17:03 dcolish joined #salt
17:03 MaZ- joined #salt
17:03 MTecknology joined #salt
17:03 honestly joined #salt
17:03 Fa1lure joined #salt
17:03 stevednd joined #salt
17:03 jpaetzel joined #salt
17:03 mage_ joined #salt
17:03 pviktori joined #salt
17:03 bernieke joined #salt
17:03 ntropy joined #salt
17:03 yano joined #salt
17:03 pfallenop joined #salt
17:03 SaveTheRbtz joined #salt
17:03 Psi-Jack joined #salt
17:03 eofs joined #salt
17:03 jeremmm joined #salt
17:03 mackstick joined #salt
17:03 Dinde joined #salt
17:03 heise joined #salt
17:03 zemm joined #salt
17:03 Whissi joined #salt
17:03 Ironhand joined #salt
17:03 intr1nsic joined #salt
17:03 CatPlusPlus joined #salt
17:03 apergos joined #salt
17:03 MK_FG joined #salt
17:03 ksalman joined #salt
17:03 irated joined #salt
17:03 flebel joined #salt
17:03 sashka_u1 joined #salt
17:03 z0rc joined #salt
17:03 dark_helmet joined #salt
17:03 Valdo joined #salt
17:03 Karunamon joined #salt
17:03 Ancient joined #salt
17:03 darrend joined #salt
17:03 mr_chris- joined #salt
17:03 juice joined #salt
17:03 KaaK_ joined #salt
17:03 vlcn joined #salt
17:03 QuinnyPig joined #salt
17:03 sarlalia1 joined #salt
17:03 Tahm joined #salt
17:03 bretep joined #salt
17:03 huleboer joined #salt
17:03 hoodow joined #salt
17:03 hietler joined #salt
17:03 rspectre joined #salt
17:03 whytewolf joined #salt
17:03 N-Mi joined #salt
17:03 simmel joined #salt
17:03 Daviey joined #salt
17:03 estherbester joined #salt
17:03 dstokes joined #salt
17:03 bnikolaus joined #salt
17:03 \ask joined #salt
17:03 VSpike joined #salt
17:03 berto- joined #salt
17:03 izibi_ joined #salt
17:03 dimeshake joined #salt
17:03 beardo__ joined #salt
17:03 crashmag joined #salt
17:03 kavakava joined #salt
17:03 al joined #salt
17:03 Micromus joined #salt
17:03 tyler-baker joined #salt
17:03 TOoSmOotH joined #salt
17:03 Alan_S joined #salt
17:03 koalallama joined #salt
17:03 codysoyland joined #salt
17:03 erjohnso joined #salt
17:03 Sway joined #salt
17:03 ropes joined #salt
17:03 georgemarshall joined #salt
17:03 jesusaurus joined #salt
17:03 redondos joined #salt
17:03 kwmiebach_____ joined #salt
17:03 sadbox joined #salt
17:03 rcsheets joined #salt
17:03 toastedpenguin joined #salt
17:03 djinni` joined #salt
17:03 Zachary_DuBois joined #salt
17:03 Eugene joined #salt
17:03 Ymage joined #salt
17:03 Vye joined #salt
17:03 APLU joined #salt
17:03 canci joined #salt
17:03 knot` joined #salt
17:03 NV joined #salt
17:03 n0arch_ joined #salt
17:03 mortis__ joined #salt
17:03 repl1can1 joined #salt
17:03 holms joined #salt
17:03 ecdhe joined #salt
17:03 rnts joined #salt
17:03 lz-dylan joined #salt
17:03 drogoh joined #salt
17:03 jcockhren joined #salt
17:03 jacksontj joined #salt
17:03 pppingme joined #salt
17:03 teepark joined #salt
17:03 synical joined #salt
17:03 sgate1 joined #salt
17:03 Guest76537 joined #salt
17:03 funzo joined #salt
17:03 iggy joined #salt
17:03 sirtaj joined #salt
17:03 a1j_ joined #salt
17:03 sxar joined #salt
17:03 GnuLxUsr joined #salt
17:03 Xiao_ joined #salt
17:03 iMil joined #salt
17:03 Twiglet_ joined #salt
17:03 __number5__ joined #salt
17:03 TamCore joined #salt
17:03 lazybear joined #salt
17:03 dh joined #salt
17:03 drags joined #salt
17:03 buhman joined #salt
17:03 lahwran joined #salt
17:03 schristensen joined #salt
17:03 evidence joined #salt
17:03 palantir joined #salt
17:03 eliasp joined #salt
17:03 [vaelen] joined #salt
17:03 uber joined #salt
17:03 ThomasJ|d joined #salt
17:03 babilen joined #salt
17:03 svx joined #salt
17:03 utahcon_ joined #salt
17:03 gamingrobot joined #salt
17:03 tinuva joined #salt
17:03 TaiSHi joined #salt
17:03 nebuchadnezzar joined #salt
17:03 jcristau joined #salt
17:03 steve1 joined #salt
17:03 zz_Cidan joined #salt
17:03 uzomg joined #salt
17:03 DenkBrettl joined #salt
17:03 madduck joined #salt
17:03 lyddonb_ joined #salt
17:03 __alex_ joined #salt
17:03 mirko joined #salt
17:03 balltongu joined #salt
17:03 gldnspud_ joined #salt
17:03 geekatcmu joined #salt
17:03 vividloop joined #salt
17:03 goki____ joined #salt
17:03 nliadm joined #salt
17:03 Twiglet joined #salt
17:03 rodo joined #salt
17:03 Hipikat joined #salt
17:03 xenoxaos joined #salt
17:03 kaiyou joined #salt
17:03 rpatterson joined #salt
17:03 skarn joined #salt
17:03 crane joined #salt
17:03 bryguy joined #salt
17:03 goal joined #salt
17:03 packeteer joined #salt
17:03 errr joined #salt
17:03 axledwarf joined #salt
17:03 jdmf joined #salt
17:03 colttt joined #salt
17:03 devx_ joined #salt
17:03 Ssquidly joined #salt
17:03 nocturn joined #salt
17:03 dkrae joined #salt
17:03 blackjid joined #salt
17:03 WesleyL joined #salt
17:03 programmerq joined #salt
17:03 Pixionus joined #salt
17:03 Heartsbane joined #salt
17:03 lionel_ joined #salt
17:03 bezaban joined #salt
17:03 johngrasty joined #salt
17:03 litwol joined #salt
17:03 njs126 joined #salt
17:03 bastion1704 joined #salt
17:03 wangofett joined #salt
17:03 Eliz joined #salt
17:03 FL1SK joined #salt
17:03 robinsmidsrod joined #salt
17:03 laxity joined #salt
17:03 mephx joined #salt
17:03 cybertim joined #salt
17:03 schainks joined #salt
17:03 blast_hardcheese joined #salt
17:03 whitenite`afk joined #salt
17:03 tru_tru joined #salt
17:03 Jarus joined #salt
17:03 cb joined #salt
17:03 Emantor joined #salt
17:03 mschiff joined #salt
17:03 Kelsar joined #salt
17:03 jbub joined #salt
17:03 spiette joined #salt
17:03 t0rrant joined #salt
17:03 davidone joined #salt
17:03 lkannan joined #salt
17:03 sifusam joined #salt
17:03 scarcry joined #salt
17:03 esogas joined #salt
17:03 fannet_ joined #salt
17:03 Damon_ joined #salt
17:03 rockey joined #salt
17:03 temhaa joined #salt
17:03 lopez_ joined #salt
17:03 pjs joined #salt
17:03 jeremyBass2 joined #salt
17:03 [M7] joined #salt
17:03 mfournier joined #salt
17:03 hellerbarde joined #salt
17:03 Sypher joined #salt
17:03 rostam joined #salt
17:03 Guest58446 joined #salt
17:03 cwyse_ joined #salt
17:03 cztanu_ joined #salt
17:03 jY joined #salt
17:03 joehh joined #salt
17:03 CryptoMer joined #salt
17:03 scoates joined #salt
17:03 MindDrive joined #salt
17:03 tempspace joined #salt
17:03 chutzpah joined #salt
17:03 cruatta joined #salt
17:03 cwright joined #salt
17:03 sastorsl joined #salt
17:03 rogst joined #salt
17:03 ph8 joined #salt
17:03 mpoole joined #salt
17:03 Schmidt joined #salt
17:03 Hazelesque joined #salt
17:03 hopthrisC joined #salt
17:03 mikjaer joined #salt
17:03 cyberjames joined #salt
17:03 p2 joined #salt
17:03 notbmatt joined #salt
17:03 Damianz_ joined #salt
17:03 patarr joined #salt
17:03 shalkie joined #salt
17:03 bdf joined #salt
17:03 peno joined #salt
17:03 luminous joined #salt
17:03 rigor789|away joined #salt
17:03 ujjain joined #salt
17:03 jgelens joined #salt
17:03 go|dfish joined #salt
17:03 asmaps joined #salt
17:03 gfa joined #salt
17:03 kermit joined #salt
17:03 freelock joined #salt
17:03 aquinas joined #salt
17:03 timbermaniac joined #salt
17:03 micko joined #salt
17:03 jnials_ joined #salt
17:03 arapaho joined #salt
17:03 jhauser joined #salt
17:03 kiorky joined #salt
17:03 brain5ide joined #salt
17:03 slav0nic joined #salt
17:03 xsteadfastx joined #salt
17:03 wnkz_ joined #salt
17:03 Nazzy joined #salt
17:03 Nazca__ joined #salt
17:03 rawtaz joined #salt
17:03 giantlock joined #salt
17:03 thehaven joined #salt
17:03 kevinaloys joined #salt
17:03 Ashex joined #salt
17:03 vbabiy joined #salt
17:03 XenophonF joined #salt
17:03 mapu joined #salt
17:03 teebes joined #salt
17:03 dccc joined #salt
17:03 miqui joined #salt
17:03 debianix joined #salt
17:03 mpanetta joined #salt
17:03 wendall911 joined #salt
17:03 englishm joined #salt
17:03 Hell_Fire joined #salt
17:03 che-arne joined #salt
17:03 dude051 joined #salt
17:03 jemejones joined #salt
17:03 ninkotech_ joined #salt
17:03 housl joined #salt
17:03 kt76 joined #salt
17:03 CeBe joined #salt
17:03 Ozack1 joined #salt
17:03 felskrone joined #salt
17:03 tmh1999 joined #salt
17:03 rallytime joined #salt
17:03 mihait__ joined #salt
17:03 mikepea_ joined #salt
17:03 doriftoshoes joined #salt
17:03 imanc__ joined #salt
17:03 CaptTofu___ joined #salt
17:03 EWDurbin joined #salt
17:03 wiqd joined #salt
17:03 pwiebe___ joined #salt
17:03 codekobe___ joined #salt
17:03 manytrees___ joined #salt
17:03 akitada__ joined #salt
17:03 hillna__ joined #salt
17:03 neilf_____ joined #salt
17:03 scalability-junk joined #salt
17:03 basepi joined #salt
17:03 whiteinge joined #salt
17:03 copelco__ joined #salt
17:03 grepory_ joined #salt
17:03 munhitsu__ joined #salt
17:03 modafinil__ joined #salt
17:03 thunderbolt joined #salt
17:03 fxdgear_ joined #salt
17:03 ikanobori joined #salt
17:03 akafred joined #salt
17:03 octarine joined #salt
17:03 JonGretar_ joined #salt
17:03 ericof joined #salt
17:03 rypeck joined #salt
17:03 briner joined #salt
17:03 pdayton joined #salt
17:03 conan_the_destro joined #salt
17:03 lempa joined #salt
17:03 jalbretsen joined #salt
17:03 ndrei joined #salt
17:03 kbyrne joined #salt
17:03 jaimed joined #salt
17:03 ckao joined #salt
17:03 pentabular joined #salt
17:03 kaptk2 joined #salt
17:03 troyready joined #salt
17:03 davet joined #salt
17:03 ajolo__ joined #salt
17:03 scbunn joined #salt
17:03 KyleG joined #salt
17:03 hobakill joined #salt
17:03 thayne joined #salt
17:03 druonysus joined #salt
17:03 sudarkoff joined #salt
17:03 tristianc joined #salt
17:03 n8n joined #salt
17:03 spookah joined #salt
17:03 debian112 joined #salt
17:03 BrendanGilmore joined #salt
17:03 cshoe joined #salt
17:03 TheThing joined #salt
17:03 vejdmn1 joined #salt
17:03 nitti joined #salt
17:03 cpowell joined #salt
17:03 jslatts joined #salt
17:03 blarghmatey joined #salt
17:03 viq joined #salt
17:03 active8 joined #salt
17:03 drawks joined #salt
17:03 rmnuvg joined #salt
17:03 Flusher joined #salt
17:03 seblu joined #salt
17:03 wm-bot4 joined #salt
17:03 Damoun joined #salt
17:03 InAnimaTe joined #salt
17:03 z3uS joined #salt
17:03 snuffop joined #salt
17:03 manfred joined #salt
17:03 Deevolution joined #salt
17:03 ghartz joined #salt
17:03 renoirb_AFK joined #salt
17:03 jayne joined #salt
17:03 g3cko joined #salt
17:03 emostar joined #salt
17:03 abele joined #salt
17:03 Gareth joined #salt
17:03 jasonrm joined #salt
17:03 roo9 joined #salt
17:03 bezeee joined #salt
17:04 [vaelen] joined #salt
17:05 dean joined #salt
17:06 druonysus joined #salt
17:07 stephanbuys joined #salt
17:07 thunderbolt joined #salt
17:11 cshoe joined #salt
17:11 forrest joined #salt
17:13 stephanbuys hi all - can I use a salt-cloud map as a salt-ssh roster?
17:13 stephanbuys or is there a way to use salt-ssh with salt-cloud? Ie, minionless?
17:15 chrisjones joined #salt
17:22 aparsons joined #salt
17:22 sectionme joined #salt
17:24 egalano joined #salt
17:25 scarcry joined #salt
17:29 UtahDave joined #salt
17:29 cpowell joined #salt
17:30 kermit joined #salt
17:30 kermit joined #salt
17:32 forrest UtahDave, back in the office already?
17:32 UtahDave sorta, working from near home today.
17:32 KyleG left #salt
17:33 Gareth morning morning
17:33 UtahDave morning!
17:33 forrest hey Gareth
17:33 Gareth hey forrest, UtahDave: how are we doing this morning?
17:35 UtahDave great!
17:35 UtahDave I'm working remotely from my favorite deli today.
17:37 forrest Gareth, very good, yourself?
17:37 forrest UtahDave, that sounds nice
17:39 Gareth forrest: doing well :) just prepping a pull request.
17:41 higgs001 joined #salt
17:41 forrest Gareth, awww yeah
17:43 oz_akan joined #salt
17:47 cshoe joined #salt
17:48 holms XenophonF: a dummy question, but s'rsly i'm not able to understand that in here despite that i've read docs :) http://i.imgur.com/w3ib4O4.png <-- how in states, to call his pillar variable, i need this v2sphinx key, and i need repo key in loop
17:48 holms anybody welcome to answer too :)
17:48 XenophonF hi holms let me take a look
17:48 theneykov joined #salt
17:48 theneykov_ joined #salt
17:49 holms s/his/this
17:49 holms i'll show you my loop
17:49 XenophonF ok here's how you get the data
17:49 XenophonF {{ salt['pillar.get']('projects:v2sphinx:repo') }}
17:50 holms http://imgur.com/7S89IdR
17:50 holms XenophonF: does pillar['varname'] works?
17:50 holms this is so long
17:50 holms and would be nice in loop :) like on screenshot
17:50 holms it says repo key is not found
17:50 XenophonF i think so, but i use pillar.get because i make use of default values
17:50 XenophonF oh
17:50 XenophonF parse error
17:50 XenophonF put single quotes around git@github...
17:51 holms checking :)
17:52 XenophonF the syntax highlighting doesn't like the pillar, anyway
17:52 XenophonF maybe that's just highlighting the line your on
17:53 holms Rendering SLS "base:app-state" failed: Jinja variable 'str object' has no attribute 'repo'; line 37
17:53 holms but it nothing says about {{ project }}
17:54 holms can i debug this var somehow in here? just to output
17:54 holms whole dump
17:54 rypeck Is their a variable that is the name of the salt master I could use in a template?
17:54 XenophonF so remember, pillar['projects'] or salt['pillar.get']('projects') will return a dict
17:54 holms okay
17:54 XenophonF because that's how you have it stored in jinja
17:55 XenophonF so whenever i iterate over dicts, i use "for key, value in dict.items()"
17:55 holms so doing {% for project in  pillar['projects'] %} and using {{ project }} must output project name and {{ project['repo'] }} that projects repo right?
17:55 holms hmz k le metry this
17:56 SheetiS XenophonF++ re: dict iteration
17:56 XenophonF i guess you can do "for key in dict:" and have it work
17:56 Gareth UtahDave/w 46
17:56 Gareth er
17:57 XenophonF holms: projects:v2engine refers to another dict
17:58 XenophonF "project" in your code is a string
17:58 XenophonF so you'd have to do something like pillar['projects'][project]['repo'] maybe?
17:59 XenophonF or pillar['projects:'+project+':repo']
18:00 XenophonF holms, you're better off doing {% for project, settings in pillar['projects'] %}
18:00 XenophonF project works like you have in your SLS
18:00 holms okay will try
18:00 XenophonF then use settings['repo']
18:00 XenophonF sorry i meant {% for project, settings in pillar['projects'].items() %}
18:01 XenophonF so the reason i use pillar.get is so i can have sensible defaults in my SLS files
18:01 XenophonF so if someone doesn't specify the dict, your state run doesn't throw a bunch of jinja errors
18:02 XenophonF so i would actually write that as {% for project, settings in salt['pillar.get']('projects', {}).items() %}
18:02 aparsons joined #salt
18:02 XenophonF that way if projects isn't specified in Pillar, the for loop ends right away without errors
18:02 iggy ^
18:03 iggy can't tell you how many formulas I've run into that didn't do that
18:03 XenophonF errors that would prevent a highstate job from completing
18:03 holms it's a bit of suicide to write this
18:04 scbunn joined #salt
18:05 hako joined #salt
18:05 XenophonF not possible
18:05 XenophonF suicide is painless
18:06 XenophonF writing salt formulas is not ;)
18:06 XenophonF but once they work, it feels so good
18:07 * XenophonF starts humming the M.A.S.H. theme song.
18:07 babilen iggy: Please file bugs when you see it. This is *very* easy to fix and there is no need for users to run into that
18:08 kiorky joined #salt
18:09 peloponnesian joined #salt
18:09 holms XenophonF: it's a bit of overdoing things i mean..it's becoming cfengine already by complexity
18:10 holms where you automate everything in c++
18:10 XenophonF well, in salt you automate everything in python
18:10 peloponnesian anyone know where does salt log on windows minions?
18:10 XenophonF those SLS files you're creating?
18:10 XenophonF for states those end up being interpreted as python function calls
18:11 XenophonF only it uses yaml syntax instead of python syntax
18:11 iggy babilen: well, I fix most of them and send pull requests, but if I run into any I don't feel like fixing, I'll file bugs in the future
18:11 babilen (even better)
18:12 iggy actually... I have a bunch of stuff I still need to send pull requests for
18:12 iggy maybe this weekend
18:12 babilen They shall be merged happily
18:13 holms XenophonF: incompare with speed ansible been for me faster to write playbooks, and chef too. but deploying is a pain when you have lot of stuff going on
18:13 iggy yeah, so far everything I've merge requested has been taken pretty quick
18:13 holms XenophonF: in here zeromq provisions really LOT faster :) but that's the only reason
18:13 druonysuse joined #salt
18:13 druonysuse joined #salt
18:14 XenophonF holms: here's how i would do it - http://paste.debian.net/121512/
18:14 XenophonF please note the file state dependency in the git.latest state
18:15 XenophonF that's missing from yours
18:15 holms XenophonF: been hating ansible for yaml, i've used to chef flexibility more, but once i've learned their patterns it was easy. in here it's same as to learn both at same time :D and it's still difficult. it's more like actually programming. attribtues and variables more easier for me to use then jinja with pillar
18:15 holms XenophonF: what's the difference between git and git.latest?
18:15 holms pulling from master?
18:15 XenophonF git:\n  -latest is the same thing as git.latest
18:16 XenophonF i think the former is more readable, but it's a what-color-to-paint-the-bikeshed kind of argument
18:16 scbunn joined #salt
18:16 Ahlee Is there  away to say 'include: - foo' if foo has not yet been included?
18:16 holms ok
18:18 kermit joined #salt
18:19 mgw joined #salt
18:21 mgw has anybody seen this building salt-docs? -- TypeError: 'Mock' object has no attribute '__getitem__'
18:21 mgw on 2014.7
18:21 mgw branch
18:21 jalaziz joined #salt
18:22 holms XenophonF: thanks so much, seems to be working, my head is dump today. it's same as python yet my brains are offline
18:22 XenophonF oh glad to hear it's working for you!
18:22 sectionme joined #salt
18:24 bhosmer joined #salt
18:24 fllr joined #salt
18:26 iggy is there a way to have multiple requirements for a state in an orchestration file?
18:27 peloponnesian nm found out where windows minions log
18:30 nitti joined #salt
18:31 ajolo joined #salt
18:31 perfectsine joined #salt
18:34 perfectsine joined #salt
18:35 UtahDave joined #salt
18:36 ericof joined #salt
18:44 debianix joined #salt
18:45 jeffG_ joined #salt
18:46 geekatcmu joined #salt
18:48 anotherZero joined #salt
18:54 ndrei joined #salt
18:57 mpanetta Does salt internally use saltutil.find_job to see if a job has completed?  I see it getting called A LOT when running an orchestration job.  Many times looking up the same JID.
18:57 mpanetta (looking at the events on the evnt bus)
18:59 UtahDave mpanetta: yes, salt does use saltutil.find_job. every 5 seconds, by default.  On the CLI I change that to -t 30 to avoid that flood in the job cache
18:59 SheetiS mpanetta: I've noticed that I'll see a return for every minion that reports back for a particular JID.  Including my reactor being triggered once per say if I were monitoring the return on a state.highstate that was applied to *
18:59 vejdmn joined #salt
19:00 mpanetta UtahDave: Ok cool, I will do that.  I am attempting to figure out how to use the event bus to tell when things have completed outside of salt, so the extra spam is getting in my way :P
19:00 UtahDave Yeah, it bugs the heck out of me, too.   :)
19:01 mpanetta SheetiS: Yeah I see returns as well as the find_job calls
19:02 higgs001 joined #salt
19:03 chitown i have a question about grains.filter_by and the merge kwarg
19:04 chitown what if i want to do the reverse?
19:04 viq joined #salt
19:04 chitown i.e. i want to set a bunch of defaults (so the keys WILL exist) and then override with other stuff
19:04 mpanetta UtahDave: Apparently it defaults to every second for the orchestrate runner...
19:05 chitown the way i read it (adn the way it seems to act) is that if a key exists in the merged dict, it will override the value defined
19:05 chitown does that make sense?
19:05 UtahDave mpanetta: ??    really? wow.  I wonder if that is intentional
19:05 mpanetta UtahDave: In the man page for salt-run it has it listed as 1 second. :(
19:06 scbunn joined #salt
19:06 mpanetta Which is way too frequent IMO... So...  I donno if it is intentional, but it should probably be changed.
19:06 UtahDave Yeah, we should open up a discussion on that
19:07 SheetiS chitown: Someone recently pasted a gist here for a state macro he was using to merge dictionaries.  It might help with what you are wanting to do https://gist.github.com/michaelkrupp/4e83ab08ffd32c8ca387
19:07 bezeee Questions re: the unless/onlyif checks.  "Use unless to only run if any of the specified commands return False.".....what defines False?  exit codes?
19:07 bezeee http://docs.saltstack.com/en/latest/ref/states/requisites.html#unless
19:07 druonysus joined #salt
19:09 chitown SheetiS: thanks. that's more or less what i was doing, but not with macros
19:09 chitown just wanted to make sure i wasnt missing something :)
19:09 SheetiS chitown: The macro just lets you use it for any dicts across multiple states if needed :)
19:10 chitown ya, my *current* use case is pretty specific...
19:10 chitown i.e. its a hack and i'll regret not doing something more generic
19:10 chitown but, thats tomorrow's problem ;)
19:11 chitown has anyone done some perf modeling on the cost of this much jinja in pillar data?
19:11 SheetiS bezeee: in the case of a cmd.run, it would be a non-zero exit code
19:12 chitown my current setup is pretty small.... but i came from a VERY large setup where the disk couldnt keep up with the auth traffic
19:12 chitown so, i am a little overly paranoid atm
19:12 dude051 joined #salt
19:13 bezeee great...thanks SheetiS
19:13 skyler_ joined #salt
19:13 mpanetta UtahDave: Crap it looks like the states that the orchestrator calls still have the timeout set to 5 seconds...  Can I change it in the master config to fix that?
19:14 housleyjk joined #salt
19:14 mpanetta (this is despite using salt-run -t 30...)
19:14 suranasa joined #salt
19:15 SheetiS chitown: if performance gets too bad, you can always make a python module for it (I actually messed with a python dict merge module for a bit, but then found a way to do what I wnated without getting confused merging dictionaries), but I wouldn't over-optimize too early.
19:15 jalaziz joined #salt
19:15 UtahDave mpanetta: looks like there's a    "timeout" config option in the master config, but the comment description isn't super clear if that's the same as the -t on the cli
19:15 saurabhs joined #salt
19:17 stephanbuys hi all, I'm using salt-ssh. When I specify a specifc server (defined in roster) everything works, when I try and specify a wildcard it complains "Unable to render any roster" - anyone seen this before?
19:17 forrest UtahDave, in the salt master conf you mean?
19:17 suranasa joined #salt
19:17 suranasa left #salt
19:17 UtahDave forrest: yeah
19:17 forrest UtahDave, pretty sure they're the same
19:17 suranasa joined #salt
19:17 suranasa left #salt
19:17 xDamox joined #salt
19:18 mpanetta UtahDave: Thanks, I will try that.
19:19 saurabhs joined #salt
19:19 UtahDave thanks for the confirmation, forrest
19:19 saurabhs joined #salt
19:19 forrest UtahDave, Let's just hope it's right! :P
19:19 mpanetta Yes, thank you :)
19:20 mpanetta Ill let ya know in a minute forrest :)
19:20 forrest mpanetta, cool
19:20 forrest I don't have any idea what else that timeout could be associated with, so it should be
19:20 forrest UtahDave, if it is the same we should update that in the docs so it's clear
19:21 UtahDave Yeah, specifically  mention that it's analogous to the -t option on the cli
19:21 forrest UtahDave, exactly
19:21 dude051 joined #salt
19:22 saurabhs joined #salt
19:23 druonysuse joined #salt
19:23 sectionme joined #salt
19:23 saurabhs joined #salt
19:25 mpanetta forrest: UtahDave It is definitely the correct setting
19:26 smcquay joined #salt
19:26 cshoe joined #salt
19:26 SheetiS I might get some company time soon to work on some open-source project(s).  If that happens, what is the best way one can contribute back to salt?  I'm familiar with http://docs.saltstack.com/en/latest/topics/development/contributing.html, but didn't know if the biggest need was in bug fixing, more universal formulas as a base for people to use, etc?
19:27 mpanetta got my returns back before it called find_jobs this time.  I set the timeout: to 60 seconds in master config
19:28 SheetiS mpanetta:  sounds like I might be setting a similar configuration item soon :)
19:28 bezeee joined #salt
19:28 mpanetta SheetiS: Yeah, it clears up the cruft.
19:29 mpanetta Now if they would just deprecate the old events (the ones without a full tag like salt/blah/blah) then I would be really hapy :)
19:30 mpanetta At least I can filter those out since they don't start with salt...
19:33 smcquay_ joined #salt
19:34 mpanetta Here is an example of what I mean: https://gist.github.com/anonymous/7495d4be95adb9e4128c
19:34 mpanetta 3 events for one actual thing...
19:35 SheetiS Yep :(
19:36 saurabhs1 joined #salt
19:36 saurabhs1 left #salt
19:36 holms https://dpaste.de/yqft
19:36 holms provisioning digital ocean node with vagrant =/
19:36 holms the hell..
19:38 Ryan_Lane joined #salt
19:40 UtahDave SheetiS: We'd love to have your help working on Salt!  Help with bugs would definitely be helpful, as well as documentation. Is there anything in particular that you'd like to see Salt do better?
19:44 SheetiS Honestly many of my first-impression wish-list items look like they are supposed to come with 2014.7, so I'd love to see it live (and stable, of course) more than anything right now.
19:44 saurabhs joined #salt
19:44 mpanetta Yeah, 2014.7 has a lot of nice features
19:45 holms dear people, is there's any way to provision already existing vm, like vagrant does?
19:45 holms my minion lies locally on my pc, should be transfered on vm, and tool should run provisioning, like vagrant provision command does
19:46 scbunn joined #salt
19:46 lionel joined #salt
19:47 saurabhs joined #salt
19:49 UtahDave holms: I'm not sure exactly what you mean?  Are you looking for a way to remotely install the salt-minion on a vm?
19:49 tristianc joined #salt
19:50 holms UtahDave: i'm looking exactly what vagrant provisioner does
19:50 evidence joined #salt
19:50 holms it copies minion to vm
19:50 holms and runs provisioning probably with salt-call
19:50 holms same as chef-solo actually
19:50 holms or ansible
19:50 holms you provision vm from your laptop :)
19:51 UtahDave holms: are you looking for Salt Cloud?
19:51 holms maaybe
19:51 mpanetta Hmm, are salt/auth messages sent like a heart beat?  Or can I use them to detect if a machine is still around?
19:53 babilen holms: Looks as if you are either after masterless salt or salt-ssh. But then I'd still recommend to use salt in a master/minion architecture. Why don't you want that?
19:53 babilen mpanetta: Do you want to detect if a machine is still around?
19:53 holms babilen: i'm not sure what i want. i just want to launch vm, and provision it from my laptop, and see if it works.
19:53 mpanetta babilen: Basically, but preferably through watching the event bus... I think...
19:54 holms babilen: with vagrant provisioner sometimes provisioning stucks
19:54 mpanetta I can tell when a machine comes on line because there is an event for that.
19:54 mpanetta But I am thinking about having a status page that will tell me if my minions are up or down.
19:55 babilen mpanetta: There are presence events (misspelled 'presense' in current salt) that you could use -- http://docs.saltstack.com/en/latest/topics/event/index.html
19:55 babilen holms: In the cloud?
19:55 micah_chatt joined #salt
19:56 babilen mpanetta: There is also 'salt-run manage.{up,status}' -- http://docs.saltstack.com/en/latest/ref/runners/all/salt.runners.manage.html
19:56 mpanetta babilen: I did know about those 2
19:56 holms babilen: local vm or in the cloud
19:56 holms both are fin
19:56 mpanetta Thanks for the event link
19:56 holms fine*
19:57 babilen mpanetta: You didn't mention that. Why don't they fit what you want to do?
19:57 mpanetta babilen: I was hoping to not poll
19:57 babilen mpanetta: And presence events are not suitable?
19:57 mpanetta If I have to that would be ok.
19:57 mpanetta babilen: Not looked just yet, only just opened the page :)
19:58 holms and it's stuck =/ [INFO    ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'oracle-java7-installer'] in directory '/root'
19:58 mpanetta babilen: That would be perfect actually :)
19:58 Outlander joined #salt
19:58 XenophonF left #salt
19:58 Outlander_ joined #salt
19:58 holms anybody got PROPER formula for oracle-java?
19:58 scbunn joined #salt
19:58 babilen mpanetta: I thought so. One or the other typically fits the requirements :)
19:58 mpanetta babilen: Thank you!
20:00 babilen holms: "apt-get install default-jdk" -- That will get you the reference implementation (OpenJDK) of Java 7+
20:00 babilen ;)
20:01 babilen mpanetta: Watch out for the s/presence/presense -- That bit me before.
20:01 perfectsine joined #salt
20:03 holms babilen: huge thanks :)
20:05 perfectsine_ joined #salt
20:06 higgs001 joined #salt
20:09 babilen holms: There is a formula -- https://github.com/saltstack-formulas/sun-java-formula (also a java-formula) -- but I cannot comment on their usability. It also sounded as if "anybody got PROPER formula for oracle-java" was meant to imply that you tried one or both of these formulas alreade and are now looking for an alternative. But that is pure conjecture on my part.
20:09 dude051 joined #salt
20:10 stuck_ joined #salt
20:10 babilen holms: Do you actually require Oracle's JDK/JRE or would OpenJDK work too? The latter *is* the reference implementation after all, but then your requirements might be quite specific.
20:11 stuck_ stuck n00b looking for help...  clean install on two EC2 machines (bootstrap latest), can't get even basic key exchange to happen but can't see anything in the logs: http://pastebin.com/Lmz58q8d, http://pastebin.com/kJu8J408
20:12 stuck_ `nc 10.107.0.16 4505` from minion works, so i don't think it's a networking issue
20:12 saurabhs joined #salt
20:13 SheetiS stuck_: Does it also work for 4506?
20:13 stuck_ yep
20:14 stuck_ (at least, it connects to the port; is there anything i can send to test it further?)
20:14 aparsons joined #salt
20:15 aparsons joined #salt
20:15 UtahDave stuck_: does your aws security group allow ports 4505 and 4506 on your master? same with your firewall?
20:16 stuck_ i opened up security group on master to all proto/all ports on VPC.  and if there was a problem there, i'd expect the nc from the minion to fail, no?
20:17 UtahDave probably
20:17 kiwnix joined #salt
20:18 UtahDave stuck_: I see in your paste that you started up the master and minion in debug mode in the cli.  Can you verify that the salt-master and salt-minion daemons aren't running in the background as well?
20:19 holms babilen: well i'm not sure what java devs are using but in steps of txt files ive got this instructions sudo apt-get install oracle-java7-installer
20:19 stuck_ another clue, perhaps: 'salt' on the master seems to have the same problem as the minion (i.e. just hangs trying to connect to master)
20:19 aparsons joined #salt
20:20 stuck_ confirmed that no other salt processes are running
20:21 williamthekid_ joined #salt
20:24 bhosmer_ joined #salt
20:24 stuck_ confirmed that i can run `nc -l` on master machine binding to both 4505 and 4506, and successfully communicate with it from the minion machine
20:24 aparsons joined #salt
20:25 jhauser joined #salt
20:26 stevednd UtahDave: how is the RC coming? Should we expect 2014.7 this month?
20:29 UtahDave stuck_: how did you install salt? packages?  what version of salt are you on?
20:30 UtahDave stevednd: it's coming along pretty nicely. We just cut a second RC recently.
20:30 stuck_ bootstrap install_salt.sh -M -N git develop
20:30 stuck_ salt-master 2014.7.0rc2-1627-g95d2ee7 (Helium)
20:31 stuck_ salt-minion 2014.7.0rc2-1627-g95d2ee7 (Helium)
20:33 UtahDave stuck_: Hm. Let me test here
20:33 stuck_ thx
20:38 kermit joined #salt
20:40 n8n joined #salt
20:40 yidhra joined #salt
20:40 johngrasty joined #salt
20:42 UtahDave stuck_: could you try rerunning the bootstrap install script?  I'm not having that problem here. At least I can't reproduce it.
20:43 UtahDave I'm a few commits ahead of you now
20:43 stuck_ ok
20:43 dude051 joined #salt
20:43 stuck_ anything i should do first to clean out state?
20:45 UtahDave you might remove salt first
20:46 stuck_ remove how?
20:47 stuck_ btw, just noticed that http://docs.saltstack.com/en/latest/topics/tutorials/salt_bootstrap.html has a bunch of references to "install_salt.sh.sh", which probably isn't what you intended
20:47 patrek joined #salt
20:48 forrest stuck_, I copied those from the readme in the repo, good catch, thanks
20:50 forrest stuck_, https://github.com/saltstack/salt/issues/15887 and https://github.com/saltstack/salt-bootstrap/issues/465 created, thanks for the heads up
20:51 dstokes can you import pillar data in salt runners?
20:51 aparsons joined #salt
20:51 dstokes with an include or something? (not xargs)
20:52 mgw Has anyone seen an issue with salt commands (salt, salt-run, etc) taking 3-4 seconds before the first log entry on the master? I just updated a test master with a deb I built from 2014.7 branch, and all commands that were practically instantaneous before now take several seconds.
20:53 stuck_ so i ran: `sudo sh install_salt.sh -M -N -F git develop`, then `sudo /etc/init.d/salt-master stop`, then `sudo salt-master -l debug`, and now `sudo salt '*' test.ping` still hangs -- that's not the expected behavior, right?
20:53 Ahlee I have top.sls being managed by salt, but this requires me to run my state twice when the top.sls.jinja template changes.  There any clever trick I can do to re-execute?
20:54 stuck_ for the record, i've now got salt-master 2014.7.0rc2-1648-g7ac514e (Helium)
20:55 aparsons joined #salt
20:56 patrek joined #salt
20:58 iggy mgw: haven't investigated yet, but "ditto"
21:00 mgw iggy: when did it start?
21:00 mgw if you know
21:00 cshoe left #salt
21:00 mgw and how did you install? pip from source?
21:04 xDamox joined #salt
21:04 aparsons_ joined #salt
21:06 Ahlee is it possible to {% set foo = salt['pillar.get']('foo') %} ? Doesn't look like it, but want to verify it's just not my syntax that's off
21:06 kballou joined #salt
21:07 iggy mgw: I really couldn't say when it started... I notice it's different between $day
21:09 iggy mgw: I really couldn't say when it started... I notice it's different between $day_job and another salt setup I have
21:10 higgs001 joined #salt
21:10 iggy they are both 2014.1.X, installed from packages (working one is ubuntu 14.04, slow one is debian stable w/ backports)
21:13 pdayton joined #salt
21:16 UtahDave joined #salt
21:16 Ryan_Lane joined #salt
21:17 stuck_ OK, it looks like there's some kind of regression here; if i back up to salt-master 2014.1.10 (Hydrogen) (by installing with yum) everything starts working again
21:17 stuck_ what can i do to debug this further?
21:18 stuck_ i want to use some s3 stuff that's only in the newer releases
21:19 UtahDave stuck_: have you tried installing the 2014.7 RC?  The develop branch can break at times.
21:20 stuck_ hang on a minute, i'll try that...
21:20 smcquay joined #salt
21:21 gorilla joined #salt
21:22 Guest32303 left #salt
21:23 stuck_ no, back to broken
21:23 stuck_ could it be something else about bootstrap install vs. yum install?
21:24 scbunn joined #salt
21:24 JPaul joined #salt
21:26 UtahDave it's possible. what OS are you on?
21:27 mgw joined #salt
21:27 stuck_ apparently not; `install_salt.sh -M -X git v2014.1.10` gives me something that works
21:27 yomilk joined #salt
21:27 stuck_ Red Hat 4.4.7-4
21:28 stuck_ wait
21:28 stuck_ that's not right
21:28 forrest lol
21:29 stuck_ Red Hat Enterprise Linux Server release 6.5 (Santiago)
21:29 stuck_ that's what i was looking for...
21:29 piru_ joined #salt
21:31 UtahDave Hm. I know there's an issue with RHEL where one of the required packages was moved to a RH repo you have to be subscribed to get to .
21:31 UtahDave maybe the jinja2 package. I don't recall.
21:33 stuck_ not seeing how that would work for 2014.1.10, but not for  2014.7.0rc2
21:35 UtahDave rallytime: hey, are the RHEL 6.5 tests failing on stuck_'s problem right now?
21:36 SheetiS joined #salt
21:36 englishm joined #salt
21:37 * rallytime looks
21:38 p3llin0r3_ joined #salt
21:38 dude051 joined #salt
21:39 p3llin0r3_ GAUSE
21:39 p3llin0r3_ My saltstack 1 click deployment...
21:39 p3llin0r3_ it's WORKING :X
21:39 forrest p3llin0r3_, heh, nice
21:40 rallytime UtahDave stuck_ There aren't any tests failing on 2014.7 right now, or develop.
21:40 p3llin0r3_ What do you cats think of this method for watching get.latest
21:40 p3llin0r3_ http://grokbase.com/t/gg/salt-users/147fcjnr95/how-to-watch-a-git-latest
21:40 debianix joined #salt
21:40 rallytime UtahDave could it be a vpc thing that perhaps changed?
21:41 UtahDave I really don't know. do you have any idea why installing like stuck_ would fail, rallytime?
21:41 debianix joined #salt
21:41 rallytime no i don't. I haven't tested rc2 yet, though.
21:42 stuck_ it seems to be listening on the socket but then never doing anything with inbound messages; is there any other debugging i could turn on to get more clues?
21:42 rallytime stuck_ so it works on 2014.1.10, but not anything on 2401.7, is that correct?
21:42 rallytime er 2014.7
21:42 spookah joined #salt
21:44 kelseelynn joined #salt
21:45 UtahDave p3llin0r3_: nice!
21:46 stuck_ rallytime: right, neither minions nor the `salt` command manage to connect to the master
21:47 stuck_ default config files
21:48 p3llin0r3_ stuck, I was having a problem with zombie master processes for a while
21:48 p3llin0r3_ stuck_, you could try that
21:48 rallytime Hmm. stuck_ I haven't seen anything like that or know why that would be happening. Can you file a bug report about that? I know some work with working with vpc may have gotten into the 2014.7 branch.
21:48 rallytime Maybe something is happening there.
21:48 p3llin0r3_ stuck_, Also, if they have the same domain name as a previous minion, you'll get an error. You have to delete the keys and reauth to get them to work
21:51 peters-tx joined #salt
21:52 stuck_ p3llin0r3_: not getting any errors, no minion has ever successfully connected to this master.  also, the `salt` command doesn't work on the master, so i don't even need a minion to reproduce the problem.
21:53 stuck_ `ps auxww | grep salt` shows nothing running (after killing my foreground master)
21:55 delinquentme joined #salt
21:57 aquinas joined #salt
21:57 TheThing joined #salt
22:03 pdayton left #salt
22:06 chrisjones joined #salt
22:07 stuck_ rallytime: https://github.com/saltstack/salt/issues/15892
22:07 stuck_ let me know if there are any other clues i can provide
22:07 perfectsine joined #salt
22:08 rallytime thanks stuck_! We'll try to reproduce what you're seeing and fix it up.
22:11 stuck_ if there's anything i can do to help diagnose it let me know -- at the moment salt is completely non-functional for me, so i'm motivated...
22:17 Ryan_Lane joined #salt
22:18 mapu joined #salt
22:18 delinquentme I have a failed instancing event ... a server takes a poop.  I want salt to remove that server from those addresses it pings on stuff like $ salt \* network.ip_addrs
22:18 delinquentme how do?
22:25 danielbachhuber joined #salt
22:26 bhosmer_ joined #salt
22:27 blarghmatey joined #salt
22:27 kermit joined #salt
22:31 pdayton joined #salt
22:32 troyready joined #salt
22:33 perfectsine joined #salt
22:34 forrest joined #salt
22:35 laxity joined #salt
22:35 aparsons joined #salt
22:36 elfixit joined #salt
22:39 aparsons_ joined #salt
22:40 aparsons joined #salt
22:41 aparsons_ joined #salt
22:44 Outlander joined #salt
22:46 pdayton joined #salt
22:53 druonysuse joined #salt
22:53 druonysuse joined #salt
22:53 Daemonik joined #salt
22:54 Daemonik Hello Salt,  salt-master 2014.7 is broken on SmartOS base64 14.2.0, here is a piece of /var/log/salt/master http://pastebin.com/raw.php?i=tjAXgPWC    here is why the command Salt attempted to run failed http://pastebin.com/raw.php?i=UyFPCWHX
22:54 Daemonik Is there a more appropriate place for me to report this?   GitHub?
23:00 Daemonik joined #salt
23:04 andrej joined #salt
23:06 andrej Has anyone here successfully deployed cobbler w/ salt intergation on Ubuntu?
23:06 skyler_ Daemonik: https://github.com/saltstack/salt/issues is what you are looking for. Try to give as much information as you can and make it as easy as possible to reproduce.
23:07 Daemonik skyler_, in /opt/local/lib/python2.7/site-packages/salt/utils/network.py is the comment http://pastebin.com/raw.php?i=GZHHC05G ; on SmartOS lsof is just different http://pastebin.com/raw.php?i=wa2wWu8L
23:11 mndo joined #salt
23:11 robinsmidsrod joined #salt
23:11 mosen joined #salt
23:12 druonysuse joined #salt
23:13 saurabhs joined #salt
23:16 jhauser joined #salt
23:18 tligda joined #salt
23:21 aparsons joined #salt
23:25 aparsons joined #salt
23:25 Daemonik skyler_, https://github.com/saltstack/salt/issues/15897
23:28 druonysuse joined #salt
23:33 Cyphus joined #salt
23:33 delinquentme Someone in here was thinking that salt keys had something to do with identification of individual nodes
23:36 ajolo joined #salt
23:41 dstokes is it possible to assign external pillar data in the topfile, or does it all just get added to the flattened pillar namespace?
23:41 perfectsine joined #salt
23:42 wnkz_ Hi, I have a 'git.latest' state which clone a repo which I use later in my formula ; problem is I _do_ require: git but my state.highstate still reports "State git.latest found in sls global.foo is unavailable" since git is not installed yet on my minions ; is there a workaround for that ?
23:44 bhosmer joined #salt
23:44 DaveQB joined #salt
23:48 Daemonik Is Salt 2014.1.11 available on Windows (do I just have to build it myself)?
23:48 Cyphus Hi there, I have a custom python function I want to expose through jinja so I can use it in my salt states. How would I do such a thing?
23:51 skyler_ Daemonik: Good, you will probably get a response from someone who knows what they are talking about within a day or two.
23:51 Daemonik Awesome =)
23:51 skyler_ wnkz_: Can you paste the sls file?
23:53 englishm joined #salt
23:53 UtahDave Daemonik: Yeah, 2014.1.11 is available for download
23:54 UtahDave Cyphus: put it in /srv/salt/_modules if it will behave as a salt execution module
23:55 wnkz_ skyler_: https://gist.github.com/anonymous/1846cb3bda62fd571ac2 but it looks like it worked now ; at first I was requiring a whole sls ; maybe that was the issue :-/
23:55 Cyphus UtahDave: I thought execution modules couldn't be called from within states?
23:55 wnkz_ skyler_: I'll try on another node
23:56 UtahDave Cyphus: sure, they can.  using the module.run state

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