Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-11-08

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

All times shown according to UTC.

Time Nick Message
00:01 jdshewey joined #salt
00:01 pcn jdshewey: you can put them under any of the file roots if that's what you mean
00:02 whytewolf jdshewey: _modules are accessed as salt://_modules
00:02 pcn So since each formula is added as a file root, yeah, what whytewolf said.
00:02 jdshewey No. I mean is it possible to include the execution module with the salt formula. Like: [fileroot]/rsyslog/_modules
00:03 whytewolf jdshewey: no
00:03 jdshewey :( - I suspected as much.
00:03 jdshewey Thx
00:04 pcn jdshewey: what are you trying to do with that particular path?
00:07 whytewolf jdshewey: here is how formulas are typically shipped with _modules https://github.com/saltstack-formulas/influxdb-formula
00:15 toanju joined #salt
00:16 pipps joined #salt
00:18 zerocoolback joined #salt
00:25 johnj_ joined #salt
00:27 sh123124213 joined #salt
00:31 pipps joined #salt
00:39 flight884 joined #salt
00:39 flight884 left #salt
00:47 GMAzrael joined #salt
00:48 masber joined #salt
00:55 kellyp joined #salt
00:56 major joined #salt
01:00 MAHDTech joined #salt
01:07 woodtablet left #salt
01:08 evle joined #salt
01:13 shred joined #salt
01:24 kellyp joined #salt
01:26 johnj_ joined #salt
01:27 kshlm joined #salt
01:27 jtb joined #salt
01:28 kellyp joined #salt
01:28 major joined #salt
01:29 sh123124213 joined #salt
01:39 GMAzrael joined #salt
01:41 threwahway joined #salt
01:49 jtb joined #salt
01:50 StarHeart joined #salt
01:50 StarHeart left #salt
01:58 aldevar1 joined #salt
02:02 dxiri joined #salt
02:03 snc joined #salt
02:07 KevinAn2757 joined #salt
02:14 shred joined #salt
02:15 shred joined #salt
02:16 shred joined #salt
02:17 shred joined #salt
02:19 chowmeined joined #salt
02:27 johnj_ joined #salt
02:36 zerocoolback joined #salt
02:37 zerocoolback joined #salt
02:43 GMAzrael joined #salt
02:55 pipps joined #salt
02:56 ilbot3 joined #salt
02:56 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.8, 2017.7.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
02:58 nomeed joined #salt
03:00 chadhs joined #salt
03:04 zerocoolback joined #salt
03:28 johnj_ joined #salt
03:41 jeffspeff joined #salt
03:42 GMAzrael joined #salt
04:00 Zachary_DuBois joined #salt
04:05 sp0097 joined #salt
04:16 sp0097 joined #salt
04:29 johnj_ joined #salt
04:37 nixjdm joined #salt
04:40 GMAzrael joined #salt
04:41 tiwula joined #salt
04:42 uptime left #salt
04:45 mavhq joined #salt
04:49 jas02 joined #salt
04:52 om2 joined #salt
04:53 nomeed joined #salt
05:11 jas02 joined #salt
05:13 threwahway joined #salt
05:28 kellyp joined #salt
05:30 johnj_ joined #salt
05:34 kellyp joined #salt
05:37 kellyp joined #salt
05:39 GMAzrael joined #salt
05:40 GMan_ joined #salt
05:42 gnomethrower joined #salt
06:10 zerocoolback joined #salt
06:13 tom[] joined #salt
06:25 shoogz joined #salt
06:27 shoogz joined #salt
06:28 shoogz joined #salt
06:29 shoogz joined #salt
06:31 shoogz joined #salt
06:31 johnj_ joined #salt
06:32 shoogz joined #salt
06:37 SkyRocknRoll joined #salt
06:39 jas02 joined #salt
06:45 GMAzrael joined #salt
06:51 jas02 joined #salt
06:56 laertus i've been reading a ton of articles on salt all over the internet
06:56 laertus and it's like they all fall off a cliff around 2014.. and there are virtually no more afterwards
06:56 laertus did something happen with salt around that time i'm not aware of?
06:57 sh123124213 joined #salt
06:59 q1x joined #salt
07:02 ahrs joined #salt
07:03 MTecknology laertus: total coverage?
07:03 MTecknology I feel like I've seen a lot of recent articles and have even been asked to write a couple.
07:03 laertus i guess i'm not looking in the right places
07:03 MTecknology my last post about salt was within the last two years.
07:04 laertus care to share?
07:04 MTecknology salt is only a portion of it, but it's mentioned - https://michael.lustfield.net/misc/ground-up-infrastructure
07:04 laertus thanks
07:05 MTecknology bed thyme already, eh? :(
07:06 MTecknology I get to stop wearing this lovely pump tomorrow! :D
07:06 MTecknology ^ wrong channel (apparently it's very much bed time)
07:09 jas02 joined #salt
07:18 do3meli joined #salt
07:22 zerocoolback joined #salt
07:28 felskrone joined #salt
07:32 johnj joined #salt
07:37 do3meli left #salt
07:41 wongster80 joined #salt
07:43 jas02 joined #salt
07:43 Hybrid joined #salt
07:44 GMAzrael joined #salt
07:48 kellyp joined #salt
07:49 usernkey joined #salt
07:49 darioleidi joined #salt
07:51 jas02 joined #salt
07:52 london2017 joined #salt
08:01 Hybrid joined #salt
08:12 hoonetorg joined #salt
08:14 shred joined #salt
08:16 zerocoolback joined #salt
08:16 skinkitten joined #salt
08:18 aldevar joined #salt
08:24 pualj joined #salt
08:33 jas02 joined #salt
08:33 johnj joined #salt
08:39 jrenner joined #salt
08:41 darioleidi joined #salt
08:43 Ricardo1000 joined #salt
08:43 Tucky joined #salt
08:44 jas02 joined #salt
08:45 GMAzrael joined #salt
08:57 Naresh joined #salt
09:01 SkyRocknRoll joined #salt
09:02 jas02 joined #salt
09:03 Praematura joined #salt
09:04 jhauser joined #salt
09:06 mk-fg joined #salt
09:06 mk-fg joined #salt
09:09 pbandark joined #salt
09:10 dhwt joined #salt
09:12 k1412 joined #salt
09:13 jas02 joined #salt
09:20 _KaszpiR_ joined #salt
09:21 zach joined #salt
09:32 N-Mi joined #salt
09:32 N-Mi joined #salt
09:32 Mattch joined #salt
09:34 aerbax joined #salt
09:34 johnj joined #salt
09:37 kukacz joined #salt
09:37 mariusv__ joined #salt
09:37 jas02 joined #salt
09:39 flughafen /j #docker
09:39 flughafen oops
09:44 jhill joined #salt
09:46 GMAzrael joined #salt
09:48 nledez joined #salt
09:48 nledez joined #salt
09:49 skinkitten joined #salt
09:49 relidy joined #salt
09:49 benner joined #salt
09:49 aviau joined #salt
09:49 notCalle joined #salt
09:49 simondodsley joined #salt
09:49 swa_work joined #salt
09:49 bbradley joined #salt
09:49 oyvindmo joined #salt
09:49 bantone joined #salt
09:49 brent joined #salt
09:49 whyzgeek joined #salt
09:49 __peke__ joined #salt
09:49 rewbycraft joined #salt
09:49 icedev joined #salt
09:49 vaelen joined #salt
09:49 esharpmajor joined #salt
09:49 jwon joined #salt
09:49 JoshL joined #salt
09:49 inire joined #salt
09:49 JPaul joined #salt
09:49 poige joined #salt
09:49 KingOfFools joined #salt
09:49 brd joined #salt
09:49 pfalleno1 joined #salt
09:49 carlwgeorge joined #salt
09:49 tcolvin joined #salt
09:49 mihait joined #salt
09:51 Manor joined #salt
09:52 KingOfFools left #salt
09:53 coredumb if I map a context before including other sls files, will the context be available in the included states?
09:53 chadhs joined #salt
09:53 pppingme joined #salt
09:54 ahrs joined #salt
10:00 Processus42 joined #salt
10:02 akrus joined #salt
10:04 akrus hi everyone~
10:05 onmeac joined #salt
10:06 akrus I have a quick question regarding file_tree ext_pillar. I can see my pillar using pillar.items, but calling pillar.get returns nothing. When I add any of the locations to top.sls in /srv/pillar I'm able to retrieve it using pillar.get. Is it expected to work like this?
10:08 mikecmpbll joined #salt
10:10 kellyp joined #salt
10:17 haam3r_ Anybody know how I can reference the salt master in an orchestrate state tgt parameter other than by id? Is there maybe some kinda built in variable?
10:18 mk-fg joined #salt
10:18 mk-fg joined #salt
10:23 hackel joined #salt
10:23 psychi[m] joined #salt
10:23 freelock joined #salt
10:23 benjiale[m] joined #salt
10:23 sxar joined #salt
10:23 kbaikov[m] joined #salt
10:23 jerrykan[m] joined #salt
10:23 aboe[m] joined #salt
10:23 viq[m] joined #salt
10:23 ThomasJ|m joined #salt
10:23 toofoo[m] joined #salt
10:23 gomerus[m] joined #salt
10:23 theblazehen joined #salt
10:23 rtr63gdh[m] joined #salt
10:23 renaissancedev[m joined #salt
10:23 fujexo[m] joined #salt
10:27 sfxandy joined #salt
10:32 sfxandy hi everyone.  ok, need a sanity check here.  am struggling with the module.run state call.  can anyone tell me whats wrong with this? https://gist.github.com/phtx3/22c1031fc13c61dcde81dde2f5eef2f7
10:32 sfxandy I'm getting an error 'State 'do_something' in SLS 'provisioning.create_saltcloud_map_file' is not formed as a list'
10:32 DarkKnightCZ joined #salt
10:33 quodt joined #salt
10:33 sfxandy I can kind of see why its giving me the error, but the documentation has many examples of module.run usage in this format
10:33 akrus I suppose you should just add a dash symbol before consul.put
10:35 sfxandy well, I get what you're saying akrus ... but the Salt documentation shows something very different
10:35 johnj joined #salt
10:35 sfxandy so is it a) something I'm missing or b) the documentation is wrong
10:37 Diaoul joined #salt
10:38 sfxandy so is it a) something I'm missing or b) the documentation is wrong
10:39 sfxandy ooops!
10:39 quodt left #salt
10:40 quodt_ joined #salt
10:42 akrus By default this behaviour is not turned on. In order to do so, please add the following configuration to the minion:  use_superseded:   - module.run
10:42 akrus in the docs
10:43 akrus so either you can use - name: consul.put or just enable the appropriate mode
10:45 akrus see the comment in gist
10:48 GMAzrael joined #salt
10:55 DarkKnightCZ Is there any way how to run salt proxy minion with as low functionality as just executing single proxymodule? I know there is whitelist_modules option, but then I could just use bare salt minion and I don't know if master cannot replace the modules whitelisted with sync... my usecase is for access to highly-secure API where nobody should have the ability to fetch credentials from VM where the minion will be running
11:00 threwahway joined #salt
11:14 samodid joined #salt
11:16 jas02 joined #salt
11:20 colegatron joined #salt
11:35 jas02 joined #salt
11:36 jas02_ joined #salt
11:36 johnj joined #salt
11:43 jas02 joined #salt
11:45 GMAzrael joined #salt
11:51 jas02 joined #salt
11:54 RandyT joined #salt
11:54 RandyT joined #salt
12:04 coredumb hey folks, how do I test that a pillar value is "None" ?
12:14 Manor joined #salt
12:16 zerocoolback joined #salt
12:17 haam3r_ coredumb: "if value is none" ref: http://jinja.pocoo.org/docs/2.9/templates/#none
12:17 haam3r_ coredumb: Additionaly something like "if value == None" might also work
12:18 coredumb haam3r_: I was trying if val is not None
12:18 coredumb but doesn't work
12:18 coredumb if val != None works though
12:18 haam3r_ so you need to test that the variable is NOT none?
12:18 coredumb yep
12:19 jas02 joined #salt
12:19 haam3r_ in that case I usually use "if val is defined"
12:19 haam3r_ ref: http://jinja.pocoo.org/docs/2.9/templates/#defined
12:20 zerocoolback joined #salt
12:22 Manor_ joined #salt
12:26 DarkKnightCZ joined #salt
12:26 akrus I'm just using 'if value' where it's set to None
12:35 jas02 joined #salt
12:37 johnj joined #salt
12:39 evle1 joined #salt
12:42 GMAzrael joined #salt
12:44 jas02 joined #salt
12:46 Manor joined #salt
12:47 Guest71586 joined #salt
12:50 jas02 joined #salt
13:07 xet7 joined #salt
13:12 jas02 joined #salt
13:15 AdamSewell joined #salt
13:15 mavhq joined #salt
13:22 aanriot joined #salt
13:23 jas02 joined #salt
13:26 strobelight joined #salt
13:28 Hybrid joined #salt
13:29 numkem joined #salt
13:36 xet7 joined #salt
13:37 ivanjaros joined #salt
13:38 gh34 joined #salt
13:38 johnj joined #salt
13:39 jas02 joined #salt
13:41 vchauhan joined #salt
13:42 GMAzrael joined #salt
13:52 edrocks joined #salt
13:57 mchlumsky joined #salt
14:05 GMAzrael joined #salt
14:06 mchlumsky joined #salt
14:21 xet7 joined #salt
14:26 swills joined #salt
14:26 aldevar joined #salt
14:40 johnj joined #salt
14:50 tiwula joined #salt
14:52 filthyG joined #salt
14:53 drawsmcgraw joined #salt
14:55 m4rk0 joined #salt
14:56 m4rk0 Hello
14:56 dxiri joined #salt
14:56 m4rk0 Can anyone tell me how can I find which state is causing this error: 2017-11-08 14:02:03,400 [salt.state       ][ERROR   ][4864] Parent directory not present
15:09 viq m4rk0: try running on the minion `salt-call -l debug state.apply`
15:10 fatal_exception joined #salt
15:19 _KaszpiR_ joined #salt
15:19 Brew joined #salt
15:20 numkem joined #salt
15:20 cgiroua joined #salt
15:26 lordcirth_work joined #salt
15:29 mcqueenorama joined #salt
15:29 usernkey joined #salt
15:32 dxiri joined #salt
15:33 major joined #salt
15:36 sp0097 joined #salt
15:37 _JZ_ joined #salt
15:41 johnj joined #salt
15:45 om2 joined #salt
15:49 todder_ joined #salt
15:49 fds_ joined #salt
15:54 sp0097 joined #salt
15:55 cgiroua joined #salt
15:55 tiwula joined #salt
15:58 DarkKnightCZ joined #salt
16:00 cruscio joined #salt
16:03 _KaszpiR_ joined #salt
16:03 Hybrid1 joined #salt
16:04 vchauhan joined #salt
16:05 m4rk0 viq: alright, thanx
16:10 XenophonF I remember seeing an example script, maybe using orchestration? where it waited for the minion to reboot
16:10 XenophonF anyone know what I'm talking about?  I didn't bookmark it.  I think it's in the docs somewhere.
16:12 racooper joined #salt
16:12 XenophonF ah
16:12 XenophonF found it in the state runner doc
16:12 XenophonF the state.event runner function
16:12 XenophonF https://docs.saltstack.com/en/latest/ref/runners/all/salt.runners.state.html#salt.runners.state.event
16:16 XenophonF next question: is there a formula that supports the use of letsencrypt on windows?
16:19 macheck [Daniel Wallace, SaltStack Community] This is the `salt.wait_for_event` state that is usually used in orchestration states https://docs.saltstack.com/en/latest/ref/states/all/salt.states.saltmod.html#salt.states.saltmod.wait_for_event
16:19 XenophonF thanks macheck, i'll bookmark that one too
16:25 Hybrid joined #salt
16:32 onlyanegg joined #salt
16:34 nixjdm joined #salt
16:34 cyborg-one joined #salt
16:40 DarkKnightCZ joined #salt
16:42 johnj_ joined #salt
16:45 ooboyle what issues can I expect from upgrading my master from 2016.11.5 to a more recent 2017 version? I have minions ranging from 2015.8 to 2016.11.5.
16:49 Guest74143 left #salt
16:49 zach joined #salt
16:50 zach i really hate this: 17:49 -!- zach #salt Cannot change nickname while banned on channel
16:51 dxiri joined #salt
17:00 shred joined #salt
17:03 jas02 joined #salt
17:04 shred joined #salt
17:07 jas02 joined #salt
17:24 drawsmcgraw joined #salt
17:25 skatz joined #salt
17:30 scbunn joined #salt
17:30 skatz Is it possible to target minions in top.sls based on a pillar value that is a list? i.e. if a minion has a pillar with `roles: - webserver, - dev`, how would I target boxes who have 'webserver' in their 'roles' list in pillar? `'role:webserver', - match pillar' isn't quite what I want.
17:31 Deliant joined #salt
17:32 skatz (alternative suggestions on how to set lists of roles for minions are welcome too if I'm going about this the wrong way)
17:33 whytewolf what is wrong with 'roles:webserver'
17:36 skatz I don't think it'd match because the value of roles isn't the string 'webserver', it's the list ['webserver', 'dev']
17:36 skatz or am I wrong about that?
17:37 whytewolf yes, you are wrong about that
17:37 dvdmuckle joined #salt
17:38 whytewolf roles:webserver basicly is saying is webserver a subitem of roles
17:38 skatz oh hmmm, let me look at my code again, maybe I'm doing something wrong
17:41 skatz Oh wow it totally works :) I had role instead of roles.
17:41 skatz in top.sls
17:43 johnj_ joined #salt
17:44 stooj joined #salt
17:45 kellyp joined #salt
17:46 SkyRocknRoll joined #salt
17:47 XenophonF I didn't realize you could do that either. Thanks whytewolf!
17:55 skatz agreed thanks for that whytewolf :) glad I was wrong.
17:56 whytewolf :)
17:57 cruscio joined #salt
18:01 Manor joined #salt
18:04 pipps joined #salt
18:06 ExtraCrispy joined #salt
18:08 Manor_ joined #salt
18:11 Hybrid joined #salt
18:15 ventris joined #salt
18:29 weylin joined #salt
18:42 wongster80 joined #salt
18:44 johnj_ joined #salt
18:54 Hybrid joined #salt
18:55 cruscio Is ther eany significant difference between this IRC channel and the Slack group at saltstackcommunity.slack.com? Just wo different options, or will things be shifting away from IRC and over to Slack?
18:56 ventris left #salt
18:58 cruscio aaand I just discovered the IRC channel on Slack
19:00 cruscio left #salt
19:05 jhauser joined #salt
19:07 cyborg-one joined #salt
19:08 jmedinar joined #salt
19:09 Diaoul joined #salt
19:10 jmedinar Hi, Is there a way to force a non public module (_module) to be executed on the master no matter against the minion is launched?
19:11 Manor joined #salt
19:11 jmedinar what I am trying to do is to generate a list of minions with the corresponding hostname in the form of {minion:hostname}... but for ALL the minions
19:11 jmedinar and then use that list in other process ... perhaps other module
19:12 jmedinar but it has to be generated when I call that other process... that can be against any other minion
19:12 jhauser_ joined #salt
19:14 jmedinar I can get the list with the following command. [ salt \* cmd.run 'hostname -s' --out=yaml | sed 's/://g' ]
19:16 pipps joined #salt
19:17 pipps99 joined #salt
19:22 jmedinar mmm I guess that will be more like an utility module
19:28 ChubYann joined #salt
19:30 neckbeard_ joined #salt
19:34 Matt____ joined #salt
19:35 skatz joined #salt
19:37 edrocks joined #salt
19:41 edrocks joined #salt
19:45 pipps joined #salt
19:45 _KaszpiR_ joined #salt
19:45 johnj_ joined #salt
19:47 vaelen joined #salt
19:50 jmedinar joined #salt
19:55 Diaoul joined #salt
19:56 jmedinar mmm what I am looking for is a runner
19:56 Heartsbane joined #salt
19:56 Heartsbane joined #salt
19:58 overyander joined #salt
20:01 CrummyGummy joined #salt
20:05 chowmeined joined #salt
20:05 evle joined #salt
20:09 * freelock hates to see open source communities going over to Slack
20:10 * freelock is here via Matrix/Riot, which is like Slack but completely open source, free, and way better
20:15 viq freelock: I've spent a while playing some with a friend with matrix and riot, and they have a lot of rough edges. But yeah, everyone going to slack is certainly annoying
20:15 * viq for the time being has better impression of XMPP
20:15 viq But this conversation is probably rather for #salt-offtopic ;)
20:35 kellyp joined #salt
20:41 Protonic_ joined #salt
20:46 johnj_ joined #salt
20:47 Protonic_ Good afternoon
20:47 skullone id be scared of how many petabytes of RAM slack consumes globally on the client side
20:47 Protonic_ I have a question parsing grains in python
20:48 macheck [Daniel Wallace, SaltStack Community] We have a lot of people who use weechat and the weechat-slack plugin
20:48 macheck [Daniel Wallace, SaltStack Community] it is pretty good
20:51 Protonic_ How can you parse a grain using __grain__[opts] when the grain has subgrains in it.  (I need to pull dns search suffix list and parse it for a specific domain)
20:51 choke joined #salt
20:52 macheck [Daniel Wallace, SaltStack Community] __grain__[opt][opt2] ?
20:52 macheck [Daniel Wallace, SaltStack Community] or __salt__[‘grains.get’](‘opt1:opt2’)
20:54 whytewolf if it a dict could always use __grains__['opt1'].get('opt2') and confuse yourself with readability.
20:55 viq joined #salt
20:56 Protonic_ Thank you both macheck and whytewolf, all of this helped.  I was trying to put both options inside a single [] instead of splitting them up.
20:56 kellyp joined #salt
20:58 felskrone joined #salt
21:01 pipps joined #salt
21:01 drawsmcgraw left #salt
21:01 pipps99 joined #salt
21:04 pipps_ joined #salt
21:14 ooboyle any reason why salt-run manage.versions would show a different version for a minion than salt 'minion' pkg.version salt-minion ?
21:15 ooboyle one shows me 2016.11.3 and the second 2016.11.5
21:26 nethershaw joined #salt
21:32 viq joined #salt
21:38 major joined #salt
21:39 skatz_ joined #salt
21:47 johnj_ joined #salt
21:48 om2 joined #salt
22:01 om2 joined #salt
22:08 edrocks joined #salt
22:20 mcqueenorama joined #salt
22:31 MTecknology ooboyle: did you install a newer version without restarting the service?
22:34 pipps joined #salt
22:36 pipps99 joined #salt
22:38 aldevar joined #salt
22:38 aldevar1 joined #salt
22:41 onlyanegg joined #salt
22:42 xet7 joined #salt
22:48 om3 joined #salt
22:48 johnj_ joined #salt
22:52 om2 joined #salt
22:55 macheck [Daniel Wallace, SaltStack Community] check and make sure you do not have multiple versions of salt-minion running, also that it was restarted after the update
22:56 colegatron joined #salt
22:58 pipps joined #salt
23:03 pipps joined #salt
23:16 viq joined #salt
23:29 onlyanegg joined #salt
23:38 choke joined #salt
23:44 samodid joined #salt
23:46 pipps joined #salt
23:49 johnj_ joined #salt
23:53 liam___ joined #salt
23:55 liam___ joined #salt
23:55 liam___ left #salt
23:58 liam___ joined #salt
23:58 zerocoolback joined #salt
23:59 Drunk_admin joined #salt

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