Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-06-05

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

All times shown according to UTC.

Time Nick Message
00:02 Guest82462 @UtahDave [INFO    ] Configuration file path: /etc/salt/minion [INFO    ] Executing command 'ps -efH' in directory '/home/vagrant' [INFO    ] Loading fresh modules for state activity [INFO    ] Executing state pkg.latest for nodejs [INFO    ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version}\n' -W" in directory '/home/vagrant' [INFO    ] Executing command 'grep-available -F Provides -s Package,Provides -e
00:02 UtahDave what os? Guest82462?
00:03 Guest82462 @UtahDave local: ----------     State: - pkg     Name:      nodejs     Function:  latest         Result:    True         Comment:   Package nodejs is already up-to-date.         Changes:
00:03 Guest82462 @UtahDave precise32
00:05 UtahDave Guest82462: on my precise64 bit apt-cache show nodejs   says  0.6.12 is the latest in Ubuntu's repo
00:07 Guest82462 <@UtahDave>ummm and for NPM??
00:08 Guest82462 @UtahDave, well i´m this issue because of mongoose
00:08 Guest82462 @UtahDave when i run npm install it throws the following error
00:08 UtahDave Hm. I'm seeing    apt-cache show npm   returns   1.1.4
00:09 Guest82462 @UtahDavenpm ERR! Unsupported npm ERR! Not compatible with your version of node/npm: mongodb@1.2.11 npm ERR! Required: {"node":">=0.6.19"} npm ERR! Actual:   {"npm":"1.1.4","node":"0.6.12"}
00:11 santagada joined #salt
00:17 UtahDave so it looks like ubuntu's package for nodejs is 0.6.12.  I think you'll have to install nodejs some other way to get a newer version than that
00:18 UtahDave I'm not a nodejs guru, so I could be wrong, but that's what I'm seeing
00:20 chjohnst_work UtahDave did the 0.15.3 make it in Fedora 19 beta yet?
00:21 UtahDave chjohnst_work: I'm not sure. the rpm should be in epel-testing, but other than that I'm not sure how far the rpm has made it through the various phases there
00:22 Corey Uh oh.
00:22 Corey Is someone about to ask me to package nodejs?
00:23 DredTiger_ joined #salt
00:23 chjohnst_work checking now
00:24 chjohnst_work http://dl.fedoraproject.org/pub/epel/testing/6/SRPMS/salt-0.15.3-1.el6.src.rpm
00:24 chjohnst_work cool I see the EL6 rev here
00:26 chjohnst_work and I see F19
00:26 chjohnst_work http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/19/SRPMS/salt-0.15.3-1.fc19.src.rpm
00:26 UtahDave nice
00:27 chjohnst_work cant complain about fast releases just as long as no more bugs are introduced :-)
00:29 UtahDave :)
00:30 Ryan_Lane joined #salt
00:34 lvicks joined #salt
00:39 favadi joined #salt
00:42 alexl joined #salt
00:44 oz_akan joined #salt
00:46 santagada joined #salt
00:48 danielbachhuber- joined #salt
00:50 jdaggett joined #salt
01:01 bemehow joined #salt
01:01 oliv_mc joined #salt
01:02 joehh felk
01:02 joehh felskrone: No, only 64 bit at the moment - 32 bit coming tonight
01:03 joehh Also hoping to get it into backports so they are built for all debian architectures
01:13 chjohnst_work hmm so the current release of 0.15.3 F19 src rpm wont backport to F18 investigating
01:13 chjohnst_work looks like a bad unit test
01:16 chjohnst_work test_verify_socket looks for an ipv6 socket (which is not enabled on my systesm) so thus fails
01:16 KyleG joined #salt
01:19 santagada joined #salt
01:19 alexl joined #salt
01:20 alexl joined #salt
01:22 favadi joined #salt
01:23 Nexpro1 joined #salt
01:23 benspaulding joined #salt
01:29 melinath joined #salt
01:30 mgw joined #salt
01:41 mgw joined #salt
01:41 dthom91 joined #salt
01:46 cxz joined #salt
01:49 Or1on joined #salt
01:52 Or1on I can't get vagrant-salt plugin to compile with the command vagrant plugin install vagrant-salt I get "the error `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first." Which what are the development tools ruby-dev? is already installed
01:54 melinath joined #salt
01:54 clintberry joined #salt
01:56 UtahDave what os, Or1on?
01:56 santagada joined #salt
01:56 Or1on Ubuntu 12.04 (precise)
01:56 mgw Is there a way I've missed for one minion to access some ACL controlled subset of another minion's pillar data? Like salt-mine, but without polling the minion.
01:56 UtahDave have you install build-essential?
01:57 UtahDave mgw:  you could use the peer interface
01:57 Or1on UtahDave, yes
01:57 UtahDave I'm not sure then. akoumjian is our salty-vagrant dev lead
01:58 Or1on ok, thanks
01:58 UtahDave If he's not available tonight then I'd suggest asking on the mailing list
01:58 mgw UtahDave: hmm, I think we've discussed that. I have the same chicken and egg problem with that though, I think. I need information for minions that have not yet booted.
01:58 UtahDave He's pretty responsive, but may be at home now
01:58 Or1on UtahDave, cool. I will give it a try.
01:59 mgw So my current method is probably best… but a more generic way would be nicer.
01:59 UtahDave mgw: well, how is your pillar data set up?
01:59 UtahDave can you match several minions and give them the same data?
01:59 mgw yaml files, but loaded through a custom module
01:59 mgw yeah, that's essentially what I do now
01:59 mgw I just got excited by salt-mine and then realized it wouldn't help
02:00 melinath joined #salt
02:01 cxz joined #salt
02:01 mgw It just seems I shouldn't need a custom pillar module to do what I'm doing, so it makes me wonder if I'm doing it wrong.
02:02 mgw UtahDave: peer system requires the minion giving up data to be configured and running, right?
02:03 mgw Would you see value in a built in way for minionA to be given permission to query for minionB's pillar data, even if minionB is not even running?
02:03 melinath joined #salt
02:04 UtahDave that's an interesting thought
02:04 mgw That's what it boils down to for me, so I can configure dhcp (and dns) before a minion is brought up.
02:05 mgw monitoring would be another use for this
02:05 mgw anything that needs to have a view of the whole network
02:05 UtahDave Why don't you just make the dhcp and dns entries be a pillar item that applies to all minions?
02:05 mgw well…. that's a lot of excess data to push to every minion
02:06 mgw And I like to have that in minionA.yaml
02:06 UtahDave I see
02:06 mgw Not in one comprehensive place.
02:07 mgw Anyway, just a thought I had....
02:07 UtahDave so you can allow a minion to request pillar.data through the peer interface, but I'm guessing that wouldn't work if the minion were down
02:07 mgw UtahDave: yeah, i'm pretty sure it won't
02:08 mgw I'm wanting certain minions to know what should be out there, rather than what is out there.
02:09 UtahDave how many nodes are you talking about?
02:09 mgw not many
02:09 UtahDave You might reconsider just putting all that data in one public pillar item
02:10 UtahDave if you're using external pillar you could probably have it look for all the yaml files in a directory and populate one master dict that's given to all the minions
02:10 mgw That's exactly what I'm doing. Except only for the minion's that need it.
02:11 mgw What I have works.
02:11 UtahDave Ah, OK.  You've obviously been puzzling over this one much longer than I have.  :0
02:11 UtahDave :)
02:12 UtahDave We have a feature request in the issue tracker to allow for pillar items to be appended to. That might work here (if it were implemented already, obviously)
02:12 * fxhp nods
02:12 fxhp that would be magical
02:13 gaston joined #salt
02:13 gaston hi, i've made a port of salt for OpenBSD, only to realize it depends on pam at runtime, which OpenBSD doesnt have nor support or plan to have
02:14 dcrouch joined #salt
02:14 gaston would it be possible for salt to make that requirement optional ?
02:14 fxhp gaston: does freeBSD use pam?
02:14 mgw UtahDave: that might be interesting, but I'll stick with what I have for now.
02:14 gaston fxhp: i think so
02:14 fxhp gaston: ah...
02:15 gaston but on openbsd salt-master crashes at startup since pam.py tries to load pam via ctypes
02:15 gaston so i think it'd only be a matter of safely falling back to system auth or something like that
02:15 gaston http://pastie.org/8007520 is the trace
02:15 UtahDave gaston: yeah, I think we can do that. I don't think pam is a hard dependency.
02:16 UtahDave In fact, I'm a little surprised it's even loading it if it's not specifically configured
02:16 UtahDave gaston: what version of salt are you using?
02:17 jetole Is there a way to jinja loop through minions?
02:17 gaston maybe those PAM_START calls could be conditional to the fact that libpam.so is checked in modules/pam.py __virtual__
02:17 gaston UtahDave: last 0.15.3
02:18 fxhp __virtual__ should determine if pam.py is applicable
02:18 UtahDave jetole: yes, you can
02:18 UtahDave gaston: yeah, fxhp is right.  let me look at that code
02:18 fxhp in this case it is not, so it should fail gracefully
02:18 jetole UtahDave: cool. Can you give me an example?
02:18 UtahDave Is salt still running, gaston? It shouldn't stop on that traceback
02:18 UtahDave jetole: yeah, just a minute
02:18 jetole UtahDave: thanks
02:19 gaston yeah, it still runs, but the big scary traceback is bad :)
02:20 UtahDave OK, this won't be hard.  Salt is designed to continue working even though a module tracebacks.
02:21 gaston salt-call --local state.highstate works fine for example
02:21 fxhp gaston: yeah you found a bug, but it seems like your port is working great!
02:22 gaston that's often easy to port regular python stuff to openbsd
02:23 * fxhp nods
02:23 UtahDave Hm. looks like auth modules don't have a __virtual__ function
02:23 gaston i can start a salt-minion just fine, after that most of the work will be doing startup scripts & proper standalone user/perms for dirs etc
02:24 fxhp gaston: do you plan to package it?
02:24 fxhp (ports?)
02:24 gaston of course, that's the idea ;)
02:25 gaston a friend of mine taunts me since a month since he did the same for netbsd/pkgin..
02:27 fxhp lol
02:28 fxhp my DNS (bind9) configuration is now managed by salt
02:29 fxhp muhahaha
02:29 fxhp it was an old hg repo
02:29 fxhp basically, pkg.installed, file.recurse, service
02:33 oz_akan hi UtahDave do you know if the bug with maps is fixed?
02:33 UtahDave gaston: could you open an issue on that stacktrace?
02:33 gaston hmmm the test.ping example timeouts, i'll dig into that later tmrw or in the next coming days
02:33 gaston UtahDave: yeah suer
02:33 gaston sure
02:34 jetole UtahDave: ?
02:34 UtahDave I want to make sure any changes I make to the auth modules are double and triple checked.
02:34 gaston where, github or a trac or ... ?
02:34 UtahDave jetole: sorry, man.  I'm getting there.  I haven't forgotten about you
02:34 jetole lol. ok. Thanks
02:34 UtahDave gaston: on our github repo: https://github.com/saltstack/salt/issues/new
02:35 gaston ok, will do
02:35 logix812 joined #salt
02:35 bemehow joined #salt
02:35 fxhp jetole: what do you mean loop over minions?
02:35 UtahDave thanks, gaston!  I'm stoked to have openbsd support
02:35 jetole UtahDave: in my case I want to do it for configuring the munin master on a monitor node where I loop through the minions in the jinja for creating them in the munin conf
02:35 jetole fxhp: ^
02:36 UtahDave http://docs.saltstack.com/topics/tutorials/states_pt3.html#templating-sls-modules
02:36 jetole fxhp: yeah like what UtahDave just posted but looping through the minions
02:36 fxhp yeah
02:36 fxhp I don't know how to get at that
02:37 fxhp get at that data
02:37 jetole but I don't know how I would access the minions in that loop and haven't found anything in my searches but I'm sure it has to be there
02:37 jetole ditto
02:37 UtahDave oz_akan: which bug are you referring to ?
02:37 fxhp jetole: basically you want to loop over all minion ids?
02:38 oz_akan UtahDave: it was just not working, when I create a map file with several servers, it would fail to create them
02:38 UtahDave I've been using the latest salt-cloud from git today.  creating servers with a map was working awesome
02:38 UtahDave I did run into a couple bugs though
02:39 lvicks joined #salt
02:39 UtahDave but I was able to use the map to both create and delete a couple hundred minions today
02:39 jetole fxhp: well I was planning on pulling the fqdn grain from each one
02:40 fxhp jetole: ok
02:40 oz_akan UtahDave: http://paste.openstack.org/show/38108/
02:40 oz_akan this was failing 2-3 weeks ago
02:40 fxhp jetole: I know how to get a particular minion's grain['fqdn']
02:41 fxhp but in this case the particular minion (the munin master node) needs to know about all minion fqdn's
02:41 UtahDave oz_akan: I'm pretty sure that map file will work right now with the latest from git
02:41 jetole I'm pulling up virtual saltstack playground on vbox, waiting for them to boot since not at the office now but I think it would be something similar to: salt '*' grains.item fqdn I want to loop over
02:41 oz_akan UtahDave: thanks, I will try then latest
02:42 jetole yeah @ salt '*' grains.item fqdn
02:43 jetole but I mean the master must have the minions in some shape or form in a dict or something. Maybe not all grains but some method I can begin to use to loop through them from within a jinja template
02:44 oz_akan UtahDave: one more, when do you think this is going to be merged; https://github.com/saltstack/salt-cloud/pull/599
02:45 * fxhp nods
02:45 fxhp jetole: hit me up if you figure this out.
02:45 fxhp I need this
02:45 bemehow_ joined #salt
02:46 UtahDave jetole: you can query your minions from within jinja using  an execution module within  the "salt" dictionary
02:46 jetole UtahDave: can you give me a example. Not sure exactly what that means
02:46 UtahDave oz_akan: I'm not sure why it hasn't.  Joseph is in San Fran teaching a Salt training class. Probably when he gets back on Thursday
02:47 oz_akan UtahDave: sounds good, thanks
02:47 UtahDave I'll ping him this evening and see if there was a reason why he hasn't
02:48 UtahDave It might just be that he didn't want to merge it right before he left for the training class
02:48 oz_akan makes sense, so many lines are affected
02:49 UtahDave yeah
02:59 Nexpro joined #salt
03:10 raydeo joined #salt
03:12 dthom91 joined #salt
03:24 cxz joined #salt
03:27 berto- joined #salt
03:32 tf198 joined #salt
03:33 tf198 Got a quick question about LocalClient - anyone around?
03:34 UtahDave I'm still here   :)
03:34 tf198 How can I check the result from LocalClient.cmd() for errors
03:36 tf198 As far as I can tell it returns a string or list of strings in the case of error, but nothing to differentiate it from a valid return value.
03:36 UtahDave Yeah, let me look
03:37 indymike_ joined #salt
03:37 UtahDave tf198: what version of Salt are you looking at?
03:38 tf198 0.15.3
03:38 UtahDave k
03:38 cce_ joined #salt
03:38 svx joined #salt
03:38 SirScott_ joined #salt
03:39 gaston___ joined #salt
03:39 UtahDave tf198: have you tried   LocalClient.cmd_full_return   ?
03:40 tf198 Yup - you get a dict with {ret: value, out: 'method'} but do flag to indicate whether the command succeeded or not
03:40 tf198 * do=no
03:41 brucewang joined #salt
03:41 jafo joined #salt
03:42 tf198 UtahDave: There must be something as the cli returner knows to highlight it red but I can't find it in the source...
03:42 d10n joined #salt
03:42 brettlangdon joined #salt
03:43 UtahDave tf198: that's weird. The full return contains a success flag
03:44 tf198 UtahDave: Weird - I'll check that again..
03:45 UtahDave yeah, I definitely could be wrong on the correct way to get that out, but the actual data structure does indeed have a flag for that in it
03:46 UtahDave you might try cmd_cli  as well
03:46 pjs joined #salt
03:46 tf198 UtahDave: Ran it again and cmd_full_return() just returns 'ret' and 'out' items - will try cmd_cli..
03:47 UtahDave ok, if that doesn't work, you might try asking on the mailing list.  I know this can be done, but admittedly I haven't used LocalClient much and not in quite a while.
03:48 UtahDave And I've been in the office since 9 this morning, so my brain is pretty fried.   :)
03:48 tseNkiN joined #salt
03:49 tf198 UtahDave: No joy with cmd_cli either. No worries - will ask on the list - go home! :)
03:49 UtahDave :)  OK.
03:49 UtahDave What you're trying to get is available somewhere,
03:49 UtahDave I'll probably think of it tomorrow.
03:50 UtahDave night!
03:50 tf198 UtahDave: Cheers
03:50 UtahDave Cheers
03:50 UtahDave left #salt
03:53 DanGarthwaite left #salt
03:59 UtahDave joined #salt
04:00 Katafalkas joined #salt
04:07 cxz joined #salt
04:08 fidrox joined #salt
04:14 cxz joined #salt
04:17 auser joined #salt
04:28 auser joined #salt
04:34 cxz joined #salt
04:35 efixit joined #salt
04:43 benturner joined #salt
04:45 azbarcea joined #salt
05:04 Nexpro joined #salt
05:10 oz_akan joined #salt
05:19 jalbretsen joined #salt
05:21 rdeweerd joined #salt
05:32 milind joined #salt
05:33 mzito___ joined #salt
05:33 rdeweerd joined #salt
05:42 auser joined #salt
06:00 clintberry joined #salt
06:00 thekev joined #salt
06:12 cxz joined #salt
06:15 Singularo joined #salt
06:23 vaxholm joined #salt
06:27 austin987 joined #salt
06:31 fragamus joined #salt
06:32 fragamus hi im trying to set up fog to bootstrap salt and im looking for best practices examples
06:32 fragamus any takers
06:32 druonysus joined #salt
06:32 druonysus joined #salt
06:33 f4cl3y joined #salt
06:33 f4cl3y joined #salt
06:35 `3rdEden joined #salt
06:36 waverider joined #salt
06:40 nliadm joined #salt
06:42 vaxholm joined #salt
06:43 auser sure
06:43 auser I've got a pretty good gem I use fragamus
06:43 auser I've been developing it for a client, works with vagrant and aws
06:44 auser and has a relatively simple way of extending to new providers
06:44 auser https://github.com/auser/salt-cli
06:44 auser the readme needs help, but it's opinionated deployment
06:44 auser gem install salt; salt aws launch, etc.
06:46 auser hah, okay
06:51 fxhp auser: do you use salt-cloud?
06:51 auser I've tried in the past fxhp
06:51 fxhp do you know if there is a way to automatically run highstate on newly provisioned guests
06:52 auser I have that working in salt-cli
06:52 auser which is the ruby gem I mentioned above
06:52 auser not sure about salt-cloud
06:53 fxhp k
06:53 fxhp thanks
06:55 pcarrier_ joined #salt
06:56 auser sorry fxhp :/
06:57 cxz joined #salt
07:00 sebgoa joined #salt
07:02 it_dude joined #salt
07:05 krissaxton joined #salt
07:11 ronc joined #salt
07:12 tf198 joined #salt
07:14 Ixan joined #salt
07:20 Tekni joined #salt
07:23 jpcw joined #salt
07:28 balboah joined #salt
07:28 MrTango joined #salt
07:29 __gotcha joined #salt
07:29 __gotcha joined #salt
07:29 kleinishere joined #salt
07:31 melinath joined #salt
07:41 ProT-0-TypE joined #salt
07:50 Tekni joined #salt
08:05 p3rror joined #salt
08:08 lempa joined #salt
08:08 nkuttler how would you append to a line? i have different roles that have to modify a single line in a config file
08:09 xinkeT joined #salt
08:09 giantlock joined #salt
08:09 mirko joined #salt
08:14 adotbrown joined #salt
08:17 krak3n` joined #salt
08:18 krissaxton joined #salt
08:19 oliv_mc joined #salt
08:28 felixhummel joined #salt
08:36 gaston joined #salt
08:36 sebgoa joined #salt
08:49 kleinishere joined #salt
08:52 fredvd joined #salt
08:56 Lucas_ joined #salt
09:00 ggoZ joined #salt
09:11 oliv_mc joined #salt
09:11 ollins joined #salt
09:17 Newt[cz] joined #salt
09:23 tharkun joined #salt
09:23 tharkun joined #salt
09:24 mollerst1and joined #salt
09:25 Linuturk_ joined #salt
09:25 Linuturk_ joined #salt
09:26 lahwran_ joined #salt
09:27 nage` joined #salt
09:30 ahammond joined #salt
09:30 copec joined #salt
09:30 tamentis joined #salt
09:30 drogoh joined #salt
09:30 nkuttler joined #salt
09:30 keith4 joined #salt
09:30 t0rrant joined #salt
09:30 scott_w joined #salt
09:30 LarsN_ joined #salt
09:30 probably1ine joined #salt
09:30 seubert joined #salt
09:30 SEJeff_work joined #salt
09:30 d0ugal joined #salt
09:30 akoumjian joined #salt
09:30 heckman joined #salt
09:35 Katafalkas joined #salt
09:41 agend joined #salt
09:48 whiskybar joined #salt
09:48 middleman_ joined #salt
09:55 krissaxton1 joined #salt
09:57 krissaxton2 joined #salt
10:02 adotbrown joined #salt
10:05 nkuttler joined #salt
10:07 __gotcha joined #salt
10:07 __gotcha joined #salt
10:09 valberg joined #salt
10:10 bejer joined #salt
10:13 p3rror joined #salt
10:22 marcinkuzminski joined #salt
10:30 krissaxton joined #salt
10:31 Nexpro1 joined #salt
10:34 d0ugal_ joined #salt
10:34 akoumjian_ joined #salt
10:38 auser joined #salt
10:39 Odd_Bloke joined #salt
10:40 d0ugal joined #salt
10:41 waverider joined #salt
10:42 lvicks joined #salt
10:45 ahammond joined #salt
10:45 copec joined #salt
10:45 tamentis joined #salt
10:45 drogoh joined #salt
10:45 keith4 joined #salt
10:45 t0rrant joined #salt
10:45 scott_w joined #salt
10:45 LarsN_ joined #salt
10:45 probably1ine joined #salt
10:45 seubert joined #salt
10:45 SEJeff_work joined #salt
10:45 heckman joined #salt
10:47 faust joined #salt
10:49 auser joined #salt
10:52 multani joined #salt
10:53 multani I have a bunch of minions that I can't test.ping anymore, unless I restart each one of them by hand :[
10:53 multani I'm not sure how it happened though
10:54 multani they use to run fine for days even weeks for some
10:55 multani wether they are on the same network or on other sites
10:55 multani any ideas what can I do about it?
10:59 favadi joined #salt
11:02 logix812 joined #salt
11:03 thekev joined #salt
11:12 jeffrubi` joined #salt
11:13 bhosmer joined #salt
11:14 mikedawson joined #salt
11:19 efixit joined #salt
11:24 techdragon joined #salt
11:25 majoh joined #salt
11:27 thehandler joined #salt
11:30 __gotcha joined #salt
11:30 __gotcha joined #salt
11:31 ggoZ joined #salt
11:35 krissaxton1 joined #salt
11:36 giantlock joined #salt
11:46 oz_akan joined #salt
11:46 mikedawson joined #salt
11:48 entil multani: maybe you can run everything with debug and hope to spot something
11:49 entil btw, if I have a base /etc/passwd and create users from a pillar, and I run highstate, it goes to remove users and then adds them :E how can I prevent this behavior? a grain?
11:51 multani entil: well, running command on my master while selecting one of those minions just doens't produce any network traffic on the minion side, and I can't see anything useful on the master's logs :(
11:52 entil you'd have to restart them once to get debug logging, and if there's no network traffic, restarting shouldn't affect it - it should be a network issue
11:53 MK_FG joined #salt
11:56 sebgoa joined #salt
12:04 ProT-0-TypE joined #salt
12:04 marcinkuzminski joined #salt
12:06 jslatts joined #salt
12:06 pcarrier_ joined #salt
12:10 mgw joined #salt
12:13 ggoZ joined #salt
12:23 dcrouch joined #salt
12:25 nliadm joined #salt
12:27 Furao joined #salt
12:27 waverider joined #salt
12:27 Katafalkas Hey, what does exactly git.latest state do ? after it runs, i get the code, but all the files are not staged for commit in git status
12:27 Katafalkas why is that ?
12:28 Furao_ try to specify a rev
12:28 Furao_ such as master or $branchname
12:28 Furao_ in my case, I have a checksum in my pillar, to be sure to deploy a specific version of my app
12:28 felskrone joined #salt
12:29 felskrone good day sirs
12:29 felskrone and madams (if any :-) )
12:32 Katafalkas Furao_: i did specify - master
12:33 timoguin_work joined #salt
12:33 Katafalkas checksum ? why ?
12:33 Furao_ because sometimes what I want to deploy is not the tip of a branch
12:34 mgw joined #salt
12:34 ahammond joined #salt
12:34 copec joined #salt
12:34 tamentis joined #salt
12:34 drogoh joined #salt
12:34 keith4 joined #salt
12:34 t0rrant joined #salt
12:34 scott_w joined #salt
12:34 LarsN_ joined #salt
12:34 probably1ine joined #salt
12:34 seubert joined #salt
12:34 SEJeff_work joined #salt
12:34 heckman joined #salt
12:35 Katafalkas joined #salt
12:36 Katafalkas Furao_: but how does exactly git.present state make pull the repo ?
12:36 heckman joined #salt
12:38 krissaxton joined #salt
12:42 techdragon joined #salt
12:45 mikedawson joined #salt
12:47 lvicks joined #salt
12:47 Corey joined #salt
12:48 Valda joined #salt
12:56 Newt[cz] joined #salt
12:58 Khollowa_ joined #salt
13:02 oz_akan joined #salt
13:03 middleman_ joined #salt
13:05 necronian joined #salt
13:05 luminous joined #salt
13:08 luminous joined #salt
13:11 Katafalkas joined #salt
13:11 Linuturk joined #salt
13:11 Linuturk joined #salt
13:11 schmoost1r joined #salt
13:13 necronian joined #salt
13:14 chutzpah joined #salt
13:16 Katafalk_ joined #salt
13:16 ProT-O-TypE joined #salt
13:16 djinni`_ joined #salt
13:18 mgw joined #salt
13:19 thekev joined #salt
13:20 karlp multani: I saw that when I briefly experimented with running salt-master as not-root.
13:20 karlp running a command like salt blah test.ping would simply not even register on the minions at all.
13:20 multani karlp: I never even tried :[
13:20 karlp well, no that then :)
13:22 gaston left #salt
13:23 andrewclegg_ joined #salt
13:23 laprice_ joined #salt
13:24 andyshin` joined #salt
13:24 fredvd joined #salt
13:24 herlo_ joined #salt
13:25 dcrouch joined #salt
13:25 sw__ joined #salt
13:25 faust joined #salt
13:25 juicer2 joined #salt
13:25 pmcg_ joined #salt
13:26 jbub_ joined #salt
13:26 soukihei_ joined #salt
13:26 insatsu_ joined #salt
13:26 BlueAida1 joined #salt
13:26 retr0h_ joined #salt
13:26 codysoyland_ joined #salt
13:27 avn_ joined #salt
13:27 DustD1_ joined #salt
13:28 azbarcea_ joined #salt
13:30 nrub joined #salt
13:31 anteaya joined #salt
13:31 pwf joined #salt
13:31 entil joined #salt
13:31 atoponce joined #salt
13:31 entil nowait sorry :D salt-minion. salt-root is fine
13:34 entil_ joined #salt
13:34 hazmat joined #salt
13:34 y0j joined #salt
13:34 marcinkuzminski joined #salt
13:34 davidone joined #salt
13:34 oz_akan joined #salt
13:36 monokrome joined #salt
13:37 Katafalk_ joined #salt
13:37 sashka_u1 joined #salt
13:37 dave_den joined #salt
13:37 DredTiger_ joined #salt
13:38 bhosmer joined #salt
13:38 gmoro__ joined #salt
13:38 efixit joined #salt
13:39 onewheelskyward_ joined #salt
13:39 ilin joined #salt
13:40 fxhp joined #salt
13:40 raz[zZzz] joined #salt
13:41 Ixan joined #salt
13:41 minaguib joined #salt
13:41 ClausA joined #salt
13:41 krissaxton joined #salt
13:42 Nazzy joined #salt
13:42 Furao_ joined #salt
13:42 nliadm joined #salt
13:42 it_dude joined #salt
13:43 svx_ joined #salt
13:43 multani_ joined #salt
13:43 cce joined #salt
13:44 oliv_mc joined #salt
13:44 nordac joined #salt
13:44 jgelens joined #salt
13:48 andrewclegg joined #salt
13:48 lvicks joined #salt
13:48 Furao_ joined #salt
13:49 atoponce joined #salt
13:49 [ilin] joined #salt
13:49 marcinkuzminski joined #salt
13:49 KFDM joined #salt
13:50 faust_ joined #salt
13:51 techdragon joined #salt
13:52 JasonSwindle joined #salt
13:52 novel1 joined #salt
13:52 JasonSwindle Do we have the release notes for 0.15.2 / 0.15.3?
13:52 JasonSwindle I can only find 0.15.1.....
13:52 waverider joined #salt
13:53 sarkis joined #salt
13:54 sarkis joined #salt
13:55 hhoover joined #salt
13:55 Drekonus joined #salt
13:56 favadi joined #salt
13:57 Drekonus joined #salt
13:57 fxhp joined #salt
13:57 fidrox joined #salt
14:00 krissaxton joined #salt
14:03 danielbachhuber joined #salt
14:04 Newt[cz] joined #salt
14:05 ggoZ joined #salt
14:10 KFDM joined #salt
14:11 aat joined #salt
14:11 it_dude joined #salt
14:12 Ryan_Lane joined #salt
14:12 Katafalkas joined #salt
14:13 luminous_ joined #salt
14:13 kho joined #salt
14:14 kho joined #salt
14:14 opapo joined #salt
14:15 herlo joined #salt
14:16 nrub joined #salt
14:19 sw__ `salt 'sproxy01a*' service.reload squid` returns "service.reload" is not available. I'm on RHEL 6 and Salt 0.14.1. Squid can be reloaded manually through its init script. What gives ?
14:21 lvicks joined #salt
14:23 kaptk2 joined #salt
14:25 luminous joined #salt
14:26 jpcw_ joined #salt
14:26 jbub_ joined #salt
14:26 jdaggett joined #salt
14:27 jpcw_ joined #salt
14:27 rizumu joined #salt
14:27 jpcw_ joined #salt
14:27 BlueAidan joined #salt
14:29 gmoro_ joined #salt
14:29 abe_music joined #salt
14:29 entil_ joined #salt
14:29 Linuturk_ joined #salt
14:29 Linuturk_ joined #salt
14:29 codysoyland_ joined #salt
14:30 Lucas_- joined #salt
14:30 soukihei joined #salt
14:30 jeffrubi` joined #salt
14:31 DustD1 joined #salt
14:31 d10n joined #salt
14:31 Gifflen joined #salt
14:32 jslatts joined #salt
14:32 mirko joined #salt
14:38 minaguib joined #salt
14:38 jpcw joined #salt
14:38 cce joined #salt
14:38 cce joined #salt
14:38 multani_ sw__: what is the output for "salt 'sproxy01a*' grains.get os" and "salt 'sproxy01a*' grains.get osrelease"?
14:41 multani_ sw__: you should also have a look in your minion's log to see if it displays a warning or an error about something missing which would cause the 'service' module to be somehow disabled
14:41 DanGarthwaite joined #salt
14:41 herlo joined #salt
14:41 multani_ (like debconf.set on Debian fails with the same kind of message if the debconf-utils package is not installed)
14:42 KFDM joined #salt
14:44 sw__ multani: grains.get os return RedHat
14:44 sw__ osrelease 6.3
14:44 sw__ nothing in the logs on minion side
14:46 entil_ redhat 6.3? wasn't that released in like 1999? ;P
14:46 * luminous doesn't understand how something like that could be secure
14:47 multani sw__: well, actually, it seems service.reload just doesn't exist for RedHat in salt 0.14.1
14:48 multani service.reload does exist, but it seems there's a specific 'rh_service' for RedHat distro which doesn't implement .reload :[
14:48 kriberg joined #salt
14:48 nage joined #salt
14:48 jeffrubi` joined #salt
14:48 abe_music joined #salt
14:48 gmoro_ joined #salt
14:48 nrub joined #salt
14:48 fxhp joined #salt
14:48 Drekonus joined #salt
14:48 favadi joined #salt
14:48 waverider joined #salt
14:48 JasonSwindle joined #salt
14:48 faust joined #salt
14:48 oliv_mc joined #salt
14:48 ClausA joined #salt
14:48 ahammond joined #salt
14:48 copec joined #salt
14:48 tamentis joined #salt
14:48 drogoh joined #salt
14:48 keith4 joined #salt
14:48 t0rrant joined #salt
14:48 scott_w joined #salt
14:48 LarsN_ joined #salt
14:48 probably1ine joined #salt
14:48 seubert joined #salt
14:48 SEJeff_work joined #salt
14:48 * luminous holds on
14:49 teskew joined #salt
14:50 multani IRC awesomeness
14:51 abe_music_ joined #salt
14:51 nage joined #salt
14:53 sw__ multani: do you know the reason why reload is not implemented ?
14:54 Gifflen_ joined #salt
14:55 m_george left #salt
14:55 multani sw__: I have no idea
14:55 multani sw__: I actually just checked, and I would say it's still not implemented in the latest release
14:56 Gifflen_ joined #salt
14:57 multani sw__: I'm not a Salt dev., so I might be wrong but I would open an issue on Github
14:58 multani sw__: or shime in https://github.com/saltstack/salt/pull/4491#issuecomment-16699687 which looks quite similar to your issue
14:58 sw__ multani: yeah, I will, it's kinda tedious to see my squid cluster restarted, while it could be reloaded.. that produces a downtime of about a min when I change something in the conf
14:58 UtahDave joined #salt
14:59 auser joined #salt
15:00 Gifflen joined #salt
15:00 xt joined #salt
15:00 jesusaurus joined #salt
15:01 multani sw__: I have no idea about RedHat distro, but does '/sbin/service squid reload' or '/sbin/chkconfig squid reload' work?
15:02 multani if so, I don't see why it should be difficult to implement the reload functionality
15:02 sw__ service squid reload work
15:02 sw__ s
15:02 bhosmer joined #salt
15:04 cedwards joined #salt
15:04 opapo joined #salt
15:05 abe_music joined #salt
15:05 jafo joined #salt
15:06 multani sw__: well, that should only be a 6 lines patch then: https://github.com/saltstack/salt/blob/develop/salt/modules/rh_service.py#L204
15:07 hhoover_ joined #salt
15:09 spudbook joined #salt
15:09 benspaulding joined #salt
15:14 dfinn joined #salt
15:17 JasonSwindle Do we have release notes for 0.15.3? :)
15:17 JasonSwindle I can only find 0.15.1
15:19 UtahDave Not yet.  The biggest thing was a fix for a showstopper bug on RHEL 64bit
15:20 JasonSwindle UtahDave: Howdy and thank you
15:20 UtahDave you're welcome!  and howdy back!  :)
15:20 JasonSwindle UtahDave: was LinuxFest good?
15:20 LarsN joined #salt
15:21 UtahDave Yeah, LinuxFest was a lot of fun.  We had a great turnout for the Salt Workshop and we met a lot of awesome people that came by our booth
15:21 felskrone hey dave
15:21 JasonSwindle UtahDave: Awesome!
15:21 ogrisel_ joined #salt
15:22 UtahDave JasonSwindle: Sorry I didn't text you. I was really looking forward to visiting your office, but things got really busy
15:22 UtahDave hey, felskrone
15:22 JasonSwindle UtahDave: It happens! It was busy for me, too.
15:22 ogrisel_ hi all, any idea if the ability to provision the master on the cloud is on the salt-cloud roadmap or is it a design decision to just provision the minions?
15:23 UtahDave ogrisel_: you can provision a master with salt-cloud.
15:23 UtahDave salt-cloud uses that salt bootstrap script, which can take arguments to install a master
15:23 * goodwill looks at utahcon
15:23 * goodwill looks at UtahDave
15:23 goodwill UtahDave: hey big chief
15:24 UtahDave where's my belly bump!
15:24 carlos joined #salt
15:24 geggam joined #salt
15:24 UtahDave (I can't believe I just said that)
15:24 * goodwill needs coffee
15:24 goodwill hehehe
15:24 goodwill you better believe it
15:24 ogrisel_ UtahDave: thanks I had not seen that in the documentation
15:24 goodwill take pride in it buddy
15:24 * goodwill belly bumps UtahDave
15:24 geggam my eyes ?
15:24 LordOfLA joined #salt
15:25 hhoover joined #salt
15:25 UtahDave lol
15:26 UtahDave ogrisel_: http://salt-cloud.readthedocs.org/en/latest/topics/misc.html
15:26 abscond joined #salt
15:26 UtahDave you can pass in script_args:
15:26 UtahDave which would match the various args you see here: https://github.com/saltstack/salt-bootstrap#one-line-bootstrap
15:27 DredTiger_ joined #salt
15:27 ogrisel_ ok thanks UtahDave I will have a deeper look
15:27 UtahDave cool
15:27 ogrisel_ UtahDave: anyone working on adding support for azure?
15:28 ogrisel_ if not I might work on a pull request
15:28 UtahDave I haven't heard of anyone working on azure yet.  That would be an awesome addition
15:28 UtahDave Let me know if you need any help with that.
15:28 ogrisel_ great thanks
15:29 JasonSwindle I think I found a bug where salt 0.15.1 / 0.15.2 / 0.15.3 goes into a loop
15:30 ogrisel_ UtahDave: somewhat related question: is it possible to provision with spot instances on EC2?
15:30 ogrisel_ Yet another question: anyone working on support for google compute engine on salt-cloud?
15:31 krak3n` joined #salt
15:31 djinni` joined #salt
15:32 UtahDave ogrisel_: no, salt-cloud doesn't yet allow for provisioning spot instances...  I think.  There's been some work done on salt-cloud lately, but I haven't heard anything about htat.
15:32 hhoover joined #salt
15:32 felskrone has anyone had this problem in dmesg with 0.15.3: "TCP: Possible SYN flooding on port 4506. Dropping request" i disabled syn_cookies, increased a few tcp-settings but still get that message from time to time.
15:33 UtahDave ogrisel_: Yes, we're working on google compute engine right now.  The gce driver is pretty far along already
15:33 felskrone its not related to 0.15 though, ive seen it on 0.13.x too
15:33 berto- joined #salt
15:33 UtahDave felskrone: how many minions are returning when you get that?
15:33 fredvd joined #salt
15:33 felskrone 2800 with approx 300 not answering
15:34 milind joined #salt
15:34 felskrone a second request to the missing 300 works flawlessly
15:35 UtahDave I haven't seen that personally, but I think someone else reported a similar thing
15:36 fred_ joined #salt
15:36 UtahDave felskrone: would you mind opening an issue on that with good details?
15:36 LordOfLA|Weechat joined #salt
15:37 spudbook_ joined #salt
15:38 felskrone well the thing is, from what ive googled so far, that message might not be serious. i also cant reproduce it on purpose, it just sometimes shows up in dmesg
15:38 hotbox_ joined #salt
15:38 cedwards1 joined #salt
15:38 felskrone 5 times in the last three days. i dont think its related to the non-repsonding minions
15:38 krissaxton1 joined #salt
15:38 UtahDave I'm not sure either.
15:40 lvicks_ joined #salt
15:40 ogrisel_ UtahDave: good new for gce, I really would like to be able to quickly compare the performance of AWS, Azure and GCE and automating deployment with salt-cloud would help
15:40 geggam_ joined #salt
15:40 felskrone let me look into that a little more and  can find any relation to salt  will open an issue. that alright with you?
15:41 jgelens joined #salt
15:41 seb` joined #salt
15:41 hhoover joined #salt
15:41 BlueAidan joined #salt
15:41 whiskybar joined #salt
15:41 UtahDave felskrone: that sounds great!  thanks for digging into that.
15:41 djinni` joined #salt
15:41 entil joined #salt
15:42 jesusaurus joined #salt
15:42 jeblair joined #salt
15:42 raz joined #salt
15:42 carlos joined #salt
15:42 Kamal_ joined #salt
15:42 JasonSwindle The loop I am seeing, https://dpaste.de/I266P/
15:42 xt joined #salt
15:42 joehh joined #salt
15:42 jschadlick1 joined #salt
15:43 clintberry joined #salt
15:43 UtahDave JasonSwindle: I've got that paste open. I'll look at it after this meeting
15:43 fredvd joined #salt
15:44 waldo323 joined #salt
15:44 fidrox_ joined #salt
15:44 jrgifford_ joined #salt
15:46 teskew joined #salt
15:46 ogrisel joined #salt
15:47 jschadlick joined #salt
15:47 Gifflen_ joined #salt
15:48 Katafalk_ joined #salt
15:48 jpcw_ joined #salt
15:48 abscond joined #salt
15:48 spoktor joined #salt
15:49 Mrono joined #salt
15:49 Mrono joined #salt
15:49 krak3n` joined #salt
15:50 fredvd joined #salt
15:52 jgelens joined #salt
15:52 opapo_ joined #salt
15:52 DustD1 joined #salt
15:52 fivethreeo joined #salt
15:52 Gifflen_ joined #salt
15:52 milind joined #salt
15:52 bhosmer joined #salt
15:52 whiskybar joined #salt
15:52 thekev` joined #salt
15:53 lilmansplace joined #salt
15:53 jpcw joined #salt
15:53 lilmansplace Ok folks simple question I hope has a simple answer
15:53 lilmansplace salt-key -L
15:53 lilmansplace shows all of my hosts
15:53 Newt[cz] joined #salt
15:53 lilmansplace but a salt '*' test.ping
15:53 seb` joined #salt
15:53 Katafalkas joined #salt
15:53 lilmansplace only has some of the hosts reply
15:53 lilmansplace yet if I log into any of the minions
15:54 lilmansplace and run the salt-call test.ping
15:54 lilmansplace or hightstates etc
15:54 lilmansplace they work
15:54 djinni` joined #salt
15:54 luminous joined #salt
15:54 lilmansplace thoughts on getting all of the minions working with the master properly?
15:54 svx joined #salt
15:54 FreeSpencer joined #salt
15:54 joehh joined #salt
15:54 sashka_ua joined #salt
15:55 aat joined #salt
15:55 entil is it possible you're losing them temporarily to network turbulence?
15:56 lilmansplace network seems clean
15:56 lilmansplace no dropped packets or offended firewall rules tallying up
15:57 LordOfLA|Weechat joined #salt
15:57 hhoover joined #salt
15:57 hotbox joined #salt
15:57 ogrisel joined #salt
15:59 entil hmmh
15:59 Linuturk joined #salt
15:59 Linuturk joined #salt
15:59 entil I'm very new to this, so I don't really know. never actually had more than one minion going, but network turbulence would be a fair guess because afaik 0mq just drops packets if they don't arrive
16:01 KFDM joined #salt
16:01 Lucas_- joined #salt
16:01 LarsN I have an interesting problem.  on salt 0.15.1 on Fedora 18, my "master:" and "id:" settings in /etc/salt/minion appear to be ignored.
16:02 marcinkuzminski joined #salt
16:02 LarsN I was only able to connect to the master by editing the /etc/hosts file to point "salt" at my actual salt-master's IP address
16:02 dfinn1 joined #salt
16:02 LarsN once it connected I see "localhost.localdomain" in spite of my setting "id: salttest"
16:02 MamboKurt joined #salt
16:02 cweidenkeller joined #salt
16:02 laprice joined #salt
16:04 MamboKurt hi there! is there a possibility to get a list of minions which couldn't be reached when executing `salt '*' state.highstate`?
16:04 LarsN SELinux is blocking me isn't it....
16:05 oz_akan joined #salt
16:06 LarsN it was selinux.  Problem solved.
16:07 felskrone MamboKurt: not that i know of, i had to built my own client to be able to tell which hosts responded and which didnt
16:07 LarsN felskrone: MamboKurt: as I understand it, failures are noted in the logs on the salt-master
16:07 lilmansplace has there been a selinux policy module written up for salt yet?
16:08 LarsN I would presume there's a way to parse the log.
16:08 LarsN lilmansplace: if there isn't there might be by the end of the week.
16:08 felskrone LarsN: yes, you can lookup certain jobs, but thats another step besides executing something on your minions
16:09 MamboKurt i think this would be something very handy!
16:09 MamboKurt where can i send feature requests?
16:09 d10n joined #salt
16:10 schmooster joined #salt
16:10 entil my completely uneducated guess would be to open a github issue
16:11 LarsN On an unrelated note, if you wanted to deploy a common set of "dot files" (.bashrc, .vimrc, etc.) including a bunch of ssh private keys into .ssh/  what methods would you guys suggest?
16:12 entil I have a private key in pillar, because I got it from somewhere that it's more secure
16:12 entil as for dot files, that's a for loop in the state file and I don't know of a better way
16:12 LarsN I've considered setting up a private git repo on the salt server
16:13 LarsN just drop everything in there, clone into ~/.dotfiles and then execute a script within that folder to create links directly into ~/
16:13 LarsN I suppose if it's a private git repo, the keys would be secure there as well.
16:13 mgw joined #salt
16:13 y0j joined #salt
16:13 cedwards joined #salt
16:13 jslatts joined #salt
16:13 majoh joined #salt
16:13 dthom91 joined #salt
16:13 joshe joined #salt
16:13 entil {% for file in ('.profile', '.bashrc', '.bash_logout') %}\n  file:\n  - source: {{ whatever }}/{{ file }} like
16:13 entil fortunately the stuff I'm doing is for us only, or me even, because I'm sure at least our aws access key leaks here, even if the ssh data wouldn't
16:14 LarsN entil: thanks, I suspect I'll be using that for some things.
16:14 bemehow joined #salt
16:14 entil after some days of asking questions and bumbling around, I may actually have been of help ;)
16:14 jetole joined #salt
16:14 herlo joined #salt
16:14 LarsN entil: I've only been at this since Friday, and Saturday I spent the whole day at the conference, so...
16:14 entil the rsa key is btw - template: jinja and its contents just {{ pillar['foo_identity_rsa'] }}
16:15 entil then it gets rendered in there properly
16:15 jpadilla joined #salt
16:15 entil I still make a ton of mistakes where I forget to make require into a list or write file when I mean cmd... it's like the difference between learning a language by understanding it and actually being able to converse in it
16:15 godog joined #salt
16:16 entil or, in this case, more like code in it
16:17 davidone joined #salt
16:18 hazmat joined #salt
16:18 hazmat joined #salt
16:21 middleman_ joined #salt
16:21 cedwards joined #salt
16:22 nliadm I'm hacking on a zabbix module
16:22 nliadm however
16:23 nliadm there's no zabbix api module in pypi that supports the 2.0 API
16:23 nliadm does anyone have thoughts on this
16:23 jrgifford_ joined #salt
16:23 nliadm the one I could find was a single file and LGPL licensed
16:25 jbertonsalsa joined #salt
16:25 Khollowa_ joined #salt
16:26 KyleG joined #salt
16:27 bemehow_ joined #salt
16:30 teepark joined #salt
16:30 teepark anyone installing salt-vim with vundle?
16:30 teepark I don't get the sls filetype set by *.sls extension
16:31 teepark seems like ftdetect/sls.vim never gets evaluated
16:31 teepark everything works fine if I :set ft=sls
16:31 n0n joined #salt
16:34 SirScott_ with cmd.run, is there a way to get an interactive shell, even if no input is required?  I'm trying to cmd.run 'portsnap fetch', but it errors with: 'portsnap fetch should not be run non-interactively.'  Again, running the command actually doesn't take any input from stdin.
16:36 LarsN SirScott: looking at the manpage for portsnap, under "fetch" it says "for non-interactive use, you should use the cron command."
16:36 SirScott LarsN: yeah, i'm familiar with that
16:36 LarsN SirScott: I suspect if you run portsnap via salt, as if cron was executing the command you would get similar results.
16:36 SirScott LarsN: but i also don't want to wai tthe 'random up to 3600 second delay'
16:37 LarsN makes sense.
16:37 SirScott LarsN: with ansible, I can run 'portsnap fetch' with it's command module and portsnap doesn't complain.  Was hoping there was an equivalent with salt.
16:37 LarsN I completely spaced the whole up to 1h delay.
16:38 SirScott LarsN: yeah, that's...unfortunate :-/
16:38 LarsN I've only been playing with salt since Friday, so as to your initial question, I don't have an answer.
16:38 herlo joined #salt
16:39 SirScott LarsN: no worries :)
16:39 LarsN I don't suppose you could do something like...  cmd.run "/bin/sh portsnap fetch update" or whatnot.
16:39 ZenoTasedro joined #salt
16:40 SirScott Gives the same error
16:41 entil durr hurr! I just tested another minion and the output didn't print anything for highstate this time around
16:41 entil actually a good thing if it works consistently (and why wouldn't it, unless a requisite server like github goes down)
16:42 LarsN SirScott: all those tools for managing zpools, and nothing for ports :(
16:42 SirScott LarsN: and if I try "/bin/sh -i portsnap..." I get 'sh: can't access tty; job control turned off' on stderr.
16:42 SirScott LarsN: hah, no kidding.  And given the lack of binary packages...I'm left wondering what people are doing!
16:43 LarsN I saw something relating to Jails earlier today by accident as well.
16:43 LarsN hmmm.
16:45 Khollowa_ joined #salt
16:45 jlund joined #salt
16:46 jlund Any release notes for 0.15.3?
16:46 AviMarcus joined #salt
16:46 LarsN SirScott: not useful at all for your current problems but: http://intothesaltmine.org/blog/html/2013/04/22/introduction_to_the_saltstack_freebsd_jail_module.html
16:46 mgw joined #salt
16:47 LarsN The author of that blog, MIGHT, have a workaround though?
16:47 SirScott LarsN: definitely cool, thank you!
16:47 SirScott LarsN: i'm going to try a cmd.script approach next
16:48 LarsN http://intothesaltmine.org/blog/html/2012/12/06/define_salt_minion_paths_patch_for_freebsd.html
16:48 LarsN might also be somewhat helpful.
16:49 aat joined #salt
16:49 atn34 joined #salt
16:49 cleeming[ joined #salt
16:49 bemehow joined #salt
16:52 melinath joined #salt
16:53 faust joined #salt
16:57 SirScott LarsN: fwiw, i've decided just to put it in my fabfile that vagrant uses to provision the VMs
16:58 s0undt3ch__ joined #salt
16:59 ronc joined #salt
17:00 karlp_ joined #salt
17:00 cwright joined #salt
17:00 oc joined #salt
17:00 Heartsbane_ joined #salt
17:00 Heartsbane_ joined #salt
17:00 fxdgear_ joined #salt
17:00 sto_ joined #salt
17:00 a1j_ joined #salt
17:00 Damianz_ joined #salt
17:00 _a7p joined #salt
17:01 cluther_ joined #salt
17:03 koolhead17 joined #salt
17:03 koolhead17 joined #salt
17:04 m_george- joined #salt
17:04 yumike_ joined #salt
17:04 kevinbrolly_ joined #salt
17:05 krak3n`_ joined #salt
17:06 mirko joined #salt
17:06 dfinn joined #salt
17:08 shocm joined #salt
17:08 basepi joined #salt
17:08 dcrouch joined #salt
17:08 Ahlee joined #salt
17:08 faust joined #salt
17:08 cleeming[ joined #salt
17:08 aat joined #salt
17:08 jlund joined #salt
17:08 Khollowa_ joined #salt
17:08 teepark joined #salt
17:08 KyleG joined #salt
17:08 middleman_ joined #salt
17:08 herlo joined #salt
17:08 jetole joined #salt
17:08 oz_akan joined #salt
17:08 marcinkuzminski joined #salt
17:08 ogrisel joined #salt
17:08 sashka_ua joined #salt
17:08 joehh joined #salt
17:08 Mrono joined #salt
17:08 spoktor joined #salt
17:08 abscond joined #salt
17:08 geggam joined #salt
17:08 krissaxton1 joined #salt
17:08 jafo joined #salt
17:08 cce joined #salt
17:08 minaguib joined #salt
17:08 rizumu joined #salt
17:08 kho joined #salt
17:08 FreeSpencer joined #salt
17:08 canci_ joined #salt
17:08 schvin joined #salt
17:08 satshaba1 joined #salt
17:08 EntropyWorks joined #salt
17:08 MTecknology joined #salt
17:08 Brainspa1kle joined #salt
17:08 eculver joined #salt
17:08 jlaffaye joined #salt
17:08 eskp_ joined #salt
17:08 Teknix joined #salt
17:08 ktenney joined #salt
17:08 crashmag joined #salt
17:08 chuffpdx joined #salt
17:08 jdaggett joined #salt
17:09 marcinkuzminski joined #salt
17:10 sebgoa joined #salt
17:10 aat joined #salt
17:10 elasticdog joined #salt
17:11 mirko joined #salt
17:11 pcarrier_ joined #salt
17:12 s2r2 joined #salt
17:13 Katafalkas joined #salt
17:17 atn34 joined #salt
17:19 atn34 Hi I'm trying to set up salt as described here https://github.com/saltstack/salt/blob/develop/HACKING.rst, and after running salt-master -c ./etc/salt -d
17:19 balboah joined #salt
17:20 auser joined #salt
17:20 atn34 I get the following stack trace http://pastebin.com/WeWH0My1. Anyone ran into this issue?
17:25 Furao joined #salt
17:25 nrub joined #salt
17:28 logix812 joined #salt
17:36 LyndsySimon joined #salt
17:37 LyndsySimon I need some help. I'm trying to deploy MongoDB, start it, set up a user, then restart the service. The last part is giving me fits - I can't get the service to restart
17:37 LyndsySimon https://github.com/CenterForOpenScience/osf-salt-deploy/blob/master/salt/roots/salt/mongodb/init.sls is my state file
17:37 LyndsySimon I've also got the results of the build in the root of that repo if it would help.
17:42 kevinbrolly joined #salt
17:42 mannyt joined #salt
17:42 Charatna joined #salt
17:43 jlund LyndsySimon: Does the same thing happen without the reload: True line?
17:43 KyleG1 joined #salt
17:43 eculver joined #salt
17:43 LyndsySimon I think I've tried it both ways, but I"ll remove it and try it.
17:44 s0undt3ch joined #salt
17:44 LyndsySimon It's building, I'll let you know in a couple of minutes.
17:44 saltuser|73407 joined #salt
17:46 fidrox joined #salt
17:52 jlund LyndsySimon: Oh, I think I see the issue. You need to set a name: for mongodb-svc because 'mongodb-svc' is not the name of the init script.
17:52 teepark left #salt
17:52 cluther_ LyndsySimon: It seems like you'd want to do a "watch_in: - id: mongodb-svc" in mongodb-test-db.
17:53 jdaggett joined #salt
17:53 LyndsySimon jlund, you suggestion didn't work.
17:53 LyndsySimon I'm trying the watch_in: declaration now.
17:54 jlund LyndsySimon: Try my new suggestion.
17:55 LyndsySimon Will do.
17:55 LyndsySimon jlund, that breaks my mental model for how state declarations work, but I know my understanding is incomplete.
17:56 LyndsySimon Wait, no. i refactored that a while ago and left name off. I understand what you mean now.
17:57 jlund LyndsySimon: https://gist.github.com/jlund/c84d2f6da1eb8b24ce84
17:58 jts` joined #salt
17:58 atn34 fixed it by symlinking M2Crypto from /usr/lib/python2.7/dist-packages
17:58 dthom91 joined #salt
17:58 LyndsySimon jlund: yeah, that's a glaring omission now that i understand where you were talking about. I think you meant I had to assign a name to mongo-svc, but you meant I have to pass a name parameter to the service.running function
18:03 JasonSwindle joined #salt
18:04 jalbretsen joined #salt
18:04 jlund LyndsySimon: Or you could do it this way because you've already given a name parameter to pkg.installed. I moved a few other things around here: https://gist.github.com/jlund/84f238eff094f57e526e
18:05 bhosmer joined #salt
18:05 mgw $ ps aux | grep salt-minion | wc -l
18:05 mgw 252
18:05 mgw any ideas what would cause that?
18:05 mgw 252 alt-minion procs
18:10 SirScott Setting the env for a cmd.run, I have this:  - env: - CC: gcc   -- When executed I get a traceback that AttributeError: 'list' object has no attribute 'split'.  The docs say env takes a list or dict...yet neither are working for me.  What am I doing wrong?
18:12 SirScott nm, needs to be VAR=value
18:13 luminous joined #salt
18:13 Ivoz joined #salt
18:15 LyndsySimon OK, neither suggestions worked alone. I'm getting a "One or more requisites failed" error on the user_create. I'm tinkering with the requisites there, changing them to require that mongo be installed and the config be in place. Since Mongo starts a service upon install, that should be enough.
18:16 jts` Is there a roadmap / timeline for salt-monitor? It looks like it was started, then delayed until salt hits 1.0?
18:17 aat joined #salt
18:17 jlund LyndsySimon: Which requisite failed? Can you paste the full output as a Gist?
18:17 jesusaurus i have an apt state that manages the /etc/sources.list file, is there a way to make every pkg require the file without actually adding a require: in every pkg? a way of setting a default require, or a require_in: * or something?
18:18 LyndsySimon jlund: Yes, but I'm running another deploy at the moment. I'm hopeful that this will fix it.
18:20 kermit joined #salt
18:21 m_george i'm having trouble running some custom modules on a vagrant box, any ideas on how to tell a masterless install to find the modules i've built inside the states/_modules directory?
18:23 timoguin_work joined #salt
18:23 hhoover joined #salt
18:24 mnemonikk joined #salt
18:24 SirScott LarsN: I just got to looking at the poudriere module in detail.  Saw this note for the create_ports_tree() function:  Not working need to run portfetch non interactive
18:25 SirScott LarsN: that didn't make sense when i glossed over it before...but now it does :)
18:31 marcinkuzminski joined #salt
18:31 giantlock joined #salt
18:39 marcinkuzminski joined #salt
18:41 SirScott what does 'salt.exceptions.SaltReqTimeoutError: Waited 60 seconds' typically mean?
18:43 it_dude joined #salt
18:44 SirScott i've seen notes that it affects 0.14, which is what my minions are running... presumably that's the problem?
18:45 Gifflen joined #salt
18:45 marcinkuzminski joined #salt
18:46 LyndsySimon joined #salt
18:49 UtahDave joined #salt
18:50 marcinkuzminski joined #salt
18:53 whit joined #salt
18:56 bhosmer_ joined #salt
19:00 LyndsySimon joined #salt
19:01 ogrisel joined #salt
19:02 abe_music joined #salt
19:05 chesty joined #salt
19:05 Gifflen joined #salt
19:05 benspaulding joined #salt
19:12 sebgoa joined #salt
19:13 MrTango joined #salt
19:14 dfinn1 joined #salt
19:14 bhosmer__ joined #salt
19:14 dthom911 joined #salt
19:15 timoguin_work joined #salt
19:16 jts`` joined #salt
19:18 aat joined #salt
19:19 opapo joined #salt
19:22 ingwaem joined #salt
19:22 djinni` joined #salt
19:22 ingwaem joined #salt
19:23 Furao joined #salt
19:23 carlos__ joined #salt
19:26 svx_ joined #salt
19:26 krissaxton joined #salt
19:27 Drekonus joined #salt
19:29 BlueAida1 joined #salt
19:29 xt\ joined #salt
19:31 hhoover joined #salt
19:31 milind_ joined #salt
19:31 clone1018 joined #salt
19:31 Linuturk joined #salt
19:31 Linuturk joined #salt
19:31 godog joined #salt
19:31 nrub joined #salt
19:31 timoguin_work joined #salt
19:32 yumike joined #salt
19:32 auser joined #salt
19:32 kevinbrolly joined #salt
19:32 m_george|away joined #salt
19:34 KFDM joined #salt
19:36 bemehow joined #salt
19:39 Chocobo joined #salt
19:43 jdaggett joined #salt
19:43 pcarrier_ joined #salt
19:44 kermit joined #salt
19:45 mgw I'm looking at client.LocalClient. This does not appear to be the place to invoke a runner.
19:47 mgw Is RunnerClient what I'm looking for?
19:49 ronc joined #salt
19:50 JasonSwindle joined #salt
19:50 JasonSwindle UtahDave:  Back
19:52 abe_music joined #salt
19:54 JasonSwindle UtahDave:  Any luck looking at the loop or rapid fire of whatever salt is doing?
19:54 geggam joined #salt
19:55 ZenoTasedro JasonSwindle: is there anything you can't break? :p
19:55 jdaggett joined #salt
19:56 ingwaem_ joined #salt
20:02 UtahDave :)
20:02 UtahDave JasonSwindle: not yet. super busy today.  haven't even had lunc.
20:02 UtahDave lunch
20:02 UtahDave I should have a moment to look at it here in a second
20:03 JasonSwindle UtahDave: Thanks!   Is there a place to get SaltStack shirts?
20:03 LyndsySimon_ joined #salt
20:03 UtahDave what size do you want?
20:04 JasonSwindle I am a large
20:04 UtahDave pm me your address and I'll send you a large!  :)
20:04 entil you got a store or something?
20:07 aat joined #salt
20:08 giantlock_ joined #salt
20:08 milind_ joined #salt
20:08 xt\ joined #salt
20:08 ogrisel joined #salt
20:08 whit joined #salt
20:08 it_dude joined #salt
20:08 opapo joined #salt
20:11 UtahDave entil: nope, we don't have a store. but we do often have tshirts to give out at events and things.
20:11 UtahDave entil: were you at scale or pycon this year?
20:11 entil djangocon.eu
20:11 entil there was a salt meetup that I missed :(
20:11 milind__ joined #salt
20:11 entil I wasn't a user like a week ago, less then, but there was enough talk to get me interested
20:12 hhoover joined #salt
20:12 UtahDave ah, that's cool.  Several of my friends were there.  Sounds like a great conference
20:13 entil it was
20:14 opapo joined #salt
20:16 abe_music joined #salt
20:16 krissaxton joined #salt
20:17 scsinutz joined #salt
20:17 mirko joined #salt
20:18 xt\ joined #salt
20:23 nliadm do changes to the scheduler take effect without restarting the minion?
20:23 m_george left #salt
20:23 jschadlick joined #salt
20:24 SirScott with cmd.run, is there a way to get an interactive shell, even if no input is required?  I'm trying to cmd.run 'portsnap fetch', but it errors with: 'portsnap fetch should not be run non-interactively.'  Again, running the command actually doesn't take any input from stdin.
20:26 zooz joined #salt
20:26 mirko joined #salt
20:26 krissaxton left #salt
20:26 krissaxton joined #salt
20:29 ogrisel__ joined #salt
20:34 nliadm doesn't the scheduler print into the logs when it runs?
20:36 nkuttler hrm, i get "No directory to create /foo/bar in", but /foo exists.. any ideas?
20:36 JasonSwindle UtahDave: Let me know if you need more information on the error
20:44 mirko joined #salt
20:44 giantlock joined #salt
20:44 Gifflen joined #salt
20:46 dfinn1 do you need to implicitly have a watch command for every file you want salt to manage?
20:47 whit joined #salt
20:49 giantlock joined #salt
20:50 lvicks joined #salt
20:53 mirko joined #salt
20:54 nliadm UtahDave: scheduling seems broken in a frozen 0.15.1, I don't see a bug filed against 0.15.1 about this
20:55 Gifflen joined #salt
20:55 UtahDave dfinn1: you can manage files without a watch
20:56 nkuttler hrm.. must be a bug in salt 1.15.1, had to set makedirs to True even though the parent did exist
20:56 UtahDave nliadm: ok, would you mind opening an issue on that?  thanks!
20:56 nkuttler i guess i'll go back to building my own packages..
20:56 dfinn1 for example, if/when this state runs, if it notices any changes needed in /etc/hosts, it will apply them correct?
20:57 dfinn1 http://pastebin.com/7DvcJQcT
20:57 nliadm UtahDave: ah, it seems it's this issue: https://github.com/saltstack/salt/issues/4937
20:57 dfinn1 also, I can't seem to get that state to work.  something missing?  no errors, the minions respond with no info
20:57 m_george|away joined #salt
20:58 UtahDave dfinn1: that looks good to me
20:59 dfinn1 yeah, i copied it from a working one but doesn't seem to be working
20:59 UtahDave yeah, if the source or target change, then a highstate will make the target match the source
20:59 UtahDave have you run the highstate with    -l debug  ?
20:59 dfinn i haven't, i
20:59 m_george left #salt
20:59 dfinn 've just been running the states manually
20:59 milind__ joined #salt
21:00 dfinn like so (and the output I get back):
21:00 dfinn [root@rsyslog-dev-dfinn packages]# salt salt_client* state.sls hosts
21:00 dfinn salt_client01.bcinfra.net:
21:00 dfinn salt_client02.bcinfra.net:
21:00 UtahDave set your minion to run in the foreground in debug mode and then execute the command from the master
21:00 dfinn let me try that, i've been using -l all and don't see anything
21:00 UtahDave oh, hosts doesn't exist
21:00 dfinn oh?
21:00 dfinn where do you see that?
21:01 UtahDave salt salt_client* state.sls packages.hosts
21:01 dfinn packages/hosts/init.sls exists
21:01 UtahDave try executing what I just posted
21:02 dfinn doh, you are right
21:02 dfinn sorry for wasting time
21:02 dfinn i see the issue now
21:02 UtahDave no, not a waste of time.   :)   glad we got it figured out
21:02 dfinn it would be cool to get an error saying it doesn't exist
21:02 UtahDave what version of salt are you on?
21:03 dfinn salt-0.15.1-1.el5
21:03 melinath joined #salt
21:05 UtahDave I think there was a bugfix for that.
21:06 dfinn ah, ok
21:06 dfinn anyone know if the version of salt in the centos 6.X repos is more up to date?
21:06 dfinn i'm testing this on 5.x but when/if it goes to prod it will probably be on 6.x
21:06 UtahDave I think 0.15.3 is in epel-testing.  I'm not sure how the rest of that works.
21:07 dfinn oh yeah, i forgot i'm using epel
21:07 dfinn i probably just need to yum update salt
21:07 Damianz_ joined #salt
21:07 necronian joined #salt
21:09 pcarrier_ joined #salt
21:13 melinath joined #salt
21:14 alexl joined #salt
21:16 Kzim joined #salt
21:16 Kzim hi
21:16 Kzim i don' t find where i can change the graind file in minion for a json format :(
21:16 teskew joined #salt
21:19 UtahDave Kzim: I'm not sure what you mean.   Are you wanting to use json to add a grain?
21:20 Kzim UtahDave, hi ! i just want to have json instead of YAML in /etc/salt/grains
21:20 Ivo joined #salt
21:20 UtahDave You should be able to just use json.   json is valid yaml
21:21 Kzim i mean when i cat /etc/salt/grains i would like to have json
21:22 eculver_ joined #salt
21:22 bhosmer joined #salt
21:22 aat_ joined #salt
21:23 UtahDave Kzim: right.  So just put json in /etc/salt/grains
21:23 auser no kidding, really UtahDave?
21:23 auser that's awesome!
21:23 Kzim UtahDave, oh i see it's because i use grains.setval() which convert it as YAML ?
21:25 UtahDave Kzim: Ah yes.  Salt will use yaml by default.  But you should be able to put json in there yourself and it should work.
21:26 Kzim but without using setval ? i have to make my module right ? also last time you showed me that i can put a disct with setval but perhaps i do something wrong
21:26 Kzim salt '*' grains.setval mongo "{shard_name:shard1,port:27017}" isn't ok ? this put the string abd bit the dict
21:28 Kzim okay i see i miss space
21:29 UtahDave k
21:29 Kzim thanks a lot for the json info
21:32 ClausA joined #salt
21:33 melinath joined #salt
21:35 backjlack joined #salt
21:39 [diecast] joined #salt
21:39 [diecast] can you get pillar information from a salt-call ?
21:40 m_george joined #salt
21:40 [diecast] i want to know if the host has a specific role
21:42 auser yep
21:42 auser salt-call grains.item roles
21:42 auser depending how you set up your system [diecast]
21:42 auser at least, I store my role data in my grains
21:42 auser grains.setval, that is
21:43 Kzim UtahDave, i still have a probleme with overstates. i would like an overstate that define the way to setup a mongo cluster for example so you agree that i only need one pattern, one overstate right ?
21:43 Kzim and target in overstate are in the flat file. so i want to target like specific hostname i have to duplicate this file ?
21:44 middleman_ joined #salt
21:44 Kzim or can i use jinja and pass target or some cluster id which could be in grains, as agrs ?
21:44 Kzim args
21:46 chrisgilmerproj1 joined #salt
21:46 chrisgilmerproj1 left #salt
21:47 joehh joined #salt
21:51 b0rn joined #salt
21:53 UtahDave Kzim: yes you can use jinja.
21:55 Sacro_ UtahDave: any chance of adding jinja to the win_repo?
21:56 Sacro_ brb
21:56 mirko joined #salt
21:56 pwf does anyone know of some salt states that install a salt master?
21:56 pwf shouldn't be too hard to make my own, but surely someone else has done it
21:56 Sacro joined #salt
21:57 whiskybar joined #salt
21:57 whit joined #salt
21:57 Kzim UtahDave, but can i say for example salt-run state.over base /root/overstate.sls cluster_id mongo1 ? and then use cluster_id in the overstate ?
21:58 UtahDave pwf: salt-master:\n  pkg.installed
21:58 pwf don't i have to add the ppa and stuff too?
21:58 UtahDave Kzim: Hm. I don't know. Let me pull up some docs
21:58 zwevans joined #salt
21:59 Kzim UtahDave, i only found this one :( http://docs.saltstack.com/ref/states/overstate.html
21:59 UtahDave pwf: sure, but if you're running the salt-minion to install the master, wouldn't it already have the ppa installed?
21:59 pwf ah... i suppose so
21:59 pwf i'm using salty vagrant, not sure how it installs the minion
21:59 b0rn left #salt
22:02 UtahDave Kzim: it doesn't look like the state.over function takes kwargs, so I don't think you can pass that info in on the cli
22:03 Kzim UtahDave, so i don< understand at all how do i do some orchestration with salt :()
22:03 Ahlee ok, does _modules adhere to environment or not?
22:03 Kzim i have to create an overstate per mongo cluster ? :(((
22:04 Ahlee 'cause this is really annoying that sometimes syncutils will copy _modules/* to hosts, and other times it will delete the entire directory
22:08 alangarf joined #salt
22:08 Kzim UtahDave, i mean i want to use salt but how will you use salt if you had to spawn 50 mongodb cluster with sometime specific conf ?
22:13 UtahDave Ahlee: it deletes the _modules directory on the minion?
22:14 UtahDave Kzim: I would put each specific conf item in pillar and the use templates in your sls file
22:14 UtahDave files
22:14 UtahDave Kzim: have you used salt-cloud?
22:14 Kzim i want specific conf in grains file but
22:15 UtahDave You can create a map of your minions and add arbitrary custom grains to each minion
22:15 Kzim nop but sadly i can't use any cloud provider
22:15 UtahDave how are you spawning this cluster?
22:15 onewheelskyward left #salt
22:15 Kzim my probleme isn' t the grains it's the order of the task between the minions
22:15 Kzim i have to order my VMs :)
22:15 Kzim old school hosting in my company
22:16 UtahDave ok, that's cool
22:16 Kzim the thing is that i always want to deploy a mongo cluster the same way in the same order
22:16 UtahDave So still, I would keep anything that particular to a specific minion in pillar
22:17 Kzim install mongo, wait for eevery node to have it installed, create the replica set, sapwn a mongos process, create the user and destroy the mongos
22:17 Ahlee UtahDave: yes.
22:17 Kzim so to do that i only see overstate with salt right ?
22:17 UtahDave Ahlee: that sounds like a bug to me. are you already on 0.15.3?
22:17 Ahlee 0.15.1
22:18 UtahDave you might try upgrading, Ahlee. I seem to remember an issue regarding that
22:18 danielbachhuber joined #salt
22:18 Kzim but if i use overstate it's just silly to copy paste overstate and just changing the match
22:18 Ahlee mkdir /var/cache/salt/minion/extmods/modules on minion, run saltutil.sync_modules on master targeting one host, minion deletes directory
22:18 Ahlee was probably me complaining you remember, this is not an ew issue to me
22:18 UtahDave Kzim: can you pastebin what you have already?
22:18 Ahlee i shall update the master and this host now
22:18 UtahDave Ahlee:  is _modules empty on the master?
22:19 ronc joined #salt
22:19 Kzim UtahDave, i have nothing :( i just try to pla with the onl;y example the doc give me :(
22:19 Ahlee UtahDave: Nope, module copies fine to 8 of the 10 nodes
22:19 UtahDave Ahlee: ok, then that's a real bug.
22:19 Ahlee sorry, 6/10
22:19 bhosmer joined #salt
22:19 UtahDave but yeah, you might try 0.15.3 first
22:20 UtahDave Kzim: So I think in your overstate you just need to have a stanza for each step of your mongodb configuration.
22:21 Kzim UtahDave, but how would i target the good minions ? :(
22:21 marcinkuzminski joined #salt
22:24 UtahDave Kzim: OK, I've created an untested example for you.  It's probably incorrect, but hopefully will point you in the right direction.
22:24 Kzim UtahDave, i imagine better than what i imagine: http://pastebin.com/apYkNinr
22:24 UtahDave :)  almost the same
22:24 UtahDave http://pastebin.com/HFhiCU2n
22:25 UtahDave I was just going off the list of tasks you had stated earlier.
22:25 Kzim UtahDave, ok this help me a lot ! BUT i don't want reinstall all the db*
22:25 Ahlee Yay M2Crypto issues.
22:25 Ahlee Primary development must be on non-rhel hosts
22:26 Kzim UtahDave, i mean someone ask me to setup a cluster on 3 machine ii have to just target those 3 machine
22:26 UtahDave right so change it to match the names of those machines.
22:26 Kzim UtahDave, and i will not just edit the file i need this to be behind a web GUI with only one button
22:27 UtahDave hm.
22:27 Kzim UtahDave, i just can' t do that if this is the only way to do this with salt i 'll have to find another solution since salt would be behind a web ui :(
22:27 UtahDave Ahlee: we actually use centos extensively
22:27 UtahDave Kzim: let me think for moment
22:28 Kzim UtahDave, sure, please i world turn around this question this month :)
22:33 jdaggett1 joined #salt
22:36 kermit joined #salt
22:37 Kzim UtahDave, this is weird Saltstack have everything to do that but yet ... perhaps with modules
22:38 UtahDave Yeah, this is something we should definitely support
22:39 UtahDave the overstate is one of the newer features, so it's missing some functionality still
22:39 UtahDave Let's open an issue for this.
22:39 UtahDave In the mean time
22:39 Kzim this is sad i sold salt to my company and just now i realize that this isn' t possible :(
22:39 UtahDave How about something like this.
22:40 UtahDave Kzim: hold on, all is not lost.   :)
22:40 Kzim *hope*
22:40 alexl joined #salt
22:41 UtahDave OK, since you have a web ui, what if your web ui execute a few of these steps in order through the master?
22:41 UtahDave At what point do the mongo servers actually have to know about eachother?
22:41 [diecast] how can i get info from top.sls from within the client.. for example i want to know which sub-state is being run for -  dev:'myhost':-mystate.blah - i want to know that this host gets "blah"
22:42 Kzim UtahDave, why not but the UI or a script or something will have to check if everything has run ok and manage the targets i mean i use salt over Chef and in that case why not use knife ssh but why not
22:43 Kzim UtahDave, i have to wait for the 3 node to be up but it's n example because the task i have aare way more complex. like remove a stack from a load balancer, change the db schema etc ...
22:43 UtahDave OK, so I think I need to sit down with Tom and add this feature in.  I don't think it will be very hard.
22:44 kermit joined #salt
22:44 whiskybar joined #salt
22:44 UtahDave Kzim: can you open an issue on github describing what you'd like to do?  I'll sit down with Tom and get something in.
22:45 Kzim UtahDave, Sure yes thanks a lot for your feedback and your time
22:45 UtahDave [diecast]: I'm not sure what you mean.
22:45 UtahDave Kzim: You're very welcome.  Don't worry. this is something Salt can be taught to do.
22:45 Kzim also i m greatfull and i d love to help but do a feature like that can be long to release no ?
22:45 [diecast] UtahDave: im probably going about it the wrong way
22:45 Kzim i mean i have to find a solution or wait for salt
22:46 UtahDave Uh, I can't guarantee anything, but I'm pretty sure we could get this into 0.16.0, which should be release in 2 or 3 weeks.
22:46 Kzim UtahDave, in any case i will create this issue tonight or tomorrow
22:46 UtahDave thank you, Kzim!
22:46 Kzim UtahDave, oh could be great !
22:46 [diecast] but lets say i am deploying "mystate.whatver" - if im on the client is there a way to get that info?
22:47 Kzim it's me that thank you for all your work ! i have to go now i'll see you later thanks again !
22:47 [diecast] something like salt-call mystate.whatever and have it return True/Fale?
22:47 [diecast] in puppet i would use facts for this
22:48 UtahDave ok, see you soon, Kzim
22:48 MrTango joined #salt
22:48 UtahDave [diecast]: so you're trying to determine if the state is currently running?  Or that it has been deployed?
22:48 LyndsySimon joined #salt
22:48 [diecast] the later
22:48 [diecast] but from the client
22:49 [diecast] i could make checks that examine the host for the expectd behaviour aftr salt runs
22:50 [diecast] but wanted to see if it was possible with a salt comand
22:51 UtahDave salt-call state.highstate test=True will  tell you if the minion needs any changes made
22:51 [diecast] UtahDave: thats the exact command i was using. then grepping the output
22:52 [diecast] the other alternative i can think of is putting in a grain specifically for it
22:52 UtahDave have you looked at   state.show_highstate    ?
22:52 [diecast] no i have not
22:52 [diecast] oh, interesting... but is there a way for me to parse it right on the cli
22:53 UtahDave Hm. I'm looking here: http://docs.saltstack.com/ref/modules/all/salt.modules.state.html#module-salt.modules.state
22:53 UtahDave there are several functions that might help    such as    state.show_sls   or state.show_top
22:53 UtahDave Let me try some
22:55 UtahDave I think show_highstate is what you want
22:55 UtahDave if you're parsing it, I would use   --out json    and then just import the json into python
22:56 [diecast] thank you for your help, great info
22:57 UtahDave does that get you where you need to be?
22:57 [diecast] it put me closer. i think state.single is needed
22:58 [diecast] looking at the docs it popped up
22:59 auser state.sls [diecast] ?
22:59 auser I think single is just for a single state, not an sls
23:00 [diecast] in the example - salt '*' state.sls core,edit.vim dev
23:00 [diecast] what does "core" mean
23:03 UtahDave core is just an arbitrary imaginary sls file
23:03 [diecast] ah, i see.. "," is delimiting multiple sls requeests
23:08 UtahDave yep.  it's going to apply the core.sls, edit.vim.sls, and dev.sls   files to all the minions
23:09 krissaxton joined #salt
23:10 cxz joined #salt
23:11 dcrouch joined #salt
23:13 bemehow joined #salt
23:18 marcinkuzminski joined #salt
23:19 aat joined #salt
23:20 jpadilla joined #salt
23:22 adotbrown joined #salt
23:30 pcarrier_ joined #salt
23:30 tf198 joined #salt
23:36 aat joined #salt
23:36 darrend_ joined #salt
23:37 ncjohnsto joined #salt
23:44 mgw joined #salt
23:46 lvicks joined #salt
23:48 kmwhite joined #salt
23:50 whit joined #salt
23:50 martineg_ joined #salt
23:53 danielbachhuber joined #salt
23:56 ogrisel joined #salt
23:58 whit joined #salt

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