Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-08-31

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

All times shown according to UTC.

Time Nick Message
00:04 dthom91 joined #salt
00:06 forrest joined #salt
00:07 laax joined #salt
00:13 Nazca__ joined #salt
00:18 dthom91 joined #salt
00:20 dthom91 joined #salt
00:35 pravka joined #salt
00:36 aparsons joined #salt
00:41 johnkeates joined #salt
00:43 johnkeates joined #salt
00:43 johnkeates i think IRC disconnected, not sure if my message made it :( I'll try again later
00:44 johnkeates https://github.com/johnkeates/gitlab-ci-runner-formula is ready for basic usage, has a few todo's to expand on functionality, but if it gets on to the main formulas repo, it can be included in live projects
00:45 johnkeates so if someone can add it to the saltstack-formulas thingy, that'd be useful for others. It should not be added to the existing 'gitlab' formula, it's not the same nor does it do anything related to gitlab, gitlab-ci or anything other than the GitLab-CI-Runner which is a self-sustained package
00:45 iggy johnkeates: it being in saltstack-formulas isn't a precursor for widespread use of something
00:45 iggy (in fact most of the formulas are kind of limited in various ways)
00:46 johnkeates I know :p but it's a useful formula and pointing people to a central place to search for whatever they think they need is nice
00:46 iggy johnkeates: I would personally wait until after the next release
00:46 johnkeates even if afterwards they write their own
00:46 edrocks joined #salt
00:46 johnkeates next salt release?
00:47 iggy there's a tool called SPM coming that will hopefully make it easier for formulas to get found and used (outside of the saltstack-formulas org)
00:47 mosen iggy: true (about the formulas)
00:47 johnkeates i've not been in the loop for a bit on what's coming next; will there be some sort of formula manager?
00:47 johnkeates ah
00:47 johnkeates sweet
00:47 johnkeates i hope it'll do dependencies too
00:47 johnkeates it probably will. i'd suspect. or expect.
00:48 iggy also... nobody is around today that can add it to the saltstack-formulas org
00:48 johnkeates well, that's too bad :( would SPM have it's own hosting service?
00:48 iggy johnkeates: I think that's something in the works (I opened an issue about it iirc)
00:48 johnkeates would it be a thing where you need to setup channels or repo's to make it work?
00:49 johnkeates i guess i might as well go dig on github on master to figure this is
00:49 johnkeates out*
00:49 iggy I'm not too clear on that yet, if you think that would be a useful feature, open an issue so it can be discussed
00:49 johnkeates npm/pip/pecl/composer for Salt.. yum
00:49 johnkeates (yum was an intended pun)
00:50 iggy I imagine it'll be closer pip being python and all
00:50 mosen that pun was very apt (sorry)
00:50 johnkeates nice :P
00:50 johnkeates i'm trying to come up with a pun containing pacman
00:51 johnkeates it's not coming. oh well
00:52 johnkeates i'll just leave the formula as it is, search function works well enough too
00:53 johnkeates i am a bit curious as to why halite died but now an 'enterprise web console' exists.. oh well, commerce for the win i guess. has that bitter puppet aftertaste
00:53 mosen I think just cloning and using gitfs is pretty reasonable.. I guess a package manager just adds a bit more ease of use
00:54 mosen except if you always check out master branch and something explodes :)
00:55 johnkeates well, i think dependency resolution and a cli tool to search/install known-good-stable-nice-rainbows-ponies-candy packages would be a really neat addition
00:55 johnkeates i'm using git and submodules and it's working well enough
00:55 johnkeates but 'better' is a nice goal to aim for
00:56 johnkeates oh well, i'll just go to bed instead, night-time coding is nice but sooooo error-prone
00:57 johnkeates left #salt
00:57 iggy johnkeates: wildly different than any other config mgmt system... a closed source web gui is wildly different than "open core"
01:03 aparsons_ joined #salt
01:04 Arbusto joined #salt
01:08 Zachary_DuBois joined #salt
01:08 forrest joined #salt
01:19 orion203 joined #salt
01:21 iggy and freenode are fuckasses once again
01:21 iggy they banned the bot for some reason
01:28 maduro joined #salt
01:28 favadi joined #salt
01:29 joehh apt
01:32 catpiggest joined #salt
01:38 jerryc joined #salt
01:39 kwork_ joined #salt
01:41 jeadre joined #salt
01:41 ecdhe joined #salt
01:45 FineTralfazz_ joined #salt
01:48 vvoody joined #salt
01:54 pppingme joined #salt
01:56 dthom91 joined #salt
02:03 andrew_v joined #salt
02:03 sunkist joined #salt
02:08 laax joined #salt
02:20 techdragon joined #salt
02:20 ashmckenzie joined #salt
02:26 subsignal joined #salt
02:35 evle joined #salt
02:41 dthom91 joined #salt
02:45 TyrfingMjolnir joined #salt
02:57 joe_n joined #salt
03:19 joe__ joined #salt
03:25 rdas joined #salt
03:34 joe_n joined #salt
03:36 ashmcken- joined #salt
03:38 ashmcken- joined #salt
03:47 ashmckenzie_ joined #salt
03:48 ramteid joined #salt
03:55 stanchan joined #salt
04:01 ashmckenzie_ joined #salt
04:05 bfoxwell joined #salt
04:06 ashmckenzie joined #salt
04:10 laax joined #salt
04:12 ashmckenzie joined #salt
04:14 clintberry joined #salt
04:17 laax joined #salt
04:22 ashmckenzie joined #salt
04:23 quasiben joined #salt
04:23 spookers39 joined #salt
04:24 spookers39 Hey
04:24 spookers39 Anyone in here I'm new
04:25 ashmckenzie joined #salt
04:27 ashmckenzie joined #salt
04:38 ashmckenzie joined #salt
04:39 joe_n joined #salt
04:55 mdupont joined #salt
04:57 vvoody joined #salt
05:03 martinsvensson joined #salt
05:06 Arbusto joined #salt
05:08 zer0def joined #salt
05:18 joe_n joined #salt
05:18 genediazjr joined #salt
05:22 jokkard joined #salt
05:23 jokkard left #salt
05:31 clintber_ joined #salt
05:47 joe_n joined #salt
05:49 culexor joined #salt
05:54 Ztyx joined #salt
05:56 jaybocc2 joined #salt
05:57 jesterfraud joined #salt
05:58 Ztyx joined #salt
05:58 jesterfraud How do you use gitfs with a masterless environment (salt-call --local)?
06:00 Ztyx1 joined #salt
06:03 jeadre joined #salt
06:06 Ztyx joined #salt
06:09 jeadre joined #salt
06:17 TyrfingMjolnir joined #salt
06:18 laax joined #salt
06:20 dopesong joined #salt
06:21 AndreasLutro joined #salt
06:28 markm joined #salt
06:30 clintberry joined #salt
06:30 arcade_ joined #salt
06:31 slav0nic joined #salt
06:35 jeadre joined #salt
06:41 MadsRC I have a bug in 2015.3 (Installed using epel on CentOS 7) that I know is fixed in 2015.5 (But not in 2015.8 for some reason... It was only pulled in to 2015.5) but does anyone know when that 2015.5 version will be in epel?
06:46 MadsRC oh, I see that 2015.8 is feature-frozen, so that's why. Still wondering when 2015.5 will be available via epel
06:48 AndreasLutro a bugfix isn't affected by a feature freeze
06:49 AndreasLutro also, 2015.3 doesn't exist - do you mean 2015.5.3?
06:49 AndreasLutro https://github.com/saltstack/salt/issues/26715
06:50 MadsRC According to SaltStack website, 2015.8 feature freeze and bug fixed should be merged into the 2015.5 branch :D
06:51 MadsRC And yes AndreasLutro I'm running 2015.5.3, but I saw it as 2015.3... Damn it's way to early for this :D
06:51 MadsRC So I guess I'm asking for when the lastest bugfixes will be available in the epel version :D
06:51 AndreasLutro bug fixes should be merged into 2015.5 because that's currently the stable release - changes from 2015.5 will then be merged into 2015.8
06:52 lb1a joined #salt
06:54 KermitTheFragger joined #salt
06:56 katyucha joined #salt
06:56 MadsRC So should I wait for epel to update to 2015.5.5, or would it be better just to clone the repo and install it from source?
06:57 AndreasLutro if you can install from source that's what I'd do, but not all company policies allow that
06:57 laax joined #salt
06:58 MadsRC AndreasLutro: How about the minions, from source also?
06:58 AndreasLutro you'll want to keep master/minion versions in sync as much as possible I suppose
06:58 jesterfraud I'm trying to install something via a formula in a masterless environment, how do I get gitfs working, or alternatively, how can I neatly work around not having gitfs?
06:59 jesterfraud (or would I be better off having a local master somehow?)
06:59 AndreasLutro I thought gitfs worked out of the box even with masterless
06:59 AndreasLutro but if not, check out this maybe http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#adding-a-formula-directory-manually
07:00 MadsRC AndreasLutro: Okay, I'll guess I'll find a proper way to keep the minions in sync... Thank you for your help :)
07:00 Ztyx joined #salt
07:02 jesterfraud AndreasLutro: I added the repo to the I set fileserver backend to git, and added the formula to gitfs_remotes, all in the /srv/salt/minions.d/masterless.conf, but I can't seem to use the formula at all
07:02 jesterfraud just getting "Specified SLS docker in saltenv base is not available on the salt master"
07:05 dopesong_ joined #salt
07:06 slav0nic joined #salt
07:17 eseyman joined #salt
07:17 aparsons joined #salt
07:20 jeadre joined #salt
07:25 BigBear joined #salt
07:31 Grokzen joined #salt
07:36 laax joined #salt
07:38 markm joined #salt
07:39 linjan joined #salt
07:42 jeadre joined #salt
07:49 AndreasLutro jesusaurus: not sure what the issue could be then
07:51 impi joined #salt
07:58 sgargan joined #salt
08:01 s_kunk joined #salt
08:01 irctc680 joined #salt
08:01 irctc680 hi guys
08:03 Msalt joined #salt
08:10 linjan joined #salt
08:19 GreatSnoopy joined #salt
08:21 N-Mi joined #salt
08:29 kbaikov joined #salt
08:29 CeBe joined #salt
08:43 genediazjr joined #salt
08:53 Rancid-punk joined #salt
09:06 gmoro joined #salt
09:07 Arbusto joined #salt
09:08 stephanbuys joined #salt
09:11 stephanbuys left #salt
09:17 MadsRC AndreasLutro: When installing salt from source, do you recommend installing dependencies via apt/yum or pip? I havea feeling that apt/yum would be more safe, as they are guaranteed to work on your distro, but I also have a feeling that the versions in pip would be newer versions and thus more likely to work with the latest source?
09:19 overyander AndreasLutro, you could just install the package (which would install all deps) then uninstall the pkg (which leaves the deps) then make/make install
09:19 CeBe joined #salt
09:19 overyander i don't see why that wouldn't work
09:20 MadsRC overyander: Was that for me, or for AndreasLutro ?
09:22 overyander sorry MadsRC, that was for you
09:22 overyander :P
09:22 overyander it's late, i'm drunk
09:22 MadsRC ah, thought so :D
09:23 overyander these iptables though... i'm having a blast! LOL
09:23 MadsRC That would use apt/yum to handle the deps... I'm leaning towards that, as I won't have to manage updates via pip...
09:24 overyander as long as you staying in the main release version then i would feel safe that it will work fine with current packages
09:24 MadsRC overyander: Yah, I'm only using stable
09:24 overyander if skipping to higher major versions, that's when i start feeling the need to be "bleeding edge" on all other packages too
09:25 overyander if just using stable then just install the whole thing using your pkg manager
09:25 MadsRC would use the apt/yum supplied salt, but I need a certain bug fixed and can't wait till the maintainer updates... So I need the newest stable :D
09:25 mage_ I have a stupid question: why with extend/watch_in/... do we have to specify the "function" if ids are unique ?
09:26 AndreasLutro MadsRC: to be safe, I'd use a virtualenv and install via pip
09:26 mage_ for ex: "watch_in: - virtualenv: foo " and not "watch_in: - foo" ?
09:26 overyander yum, for instance, typically runs a minor revision or two behind the latest release. i haven't had any issues installing salt-master from epel-testing (i use centos) as long as that same version has been officially released by salt
09:26 MadsRC AndreasLutro: You do that on all your production machines?
09:27 MadsRC overyander: I won't be able to sleep if my packages come from a repo with the name "testing" in it :D
09:27 overyander i know, i know.
09:27 overyander salt is the only one i do this with
09:27 overyander i researched and contacted the pkg maintainer about it too
09:28 MadsRC But is it possible to have both epel and epel-testing and make sure that the only package fro mthe testing is salt?
09:28 overyander apparently a pkg is stuck in the "testing" phase until an arbitrary number of people install it AND report it as safe
09:28 MadsRC I'd hate accidently installing something from the testing repo :P
09:28 overyander yes it is
09:28 MadsRC Silly question actually...
09:29 overyander with yum i use something like (forgive me, i've been drinking and this is from memory) yum --enable-repo=epel-testing install salt-master
09:29 overyander that way the testing repo is only enabled during that particular install. during all other times, it's disabled
09:29 AndreasLutro MadsRC: yes
09:29 zerthimon joined #salt
09:29 AndreasLutro MadsRC: alternatively, a safer option is to package salt yourself and distribute/install that package
09:30 overyander that's a lot of work thought
09:30 overyander s/thought/though
09:30 MadsRC AndreasLutro: I'd haate having to manage a virtualenv on 200+ production machines... But again, I'd hate having to install from source on that many machines :P
09:30 MadsRC s/haate/hate/g
09:31 AndreasLutro you could do it with salt :P
09:31 overyander why go through all that work when someone has already done it for you?
09:32 overyander by your same argument it's "safer" to just compile and redistribute all packages yourself instead of using your distros package manager
09:32 overyander that was intended for AndreasLutro
09:32 AndreasLutro I meant safer than managing a virtualenv
09:33 MadsRC AndreasLutro: Can't wrap my head around updating salt using salt :P But yeah, thought about it
09:33 overyander lol
09:34 overyander MadsRC, salt is fun like that. :)
09:34 MadsRC Salt is extremely fun :D
09:34 MadsRC Used to bang my head against the table using puppet...
09:34 MadsRC Compared to tha,t salt is fun :D
09:35 overyander a while back, i decided to stop doing a lot of work manually on all of our windows workstations... i decided to research. i went through puppet, docker, salt and a few others. fortunately, i decided on salt.
09:36 overyander it's taken such a load off
09:37 overyander i now have ~300 windows minions. i use it for pushing out license files, installing things (java, flash, ff, etc.) via chocolatey, file management and all kinds of stuff
09:42 MadsRC Uh, I'd love for my windows admins to let me manage those via salt :P
09:42 TyrfingMjolnir joined #salt
09:43 overyander MadsRC, do you have install privs on those systems?
09:43 MadsRC Oh yes :D gotroot
09:43 overyander where there's a will there's a way
09:43 overyander i used psesec to push it out to our networks.
09:43 MadsRC Easier to ask forgiveness than permission?
09:43 joe__ joined #salt
09:44 overyander i crafted an installer to append a tag (like -office1) to the hostname of each minion and used that to group them by function and software required.
09:44 auzty joined #salt
09:45 dRiN joined #salt
09:45 overyander the things i manage on them are related to my job function. it is up to me to decide the tools i use to accomplish my job (within legal means) and salt is a great tool
09:45 BigBear joined #salt
09:46 losh joined #salt
09:46 overyander after nation-wide deployment, i informed my boss and he was very pleased with the results and amount of time it frees up. we're now working on deploying it to workstations in other verticals within the US and globally
09:46 genediazjr joined #salt
09:49 keimlink joined #salt
09:50 lothiraldan joined #salt
09:51 joe__ hello, how can i transfer files from minion back to master? I ran some command on minions redirected to text files, and want to collect those files back. googled no luck, thanks!
09:52 creppe joined #salt
09:52 MadsRC cp_fetch I think?
09:57 denys joined #salt
09:57 joe__ can't find it on docs.saltstack.com, any links? thanks
09:58 MadsRC http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cp.html
09:58 MadsRC push, from minion to master
09:58 mage_ https://dpaste.de/HOTp any idea why can't I do that ? if IDs are unique Salt should be smart enough to detect the module/function, no ?
10:09 joe__ MadsRC: thanks, tried, this feature seems not working for salt-ssh
10:24 lothiraldan joined #salt
10:25 jeadre joined #salt
10:27 lothiraldan joined #salt
10:36 charli_ joined #salt
10:38 cberndt joined #salt
10:39 supersheep joined #salt
10:43 permalac joined #salt
10:52 giantlock joined #salt
10:53 AndreasLutro mage_: just because - https://github.com/saltstack/salt/issues/4597
11:01 aqua^c joined #salt
11:06 zacdev joined #salt
11:08 Arbusto joined #salt
11:09 soren joined #salt
11:09 borgstrom joined #salt
11:09 soren left #salt
11:19 evle1 joined #salt
11:23 zwi joined #salt
11:26 mage_ AndreasLutro: thanks .. :)
11:30 stephanbuys1 joined #salt
11:38 ggoZ joined #salt
11:42 mage_ I didn't know that you could use the same id for two != state modules
11:45 ssc left #salt
11:47 favadi joined #salt
11:54 pcdummy joined #salt
11:54 genediazjr joined #salt
11:55 lothiraldan joined #salt
12:01 BigBear joined #salt
12:02 stephanbuys joined #salt
12:05 BradThurber joined #salt
12:05 teryx510 joined #salt
12:14 cyborg-one joined #salt
12:20 hasues joined #salt
12:21 hasues left #salt
12:22 ITChap joined #salt
12:24 ITChap joined #salt
12:25 dyasny joined #salt
12:34 quasiben joined #salt
12:37 dopesong joined #salt
12:38 stephanbuys left #salt
12:38 dopeson__ joined #salt
12:38 mapu joined #salt
12:43 bluenemo joined #salt
12:43 DammitJim joined #salt
12:45 blues-man joined #salt
12:45 amcorreia joined #salt
12:48 rcurrah joined #salt
12:49 supersheep joined #salt
12:52 sroegner joined #salt
12:57 subsignal joined #salt
12:57 nadx joined #salt
13:05 elfixit joined #salt
13:05 Arbusto joined #salt
13:06 jdesilet joined #salt
13:06 catpig joined #salt
13:08 shiriru joined #salt
13:09 ekristen joined #salt
13:10 jeadre joined #salt
13:13 bhosmer joined #salt
13:13 pravka joined #salt
13:18 cpowell joined #salt
13:21 protoz joined #salt
13:22 SheetiS joined #salt
13:22 favadi joined #salt
13:24 spookers39 joined #salt
13:24 spookers39 Hey
13:29 rdutch joined #salt
13:30 pravka joined #salt
13:32 murrdoc joined #salt
13:32 kbyrne joined #salt
13:35 timoguin joined #salt
13:36 indispeq joined #salt
13:36 spookers39 joined #salt
13:36 DenkBrettl left #salt
13:41 sgargan joined #salt
13:42 zmalone joined #salt
13:43 racooper joined #salt
13:47 numkem joined #salt
13:48 ericof joined #salt
13:54 bhosmer joined #salt
13:55 scoates joined #salt
13:56 timoguin joined #salt
13:59 rdas joined #salt
14:01 andrew_v joined #salt
14:02 _JZ_ joined #salt
14:02 Akhter joined #salt
14:03 jalbretsen joined #salt
14:03 Akhter joined #salt
14:05 rdutch left #salt
14:05 Akhter joined #salt
14:09 dthom91 joined #salt
14:12 pm90_ joined #salt
14:14 laax joined #salt
14:14 pm90__ joined #salt
14:15 anotherZero joined #salt
14:18 BigBear joined #salt
14:18 johnkeates joined #salt
14:19 tmclaugh[work] joined #salt
14:21 armguy joined #salt
14:25 chamunks joined #salt
14:25 fxhp joined #salt
14:26 __monty__ joined #salt
14:26 rdas joined #salt
14:28 _mel_ joined #salt
14:31 johnkeates left #salt
14:35 quasiben joined #salt
14:37 TranquilityBase joined #salt
14:38 aqua^c joined #salt
14:40 Brew joined #salt
14:42 viq joined #salt
14:43 clintberry joined #salt
14:45 laax joined #salt
14:45 blues-man joined #salt
14:47 BigBear joined #salt
14:47 armguy left #salt
14:47 armguy joined #salt
14:49 tmclaugh[work] joined #salt
14:50 Brew joined #salt
14:51 laax_ joined #salt
14:52 __monty__ I'm having some trouble setting up salt for the first time. When I try: salt-key -F master, I get a stacktrace with a KeyError['pub'] Am I missing a public key or something?
14:53 mnaser __monty__: it'd be useful if you posted the entire traceback
14:53 mnaser :)
14:54 babilen __monty__: Did you install a minion on the master? Or rather: What have you done so far before running that command? What do you expect that command to do and why do you think that it should succeed?
14:55 rdas joined #salt
14:57 __monty__ mnaser: This is the trace: http://lpaste.net/139962
14:59 edrocks joined #salt
14:59 Brew joined #salt
14:59 __monty__ babilen: I've followed this: http://docs.saltstack.com/en/latest/topics/installation/arch.html and this up to salt-key -F master: http://docs.saltstack.com/en/latest/topics/installation/arch.html, then because that gave me an error and I didn't really know what to do I did salt-key -L and salt-key -a hostname which worked. But test.ping now fails with a stacktrace so I thought I'd retrace my steps and get everything to work.
15:00 seaney joined #salt
15:00 __monty__ babilen: I expect the command to output the master key fingerprint and the only reason I expect it to work is because I'm following the docs.
15:02 seaney Hey guys. I have a bit of a problem So i have created a state for java which will install jdk1.8 alot of my apps run on 8. Now in my environment I use glassfish which runs on java 7. I was just wondering is there any nice way to do versioning or set pillars non globally?I dont want to write two states one for java 7 and 8
15:03 seaney The version of java is set in a pillar like so     ----------     java_config:         ----------         name:             jdk1.8.0_45
15:03 laax joined #salt
15:05 babilen __monty__: Fair enough :)
15:05 dopesong joined #salt
15:05 __monty__ mnaser, babilen: I'm not sure if it matters but I'm on arch and I've installed salt-raet.
15:06 babilen Oh, you are brave
15:06 pm90_ joined #salt
15:06 babilen I wouldn't recommend RAET. It is not used in production by anyone I know and is likely to be replaced by something else soon
15:07 sdm24 joined #salt
15:07 __monty__ RAET will be replaced? I thought RAET was the replacement?
15:08 babilen It was meant to be, but my understanding is that saltstack are working on a different transport (not entirely sure how much overlap there'll be with RAET) that is meant to be used.
15:08 babilen Either way RAET is nothing I'd deploy right now
15:08 zmalone http://irclog.perlgeek.de/salt/2015-08-21#i_11096098
15:08 zmalone If you look at the raet github repo, it looks like not much work is still going on there
15:09 __monty__ I'm just trying salt out right now, nothing going into production just yet.
15:10 babilen zmalone: Yeah, that is exactly the exchange between me and basepi I am referring to.
15:10 babilen __monty__: I wouldn't use it
15:10 __monty__ I'll forget about raet and use zmq for now then.
15:10 stephanbuys joined #salt
15:11 markm joined #salt
15:12 babilen I'm also not at all familiar with Arch Linux and its salt packages. 'salt-key -F master' works fine on my Debian based masters and simply print all fingerprints. (salt 2015.5.3)
15:12 zwi joined #salt
15:15 tanta joined #salt
15:15 seaney Anyone ever had to do something like that before?
15:17 zwi joined #salt
15:18 __monty__ babilen: Well what do you know, all my problems went away. I guess sometimes you get cut, living on the edge.
15:18 timoguin joined #salt
15:19 sdm24 I have a small question about pillar environments. If I have a"base" pillarenv and "dev" pillarenv, and "base" and "dev" saltenvs, will "dev" pillar info be applied/read for my "base" states? I.E. my "dev" pillarenv targets 'web*
15:19 sgargan joined #salt
15:19 babilen __monty__: I guess that 0mq actually worked for key exchange ;)
15:20 sdm24 to give them service: apache, will my base top.sls file, which says 'service:Apache': - apache state, install apache on them?
15:20 moss joined #salt
15:20 moss hello
15:20 sdm24 just running 'salt '*' pillar.items, it seems to just merge the 2 pillarenvs, with no distinction
15:20 __monty__ babilen: Why would a key exchange be necessary to calculate a fingerprint of the master public key?
15:21 moss Is there a way to deploy VM's with salt on Linode that will not have a master?
15:21 babilen __monty__: It also shows other fingerprints. I can't really say much more about that particular topic as I am not familiar enough with the inner workings of that particular command
15:22 babilen moss: You can use salt via SSH or masterless: http://docs.saltstack.com/en/stage/topics/ssh/index.html / http://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
15:23 moss babilen: in conjunction with salt-cloud?
15:25 sgargan joined #salt
15:25 moss babilen: my goal here is to have an automated VM deployment when a customer comes to me and says "I would like apache with wordpress installed"
15:26 seany_ joined #salt
15:27 ALLmightySPIFF joined #salt
15:29 ALLmightySPIFF joined #salt
15:30 RedundancyD joined #salt
15:31 jaybocc2 joined #salt
15:32 CeBe joined #salt
15:33 andrew_v joined #salt
15:36 pm90_ joined #salt
15:37 hasues joined #salt
15:38 hasues left #salt
15:38 Brew joined #salt
15:39 spiette joined #salt
15:39 pm90_ joined #salt
15:41 BigBear joined #salt
15:44 fish_ so I have a bunch of systems with external IPs and hostnames. Now I want to configure an additional interface with salt but I'm not sure what's the best way to store the hostname = ip mapping
15:45 fish_ I have an example here but it's a bunch if/elif./../else conditions rendering a pillar file and I'm wondering if there is a better way
15:47 fish_ hrm I can match the full hostname in top.sls and refer a file for each host. guess that's at least better than the template stuff
15:48 scoates joined #salt
15:49 RedundancyD You could manually set the minion id to the internal dns then the salt master would accept the key from that address
15:53 pbrooko joined #salt
15:53 sdm24 fish: I have a state (to setup a new minion, but similiar principles) that uses the dig module to search for {{ grains['hostname'] + {{grains['domain'] }}. I can paste it here if you think it might help
15:54 dthom91 joined #salt
15:54 sdm24 for us, it works when a new VM is created and an entry for it is made in our DNS server. Salt then uses the hostname to get the correct IP address and sets the interface to static instead of DHCP
15:55 fish_ I need to keep an actual list, I can't retrieve this from somewhere else. the host comes up with public ip first, then salt should configured a second internal one
15:56 sdm24 If you are fine with 1 file per minion, the filetree external pillar might work
15:56 sdm24 http://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.file_tree.html
15:58 diegows joined #salt
15:58 diegows hi
15:58 diegows I have an issue with orchestrate
15:59 diegows when a function isn't applied to any host for some reason (timeout), orchestrate continue the execution
15:59 diegows it there a way to set timeout or not response as a failed state?
16:01 ggoZ joined #salt
16:03 DammitJim joined #salt
16:04 sgargan joined #salt
16:06 sgargan joined #salt
16:08 lothiraldan joined #salt
16:10 murrdoc - timeout
16:10 murrdoc - failhard: True
16:11 shaggy_surfer joined #salt
16:11 wendall911 joined #salt
16:13 pm90__ joined #salt
16:14 shaggy_surfer joined #salt
16:16 diegows murrdoc, great, thanks
16:17 k00mi joined #salt
16:17 shaggy_surfer joined #salt
16:20 dthom91 joined #salt
16:22 mpanetta joined #salt
16:23 jgarr left #salt
16:25 diegows murrdoc, what's the exact syntax? just failhard: True? what about the -timeout keyword you wrote?
16:26 murrdoc - timeout: <numberinseconds>
16:26 diegows ok, execelent
16:26 diegows s/execelent/excelent/
16:27 Ztyx left #salt
16:29 alemeno22 joined #salt
16:31 Corey Monday has afflicted me; How the heck do I dump the value of a grain out in jinja?
16:31 Corey {{ grain['num_cpus] }} ?
16:33 iggy fish_: where do you store those IPs now?
16:35 fish_ iggy: they don't exist yet
16:36 iggy Corey: that (with grains instead of grain of course) or grains.num_cpus or grains.get('num_cpus') or....
16:36 fish_ sdm24: ah that looks interesting
16:36 iggy fish_: how are you planning on doing that?
16:36 Corey Heave forbid we be prescriptive, right iggy? :-) (Thanks)
16:37 fish_ iggy: I don't know yet, that's why I'm asking. now with sdm24 suggestion I would create hosts/[hostname]/network or something and set the IP addresses there
16:38 iggy fish_: I was going to say if you are storing in that in a cmdb or something, you could just write an ext_pillar to do the lookups for you
16:38 iggy but yeah, looks like that might work for you too
16:38 iggy "the easiest possible solution that actually works" --Iggy
16:38 CeBe joined #salt
16:38 iggy thank goodness my new boss isn't in here right now
16:39 dopesong joined #salt
16:40 aparsons joined #salt
16:40 Heartsbane basepi: Hit up UtahDave and whiteinge about lunch this week. I am going to work one day from home.
16:40 Heartsbane I just don't know which one
16:41 subsigna_ joined #salt
16:41 timoguin joined #salt
16:41 Nika joined #salt
16:43 subsign__ joined #salt
16:44 interisti joined #salt
16:44 KyleG joined #salt
16:44 KyleG joined #salt
16:45 interisti Hello, i'm trying to configure master -> syndic -> minions, having all states files into master machine. trying running highstate from master machine. is it the right flow? or i'm missing smth
16:46 interisti error it throws is " No Top file or external nodes data matches found"
16:47 capricorn_1 joined #salt
16:49 rallytime joined #salt
16:50 Brew joined #salt
16:53 Fiber^ joined #salt
16:56 Qwazerty joined #salt
16:59 favadi joined #salt
16:59 Qwazerty joined #salt
17:02 sdm24 If I am getting the message to increase worker_threads, what increments should I increase it by? It is currently on the default of 5
17:02 Qwazerty joined #salt
17:02 bhosmer joined #salt
17:02 troyready joined #salt
17:03 writtenoff joined #salt
17:10 dthom91 joined #salt
17:11 homeshlice joined #salt
17:12 homeshlice left #salt
17:12 homeshlice joined #salt
17:13 homeshlice left #salt
17:13 goodwill left #salt
17:14 shaggy_surfer joined #salt
17:14 murrdoc number of cores on server - 1 for redis - 2 for server to do other stuff with
17:14 clintberry joined #salt
17:15 forrest_ joined #salt
17:16 homeshlice joined #salt
17:17 Gareth o/
17:19 robawt \o
17:19 denys joined #salt
17:20 BradThurber http://docs.saltstack.com/en/latest/ref/modules/#modules-are-easy-to-write shows how to put execution modules /srv/salt/_modules - which will make them available to minions. Is it possible to do the same with state modules?
17:22 stanchan joined #salt
17:23 BradThurber Nevermind. Here's the answer to my own question http://docs.saltstack.com/en/latest/ref/states/writing.html#using-custom-state-modules
17:28 Qwazerty2 joined #salt
17:29 BigBear joined #salt
17:31 Ztyx joined #salt
17:31 impi joined #salt
17:33 jaybocc2 joined #salt
17:35 vim-zz joined #salt
17:36 Ztyx joined #salt
17:38 dfinn joined #salt
17:38 dfinn I'm trying to use puppet.noop to do a one time run of puppet.  The issue I'm running into is that it starts the puppet daemon when doing this and I need to a way to run noop without starting the daemon.  Anyone have experience with this?
17:39 lexter joined #salt
17:45 baweaver joined #salt
17:46 baweaver joined #salt
17:47 Corey forrest_: Yeah, that font is fun. Not sure wtf happened in your version.
17:47 forrest_ Corey: So you don't see that?
17:47 forrest_ This is in the download from their github and their site, lol
17:47 forrest_ ugh hang on re-authing
17:48 forrest joined #salt
17:48 forrest There we go
17:48 Corey forrest: No, I used the ttf.
17:48 Corey It plays better with os x.
17:48 forrest Huh alright
17:48 linjan joined #salt
17:49 forrest I'll give that a shot, you're supposed to use the otf from what I understand because it's more flexible, the joys of apple
17:49 forrest nope still looks weird on mine
17:49 forrest odd, we'll see if rands responds.
17:50 Corey forrest: Not his project, I wouldn't expect it.
17:50 Corey forrest: Which OS x version are you on?
17:50 forrest Yeah,10.9.5
17:50 forrest I'm not upgrading
17:50 forrest I actually can't since I don't have an apple account.
17:51 timoguin joined #salt
17:51 Corey forrest: https://www.evernote.com/l/ACL0MHsGyGdAeLnXb2ShefV_ne8QEUICd-k on 10.11
17:51 Corey forrest: That's not true; I can send you the dmg installer if you want. :-)
17:52 forrest Weird.
17:52 forrest lol no thanks
17:52 forrest https://github.com/chrissimpkins/Hack/issues/54
17:52 forrest someone beat me to the issue Corey
17:53 Corey Yeah, I asked what version he's running.
17:53 forrest Yeah I commented as well
17:55 Ryan_Lane basepi: tmp = __salt__['config.option']('test')
17:55 Ryan_Lane tmp.dictupdate({'hello': 'world'})
17:55 Ryan_Lane watch the world crumble underneath you :)
17:56 Ryan_Lane basepi: any idea why config.option gives back mutable state?
17:57 Ryan_Lane it's a bit scary. I don't know if anything relies on it, or relies on it due to side-effects, but that's a really wonderful way for code to have really nasty bugs
17:58 Ryan_Lane for instance, we just found this in a bunch of boto modules
18:00 tanta joined #salt
18:01 forrest basepi: Just got an email saying I was removed from the Salt Masters team on the salt stack org as a heads up.
18:02 Gareth forrest: Me too.
18:02 jeadre joined #salt
18:02 forrest Gareth: I figure someone is working on improving orgs with the new perms maybe.
18:02 Gareth forrest: Yeah.  I'm sure it's nothing nefarious :)
18:03 pravka joined #salt
18:03 forrest Gareth: Unless basepi did it, then I could see it being nefarious, 'yes no one shall create issues but me, NO MORE ISSUES!'
18:03 robawt genius
18:03 Gareth forrest: That's fine....means we don't have to work on issues either :)
18:03 forrest Good point
18:06 aparsons joined #salt
18:07 alemeno22_ joined #salt
18:11 k00mi joined #salt
18:11 dthom91 joined #salt
18:11 pm90_ joined #salt
18:12 laax joined #salt
18:13 pravka joined #salt
18:14 linjan joined #salt
18:14 baweaver joined #salt
18:15 MindDrive joined #salt
18:15 bluenemo joined #salt
18:20 jmreicha_ joined #salt
18:20 katyucha joined #salt
18:20 pcn Does anyone have a good example/doc of a multi-node service using salt+orchestration that is considered current?
18:21 markm joined #salt
18:21 markm_ joined #salt
18:22 forrest pcn: Unfortunately not, but if you create one I'd love to see it!
18:27 troyready joined #salt
18:32 pcn Hmm...  we're trying to figure out what all that is.
18:33 dthom91 joined #salt
18:37 ekristen anyone ever see the command field from the docker salt states not being used?
18:38 GreatSnoopy joined #salt
18:40 dingo hang on there snoopy, GreatSnoopy hang on
18:40 dopesong joined #salt
18:41 GreatSnoopy uhm, waat ? :)
18:42 GreatSnoopy is anybody using salt-minions on windows ?
18:42 dfinn left #salt
18:44 numkem I'm trying to use the mysql_query state module and it requires to have python-mysqldb package installed. But How could I set it that it would have a require on it?
18:44 clintberry joined #salt
18:44 numkem I tried using the require element but it works (I am using the pyobjects renderer)
18:45 numkem with error: NameError: name 'MysqlQuery' is not defined
18:46 murrdoc u are missing pip
18:46 Fiber^ joined #salt
18:48 mapu joined #salt
18:48 numkem pip is installed
18:48 murrdoc sorry the pip that has MysqlQuery class in it
18:49 murrdoc look at the code for the module
18:49 murrdoc it will have an include somewhere
18:50 perfectsine joined #salt
18:50 numkem I just want to make my python package go first in this case
18:51 jeadre joined #salt
18:53 timoguin joined #salt
18:57 giantlock joined #salt
19:01 murrdoc joined #salt
19:01 shaggy_surfer joined #salt
19:06 twork joined #salt
19:08 aqua^c joined #salt
19:15 RedundancyD joined #salt
19:16 druonysus joined #salt
19:18 Gareth druonysus: ping
19:21 mapu_ joined #salt
19:21 timoguin_ joined #salt
19:22 baweaver joined #salt
19:23 aparsons joined #salt
19:24 dthom91 joined #salt
19:25 protoz_ joined #salt
19:37 baweaver joined #salt
19:41 bhosmer joined #salt
19:43 jeadre joined #salt
19:43 joe_n joined #salt
19:45 Heartsbane So does anyone have an opinion what is the best way to add a 10 second wait time inbetween states that are being pushed due to a reactor event.
19:47 SheetiS both events are always triggered?  I'd trigger an orchestration for the event with a sleep between the states if the sleep is 100% needed.
19:48 SheetiS http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.test.html#salt.modules.test.sleep could be used.
19:48 ekristen basepi: ever see someone have an issue with the command keyword with the docker states? the command seems to be being ignored
19:50 ajw0100 joined #salt
19:52 clintberry joined #salt
19:52 baweaver joined #salt
19:55 jeadre joined #salt
19:57 shaggy_surfer joined #salt
20:01 joeskyyy joined #salt
20:03 joeskyyy Ohai! Anyone have experience hooking up external_auth to use AD? I'm getting generic 'eauth' errors which aren't much helping me diagnose my issue :| it's almost looking like SaltStack isn't trying to auth against AD when i enter in the username and password from a tcpdump, but I can definitely talk to, and auth against the domain from my server
20:04 joeskyyy I've got the configuration options set as explained in http://docs.saltstack.com/en/latest/topics/eauth/index.html#active-directory, and definitely have the right ldap.server plugged in for that param but no dice :\
20:05 joeskyyy (v2015.5.3 for those counting at home. and I have python-ldap installed)
20:05 forrest basepi: This is a HOT group name I was added to
20:06 jeadre joined #salt
20:07 druonysuse joined #salt
20:07 druonysuse Gareth: heyhey
20:12 jodv joined #salt
20:13 scoates joined #salt
20:19 jor joined #salt
20:20 BradThurber joined #salt
20:20 jeadre joined #salt
20:27 iggy joeskyyy: did you look at the release notes? I think there was something in there about AD auth
20:28 murrdoc is 2015.5 out ?
20:28 murrdoc and by out i mean stable
20:28 murrdoc :D
20:28 iggy nein
20:29 Heartsbane 2015.5.3 is stable for me other than the one bug I reported
20:29 LtLefse been running 2015.5 for a while now, no problems, but my needs are pretty light
20:29 iggy I'm rocking 2015.2
20:30 iggy murrdoc: freenode asshats banned my bot :(
20:31 keimlink joined #salt
20:31 baweaver They Z-Lined a /64 of IPv6s yesterday
20:31 baweaver All Digital Ocean from some botnet trigger
20:31 iggy they didn't get me
20:31 * baweaver shrugs
20:31 iggy (I'm irssi'ing from the same box as the bot
20:32 baweaver just saying what I saw happen.
20:32 Gareth Can anyone think of an existing module where you can pass it a file URL, eg. http, salt, etc.  as an argument?  Looking for an example.
20:32 DammitJim is it normal that my minion just keeps printing in the debug log stuff like: parsed args, parsed kwargs, returning information for job, user sudo_user Executing command saltutil.find_job with jid...
20:32 joeskyyy iggy: Hrmmmm lemme check
20:32 DammitJim I'm just upgrading salt on the minion
20:32 pcn Gareth: e.g. archive?
20:32 Gareth pcn: let me look.  Thanks.
20:32 DammitJim oh gosh, it was updating a bunch of packages
20:33 iggy baweaver: it's not the first time they've banned one of my channel bots, so I just figured it was ghost of Levin haunting me
20:34 baweaver All I can say is shenanigans went down hard yesterday.
20:35 iggy odd what they pick to do the obtrusive global notices for... oh, we blocked an entire (huge) ISP... no biggie...
20:35 iggy but... one of our poor overworked volunteers did something minor like a had a toothache and it's day after day of notices
20:36 * iggy steps off his soap box and throws it at someone
20:37 pm90_ joined #salt
20:39 joeskyyy iggy: Bleh got hopeful from the release notes but sadly doesn't look to solve my issue. I have a feeling it's something stupid simple I'm missing: https://github.com/saltstack/salt/issues/24443 someone else has the exact same problem as myself
20:41 rvandegrift joined #salt
20:41 protoz joined #salt
20:42 opensource_ninja joined #salt
20:43 rvandegrift hi all - trying to use file.managed where source and source_hash are hosted on s3
20:44 rvandegrift no matter what format I put in the has file, salt replies "contains an invalid hash format, it must be in the format <hash type>=<hash>"
20:45 boargod joined #salt
20:45 X67r joined #salt
20:46 DammitJim is there a way to decompress a tar gz file with a specific target name?
20:46 DammitJim or does one have to extract, then rename?
20:47 druonysuse joined #salt
20:48 sdm24 well, you can always do cmd.run 'tar ... <sourcefile> <destination>'
20:48 murrdoc eugh
20:48 murrdoc archive.extract —options
20:49 racooper joined #salt
20:56 jodv joined #salt
20:57 theologian joined #salt
21:00 s_kunk joined #salt
21:01 jor Using a git.latest state, trying to change branch (rev). I keep getting a "error: pathspec 'develop' did not match any file(s) known to git." Shouldn't it try to fetch new remote branches when the rev setting changes?
21:01 Zachary_DuBois joined #salt
21:02 timoguin joined #salt
21:03 hasues joined #salt
21:03 hasues left #salt
21:04 druonysuse joined #salt
21:07 jodv joined #salt
21:07 ska-fan left #salt
21:07 racooper joined #salt
21:08 pprkut joined #salt
21:12 forrest jor: As far as I'm aware it should be doing the fetc.
21:12 forrest *fetch
21:14 timoguin joined #salt
21:15 jor I've also tried with alway_fetch: True option... seems to only way I can get it to work is if I remove the whole directory so it re-clones it on every state change :/
21:22 Jeffjeff joined #salt
21:22 saltycharles joined #salt
21:26 Jeffjeff question:  I'm writing a module and state to install windows features e.g. IIS stuff.  This works fine but I don't like having to list all the installed features every time the state is used so I was pondering having a list of installed windows features cached in my custom states mod_init and then just updating that as the state is run.  Is this a bad idea?
21:26 baweaver joined #salt
21:27 Jeffjeff I realize I could just use Jinja in the actual state files and store a list of installed features and then install only the missing ones that way as well.  Not sure if there's a downside to pre-loading a list in mod_init for something like this
21:29 forrest jor: Did you try force and force_checkout already?
21:29 ferbla joined #salt
21:31 sunkist joined #salt
21:31 dthom91 joined #salt
21:33 jor forrest, yeah. But I think I found the culprit. The first clone was done with a limited depth option
21:33 forrest jor: Ahh okay, I can see how that would be problematic
21:34 jor but changing the depth (removing the option) doesn't seem to re-fetch the whole history
21:37 zmalone joined #salt
21:39 ksalman has anybody been able to pip install salt on solaris? well.. I can install salt but not RAET. pip install raet works fine but libsodium is missing and I am not able to get libsodium on solaris
21:40 subsignal joined #salt
21:43 jodv joined #salt
21:45 sgargan joined #salt
21:45 ggoZ joined #salt
21:46 shaggy_surfer joined #salt
21:49 RedundancyD joined #salt
21:49 lothiraldan joined #salt
21:59 tmclaugh[work] joined #salt
22:01 jodv joined #salt
22:02 s_kunk joined #salt
22:03 notnotpeter joined #salt
22:04 ajw0100 joined #salt
22:04 pm90__ joined #salt
22:05 timoguin joined #salt
22:05 protoz joined #salt
22:08 opensource_ninja joined #salt
22:09 druonysus joined #salt
22:09 druonysus joined #salt
22:11 ALLmight_ joined #salt
22:19 ALLmightySPIFF joined #salt
22:20 ALLmightySPIFF joined #salt
22:26 sgargan joined #salt
22:31 murrdoc joined #salt
22:31 tkharju joined #salt
22:32 aparsons joined #salt
22:32 jodv joined #salt
22:32 jodv joined #salt
22:33 murrdoc1 joined #salt
22:37 cberndt joined #salt
22:39 murrdoc joined #salt
22:41 tkharju joined #salt
22:44 genediazjr joined #salt
22:46 genediaz_ joined #salt
22:50 pravka joined #salt
22:51 Akhter joined #salt
22:52 genediazjr joined #salt
22:53 sgargan joined #salt
22:53 jesterfraud joined #salt
22:58 jesterfraud left #salt
22:59 subsignal joined #salt
23:00 ALLmight_ joined #salt
23:01 genediazjr joined #salt
23:01 theologian joined #salt
23:03 jodv joined #salt
23:03 theologian joined #salt
23:03 murrdoc joined #salt
23:05 genediaz_ joined #salt
23:09 timoguin joined #salt
23:11 bhosmer joined #salt
23:12 cyborg-one joined #salt
23:13 theologian joined #salt
23:15 timoguin joined #salt
23:17 mosen joined #salt
23:18 laax joined #salt
23:20 bfoxwell joined #salt
23:20 linjan joined #salt
23:21 bhosmer joined #salt
23:22 theologian joined #salt
23:26 aristedes joined #salt
23:28 murrdoc joined #salt
23:31 genediazjr joined #salt
23:34 twork i'm having trouble specifying a class of minions.
23:34 subsignal joined #salt
23:35 anotherZero I've used pillars before, for example 'users' where a set of users gets installed on each minion... how can/should I define pillar data so that a specific minion would look in the pillar under a section defined for it?
23:35 twork i've been happily using the 'users' formula... and only today realized that i've only listed the 'users' state under one class of minions in my top.sls
23:36 twork and, next time i try to manage users on another minion, it'll get the (hundres) of users i've defined already
23:37 twork anotherZero: i think that's the same issue i was about halfway through describing
23:38 twork i've tried looking at the docs for matching to grains, but putting grains inside a pillar file seems to only break syntax
23:38 aqua^c joined #salt
23:39 aristedes joined #salt
23:42 forrest anotherZero: You could use multiple pillar files depending on the type of system, then either include them in your top file based on grain, or simply exclude them on provision time and store multiple tops
23:45 forrest anotherZero, twork: define your grains like this: http://docs.saltstack.com/en/latest/topics/targeting/grains.html#precedence I store mine in the minion conf, but you can put them wherever makes sense there, then do something like this: https://gist.github.com/gravyboat/50e62df6f947f3917342
23:46 aristedes left #salt
23:46 forrest Alternatively you can store your huge list of users in a non-pillar file if there isn't secure data and load those based on grain settings.
23:46 twork thanks forrest. reading...
23:47 clintberry joined #salt
23:47 forrest Cool I've got to head out, hopefully that will get you guys going in the right direction
23:51 baweaver joined #salt
23:52 aqua^c joined #salt
23:57 LuizZz joined #salt
23:58 LuizZz Hello. I'm trying to get this pillar data: http://pastebin.com/fRN4c3C7 written to an ini file like this: http://pastebin.com/iJVCki40 where only true values are written and sections can have any numbers of entries. any help?

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