Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-01-24

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

All times shown according to UTC.

Time Nick Message
00:01 clintberry joined #salt
00:01 clintberry I've probably asked this stupid question 100 times on here, so sorry. If I am using a git backend, how do I refresh the repo once I push changes to it
00:01 gladiatr dstokes, when its fit for consumption, definitely toss up a link on the mailing list
00:02 murrdoc dstokes:  give the people what they want
00:02 UtahDave clintberry: it will autoupdate once a minute.  also there's a command in saltutils for that.
00:02 clintberry oh, nice! thanks UtahDave
00:02 clintberry auto update is great
00:02 UtahDave I think it's    salt '<minion id>'  saltutil.refresh_fileserver
00:02 UtahDave check the docs, but it's something like that
00:04 iggy salt-run fileserver.update
00:04 clintberry boom, thanks
00:05 JDiPierro joined #salt
00:06 UtahDave ah, thanks, iggy!
00:08 dstokes murrdoc: lulz
00:16 forrest joined #salt
00:17 bhosmer_ joined #salt
00:20 murrdoc joined #salt
00:21 NeoNetNinja joined #salt
00:22 NeoNetNinja Hello fellow techies, I was wondering if there is a community/free version of Saly for personal/non-commercial use? If so where can I find it?
00:22 NeoNetNinja ^Salt
00:22 eliasp NeoNetNinja: http://www.saltstack.com/community/
00:23 NeoNetNinja Thanks but I don't see any download info/link?
00:23 NeoNetNinja just "community" info
00:24 eliasp NeoNetNinja: code repositories on http://github.com/saltstack
00:24 eliasp NeoNetNinja: release downloads on: https://github.com/saltstack/salt/releases
00:24 NeoNetNinja Of course!-) (Why don't I think of that???;) lol
00:25 NeoNetNinja Thanks ellipse!
00:25 NeoNetNinja f-ing autocorrects
00:25 eliasp ;)
00:25 NeoNetNinja ;)
00:25 NeoNetNinja How long have you been using Salt for?
00:26 bhosmer_ joined #salt
00:26 NeoNetNinja Do you think it's better than the competition for most things?
00:26 murrdoc yes
00:26 eliasp NeoNetNinja: using it since ~1.5 years, used Puppet ~6 months before that and happily replaced it
00:27 NeoNetNinja cool
00:27 NeoNetNinja yeah, I've heard horror stories with some others.
00:28 eliasp I have these 2 pillars: https://gist.github.com/eliasp/1b6ff438a74f4487d59e
00:28 eliasp any idea, why I don't end up with the 'phabricator' database in the final mysql pillar data?
00:29 Corey eliasp: +1 for use of phabricator
00:29 eliasp Corey: starting to play with it… some things are weird, some are great ;)
00:29 eliasp Corey: might end up building a formula once I figured all the issues out
00:30 Corey eliasp: I like their code review / "master is just a long unbroken chain of commits with no branches" mode.
00:30 Corey Works very well in large shops.
00:30 eliasp Corey: yeah, that's why I use fixed commit IDs in my pillars… so I can deploy whatever I consider to be stable…
00:31 eliasp I might just flow everything through at a later point, for now I feel more comfortable working with "known commits"
00:32 eliasp any pillar gods around who could have a look at my "include/defaults" issue?
00:32 Corey eliasp: I like tags for that.
00:32 eliasp Corey: well, their GitHub repo doesn't have any tags ;(
00:32 Corey (Unfortunately I'm using phabricator in a heavy Puppet shop now.)
00:32 eliasp Corey: tags are what I'd naturally use for that too…
00:33 Corey I was brought in to do all kinds of heavy lifting around rspec testing. It really drives home how Salt needs some work in that space.
00:33 bluenemo_ joined #salt
00:33 eliasp yeah, testing is still a bit of problematic issue…
00:37 murrdoc joined #salt
00:39 brendanashworth joined #salt
00:40 brendanashworth left #salt
00:43 johnkeates joined #salt
00:43 johnkeates hello saltines, I have a curios state using pkgrepo.managed that keeps adding it's repo line in the config at every highstate, and I can't figure out why
00:44 johnkeates it should, ofcourse, only create or modify the repo
00:56 dude051 joined #salt
00:59 elfixit joined #salt
01:00 jasonrm joined #salt
01:03 UtahDave wow, just got a sneak peak at our new saltstack.com website. Looks awesome.
01:03 robawt UtahDave: does it crunch JSON in the cloud?
01:04 UtahDave lol, you know it!
01:06 otter768 joined #salt
01:12 kielser joined #salt
01:14 Singularo joined #salt
01:20 redzaku joined #salt
01:27 yomilk joined #salt
01:44 keeth joined #salt
01:46 gngsk joined #salt
01:47 fxhp joined #salt
01:47 dude051 joined #salt
01:54 slmingol joined #salt
01:54 slmingol left #salt
01:55 brendanashworth joined #salt
01:57 brendanashworth left #salt
02:00 brendanashworth joined #salt
02:02 brendanashworth left #salt
02:03 aquinas joined #salt
02:06 jonatas_oliveira joined #salt
02:09 dude051 joined #salt
02:12 onecool joined #salt
02:38 Tahm joined #salt
02:56 PovAddict joined #salt
02:58 PovAddict what happens if something configured by a salt state is modified on the minion directly, for example, if a package that the sls says should be present is manually uninstalled?
02:58 PovAddict does salt notice that and reinstall the package? and when?
02:59 johnkeates yes it does, on the next highstate at least
02:59 PovAddict do most built in states have that ability?
03:00 johnkeates they all do
03:00 johnkeates salt basically runs the states no matter what and if it sees something that doesn't match the defined state, it runs any changes it needs to make it match the defined state again
03:00 PovAddict so highstate could be expensive as salt checks packages, files, mysql users, etc
03:01 PovAddict even if there's nothing to do (because it doesn't know yet if there's something to do)
03:01 johnkeates well, if you were to define 9999999999 files and directories to be checked, it would be pretty slow
03:01 Furao joined #salt
03:01 PovAddict :)
03:01 johnkeates but normally it's pretty fast
03:01 johnkeates packages for example are managed by the package manager anyway, so the data is already there
03:01 PovAddict yeah
03:02 johnkeates that is really quick to check
03:02 johnkeates it's as fast as a check from the commandline would be, and then maybe even a bit faster
03:02 johnkeates but if you have a ton of stuff on one minion, that would indeed take some time to deal with
03:03 johnkeates but if that happens, you're usually just doing your configuration management wrong :p
03:03 malinoff joined #salt
03:03 johnkeates also, the master doesn't have any problem with big jobs, because it's the minion that does all the legwork
03:03 PovAddict I have never used any configuration manager, so I'm just starting to play with it
03:04 gaker joined #salt
03:04 PovAddict I want to use it for KDE's infrastructure
03:04 johnkeates well, if by KDE's infra you mean the servers and their configuration, you're on the right track
03:05 PovAddict we have two dozen servers and no configuration manager
03:06 johnkeates if you were to, for example, setup a build server or a CI server or slave, salt would make scaling that out and managing configuration really really easy
03:06 eliasp PovAddict: hey… ping me in case you want to setup the new Phabricator instance using SaltStack… I'm just working on a formula for it ;)
03:06 PovAddict eliasp: baby steps :P
03:06 PovAddict I'm trying to set up drupal locally
03:06 JlRd joined #salt
03:06 PovAddict then do it again with salt
03:06 johnkeates you might want to make a list to get started, like: what services run where, what configuration do i need to make things work the way I want
03:07 eliasp hehe, alright…
03:07 PovAddict johnkeates: we have documentation (in a private git repo) of what services run where and *some* information about how they are set up
03:07 otter768 joined #salt
03:07 gaker left #salt
03:07 ajw0100 joined #salt
03:07 PovAddict the repo is private only because we have eg. system root passwords in there too :x
03:08 johnkeates first thing is to get a master, get a minion and have them talk to eachother, make a simple state that installs 1 package just for testing, and at that point, you'll have a pretty good view on what to expect in terms of configuration management simplification
03:08 johnkeates instead of SSH'ing into every server and run random commands
03:08 johnkeates you just update your configuration to suit your needs and run a state.highstate and any configurations affected will be updated
03:09 PovAddict oh I know the benefits, I have seen the OpenStreetMap people and their public chef configuration repo
03:09 johnkeates regarding passwords etc. salt has you covered as well: the main configuration might be in the states but data that is specific for each instance/server/app/service can be put in to a pillar configuration that is then only sent to the server that needs it
03:10 PovAddict yep I read about pillars
03:10 johnkeates the best thing to do is to just jump in
03:10 johnkeates even if you were to do it just using vm's and not even use git for the configuration
03:10 PovAddict I do wonder how it works for data
03:10 johnkeates on the git note: skip GitFS initially, it's a lot harder to get started with salt if you start with that right off the bat
03:11 johnkeates what kind of data?
03:11 PovAddict say I have configuration for a bugzilla server
03:11 PovAddict salt lets me easily deploy the same configuration to a different VM, but how do I migrate the bugs from one server to another? can salt help with that?
03:11 johnkeates no, because salt doesn't do anything besides configuration management
03:12 eliasp johnkeates: not quite true
03:12 eliasp that's where orchestration kicks in
03:12 johnkeates well, yes, you can hack stuff together :p
03:12 PovAddict in other situations it's easier
03:12 eliasp http://docs.saltstack.com/en/latest/topics/tutorials/states_pt5.html#orchestrate-runner
03:12 PovAddict eg. if I deploy a new git mirror, cloning the master git repos is part of the configuration
03:13 PovAddict so it would start happening automatically
03:13 johnkeates that is not a problem for salt
03:13 eliasp yeah, there's a nice 'git' state which would handle git repos nicely… even bare clones
03:13 johnkeates yep
03:14 johnkeates i saw someone build a git management system that way for hosting repo's. it was bad. but it worked!
03:14 johnkeates you can do all sorts of crazy stuff
03:14 PovAddict yeah no :P
03:14 johnkeates :p
03:14 PovAddict I'd use that for eg. cloning the git repo of a website
03:14 johnkeates yeah, that will work just fine
03:14 PovAddict but not for the repos we *host*
03:14 PovAddict as in git.kde.org
03:14 johnkeates you can also pull specific commits if you want to
03:15 johnkeates what you are looking for in this case is the git state documentation, it has all the bits to explain what you can, and cannot do
03:15 johnkeates the easiest way to actually find out what is possible and how you make things work is by doing some experiments and building on top of that
03:16 PovAddict yeah but at first I was talking of a git mirror, the git state wouldn't work (or would be hacky) for that
03:16 PovAddict we have our own scripts for mirroring repos, salt would just deploy them
03:16 johnkeates you can run a script too
03:16 johnkeates from salt
03:16 PovAddict and for a non-kde situation...
03:17 johnkeates you can make new scripts, adopt a more advanced git formula or module (they exist) or maybe use a program which in turn is managable by salt
03:17 bhosmer joined #salt
03:17 johnkeates basically, you can tackle such problems at any point in the chain
03:18 PovAddict there's this software that is not packaged (and is quite unpackageable atm), so it has to be compiled from source, then you run ./make_project from the source+build directory which creates the dir structure, *copies* the binaries and php scripts into it, creates the DB, etc
03:18 johnkeates that kinda sounds like a job for a CI system
03:18 johnkeates like Jenkins
03:19 johnkeates you could install and configure jenkins with stalt :p
03:19 PovAddict it's a server software
03:19 PovAddict I don't need it to be recompiled when the repo changes, just to install it
03:19 johnkeates well, that is possible as well
03:19 malinoff PovAddict, take a look on ansible
03:19 johnkeates ansible isn't going to change anything i think
03:20 johnkeates the job stays the same
03:20 malinoff sure, but it may simplify things
03:20 johnkeates how so?
03:20 PovAddict basically I need to "git clone && ./_autosetup && ./configure && make" instead of "apt-get install foo"
03:20 malinoff because it is a wrapper around bash - and what PovAddict said is the work for a bash script
03:20 johnkeates regardless of salt/puppet/chef/ansible/cfengine, you'll still have to plan those actions out
03:21 malinoff when you want to do something very simple, ansible beats salt
03:21 PovAddict johnkeates: I just don't see how it's a job for CI :)
03:21 johnkeates PovAddict: no, i see what you need now, it's not a CI thing, it's a deployment thing
03:22 malinoff we use jenkins for deployments
03:22 johnkeates well, there is nothing stopping you from using the cmd module, which would work fine
03:22 johnkeates http://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html
03:22 johnkeates for example
03:22 PovAddict then I need to overwrite some files that make_project creates with my configuration files; that part should be eeeasy
03:23 aparsons joined #salt
03:23 johnkeates you'll also need to use http://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html if you want finer grained FS management
03:23 johnkeates you could basically do what you need to do in a 50-lines long state file including checks
03:24 johnkeates it would ofcourse be neat to make a forumula for it and modularise the thing
03:24 aparsons_ joined #salt
03:24 johnkeates but hey, you have to start somewhere
03:24 tkharju joined #salt
03:25 neogenix joined #salt
03:28 favadi joined #salt
03:47 oeuftete joined #salt
03:49 smcquay joined #salt
03:52 evilrob joined #salt
03:54 evilrob planning on attending saltconf this year.  Hoping to take advantage of the training. I've been using salt at a basic level for about 3 months.  After the fundamentals class and another class, how realistic is it to take the test and hope to pass?
03:54 johnkeates This won't help you, I don't know anything about the test, but I do know you will definitly learn a ton of stuff :p
03:55 jonatas_oliveira joined #salt
04:11 _two_ joined #salt
04:15 Tahm joined #salt
04:18 johnkeates joined #salt
04:21 otter768 joined #salt
04:32 onecool joined #salt
04:44 bhosmer__ joined #salt
05:06 Tahm joined #salt
05:09 vlcn joined #salt
05:22 Furao joined #salt
05:23 evilrob well, even if I don't pass it, the test is paid for as part of the classes.  I'll sit for it and see what happens.
05:23 wm-bot4 joined #salt
05:27 wm-bot4 joined #salt
05:31 lamasnik joined #salt
05:41 keeth joined #salt
05:44 jonatas_oliveira joined #salt
06:04 Furao joined #salt
06:11 yomilk joined #salt
06:19 brendanashworth joined #salt
06:20 brendanashworth left #salt
06:30 esogas_ joined #salt
06:50 aparsons joined #salt
06:52 aparsons_ joined #salt
06:55 jerematic joined #salt
07:01 swa_work joined #salt
07:13 aparsons joined #salt
07:18 aparsons joined #salt
07:24 badon joined #salt
07:29 smcquay_ joined #salt
07:30 DaveQB joined #salt
07:33 jonatas_oliveira joined #salt
07:48 andabata joined #salt
07:57 esogas_ joined #salt
07:58 Tahm joined #salt
08:01 DaveQB joined #salt
08:04 ph8 joined #salt
08:15 ph8 joined #salt
08:17 DaveQB joined #salt
08:25 cberndt joined #salt
08:31 yomilk joined #salt
08:35 glyf joined #salt
08:44 jerematic joined #salt
08:46 I3olle joined #salt
09:01 pdayton joined #salt
09:06 yomilk joined #salt
09:11 tkharju joined #salt
09:15 bluenemo joined #salt
09:15 bluenemo joined #salt
09:19 rawzone^ joined #salt
09:22 Ryan_Lane joined #salt
09:22 jonatas_oliveira joined #salt
09:24 otter768 joined #salt
09:33 aqua^mac joined #salt
09:40 xliiv joined #salt
09:41 doobi-sham-14807 joined #salt
09:45 jerematic joined #salt
09:48 tkharju joined #salt
09:57 yomilk joined #salt
10:06 yomilk joined #salt
10:28 tyler-baker joined #salt
10:30 doobi-sham-69023 joined #salt
10:36 glyf joined #salt
10:41 neogenix_ joined #salt
10:46 bhosmer joined #salt
10:47 tkharju joined #salt
10:54 ralala joined #salt
10:58 bhosmer joined #salt
11:06 intellix joined #salt
11:07 yomilk joined #salt
11:09 favadi joined #salt
11:10 favadi left #salt
11:11 jonatas_oliveira joined #salt
11:11 rbjorklin Hi
11:11 rbjorklin I'm having serious issues getting salt to publish my docker ports to the host
11:11 rbjorklin Documentation seems a bit sketchy
11:12 arnoldB evilrob: AFAIR there is table of contents on the saltstack website
11:13 rbjorklin Here's the state I'm trying to use: http://pastebin.com/wAhe5EFi
11:19 bhosmer_ joined #salt
11:25 otter768 joined #salt
11:29 qybl joined #salt
11:30 bhosmer joined #salt
11:31 jerematic joined #salt
11:32 rbjorklin Fixed it, seems salt is really picky with the indentation for docker ports without complaining
11:40 rawzone Soo i have a problem running stuff in "dry run" mode, gets this error: http://pastie.org/9856635 according to the docs it seems im doing it correctly, but not sure, any hints in here..?
11:43 wm-bot4 joined #salt
11:46 rawkode joined #salt
11:50 nk_ joined #salt
11:51 linjan joined #salt
11:54 bhosmer joined #salt
11:55 bluenemo joined #salt
11:55 bluenemo joined #salt
11:55 ecdhe joined #salt
11:56 huleboer joined #salt
12:00 CeBe joined #salt
12:17 intellix joined #salt
12:24 felskrone joined #salt
12:25 glyf joined #salt
12:28 markm_ joined #salt
12:28 CeBe joined #salt
12:33 Bilge left #salt
12:36 rawkode joined #salt
12:41 badon_ joined #salt
12:42 badon_ joined #salt
12:52 mapu joined #salt
12:56 yomilk joined #salt
12:59 jonatas_oliveira joined #salt
13:03 tkharju joined #salt
13:08 zadock joined #salt
13:20 mikkn joined #salt
13:26 otter768 joined #salt
13:26 krelo joined #salt
13:28 rawkode joined #salt
13:36 JDiPierro joined #salt
13:41 tkharju joined #salt
13:42 jerematic joined #salt
13:52 TyrfingMjolnir joined #salt
13:54 tkharju joined #salt
14:24 rawkode joined #salt
14:24 rawkode joined #salt
14:29 bhosmer joined #salt
14:41 keeth joined #salt
14:48 jonatas_oliveira joined #salt
14:49 tkharju joined #salt
14:50 favadi joined #salt
14:56 jerematic joined #salt
14:58 lothiraldan joined #salt
14:59 floralshoppe joined #salt
15:02 bhosmer joined #salt
15:03 JDiPierro joined #salt
15:04 mikeywaites joined #salt
15:05 mikeywaites Hey! is it possible to call salt modules from within jinja templates? namely dockerio ?  a (non working) example might be
15:05 mikeywaites {{ set container salt['dockerio.get_containers(host=True)'] }}
15:05 bhosmer joined #salt
15:06 mikeywaites :/ syntax is totally wrong there but you get the idea
15:14 malinoff {% set container = salt['dockerio.get_containers'](host=True) %}
15:15 PovAddict joined #salt
15:17 iggy just be careful running complex modules in states, you'll get timeouts
15:18 mikeywaites Yeh so my use case is that i need to dyanmically find the ips of certain conatiners so that i can build up the nginx upstream for reverse proxying
15:23 favadi joined #salt
15:26 rawkode mikeywaites: I know you're trying to do this from the conversion in the docker room, but wouldn't it be easier to just RM and start a new container? Seems awfully complex now
15:26 ccarney_ROCC joined #salt
15:26 mikeywaites rawkode:  Agreed, but this would cause the app to be totally down whilst its removed and restarted right?
15:27 otter768 joined #salt
15:27 peters-tx joined #salt
15:28 mikeywaites basically it would mean that the entire time it takes to docker rm docker run, nginx would be returning 502's from that node
15:29 rawkode No load balancing on the other end? Or even varnish cache? We're talking about 20ms here, assuming no complicated entry point before it can serve
15:30 mikeywaites Well yeah load balancing is in place so perhaps given the time we should just rely on that.
15:30 mikeywaites seems like a job half done to my mind though.
15:30 bhosmer joined #salt
15:30 rawkode Use salt -b 1
15:30 rawkode Will only update one host at a time
15:31 rawkode Or -b 20% if you're rocking a big fleet
15:31 mikeywaites yeh we are only a few appservers at the moment.  Ok well i think that will defo be the best solution all things considered.
15:31 mikeywaites Thanks.
15:32 rawkode mikeywaites: I wouldn't say half done. By using port based service mapping you avois complicated service discovery. It's a good trade off
15:36 Whissi joined #salt
15:36 cpowell joined #salt
15:37 rawkode| joined #salt
15:48 kitp joined #salt
15:52 Mahesh_ joined #salt
15:52 Mahesh_ Hi
15:52 Mahesh_ Small info required
15:53 Mahesh_ Can anyone tell if saltstack can be used to patch different flavours of Linux?
15:54 zadock joined #salt
15:55 nkuttler Mahesh_: patch?
15:55 Mahesh_ Like kernel and security updates
15:56 Mahesh_ we have 100+ mix of heteregenous linux servers
15:56 Mahesh_ with rhel,suse.oel
15:56 nkuttler Mahesh_: well, sure, you can do anything you like
15:56 nkuttler Mahesh_: salt can hook into their package managers, and it's easy to keep packages up to date
15:56 nkuttler now, if you build all your kernels.. that sounds like some work
15:56 akoumjian joined #salt
15:57 Mahesh_ we dont any build kernels
15:57 nkuttler well then yes, upgrading packages is easy. see the pkg module
15:57 Mahesh_ lets say suse and ubuntu have public online repos
15:58 Mahesh_ Looking to sync those online repo's
15:58 Mahesh_ and push those updates to all servers in a single go
15:59 nkuttler well, it sounds like you might want a package proxy somewhere.. but yeah, you can upgrade all boxes with one command
15:59 Mahesh_ As of now we are using BMC server automation tool
15:59 Mahesh_ We are planning to decommission the same and to replace with FOSS solution with similar capabilities
16:00 nkuttler sounds good. i've never used that tool though, so not sure what it does
16:01 stoogenmeyer__ joined #salt
16:04 bhosmer joined #salt
16:04 jonatas_oliveira joined #salt
16:05 Mahesh_ BMC acts a catalog server whichsync the respective linux flavours and analyses the patches to be installed comparing the packages installed in the client
16:06 Mahesh_ and we can push the patches in the form job
16:06 Mahesh_ Ok..lets come back to saltstack
16:08 yomilk joined #salt
16:10 Mahesh_ I hope you understood the solution looking for
16:11 Mahesh_ If it can be done using salt stack..please point me the document url
16:14 nkuttler Mahesh_: it sounds like you're looking for http://docs.saltstack.com/en/latest/ref/states/all/salt.states.pkg.html, but you should probably start at the top of http://docs.saltstack.com/en/latest/contents.html
16:16 nkuttler Mahesh_: with salt you can configure what you need yourself using modules.. and package management is just one module. but i'm not sure what you mean by patching unless you build from source.
16:17 gwmngilfen joined #salt
16:17 nkuttler to simply upgrade packages you don't even need state files
16:17 Mahesh_ I do not undersand what do you mean by build from source
16:18 nkuttler i do not understand what you mean by patch. is that a newer version of a package?
16:18 Mahesh_ Missed to say one thing..all the servers which I want to update packages/rpms does not have internet
16:18 nkuttler building from source is when you get the sourcecode of some software and compile it
16:18 babilen Mahesh_: Where do they get their updates from then?
16:24 Mahesh_ On one server we install the tool (salt stack ) which will have internet and sync with the oracle public repo , ubuntu repo's
16:25 Mahesh_ and once the repo's are sync, we need to push those updates to production servers
16:26 PovAddict left #salt
16:28 babilen Mahesh_: You will have to setup a caching daemon (not sure what to use for RHEL in that case, but for Debian derivatives look into apt-cacher-ng) on the frontend (i.e. internet facing) box that will then be used by the other boxes
16:28 monkey66 joined #salt
16:28 babilen (or mirror entire repositories)
16:28 monkey66 left #salt
16:34 tligda joined #salt
16:36 monkey661 joined #salt
16:41 pdayton joined #salt
16:47 Mahesh_ I mean patch is a newer version of package
16:47 alexbst joined #salt
16:48 kitp joined #salt
16:49 Mahesh_ Looking for similar to spacewalk or redhat satellite where using those we can install security updates of OS ,latest rpm's on rhel and centos only
16:49 Mahesh_ But I need for other linux flavours
16:49 Mahesh_ like ubuntu and opensuse
16:55 intellix joined #salt
17:18 ccarney_ROCC left #salt
17:18 jhauser joined #salt
17:28 otter768 joined #salt
17:32 bhosmer_ joined #salt
17:35 vbabiy joined #salt
17:35 monkey661 left #salt
17:39 linjan joined #salt
17:40 viq joined #salt
17:49 kitp joined #salt
17:56 vbabiy joined #salt
17:57 yomilk joined #salt
18:00 clintberry joined #salt
18:00 clintberry Is salt company still moving to thanksgiving point in June, in that new building going up?
18:07 xliiv joined #salt
18:08 yetAnotherZero joined #salt
18:22 cpowell joined #salt
18:31 wincyj joined #salt
18:32 PovAddict joined #salt
18:32 PovAddict I have two VMs, one running salt master, the other running salt minion
18:32 PovAddict and I read the states tutorial
18:32 PovAddict now what? the tutorial doesn't say *where* I'm supposed to put those sls files
18:34 sk_0 joined #salt
18:36 viq PovAddict: /srv/salt or whatever you have defined as salt_roots in master config
18:41 PovAddict o.o...
18:41 PovAddict I didn't notice /etc/salt/master was yaml, so I was confused about where this file_roots: base: - /srv/salt was supposed to be :)
18:54 Sypher joined #salt
18:59 elfixit joined #salt
19:03 zadock joined #salt
19:05 kitp joined #salt
19:07 otter768 joined #salt
19:09 rocket joined #salt
19:13 cpowell joined #salt
19:13 sander___ joined #salt
19:14 clintberry PovAddict: then when you get used to salt, you can stick all your states in a git repo and salt master pulls them from the repo
19:14 clintberry makes recording changes and distributing state management across the team a breeze
19:14 ajw0100 joined #salt
19:15 pcdummy Anyone interested in that: https://github.com/pcdummy/saltstack-resources ?
19:16 PovAddict clintberry: for now can I have /srv/salt be a git repo, without salt trying to keep it updated from a remote or anything?
19:16 clintberry PovAddict: sure! that works as well
19:16 clintberry you just do the git checkout yourself
19:17 sander___ pcdummy: nice
19:18 mordonez joined #salt
19:19 Furao joined #salt
19:19 jerematic joined #salt
19:20 wavis joined #salt
19:24 jonatas_oliveira joined #salt
19:25 JonGretar joined #salt
19:31 z3uS joined #salt
19:40 JDiPierro joined #salt
19:44 mihait joined #salt
19:44 grepory joined #salt
19:46 yomilk joined #salt
19:55 davedash joined #salt
19:59 hasues joined #salt
20:02 CeBe joined #salt
20:02 jonatas_oliveira joined #salt
20:04 hasues left #salt
20:05 Ryan_Lane joined #salt
20:05 cberndt joined #salt
20:14 ponpanderer joined #salt
20:21 kitp joined #salt
20:24 jerematic joined #salt
20:26 vbabiy joined #salt
20:26 aparsons joined #salt
20:32 aparsons joined #salt
20:38 whiteinge joined #salt
20:38 whiteinge joined #salt
20:41 smcquay joined #salt
20:43 felskrone joined #salt
20:47 vectra joined #salt
20:47 Kakwa joined #salt
20:56 bhosmer joined #salt
21:04 glyf joined #salt
21:05 catpig joined #salt
21:08 rawkode joined #salt
21:12 smcquay joined #salt
21:23 xliiv joined #salt
21:24 tkharju joined #salt
21:25 davet joined #salt
21:26 smcquay joined #salt
21:29 smcquay joined #salt
21:32 doobi-sham-55042 joined #salt
21:37 bhosmer joined #salt
21:41 bhosmer joined #salt
21:43 m0nky joined #salt
21:51 otter768 joined #salt
21:53 nettus joined #salt
21:54 brendanashworth joined #salt
21:54 al joined #salt
21:55 brendanashworth left #salt
21:57 nettus joined #salt
22:00 Phibs joined #salt
22:00 Phibs what would be the easiest way to set up HA salt behind a load balancer ?
22:00 Phibs or the terminology to RTFM on
22:05 viq Phibs: I would guess what you want is "multi-master", eg http://docs.saltstack.com/en/latest/topics/tutorials/multimaster.html
22:05 Phibs danke
22:07 Phibs so would I load balance it, or just create multiple masters and specify in the configs
22:08 clintberry joined #salt
22:08 viq I don't have any experience with that, so can't really advise
22:08 Phibs nod
22:09 viq Probably the latter, but no idea really
22:09 kitp joined #salt
22:10 rogst joined #salt
22:10 Phibs basically I need to scale like a mofo
22:10 Phibs I'll have tens of thousands of minions
22:11 viq Phibs: look up syndic
22:12 viq And from what I heard LinkedIn runs ~9k minions per master
22:12 Phibs wow
22:12 Phibs we have 1000 on this one master
22:12 Phibs and it is *AFU*
22:12 viq AFU ?
22:12 Phibs at boot I have 18k open files, after a week or two, 250k
22:12 Phibs doing 100Mbit of traffic doing *nothing*
22:13 bhosmer joined #salt
22:15 sander___ Phibs: are you running halite? I had increasing load in my test cluster when that was enabled.
22:15 pcdummy Phibs: that sounds like FUN
22:16 Phibs sander___: don' think so :)
22:16 Phibs what is halite :)
22:16 Phibs I would like to track down what is leaking FDs
22:16 Phibs and connections
22:16 sander___ It's the web interface.
22:17 Phibs ah ok, no we don't use the web interface at all
22:18 jonatas__ joined #salt
22:19 pcdummy viq: ty for that https://github.com/viq/gitlab-formula/tree/db-improvements !
22:19 viq pcdummy: that's ooooold, I should rework that, but I don't see myself doing that in near future :(
22:20 pcdummy viq: i rework it at the moment, i'll notice you if you want. (i use it at base which is great!)
22:22 Majmun joined #salt
22:26 rawkode| joined #salt
22:26 arnoldB pcdummy: https://github.com/pcdummy/saltstack-resources => s/Forman/Foreman/g
22:26 pcdummy arnoldB: ups ty!
22:26 Phibs oh nice, foreman support now
22:27 arnoldB pcdummy: https://github.com/mclarkson/obdi might be also interesting for your readers
22:27 Majmun https://www.youtube.com/watch?v=hv_ChWx1zn0
22:27 pcdummy arnoldB: thanks a lot!
22:28 pcdummy Majmun: wrong channel? :)
22:28 arnoldB Phibs: http://lanyrd.com/2015/cfgmgmtcamp/sdhgkx/ if you're near to Belgium :)
22:28 Phibs quite far :)
22:29 Phibs thanks for the links though
22:29 pcdummy Google Go for the back end REST interface. <-- nice!
22:30 arnoldB pcdummy: feel free to link to https://github.com/search?utf8=✓&q=user%3Abechtoldt+-formula&type=Repositories&ref=searchresults - though I think git submoduling will take a lot of your time
22:31 tkharju joined #salt
22:31 pcdummy arnoldB: https://github.com/pcdummy/saltstack-resources/tree/master/formulas/bechtoldt already done :)
22:31 pcdummy arnoldB: i use some of them already :-)
22:31 pcdummy (have been using a script to submodule your stuff :) )
22:32 arnoldB pcdummy: cool
22:33 pcdummy its so nice having you guys in here :)
22:35 pcdummy https://github.com/bechtoldt/saltstack-apt-formula https://github.com/bechtoldt/saltstack-bash-formula/ <-- this is what i have in use yet arnoldB (i just started with salt tough)
22:35 rawkode joined #salt
22:35 arnoldB :)
22:36 forrest joined #salt
22:36 forrest joined #salt
22:37 arnoldB in a few weeks I'll setup a automated testing system for all of my formulas using vagrant (and travis or another CI)
22:38 pcdummy i combined your apt formula with the official apt variant
22:38 arnoldB after that EL/ CentOS support will be added in most of the formulas
22:38 pcdummy arnoldB: you can tell me a secret? What do you use to create the README's ?
22:39 pcdummy and of course will publish my work's and create pull requests once they are in a sane state.
22:39 arnoldB pcdummy: https://github.com/bechtoldt/saltstack-template-formula <= but there will be some minor changes in a few weeks
22:39 Majmun left #salt
22:39 arnoldB great
22:42 pcdummy arnoldB: hmm do you generate dependencies and stuff?
22:42 jakesyl joined #salt
22:43 doobi-sham-53143 joined #salt
22:43 gngsk joined #salt
22:43 CeBe joined #salt
22:44 arnoldB pcdummy: the users and the bash formula are the only ones having hard depencies (to each other). this will be fixed as soon as I have time for that
22:45 arnoldB pcdummy: all the other formulas are executing in their alphanumeric order
22:45 arnoldB s/executing/executed/
22:46 * pcdummy feels like a dummy - oh he's a dummy.
22:47 pcdummy arnoldB: what do you mean with "executed in theier alphanumeric order" ?
22:47 doobi-sham-64064 joined #salt
22:48 arnoldB pcdummy: Foreman knows the names of all formula states. the salt master is asking Foreman to retreive the list of assigned states using the salt master top system. this list is sorted alphanumerically
22:50 arnoldB pcdummy: btw. Froxlor died years ago :P
22:50 pcdummy hehe :)
22:51 pcdummy My ultimate goal is to replace froxlor with a self-made PaaS
22:52 pcdummy but thats more a fun project than a corporate one, but i'm sure i'll need the stuff i learned later.
22:52 pcdummy https://github.com/khrisrichardson/salt-states/tree/master/salt/zookeeperd <-- this is the gui with the "auto-generated" README's sorry arnoldB :/
22:52 doobi-sham-93509 joined #salt
22:55 CeBe1 joined #salt
23:03 tkharju joined #salt
23:08 doobi-sham-83682 joined #salt
23:14 ckao joined #salt
23:16 zadock joined #salt
23:21 Hydrosine joined #salt
23:31 nettus joined #salt
23:34 aquinas joined #salt
23:34 bhosmer_ joined #salt
23:38 cberndt joined #salt
23:40 kitp joined #salt
23:42 nettus joined #salt
23:43 renoirb joined #salt
23:43 agend joined #salt
23:44 cpowell joined #salt
23:44 Hydrosine joined #salt
23:46 CeBe joined #salt
23:47 I3olle joined #salt
23:52 otter768 joined #salt
23:54 pcdummy left #salt
23:59 jerematic joined #salt
23:59 pcdummy joined #salt

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