Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-12-04

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

All times shown according to UTC.

Time Nick Message
00:00 saltslackbridge joined #salt
00:14 saltslackbridge <james> I wonder if I could scrape the pillar sls file locally and use that data?
00:15 saltslackbridge <james> I'm just thinking, if I want to use orchestration, I want to have everything confined into a single unit of work
00:16 saltslackbridge <james> Or there's a runner that pulls pillar data from a client but that doesn't really help me too much
00:17 saltslackbridge <james> Especially since I don't know how I could include that in future steps (this isn't possible yet?)
00:17 saltslackbridge <james> Although I'm sure I saw murmurs about it...
00:22 robinsmidsrod joined #salt
00:26 hemebond Usually orchestration can contain specific stuff.
00:38 Sammichmaker joined #salt
00:38 Sammichmaker joined #salt
00:43 rem5 joined #salt
00:58 felskrone joined #salt
01:37 XenophonF joined #salt
01:41 gnomethrower joined #salt
01:58 felskrone joined #salt
02:17 tiwula joined #salt
02:28 seanz joined #salt
02:38 zerocoolback joined #salt
02:39 evle2 joined #salt
02:57 ilbot3 joined #salt
02:57 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:59 felskrone joined #salt
03:00 zerocoolback joined #salt
03:01 zerocoolback joined #salt
03:02 zerocoolback joined #salt
03:03 zerocoolback joined #salt
03:04 zerocoolback joined #salt
03:45 JPT joined #salt
03:49 tiwula joined #salt
04:00 felskrone joined #salt
04:15 promorphus joined #salt
04:23 major joined #salt
05:30 benjiale[m] joined #salt
05:34 leev_ joined #salt
05:36 NightMonkey joined #salt
05:49 aboe[m] joined #salt
05:55 eeeprom joined #salt
06:01 felskrone joined #salt
06:06 daks joined #salt
06:53 shripadr joined #salt
06:58 shripadr_ joined #salt
07:02 felskrone joined #salt
07:03 pualj joined #salt
07:15 Ricardo1000 joined #salt
07:19 CrummyGummy joined #salt
07:27 yuhl joined #salt
07:33 indistylo joined #salt
07:44 sh123124213 joined #salt
07:50 hammer065 joined #salt
08:02 pualj_ joined #salt
08:05 darioleidi joined #salt
08:07 trouba_w joined #salt
08:13 aldevar joined #salt
08:14 aldevar left #salt
08:14 wongster80 joined #salt
08:15 Tucky joined #salt
08:15 Ricardo1000 joined #salt
08:18 gmoro joined #salt
08:19 Hybrid1 joined #salt
08:19 Ricardo1000 joined #salt
08:26 aldevar joined #salt
08:27 robman joined #salt
08:32 colegatron joined #salt
08:42 bvcelari joined #salt
08:46 jhauser joined #salt
08:50 fracklen joined #salt
09:00 mikecmpbll joined #salt
09:02 pualj_ joined #salt
09:03 felskrone joined #salt
09:05 cyteen joined #salt
09:09 yuhl_ joined #salt
09:09 fracklen joined #salt
09:12 pbandark joined #salt
09:18 revellion joined #salt
09:21 fracklen joined #salt
09:27 msn joined #salt
09:32 fracklen_ joined #salt
09:39 Elsmorian joined #salt
09:41 _KaszpiR_ joined #salt
09:50 zerocoolback joined #salt
09:52 magnus1 joined #salt
09:56 zerocoolback joined #salt
10:04 felskrone joined #salt
10:06 samodid joined #salt
10:08 major joined #salt
10:34 aldevar1 joined #salt
10:40 toanju joined #salt
10:43 Lenz joined #salt
11:05 felskrone joined #salt
11:42 felskrone joined #salt
11:44 jesusaur joined #salt
11:44 CrummyGummy joined #salt
11:45 SkyRocknRoll joined #salt
11:54 samodid joined #salt
11:55 jesusaur joined #salt
12:06 jesusaur joined #salt
12:09 zerocoolback joined #salt
12:28 zerocoolback joined #salt
12:29 yuhl joined #salt
12:39 Oida joined #salt
12:47 XenophonF package functions on windows are sooooooooooooooo sloooooooooooooooooooooow
12:51 XenophonF and why is pkg.list_pkgs iterating over each SLS in the winrepo in the first place?
12:52 XenophonF oh - because it maps installed software to the winrepo package name
12:54 XenophonF so it has to cache (and probably render - will need to RTFS) each SLS in the winrepo locally
12:55 XenophonF that takes quite a long time
12:57 XenophonF I guess I'd expect that render-winrepo-SLSes-and-cache step to happen in salt.modules.pkg.refresh_db()
13:02 jesusaur joined #salt
13:09 Nahual joined #salt
13:18 darktemprary joined #salt
13:22 losh joined #salt
13:32 oida joined #salt
13:32 cliluw joined #salt
13:34 wongster80 joined #salt
13:35 darioleidi joined #salt
13:36 ahrs joined #salt
13:40 bvcelari joined #salt
13:43 gh34 joined #salt
13:50 GrisKo joined #salt
13:58 edrocks joined #salt
14:02 fxhp joined #salt
14:16 numkem joined #salt
14:16 edrocks joined #salt
14:33 zerocoolback joined #salt
14:37 edrocks joined #salt
14:45 jdipierro joined #salt
14:45 promorphus joined #salt
14:47 cgiroua joined #salt
14:51 jbkc85 joined #salt
14:51 jbkc85 Hi all, how would >tags='["master", "v1"]'< from the command line translate into a YAML state file?
14:52 saltslackbridge <gtmanfred> tags:
14:52 saltslackbridge <gtmanfred> - master
14:52 saltslackbridge <gtmanfred> - v1
14:52 jbkc85 ahhhh
14:52 jbkc85 thanks!
14:52 jbkc85 I dont know why I didn't try that to begin with
14:53 jbkc85 hrm...even w/ kwargs?
14:56 jbkc85 basically im trying to add a 'list' to a kwargs argument for a state
14:57 jbkc85 https://github.com/saltstack/salt/blob/85597e24fb6120db8d7533d17612dcc4d46b0b74/salt/modules/consul.py#L1504
14:58 saltslackbridge <james> So regarding my question about using pillar on the master
14:59 saltslackbridge <james> I just ended up using `{% import_yaml '/srv/pillar/foo.sls' as myconfig %}` instead
14:59 saltslackbridge <james> and altered my jinja variables
14:59 saltslackbridge <james> Seems to be fine
14:59 saltslackbridge <james> (For reactor files)
14:59 pualj joined #salt
15:03 mchlumsky joined #salt
15:04 Ricardo1000 joined #salt
15:05 jbmtatic joined #salt
15:05 saltslackbridge <gtmanfred> jbkc85 well that is an execution module, are you using a consul state, or are you using a module.run state?
15:06 saltslackbridge <gtmanfred> for kwargs, that module just takes all extra kwargs and puts them in the **kwargs, that is what the ** does in python
15:07 saltslackbridge <gtmanfred> https://stackoverflow.com/questions/36901/what-does-double-star-asterisk-and-star-asterisk-do-for-parameters
15:07 jbkc85 module.run in a state file I guess.  Still not really positive about lingo
15:07 saltslackbridge <gtmanfred> are you using the new module.run or the old module.run?
15:08 saltslackbridge <gtmanfred> if you have use_superseeded with module.run in it as is described here https://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html it is slightly different
15:09 saltslackbridge <gtmanfred> https://gist.github.com/gtmanfred/6091002b33aa5fcc4eec907348e45763
15:09 saltslackbridge <gtmanfred> File uploaded https://saltstackcommunity.slack.com/files/U7KH2HJ0K/F899E8RD0/gistfile1.txt / undefined
15:11 ouemt joined #salt
15:19 user-and-abuser joined #salt
15:26 numkem joined #salt
15:28 mavhq joined #salt
15:32 pualj_ joined #salt
15:33 jbkc85 im using the one that isn't showing up in your GIST
15:33 jbkc85 It looks very much like the eventsviewer example in the documentation page you sent
15:34 jbkc85 when I try to wrap the kwargs key 'service_tags' with another array, it says its 'okay', but fails to register
15:34 jbkc85 So im not sure how to accurately represent a LIST inside of a kwargs structure
15:35 jbkc85 Maybe I do, one second...
15:36 jbkc85 Got it
15:36 jbkc85 Someone had me set the kwargs with a '{' '}' surrounding it
15:36 jbkc85 Removing that and making it a proper dictionary in YAML fixed it all
15:37 jbkc85 So thank you for the links, helped me figure it out =)
15:43 pualj joined #salt
15:45 om2 joined #salt
15:50 ooboyle joined #salt
15:55 heaje joined #salt
15:58 Ricardo1000 joined #salt
15:59 alker joined #salt
16:00 Ricardo1000 joined #salt
16:00 alker joined #salt
16:09 pualj_ joined #salt
16:10 nomeed joined #salt
16:14 _JZ_ joined #salt
16:29 jbkc85_ joined #salt
16:39 edrocks joined #salt
16:43 csmule joined #salt
16:44 cyteen__ joined #salt
16:47 SkyRocknRoll joined #salt
16:47 edrocks joined #salt
16:54 beardedeagle joined #salt
16:56 tiwula joined #salt
16:57 kellyp joined #salt
17:05 scbunn joined #salt
17:05 mchlumsky joined #salt
17:09 swa_work joined #salt
17:11 promorphus joined #salt
17:15 SkyRocknRoll joined #salt
17:15 pipps joined #salt
17:16 aldevar1 left #salt
17:17 el_wood_le joined #salt
17:22 pipps joined #salt
17:22 jdipierro joined #salt
17:29 quantumsummers joined #salt
17:46 pipps99 joined #salt
17:53 onlyanegg joined #salt
17:54 tiwula joined #salt
17:57 Trauma_ joined #salt
17:58 Elsmorian joined #salt
17:58 indistylo joined #salt
18:05 hax404 how can i target the hosts foo006-foo021 ?
18:07 saltslackbridge <gtmanfred> you can try ‘foo0[06-21]’
18:07 saltslackbridge <gtmanfred> but you might need to use the pcre matcher so you can use regex
18:16 Trauma_ joined #salt
18:18 pipps joined #salt
18:34 user-and-abuser joined #salt
18:41 scbunn joined #salt
18:47 pipps99 joined #salt
18:57 cyteen__ joined #salt
19:01 pipps joined #salt
19:06 pipps joined #salt
19:07 aldevar joined #salt
19:10 wongster80 joined #salt
19:14 bvcelari joined #salt
19:24 pipps joined #salt
19:24 edrocks joined #salt
19:26 Hybrid1 joined #salt
19:30 alker1 joined #salt
19:35 promorphus joined #salt
19:41 pipps joined #salt
19:41 ymasson joined #salt
19:47 pipps joined #salt
19:50 7GHABFKL7 joined #salt
19:52 RandyT joined #salt
19:52 RandyT joined #salt
19:54 evle joined #salt
19:55 sjorge joined #salt
19:59 evle1 joined #salt
20:03 evle joined #salt
20:09 pipps99 joined #salt
20:10 inad922 joined #salt
20:13 nixjdm joined #salt
20:16 fracklen joined #salt
20:26 yuhl joined #salt
20:26 XenophonF so should i put effort into writing winrepo packages for things, or would i be better off diving into chocolatey?
20:26 XenophonF (and just use winrepo to bootstrap salt/chocolately)
20:27 XenophonF it doesn't look like people use winrepo for much, otherwise i'd expect to see package defs for things like office
20:27 pualj joined #salt
20:27 XenophonF but maybe I'm wrong?
20:30 bvcelari joined #salt
20:33 wongster80 joined #salt
20:35 major joined #salt
20:41 pipps joined #salt
20:44 magnus1 joined #salt
20:45 pipps99 joined #salt
20:47 pipps joined #salt
20:50 pipps99 joined #salt
20:52 pipps_ joined #salt
20:55 wongster80 joined #salt
20:58 user-and-abuser joined #salt
21:03 MTecknology XenophonF: I think you should focus on proxmox support in salt-cloud! :D
21:04 pipps joined #salt
21:08 pipps99 joined #salt
21:11 samodid joined #salt
21:14 csmule_ joined #salt
21:16 Federico87 joined #salt
21:20 kellyp joined #salt
21:25 XenophonF :D
21:43 alker joined #salt
21:54 onlyanegg joined #salt
22:21 Hybrid1 joined #salt
22:22 onlyanegg joined #salt
22:36 pipps joined #salt
22:36 pipps joined #salt
22:37 onlyanegg joined #salt
22:37 saltslackbridge <james> holy crap, https://www.youtube.com/watch?v=ni_hCxbgm6s&amp;list=PL9svBjLDUl_-8yJxp-nSlmM9KYEQH4fgj&amp;index=28
22:37 saltslackbridge <james> I need that mmc
22:37 saltslackbridge <james> for our engineers
22:38 Lenz joined #salt
22:43 murphyslaw joined #salt
22:53 onlyanegg joined #salt
23:00 tom[] joined #salt
23:01 aldevar left #salt
23:02 wwalker https://gist.github.com/2649cdbb2b9eb2f4bbf7c271fbfa148f    why is ceph:osd_journal_devs unset when I run sudo salt int-infra-02 pillar.get ceph:osd_journal_devs
23:11 saltslackbridge joined #salt
23:13 pipps joined #salt
23:18 onlyanegg joined #salt
23:23 dhwt joined #salt
23:32 pipps joined #salt
23:35 pipps99 joined #salt
23:41 pipps joined #salt
23:47 hemebond I had no idea you could include functions like that. Neat. Assuming it works, maybe you just need to do a saltutil.refresh_pillar
23:47 alker1 joined #salt
23:48 hemebond I also don't know if grains are access via a global variable like that; I've always used salt['grains.get'] or salt.grains.get
23:48 hemebond Maybe add an `else` to the end of the if clause to see if it's just not matching.
23:50 saltslackbridge <gtmanfred> there is a grains dictionary
23:50 flowstategames joined #salt
23:50 saltslackbridge <gtmanfred> but you don’t get the ability to be able to do a string of keys
23:50 saltslackbridge <gtmanfred> salt.grains.get(‘one:two:three’)
23:50 hemebond Why you hiding in Slack? How do I mention you in there?
23:51 saltslackbridge <gtmanfred> same as always
23:51 hemebond gtmanfred: Oh, nevermind.
23:51 hemebond (I'm surprised that works)
23:52 saltslackbridge <gtmanfred> well, i am logged into both places
23:52 hemebond Ah I see.
23:54 mikecmpbll joined #salt

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