Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-02-14

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

All times shown according to UTC.

Time Nick Message
00:07 cacasmacas joined #salt
00:07 onlyanegg joined #salt
00:20 scsinutz joined #salt
00:27 bocaneri joined #salt
00:29 bwellsnc looking for some good information on tuning my salt master... I am getting a few if these, Salt request timed out. The master is not responding. If this error persists after verifying the master is up, worker_threads may need to be increased., I have increased my workers to 20 so I am wondering if there is any hardware recommendation for an environment with about 500 minions... Thanks!
00:29 cyborg-one joined #salt
00:30 jas02 joined #salt
00:37 babilen What are you running on mow?
00:45 bwellsnc It's running on a CentOS 7 VM with 8 vCPU and 16gb of ram... I am running foreman along side it
00:47 ronnix joined #salt
00:50 mikecmpbll joined #salt
00:51 sh123124213 bwellsnc: load on the server ?
00:53 bwellsnc 19% to 30% cpu usage, memory can be about 10gb
01:08 CeBe joined #salt
01:11 cacasmacas joined #salt
01:11 nickabbey joined #salt
01:12 edrocks joined #salt
01:19 sagerdearia joined #salt
01:42 cacasmacas joined #salt
01:42 jas02 joined #salt
01:44 joe_n joined #salt
01:45 scsinutz joined #salt
01:47 Tanta joined #salt
01:50 raspado joined #salt
01:58 DEger joined #salt
02:01 scsinutz joined #salt
02:01 catpiggest joined #salt
02:09 joe_n joined #salt
02:12 onlyanegg joined #salt
02:12 nickabbey joined #salt
02:13 hemebond joined #salt
02:17 raspado joined #salt
02:21 gableroux joined #salt
02:22 Tanta joined #salt
02:23 djgerm joined #salt
02:23 cacasmacas joined #salt
02:23 ekristen joined #salt
02:23 sagerdearia joined #salt
02:24 ekristen it seems that I should be able to add custom runners to a _runners to my states directory (assuming this work with gitfs states too) but the master can’t see my custom runners
02:24 ekristen am I misunderstanding the docs?
02:25 skinkitten_ joined #salt
02:25 skinkitten joined #salt
02:25 hemebond ekristen: The runners are separate from states.
02:26 hemebond I put mine into /srv/salt/extmods/runners/
02:26 hemebond And configured extmods in the master config.
02:26 mpanetta joined #salt
02:26 * ekristen goes to look up extmods
02:27 ekristen https://docs.saltstack.com/en/latest/ref/configuration/master.html#extension-modules
02:27 ekristen seems that runners are not listed
02:27 ekristen but you say it works?
02:28 hemebond Yeah, I just configured module_dirs
02:28 ekristen oh nm, I missed it, it is listed
02:28 hemebond module_dirs: - /srv/salt/extmods
02:28 onlyanegg joined #salt
02:32 whytewolf for the record. _runners does work. but only if the master has a minion on it
02:32 hemebond Aah, that explains why I couldn't get it to work.
02:33 whytewolf and you also need to salt-run saltutil.sync_runners
02:33 ekristen whytewolf: interesting, mine is setup that way, but it doesn’t seem to work
02:33 whytewolf ekristen: did you sync them?
02:34 ekristen yes
02:34 ekristen but I’ll try again
02:34 whytewolf using salt-run or salt
02:34 scsinutz joined #salt
02:35 ekristen salt-run
02:35 whytewolf humm, salt-run should put them into /var/cache/salt/master/extmods/runners.
02:35 ekristen ah interesting, logs show it is syncing for base env
02:35 whytewolf however the gitfs aspect might be throwing it off
02:35 ekristen which I do not use
02:36 scsinutz joined #salt
02:37 ekristen I had to specify the env
02:37 whytewolf ... okay, then use saltenv="<what ever you call your enviroment>"
02:37 DEger joined #salt
02:37 ekristen yet another bug
02:37 whytewolf not a bug
02:37 ekristen found another command that doesn’t honor the default saltenv
02:37 whytewolf master's default enviroment is base
02:38 ekristen fair enough
02:41 evle joined #salt
02:46 Tanta joined #salt
02:48 ilbot3 joined #salt
02:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.5, 2016.11.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Rhett has updated his password, please mark spam as spam. Thanks!
02:53 fracklen joined #salt
02:55 jas02 joined #salt
02:57 PatrolDoom joined #salt
03:00 catpigger joined #salt
03:06 cacasmacas joined #salt
03:10 onlyanegg joined #salt
03:12 orionx joined #salt
03:13 jimklo_ joined #salt
03:16 jas02 joined #salt
03:21 fracklen joined #salt
03:34 CeBe_ joined #salt
03:40 mpanetta joined #salt
03:41 scsinutz joined #salt
03:42 DEger joined #salt
03:50 icebal joined #salt
03:54 cacasmacas joined #salt
03:55 DEger joined #salt
03:55 jas02 joined #salt
03:57 emattiza joined #salt
03:57 DEger joined #salt
04:00 darthzen_ joined #salt
04:00 sh123124213 joined #salt
04:00 ivanjaros joined #salt
04:07 patrek joined #salt
04:21 sagerdearia joined #salt
04:27 pissoff joined #salt
04:44 DEger joined #salt
04:52 raspado joined #salt
04:53 shoemonkey joined #salt
04:54 onlyanegg joined #salt
05:05 puzzlingWeirdo joined #salt
05:13 jas02 joined #salt
05:16 cacasmacas_ joined #salt
05:32 DEger joined #salt
05:34 onlyanegg joined #salt
05:38 icebal joined #salt
05:40 jimklo joined #salt
05:41 preludedrew joined #salt
05:42 DEger joined #salt
05:55 nethershaw joined #salt
05:58 cacasmacas joined #salt
06:02 sh123124213 joined #salt
06:04 scoates joined #salt
06:04 aarontc joined #salt
06:13 nickabbey joined #salt
06:22 cacasmacas joined #salt
06:26 jas02 joined #salt
06:32 DEger joined #salt
06:34 yuhl_____ joined #salt
06:40 yuhl_____ joined #salt
06:49 ReV013 joined #salt
06:55 jhauser joined #salt
06:56 ry joined #salt
07:00 jas02 joined #salt
07:03 armyriad joined #salt
07:03 sh123124213 joined #salt
07:03 DEger joined #salt
07:07 jas02 joined #salt
07:16 jimklo joined #salt
07:32 Inveracity joined #salt
07:32 wangofett joined #salt
07:32 swa_work joined #salt
07:43 raininja joined #salt
07:44 orionx joined #salt
07:55 inad922 joined #salt
07:57 cacasmacas joined #salt
08:02 juntalis_ joined #salt
08:04 sh123124213 joined #salt
08:13 o1e9 joined #salt
08:15 edrocks joined #salt
08:15 nickabbey joined #salt
08:15 phx joined #salt
08:22 DEger joined #salt
08:27 borsin left #salt
08:28 ashoka joined #salt
08:29 teclator joined #salt
08:35 enginx_ joined #salt
08:35 enginx_ hi guys
08:36 enginx_ i have a question about the minion
08:36 onlyanegg joined #salt
08:37 enginx_ even though i set multiprocessing: false in salt minion config file, so still it is spawned new thread during highstate
08:37 enginx_ seems it doesn't work properly
08:38 enginx_ minon daemon still much more cpu usage  even i closed the multiprocessing
08:38 enginx_ doesnt' change between true and false i have seen that
08:39 jas02_ joined #salt
08:39 enginx_ my minion config is here: http://pastebin.com/JnEhgy9b
08:40 enginx_ it contains just 5 lines
08:40 Reverend enginx_: would it be bad of me to say that I love you more than apache, and I'm gonna break it off with her?
08:41 hemebond So you're saying that regardless of the setting it always uses threads?
08:41 hemebond Setting to True doesn't use a new process?
08:42 enginx_ i would like to throttle cpu limiting using this parameter which is named "multiprocessing"
08:43 scristian joined #salt
08:45 enginx_ @hemebond i mean that when i set false parameter in config, so cpu usage still much more
08:45 hemebond The minion will always spawn multiple threads or processes I believe.
08:46 enginx_ yes should be ,but i would limited it
08:46 hemebond That multiprocessing setting just changes where jobs run; new thread or new process
08:47 hemebond It doesn't seem to affect the number of initial processes.
08:47 enginx_ https://docs.saltstack.com/en/latest/ref/configuration/minion.html#thread-settings
08:47 enginx_ if multiprocessing is disabled the new publication will be run executed in a thread.
08:48 hemebond "new publication"
08:48 enginx_ hımm
08:48 achedeuzot joined #salt
08:48 hemebond That, I believe, is a new job.
08:49 enginx_ so do you know any method to decrease cpu usage for salt-minion
08:49 hemebond Nope.
08:49 hemebond I just assume the minion will use as little resources as possible by default ☺
08:50 enginx_ as i see that there is no native method to decrease cpu usage of salt-minion
08:50 enginx_ yes should be, but when execute a dry run on salt-master
08:50 enginx_ i was seeing much more cpu usage on linux server which is installed salt-minion
08:51 enginx_ it is consuming more than %90 cpu
08:51 hemebond For how long?
08:51 DanyC joined #salt
08:51 enginx_ untill dry-run is finished jobs
08:52 hemebond Is that really a problem? Is it affecting other processes?
08:52 enginx_ sure exactly
08:52 Hadi joined #salt
08:53 enginx_ because we are managing a web scale at aws
08:53 hvn joined #salt
08:53 hvn joined #salt
08:53 enginx_ so latency is increasing during salt-minion is working highly
08:53 AndreasLutro you should probably find out why it's using 90% then
08:55 AndreasLutro if I run a highstate it uses about 50% cpu for the duration, peaking at 100% for only 2 seconds
08:55 AndreasLutro if that is a huge deal for you then maybe you shouldn't be using salt at all
08:56 DanyC joined #salt
08:59 mikecmpbll joined #salt
09:03 enginx_ how many state executed in 2 seconds
09:03 enginx_ ?
09:03 hemebond Can you use cgroups to restrict CPU usage?
09:05 enginx_ of couse i can use it to throttle them, but i am finding a native solution to solve it.
09:05 enginx_ maybe there is a problem, but i don't know it yet.
09:05 hemebond Isn't it normal for a process to use as much CPU as the OS will allow?
09:06 enginx_ Succeeded: 223 Failed:      0  Total states run:     223 Total run time:    18.143 s
09:06 enginx_ AndreasLutro: you can see how many state executed in 20 seconds.
09:06 enginx_ i am waiting your counts
09:11 AndreasLutro Total states run:     472
09:12 palo_ joined #salt
09:13 stooj joined #salt
09:18 mikecmpbll joined #salt
09:21 NV joined #salt
09:22 palo_ I have to write a state module and make a call __state__['service.running'](..) in there, how to make it watch other states ? I tried in the arguments (.., watch=[{'file':'/etc/foo'}],...) but it does not work.
09:23 hemebond palo_: Do you have a state with ID '/etc/foo'?
09:24 palo_ hemebond: yes its done right before, via __state__['file.managed']( ... )
09:24 sjorge joined #salt
09:24 sjorge joined #salt
09:24 palo_ http://pastebin.com/NtpfJnCu
09:29 hemebond Seems okay, though I've never used Python to build states.
09:30 palo_ maybe you can help me. I want to do something similar than define in puppet. give a sls file arguments
09:30 palo_ I tried jinja but I failed
09:30 palo_ something like name => [ install name, create /etc/name.conf ]
09:30 hemebond So I would just use a Jinja macro.
09:32 palo_ How to I include jinja macros from other files ?
09:32 hemebond {%- from 'my/file.jinja' import macroname %}
09:33 palo_ kewl thx I'll try that
09:35 jas02 joined #salt
09:36 jas02 joined #salt
09:37 onlyanegg joined #salt
09:40 AndreasLutro joined #salt
09:43 cacasmacas joined #salt
09:44 k_sze[work] joined #salt
09:46 impi joined #salt
09:48 ivanjaros joined #salt
09:49 saintpablo joined #salt
09:51 palo_ hemebond: tried it, works fine. exactly what I wanted.
09:51 hemebond ????
09:51 gmoro joined #salt
09:52 cmek joined #salt
09:54 MTecknology Woohoo! I just finished a new blog post! Normally I don't advertise, but I feel like someone in here might find it interesting. (keepassx + luks + yubikey) -- https://michael.lustfield.net/drafts/secure-password-vault-using-yubikey
09:55 MTecknology well... sorta finished, it's at least reached draft. Needs proof reading. :)
10:01 s_kunk joined #salt
10:05 sh123124213 joined #salt
10:07 ReV0131 joined #salt
10:09 gmoro joined #salt
10:11 netcho_ joined #salt
10:19 SpX joined #salt
10:21 Firewalll joined #salt
10:23 amcorreia joined #salt
10:28 ReV013 joined #salt
10:32 jas02 joined #salt
10:41 Rumbles joined #salt
10:43 fracklen joined #salt
10:44 jas02 joined #salt
10:46 JohnnyRun joined #salt
10:56 afics joined #salt
11:01 mbologna joined #salt
11:01 palo_ hemebond: maybe you can help me merge 2 very deep dicts. { 'a': { 'b': { 'c': 1 } } } and { 'a': { 'b': {'d': 2} } } => {'a': { 'b': { 'c':1 , 'd':2 } } } I only found pillar.get to do that.
11:01 palo_ but none of the dicts are in the pillar
11:02 palo_ I'm in the jinja context
11:02 hemebond There is a Salt function that can merge dicts. Trying to find it now.
11:03 mbologna joined #salt
11:06 hemebond palo_: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.defaults.html#salt.modules.defaults.merge
11:06 sh123124213 joined #salt
11:06 hemebond You can use it in Jinja via {%- salt['defaults.merge'](dest, upd) %}
11:10 colttt joined #salt
11:19 setkeh joined #salt
11:21 ReV013 joined #salt
11:29 dunz0r I'm trying to figure out a good way to automatically group my nodes into sort of randomized groups(not necessarily salts nodegroups) for upgrading runs, is there some readily avaliable way for this or should I start writing something on my own?
11:30 hemebond dunz0r: Batches?
11:30 hemebond Don't know how random they are.
11:31 dunz0r Iirc batches aren't very random
11:31 dunz0r They don't HAVE to be random, but I'm not upgrading all my minions on each upgrade run
11:31 dunz0r Right now I just have a bunch of handwritten textfiles for it
11:32 dunz0r Maybe I can somehow assign nodegroups automatically or something? Even for new nodes
11:32 babilen Batches sound like the solution there
11:32 babilen Why aren't they working for you?
11:33 dunz0r babilen: Because they don't group stuff automatically. It's not that I want to do a lot at once, I want sort of like static groups, so I can upgrade one group a week or something
11:34 hemebond They don't group stuff?
11:34 cacasmacas joined #salt
11:34 dunz0r They do, but only when running it.
11:35 babilen dunz0r: What kind of groups? Groups based on what?
11:35 babilen So you want to automatically create groups and only upgrade one of them?
11:35 dunz0r Yep.
11:35 dunz0r babilen: Like ~20 minions in each group or something.
11:36 babilen Well the "~20 minions in each group" is what batching does, but it would still upgrade the entire set
11:36 dunz0r Although, I will have to do manual sorting of the groups, because some machines can't be done at the same time, I'll just write some python that does it for me instead
11:38 onlyanegg joined #salt
11:38 babilen Why don't you want to upgrade all of them in the same, batched, run?
11:40 dunz0r babilen: Because there's too many of them, if I have to adapt configs and stuff it'll take me way too much time, rather do it in manageable chunks.
11:41 dunz0r I have ~113 salt-minions, most of them silly unique snowflakes, but I'm getting there. Some day I'll be able to run salt -b 10 '*' pkg.upgrade and go to lunch
11:41 babilen Ah, okay
11:48 evle1 joined #salt
11:51 AndreasLutro trying to write a custom runner I get this error message, look familiar to anyone? https://bpaste.net/show/2e419a45e2ec
11:51 ravenx joined #salt
11:54 AndreasLutro that short stack trace isn't very helpful
11:55 ThomasJ joined #salt
11:58 swa_work joined #salt
11:58 AndreasLutro ah ok it's because I don't return anything from the returner function... easy fix I guess
12:00 harkx joined #salt
12:00 netcho_ joined #salt
12:05 palo_ hemebond: thank you
12:05 palo_ hemebond: you save me a lot of time
12:08 abednarik joined #salt
12:16 amcorreia joined #salt
12:16 nickabbey joined #salt
12:17 jas02 joined #salt
12:19 krymzon joined #salt
12:21 gmoro joined #salt
12:23 Tanta joined #salt
12:27 shoemonkey joined #salt
12:30 candyman88 joined #salt
12:33 nfahldieck joined #salt
12:36 AndreasLutro anyone know what the default outputter for salt-run is?
12:37 netcho_ joined #salt
12:37 mariusv joined #salt
12:38 cacasmacas joined #salt
12:39 AndreasLutro nested I guess
12:47 edrocks joined #salt
12:50 orionx joined #salt
12:55 numkem joined #salt
13:02 gableroux joined #salt
13:08 sh123124213 joined #salt
13:14 fracklen_ joined #salt
13:15 oyvindmo joined #salt
13:17 ProT-0-TypE joined #salt
13:28 jeffspeff joined #salt
13:33 mk-fg joined #salt
13:34 numkem joined #salt
13:37 dariusjs joined #salt
13:39 onlyanegg joined #salt
13:40 cyborg-one joined #salt
13:44 gableroux joined #salt
13:46 cacasmacas joined #salt
13:49 edrocks joined #salt
13:50 dendazen joined #salt
13:55 jhauser_ joined #salt
14:05 Brew joined #salt
14:05 fracklen joined #salt
14:07 skinkitten_ joined #salt
14:07 skinkitten joined #salt
14:09 gladia2r joined #salt
14:09 gableroux joined #salt
14:13 pissoff joined #salt
14:15 ProT-0-TypE joined #salt
14:21 ProT-0-TypE joined #salt
14:25 racooper joined #salt
14:30 moeyebus9 joined #salt
14:40 writtenoff joined #salt
14:42 ekristen anyone know how to call a salt module in a template? I can’t seem to find any good documentation on it. I need to be able to pass args or kwargs to the module function
14:42 XenophonF ekristen: what kind of module?
14:43 XenophonF there are about a billion examples of execution module calls in the docs and in the saltstack-formulas github account
14:43 ekristen XenophonF: state module
14:43 ekristen there are except for how to call one with arguments in a template
14:43 saltstackbot joined #salt
14:43 XenophonF can you give me an example of what you're trying to do?
14:43 ekristen sure
14:44 JamieH joined #salt
14:45 moeyebus9 ekristen, Doesn't that work : {{salt['some.module'](arg1='arg1',arg2='arg2'}}
14:45 nickadam joined #salt
14:45 WKNiGHT joined #salt
14:45 moeyebus9 oops, typo :  {{ salt['some.module'](arg1='arg1',arg2='arg2') }}
14:46 shawnbutts joined #salt
14:46 dragon788 joined #salt
14:46 ekristen hrm, I thought I tried that, but I can double check
14:46 scristian joined #salt
14:46 XenophonF that should definitely work if arg1 etc. are kwargs
14:47 XenophonF hang on let me find an example
14:48 ekristen oh I used : instead of = when I tried that :facepalm:
14:48 rideh joined #salt
14:48 ekristen ok, let me try = real quick, I agree it should work (I was trying this late last night)
14:48 evilrob_ joined #salt
14:48 shalkie joined #salt
14:48 yuhl_____ joined #salt
14:49 XenophonF ekristen: not exactly the same, but close - https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/user.sls#L2
14:49 dyasny joined #salt
14:50 XenophonF depending on the error you're getting, you might need to escape the output of that funcall, e.g., the |yaml_encode or |yaml filters
14:50 c4rc4s joined #salt
14:51 XenophonF https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#salt.utils.jinja.SerializerExtension
14:51 orionx joined #salt
14:51 XenophonF https://docs.saltstack.com/en/latest/topics/jinja/index.html#filters
14:52 bryguy joined #salt
14:52 cacasmacas joined #salt
14:52 ekristen hrm, now I’m getting a different error
14:53 ekristen `Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute`
14:54 ekristen looks like my modules hadn’t sync'd
14:54 onlyanegg joined #salt
14:56 yesimon joined #salt
14:58 lejit joined #salt
14:59 onmeac joined #salt
15:01 PatrolDoom joined #salt
15:01 PatrolDoom joined #salt
15:03 mikecmpbll joined #salt
15:03 gableroux joined #salt
15:06 klaas joined #salt
15:08 bd joined #salt
15:09 sh123124213 joined #salt
15:10 skinkitten joined #salt
15:10 skinkitten_ joined #salt
15:11 onlyanegg joined #salt
15:14 rimk joined #salt
15:14 cmek is there anything special about writing your own beacons?
15:14 rimk hello everyone!
15:14 cmek I've created one on the master under states/_beacons, and distributed it to one of the minions via saltutil.sync_all
15:14 rimk anyone using salt-api?
15:15 cmek it's enabled on the minion but salt throws this error: ValueError: dictionary update sequence element #0 has length 1; 2 is required
15:15 nickabbey joined #salt
15:15 cmek all the beacon does is returns [{'bacon': 'test123'},]
15:16 cmek no idea what I'm doing wrong
15:17 dariusjs joined #salt
15:18 gtmanfred rimk: lots of folks
15:18 rimk ;D
15:18 gtmanfred cmek: what does the configuration look like?
15:18 rimk I can't make my ACL to work
15:18 rimk state.sls:
15:18 rimk args:
15:18 gtmanfred please use gist
15:18 rimk and a regex
15:18 rimk oh, sorry wrong paste :-D
15:18 gtmanfred and show us exactly what you are doing
15:19 orionx joined #salt
15:20 cmek gtmanfred: the config is just beacons:\n  nagios:\n     - test123
15:20 cmek the beacon is called 'nagios'
15:20 rimk https://gist.github.com/andronux/7c392edd5292a4d88a76e4767f7d63c4
15:20 rimk @gtmanfred
15:21 gtmanfred i don't believe that is a valid config for a beacon
15:21 gtmanfred it needs to be an ordered dictionary of keys values
15:21 gtmanfred rimk: are you using freeipa for ldap?
15:22 rimk no
15:22 rimk the authentication works
15:23 gtmanfred oh, ok...
15:23 rimk I can do test.ping
15:23 rimk but when I try to call state.sls with roles.back_forbes_api it fails
15:24 rimk with permission denied
15:24 cmek gtmanfred: you're right, I misread the error it was throwing with the example config
15:24 XenophonF man
15:24 cmek gtmanfred: it works now, thanks!
15:24 gtmanfred cool
15:24 XenophonF i wish salt didn't have so many dependencies on external tools
15:25 rimk gtmanfred: I think the args aren't regex parsed :-/
15:26 gtmanfred they should be.
15:26 gtmanfred well the docs show them as being regex parsed
15:26 gtmanfred what happens if you remove the () at the beginning and end?
15:27 gtmanfred according to this example, they look regex parsed https://docs.saltstack.com/en/latest/topics/eauth/index.html#limiting-by-function-arguments
15:27 orionx_ joined #salt
15:28 gtmanfred also, you would need .* for the back_.*_worker
15:28 gtmanfred for it to be regex
15:28 gtmanfred 'roles\.back_.*_api'
15:29 sarcasticadmin joined #salt
15:37 funzo joined #salt
15:38 mpanetta joined #salt
15:38 rimk gtmanfred: well, even if I put 'roles\.back_forbes_api' in the args list my state.sls fails
15:38 _JZ_ joined #salt
15:41 pissoff joined #salt
15:45 tiwula joined #salt
15:49 mikecmpb_ joined #salt
15:54 toanju joined #salt
15:54 anotherzero joined #salt
15:59 cacasmacas joined #salt
16:03 jas02_ joined #salt
16:10 teclator joined #salt
16:11 catpig joined #salt
16:14 DEger joined #salt
16:18 jimklo joined #salt
16:19 kjsaihs joined #salt
16:21 jas02 joined #salt
16:21 kjsaihs is there a way to include state files from different folders using a wildcard?
16:21 kjsaihs for example something like http://pastebin.com/gJ7nGiSy
16:22 orionx joined #salt
16:22 thebinary joined #salt
16:24 DEger joined #salt
16:31 cmarzullo don't think so.
16:31 cmarzullo Seems danger zone to me.
16:31 cmarzullo Might not know what states you are getting. Most people want their states to be declaritve
16:31 cacasmacas joined #salt
16:34 DEger joined #salt
16:34 mikecmpbll joined #salt
16:35 icebal joined #salt
16:37 ivanjaros joined #salt
16:40 XenophonF ekristen: well if it's any consolation, i hit the very same error b/c the selinux module wants semanage installed, but i can't get the state that installs semanage to run b/c highstate data won't compile due to the error
16:40 austin_ joined #salt
16:41 austin_ what is the best way to debug in a state file?
16:41 XenophonF so I don't know how i'm going to handle this
16:41 austin_ say i wanted to dump what a variable is
16:41 austin_ that i set from pillar data
16:41 XenophonF i guess i can add semanage to my server build process
16:41 cmarzullo austin_: 'echo {{ var }}': cmd.run
16:41 cmarzullo is super easy
16:41 austin_ ah! easy indeed
16:42 jas02 joined #salt
16:42 XenophonF austin_: render the SLS using file.managed if you need more details
16:42 XenophonF or different ones
16:42 cmarzullo There's also the test modules you can call to write out messages.
16:43 mihait joined #salt
16:43 kjsaihs cmarzullo: the workaround is: - '*.percona-users'
16:43 XenophonF I'm going to call this a packaging bug.
16:43 XenophonF salt-minion should depend on policycoreutils-python on RedHat
16:43 * XenophonF starts looking for his pitchfork.
16:44 * XenophonF er I mean, his GitHub login.
16:52 scsinutz joined #salt
16:53 thebinary joined #salt
16:59 skinkitten joined #salt
16:59 skinkitten_ joined #salt
17:01 scsinutz joined #salt
17:02 c-rad joined #salt
17:04 sh123124213 joined #salt
17:04 nickabbey joined #salt
17:06 onlyanegg joined #salt
17:06 impi joined #salt
17:07 q1x joined #salt
17:08 nickabbey joined #salt
17:09 ekristen anyone ever write a custom state to manage multiple files? looking for an example
17:09 sh123124213 joined #salt
17:11 cmarzullo Like manage multiple files in a single state?
17:14 XenophonF ekristen: i'm a fan of file.recurse
17:15 XenophonF i've started toying with github deployment keys paired with git.latest states
17:15 gableroux joined #salt
17:15 ekristen cmarzullo: yes
17:16 XenophonF ekristen: here's a moderately complicated example - https://github.com/irtnog/shibboleth-formula/blob/master/shibboleth/idp/init.sls#L7
17:16 ekristen XenophonF: I’m writing a custom state (ie using python)
17:16 XenophonF ah
17:17 XenophonF well while you're at it, can you hack mtree support into it? my biggest beef with file.recurse/git.latest/archive.extracted is having to circle back to fix up permissions, and it usually results in a salt state that isn't idempotent
17:18 juntalis joined #salt
17:18 iggy shouldn't it copy that from the master? if not, file a bug
17:19 XenophonF git repos don't store that kind of detailed permissions data
17:20 XenophonF archives can but often the permissions are wrong (e.g., file ownerships)
17:21 XenophonF and while we're at it, what's up with the sorry state of windows permissions handling?
17:21 XenophonF i need to convince my boss to let me dedicate some time to saltstack bugfixing
17:21 iggy sounds like something other than file.recurse should be used in this case
17:21 XenophonF unfortunately
17:22 iggy or something other than git on the master
17:22 jimklo_ joined #salt
17:22 iggy (which is what we do)
17:22 XenophonF but what happens then is an explosion of individual file.managed states or repackaging other people's tarballs
17:23 XenophonF i might have to go that route but it doesn't solve all the corner cases
17:23 XenophonF being able to feed those states a manifest of some kind might
17:23 iggy do the manifest with jinja
17:24 iggy so it renders out as a bunch of file.managed's but your source data is actually just a bunch of names/sources/metadata
17:24 XenophonF yeah, that's about the only way to handle it at the moment
17:25 scsinutz joined #salt
17:27 iggy the problem with adding that support to file.recurse is what do you support in the manifest? What is required? optional? I see that getting weird quick
17:29 nethershaw joined #salt
17:32 ekristen docs seem to be lacking, how can I programmatically call another state from another state?
17:32 austin_ is there any way to have multiple gpgkeys with salt?
17:33 iggy ekristen: be more specific... do you simply need a state to run before another? Do you want the state to run on another minion? Etc?
17:34 ekristen iggy: I’m trying to write a custom state that needs to make a single call to a backend that returns 3 pieces of data I need to write out to 3 files, just trying to figure out the best way to do that within the context of my python code
17:35 ekristen I thought calling file.managed would make things more simple, but there does not seem to be good or simple way to do this
17:38 inad922 joined #salt
17:38 iggy you wouldn't call other states from a state, you'd call the modules instead
17:38 AvengerMoJo joined #salt
17:44 Trauma joined #salt
17:45 jas02 joined #salt
17:50 ekristen iggy: ok
17:52 cacasmacas joined #salt
18:00 Rasathus joined #salt
18:00 Rasathus left #salt
18:02 ekristen lol gotta love this `              TypeError: manage_file() takes at least 10 arguments (10 given)`
18:03 gtmanfred ekristen: blame python2
18:03 gtmanfred you probably have passed extra kwargs, but not all args
18:04 gtmanfred http://stackoverflow.com/questions/20450659/python-why-does-it-say-it-takes-at-least-2-arguments-1-given-when-i-clearly-g
18:06 gtmanfred foo() takes exactly 2 arguments (1 given)
18:06 gtmanfred becomes
18:06 gtmanfred foo() missing 1 required positional argument: 'b'
18:06 gtmanfred foo() takes exactly 2 arguments (2 given)
18:06 ekristen yikes, using file.manage_file manually sucks
18:08 ekristen I’d rather just call the file.managed state or I’m just going to not care and write to the file directly at this point
18:08 ekristen this is a PITA
18:10 gtmanfred ekristen: if you just want to get a file, and don't care about ownership, check out https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cp.html#salt.modules.cp.get_file
18:10 gtmanfred if you want to template it, check out cp.get_template
18:11 ekristen gtmanfred: I have data from a http call that I need to write to 3 separate files, but I need to make it with a single HTTP call, I can’t do 3 HTTP calls and use file.managed separately
18:12 ekristen hence the reason for my own state
18:13 gtmanfred ahh, ok
18:15 Renich joined #salt
18:20 CrummyGummy joined #salt
18:22 abednarik joined #salt
18:26 debian112 joined #salt
18:26 debian112 question is anyone using salstack to manage AWS resources?
18:26 gtmanfred lots of people
18:27 DammitJim joined #salt
18:27 debian112 ok, so when creating a vpc with salt
18:27 debian112 when updating a tag salt creates a brand new vpc
18:27 debian112 is there a way to just modify?
18:27 debian112 I am using: boto_vpc.present
18:29 Inveracity joined #salt
18:30 gtmanfred it does not look like it
18:30 gtmanfred it looks like it has no way to update the vpc, only to create it
18:30 gtmanfred it checks if it exists in a specific way, and if it doesn't then it creates a new one https://github.com/saltstack/salt/blob/develop/salt/states/boto_vpc.py#L213
18:30 Renich joined #salt
18:31 nickabbey joined #salt
18:32 debian112 bummer!
18:33 beardedeagle joined #salt
18:34 DanyC joined #salt
18:37 abednarik joined #salt
18:38 vegardx You really want to check out terraform.
18:41 sarcasticadmin ya im using terraform myself for aws resources too, its pretty awesome
18:45 cmarzullo +1 for terraform.
18:48 scsinutz joined #salt
18:49 ronnix joined #salt
18:50 jas02 joined #salt
18:54 jhauser joined #salt
19:02 cyborg-one joined #salt
19:05 cacasmacas joined #salt
19:10 nickabbey joined #salt
19:14 PatrolDoom joined #salt
19:15 tapoxi joined #salt
19:15 s_kunk joined #salt
19:18 ChubYann joined #salt
19:23 Praematura joined #salt
19:30 Drunken_Panda joined #salt
19:31 Drunken_angel joined #salt
19:32 inad922 joined #salt
19:32 rimk joined #salt
19:34 scsinutz joined #salt
19:35 debian112 can terraform work across clouds?
19:35 debian112 GCP and AZURE
19:36 debian112 cmarzullo:sarcasticadmin:vegardx ?
19:37 gtmanfred i believe terraform can only do amazon
19:38 gableroux joined #salt
19:39 debian112 so why not just use cloudformation then?
19:40 gtmanfred https://www.terraform.io/intro/vs/cloudformation.html
19:40 gtmanfred maybe it can do some extra clouds, specifically openstack /shrug
19:41 jimklo joined #salt
19:43 debian112 yeah, I really want to use salt to handle that since we have it managing server installs and configs
19:44 Drunken_angel hey guys question if midway through a state I want to check somthing ( eg nginx config) and run a {% if salt['cmd.retcode']('nginx -t')  != 0  %} is this evaluated at that postion in a state or before the state has ran
19:44 gtmanfred all jinja is rendered before the states start running
19:44 cmarzullo debian112: yes it defo works across clouds. I've only used it with amazon at the moment.
19:44 Drunken_angel So if I wanted to place some error checking mid state hows best to do that ?
19:45 gtmanfred Drunken_angel: you would need to use an orchestration
19:45 gtmanfred Drunken_angel: tom is working on getting this into nitrogen release though https://github.com/saltstack/salt/pull/38469
19:45 saltstackbot [#38469][MERGED] [WIP] First run at adding "slots" | I would like to have a review of this idea, it is to allow for...
19:46 gtmanfred Drunken_angel: if you just want to check that nginx can reload before you do a restart, add nginx -t to the onlyif argument on the nginx service.running
19:46 gtmanfred Drunken_angel: https://docs.saltstack.com/en/latest/ref/states/requisites.html#onlyif
19:46 Drunken_angel nah its abit more complicated as it swaps around docker containers if nginx cant reload to bring back the old container
19:47 gtmanfred well, then you can do, switcharound these docekr containers unless nginx -t passe
19:47 gtmanfred https://docs.saltstack.com/en/latest/ref/states/requisites.html#unless
19:48 Drunken_angel ahh cool so if i add unless under everything if i dont get a retcode 0 it wont happen
19:48 Drunken_angel awesome
19:49 gtmanfred if you get a retcode 0, it won't run
19:49 gtmanfred if you get another retcode, it will run
19:49 gtmanfred onlyif is the opposite
19:51 Drunken_angel oh cool
19:51 Drunken_angel That should work
19:52 jas02 joined #salt
19:52 nickabbey joined #salt
19:55 debian112 gtmanfred: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.boto_vpc.html?
19:55 debian112 I got a dumb question here:
19:55 debian112 can I execute these modules in a state, or it is just onetime run on the command line?
19:56 CeBe joined #salt
19:58 gtmanfred you could do it with the module.run state
19:58 gtmanfred https://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html
20:00 Edgan joined #salt
20:04 irated joined #salt
20:05 scsinutz joined #salt
20:07 debian112 ok gtmanfred I will check it out
20:08 debian112 We need to get up 7 regions in two weeks,
20:08 debian112 so I will like to leverage salt since we use it
20:09 debian112 if not then I will be learning cloudformation in a day or two
20:15 PatrolDoom joined #salt
20:16 debian112 gtmanfred: looks like the module will keeping creating new resources over and over
20:21 cacasmacas joined #salt
20:23 PatrolDoom joined #salt
20:24 gtmanfred yes, that is what i said it did
20:27 pissoff joined #salt
20:28 debian112 gtmanfred, so the point of the module is just a 1-time-run right?
20:28 debian112 thanks in advance!
20:28 nickabbey joined #salt
20:29 Edgan debian112: Salt cloud only does instances. Salt boto can do most services in AWS, but not all. I don't like it, but based on your timeline, I would suggest terraform.
20:29 jas02 joined #salt
20:30 mikecmpbll joined #salt
20:31 Edgan debian112: if you do use Cloudformation, do yourself a favor, and use yaml, not json.
20:31 gtmanfred yeah, AFAIK the botostuff was never written for updating, so  idk...
20:32 debian112 Edgan, good to know
20:32 Edgan gtmanfred: my understanding is that Lyft uses it heavily
20:32 gtmanfred yeah
20:32 gtmanfred they wrote it from what i remember
20:32 Edgan gtmanfred: that explains alot
20:33 Edgan debian112: Personally I use in-house written boto scripts for instances, ELBs, and ALBs.
20:33 Edgan debian112: and with instances I tie in Salt
20:34 debian112 yeah, the instances are launched through Opennebula
20:34 Edgan debian112: Through the Salt api service.
20:34 debian112 and auto connect to salt for autobuilding
20:34 Edgan debian112: salt api to generate a key, cloud-init to write it to disk for the salt minion
20:34 debian112 salt-mine populates the haproxy instances
20:35 shanathon joined #salt
20:35 debian112 yeah, I have a process for that piece with Salt and Opennebula
20:36 Trauma joined #salt
20:36 debian112 just missing the creating of AWS resource piece
20:37 Edgan my instance create and remove script also does route53 dns entries
20:37 cscf debian112, you are using OpenNebula? Do you like it?
20:38 debian112 yeah work great!
20:38 debian112 works
20:38 cscf I tried setting it up a while ago, it mostly worked, but generally gave the impression of being a pile of hacky bash scripts
20:38 gtmanfred it is significantly easier to manage than openstack in my experience
20:38 gtmanfred but it doesn't scale up as high as openstack can, if you do openstack right
20:38 debian112 true for both
20:39 debian112 It can scale pretty high!
20:39 debian112 Its based on the design
20:40 gtmanfred Is anyone runing it on a scale that rackspace or hp is?
20:40 debian112 I heard people running over 250,000 VMs
20:40 debian112 on Opennebula
20:40 cscf gtmanfred, have you used the openstack-formula?
20:40 cscf Or set up openstack in Salt?
20:40 gtmanfred yes
20:40 gtmanfred i haven't used the formula
20:41 gtmanfred but if I did, I would consider using these guys https://github.com/openstack/openstack-salt/blob/master/.gitmodules
20:44 funzo left #salt
20:45 gtmanfred cscf: this is what I use when I am testing salt against openstack https://github.com/gtmanfred/openstack-salt-ssh/tree/master/salt
20:45 cscf gtmanfred, thanks!
20:46 cscf Salt-Virt also seems cool, but it's not really the same thing
20:46 PatrolDoom joined #salt
20:46 jhauser joined #salt
20:47 cscf Basically I want to be able to spin up VMs backed by Ceph RBD, and if a host goes down, have them come up somewhere else.
20:47 gtmanfred it is not, it is really meant to work with libvirt
20:47 cscf What do you think is the best tool for that?
20:48 Sketch cscf: openstack won't automatically move hosts that go down, but it's easy to move them manually
20:48 gtmanfred ^^
20:48 cmarzullo ovirt is nice if you want a vsphere like manager
20:48 cmarzullo multi-tenenacy isn't it's strong suite. So it more 'enterprisey'
20:48 gtmanfred and you could use the salt beacon status to watch for the host to go down, and move them to a new host
20:50 cscf I also want a salt-cloud like experience of automatically accepting the minion, etc
20:52 irated joined #salt
20:57 bwellsnc joined #salt
21:04 gtmanfred https://github.com/saltstack/salt/pull/39406
21:04 saltstackbot [#39406][OPEN] Parallel states | YES! You heard that right PARALLEL STATES!!!!!!...
21:04 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.5, 2016.11.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers
21:05 cscf Ooh shiny
21:06 cscf Do requisites still work between processes?
21:06 gtmanfred they should yes
21:06 hemebond cscf: My guess is those states would run sequentially.
21:07 cscf That's cool.  If it gets tested well enough, maybe you could eventually have a master config to enable it by default
21:07 cscf So fast
21:11 gtmanfred yeah it is like hemebond said, and is covered in the docs
21:12 scsinutz joined #salt
21:13 shanathon joined #salt
21:13 austin_ joined #salt
21:13 joe_n joined #salt
21:14 XenophonF YAY PARALLEL STATES!
21:14 * XenophonF just wants to belong.
21:14 gtmanfred heh
21:16 shanathon joined #salt
21:16 austin_ joined #salt
21:16 joe_n joined #salt
21:16 lastmikoi joined #salt
21:19 xet7 joined #salt
21:19 hemebond cscf:  "Doing things like just making all states run in parallel will almost certinly result in unexpected behavior."
21:20 cscf hah
21:20 cscf Yeah, probably.
21:23 hemebond No strictly Salt-related, but can anyone tell me what I need to do in order to use a couple of files from an LGPL Python project in a completely different project?
21:24 hemebond Is it simply a matter of making sure the files have the LGPL license in them?
21:24 cscf hemebond, depends, what's the license of the new project?
21:24 gtmanfred yeah, that should be fine, also make sure that the other projects license is compatible
21:24 cscf You do need to keep the LGPL with them, as long as its compatible
21:24 hemebond cscf: New project probably whatever most Salt formulas and things use.
21:25 gtmanfred we use apache2
21:25 gtmanfred so it should be compatible
21:25 gtmanfred apache license is not compatible with gplv2
21:27 hemebond Should I use LGPL for my project too to keep them compatible?
21:27 gtmanfred is it lgplv3?
21:27 hemebond 2.1
21:28 gtmanfred i am trying to find the compatibilty matrix, but i would do apache
21:29 shanathon a little confused about firewall rules. "These communications are done over TCP ports 4505 and 4506, which need to be accessible on the master only."
21:29 gtmanfred open port 4505 and 4506 on the master
21:29 shanathon to me this sounds like 4505 and 4506 outbound on the minion firewall dont need to be explicitly opened
21:29 shanathon but i ended up having to in aws
21:29 hemebond Crud. LGPL is not compatible with Apache.
21:30 gtmanfred well, yeah you need to make sure it can reach the remote ports...
21:30 shanathon ok
21:30 shanathon thanks!
21:30 jas02 joined #salt
21:32 gtmanfred hrm, i thought it was compatible... /shrug
21:32 gtmanfred but yeah looks like not
21:32 hemebond Apache can't contain LGPL, but LGPL can contain/use Apache.
21:33 gtmanfred yeah, makes sense now that I have read the clause they are talking about here
21:33 gtmanfred GNU LGPL
21:33 gtmanfred The LGPL is ineligible primarily due to the restrictions it places on larger works, violating the third license criterion.
21:34 tkojames joined #salt
21:36 cacasmacas joined #salt
21:38 tapoxi anyone know if this is available from atom's package manager? https://github.com/saltstack/atom-salt
21:38 tapoxi I keep reinstalling it manually
21:39 abednarik_ joined #salt
21:39 gtmanfred https://atom.io/packages/language-salt ?
21:40 gtmanfred it isn't the same, looks like it is a version newer than that github
21:40 gtmanfred other than that, yeah i think you have to install it manually
21:46 armguy joined #salt
21:58 nixjdm joined #salt
21:58 tapoxi yeah language-salt didn't play well with my jinja
21:58 tapoxi thanks gtmanfred
22:01 orionx_ joined #salt
22:02 orionx__ joined #salt
22:03 spuder joined #salt
22:04 edrocks joined #salt
22:06 djgerm Is there a way to order the states targeted in top.sls?
22:07 hemebond djgerm: States files are applied in the order specified in top.sls
22:07 hemebond I think.
22:08 hemebond But that kind of thinking isn't really a good idea.
22:08 dlloyd outside of orders, includes, requires, watches and listens
22:08 whytewolf top file is exacuted top down. however if you need to be 100% sure of order. use orchestration
22:09 tkojames Question, We have bunch of stuff currently in Salt. They are all VM's. Has anybody found a way to auto pull minion stats like CPU and Ram and other stuff and put it in a cloud.provider file. The idea would be we could easily create all are vm's in cloud provider so we can deploy all the vms in other environment quickly.
22:10 hemebond tkojames: You could just use a custom script to write the grains to a file.
22:11 DammitJim joined #salt
22:13 tkojames That is what I was thinking. I could output grains.items as JSON and the parse the data I was looking for. Or do you think there would be a better way?
22:13 hemebond That sounds like an entirely reasonable method.
22:15 cacasmacas joined #salt
22:16 orionx joined #salt
22:26 ranomore1 joined #salt
22:27 sjorge joined #salt
22:27 sjorge joined #salt
22:29 mosen joined #salt
22:29 ranomore joined #salt
22:31 rimk joined #salt
22:33 feld_ joined #salt
22:33 cmek_ joined #salt
22:34 scsinutz joined #salt
22:35 cacasmacas joined #salt
22:35 stewgone joined #salt
22:36 kuromagi joined #salt
22:36 qman joined #salt
22:36 yetanotherzero joined #salt
22:36 Antiarc_ joined #salt
22:36 CheckYourSix_ joined #salt
22:37 colttt_ joined #salt
22:37 Elijah joined #salt
22:37 utahcon_1 joined #salt
22:37 j4son_ joined #salt
22:37 timfi_ joined #salt
22:37 viq_ joined #salt
22:37 MightyJoe joined #salt
22:37 esharpmajor_ joined #salt
22:38 pezus_ joined #salt
22:38 hunmaat joined #salt
22:38 Laogeodritt| joined #salt
22:38 avalarion__ joined #salt
22:38 bfritz_ joined #salt
22:38 Garo_ joined #salt
22:38 netzvieh_ joined #salt
22:39 Ryan_Lane_ joined #salt
22:40 winterblack joined #salt
22:41 Morrolan_ joined #salt
22:41 awpti- joined #salt
22:41 whyzgeek_ joined #salt
22:41 weylin- joined #salt
22:41 cro_ joined #salt
22:41 rubenb_ joined #salt
22:41 themacproguy joined #salt
22:41 dijit- joined #salt
22:41 TooLmaN_ joined #salt
22:43 lorengordon joined #salt
22:43 Zachary_DuBois joined #salt
22:43 saltstackbot joined #salt
22:44 darvon joined #salt
22:45 inire joined #salt
22:45 ekristen can you target a minion using grains, or the lack thereof?
22:46 ToeSnacks joined #salt
22:46 jcristau joined #salt
22:46 capn-morgan joined #salt
22:46 khorben joined #salt
22:46 qman__ joined #salt
22:46 gtmanfred joined #salt
22:46 wybczu joined #salt
22:46 c4rc4s joined #salt
22:46 theblazehen joined #salt
22:46 modulistic joined #salt
22:46 tharkun joined #salt
22:46 Dr_Jazz joined #salt
22:46 honestly joined #salt
22:46 chowmeined joined #salt
22:47 jeffspeff joined #salt
22:47 APLU joined #salt
22:48 garphy`aw joined #salt
22:48 yesimon joined #salt
22:48 tom29739 joined #salt
22:48 rideh joined #salt
22:48 k4kvm joined #salt
22:48 dlloyd joined #salt
22:49 kbaikov joined #salt
22:49 Horgix joined #salt
22:49 flughafen joined #salt
22:50 nicerobot[m] joined #salt
22:50 sarcasticadmin joined #salt
22:51 igormarnat_ joined #salt
22:51 racooper joined #salt
22:51 zifnab joined #salt
22:51 joshin joined #salt
22:51 joshin joined #salt
22:51 vegardx joined #salt
22:51 Guest64515 joined #salt
22:51 sagerdearia joined #salt
22:52 jholtom joined #salt
22:52 nixjdm joined #salt
22:52 cscf joined #salt
22:52 j4son_ joined #salt
22:52 CheckYourSix_ joined #salt
22:52 lejit joined #salt
22:52 yuhl_____ joined #salt
22:52 swills joined #salt
22:52 jrklein joined #salt
22:52 lasseknudsen2 joined #salt
22:52 prg3 joined #salt
22:52 hrumph joined #salt
22:52 kiorky joined #salt
22:52 cswang joined #salt
22:52 rhand joined #salt
22:52 jacksontj joined #salt
22:52 masber joined #salt
22:52 mattp joined #salt
22:52 voidspacexyz joined #salt
22:52 xMopxShell joined #salt
22:52 Vaelatern joined #salt
22:52 bantone joined #salt
22:52 AbyssOne joined #salt
22:52 ub1quit33 joined #salt
22:52 utahcon joined #salt
22:52 leev joined #salt
22:52 Llmiseyhaa joined #salt
22:52 varesa_ joined #salt
22:53 relidy joined #salt
22:54 hemebond joined #salt
22:54 bVector joined #salt
22:54 hacks joined #salt
22:55 abele joined #salt
22:55 copelco joined #salt
23:01 mikecmpbll joined #salt
23:01 johtso joined #salt
23:01 sh123124213 joined #salt
23:08 debian112 any idea: http://paste.debian.net/914462/
23:08 debian112 trying to create security groups in AWS
23:08 tom29739 joined #salt
23:09 DoomPatrol joined #salt
23:10 debian112 state: http://paste.debian.net/914463/
23:13 gtmanfred ekristen: yes
23:13 gtmanfred ekristen: https://docs.saltstack.com/en/latest/topics/targeting/
23:13 gtmanfred ekristen: https://docs.saltstack.com/en/latest/topics/targeting/compound.html
23:14 ekristen ah using compound
23:14 gtmanfred -C 'not G@key:value'
23:14 gtmanfred yeah
23:26 tom29739 joined #salt
23:31 orionx joined #salt
23:33 jas02 joined #salt
23:36 DEger joined #salt
23:37 peters-tx Why does log_level not seem to work on my minions?
23:37 peters-tx If I run salt-call -l all   then I get output like I would expect from my logs, but yet nothing additional in my logs....It *used* to work
23:43 peters-tx Perhaps Minions no longer support log_level in the configuration file
23:49 Kelsar joined #salt
23:53 peters-tx Gah.  Figured it out
23:53 peters-tx Not "log_level"..."log_level_logfile".  I guess this changed at some point?
23:54 g3cko joined #salt
23:54 lazybear joined #salt
23:55 evilrob joined #salt
23:57 esc\ joined #salt
23:57 vaelen joined #salt
23:57 whytewolf iirc it has always been log_level_logfile in salt [which really doesn't make a lot of sense]
23:57 berto- joined #salt
23:59 whytewolf log_level is meant for console level logging

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