Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-10-18

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

All times shown according to UTC.

Time Nick Message
00:03 zwi joined #salt
00:10 traph joined #salt
00:13 otter768 joined #salt
00:18 dayid_ joined #salt
00:44 zmalone joined #salt
00:46 aqua^c joined #salt
00:49 kinetic joined #salt
00:54 ajw0100 joined #salt
00:57 nidr0x joined #salt
01:16 pratikmallya joined #salt
01:24 freelock joined #salt
01:37 catpiggest joined #salt
01:38 kitplummer joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt | 2015.8.0 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
01:51 TyrfingMjolnir joined #salt
01:54 kinetic joined #salt
01:55 favadi joined #salt
01:56 travisdno joined #salt
02:04 favadi joined #salt
02:04 cberndt joined #salt
02:14 rbjorklin joined #salt
02:26 favadi joined #salt
02:26 rbjorklin joined #salt
02:32 boargod joined #salt
02:35 hasues joined #salt
02:36 hasues left #salt
02:37 freelock joined #salt
02:43 kinetic joined #salt
02:54 Aikar left #salt
02:57 Aikar joined #salt
03:04 iggy joined #salt
03:07 larsfronius joined #salt
03:07 calebj joined #salt
03:08 emid joined #salt
03:08 robawt joined #salt
03:31 favadi joined #salt
03:40 Bryson joined #salt
03:41 zmalone joined #salt
03:45 kinetic joined #salt
04:16 clintberry joined #salt
04:41 kitplummer joined #salt
04:47 armguy joined #salt
04:49 kinetic joined #salt
05:12 ilbot3 joined #salt
05:12 Topic for #salt is now Welcome to #salt | 2015.8.0 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
05:12 NachoDuck joined #salt
05:12 abele joined #salt
05:13 gazarsgo joined #salt
05:14 akoumjian joined #salt
05:14 imanc joined #salt
05:18 Garo_ joined #salt
05:19 tgrv joined #salt
05:39 chiui joined #salt
05:39 virusuy joined #salt
05:46 NV joined #salt
05:51 hrumph joined #salt
05:51 hrumph hi
05:52 hrumph for some reason salt doesn't like it when i give the salt minion a number for the id. is tehre some reason for that?
05:55 kinetic joined #salt
05:55 hrumph ok it seems that its only in windows and it may only be when the numbers start with leading 0's
05:55 Bryson joined #salt
05:55 hrumph not seeing any trouble at all in linux
05:57 hajhatten joined #salt
06:09 cberndt joined #salt
06:10 freelock joined #salt
06:18 rjc joined #salt
06:27 slav0nic joined #salt
06:30 rjc left #salt
06:31 stephanbuys joined #salt
06:35 silver310 joined #salt
06:36 silver310 Hello, can someone tell if how can i change saltstack's default repository? i want to use our own repo hosted localy
06:37 Riz joined #salt
06:39 chiui joined #salt
06:40 aparsons joined #salt
06:46 nkuttler silver310: repository?
06:49 Nazca joined #salt
06:52 Aikar left #salt
06:58 Aikar joined #salt
06:59 kinetic joined #salt
07:03 malinoff joined #salt
07:15 silver310 joined #salt
07:19 nexsja morning guys
07:22 kinetic joined #salt
07:26 CeBe joined #salt
07:26 Aikar left #salt
07:28 linjan joined #salt
07:34 kinetic joined #salt
07:37 kitplummer joined #salt
07:40 kinetic_ joined #salt
07:41 Fiber^ joined #salt
07:53 nidr0x joined #salt
07:57 mohae_ joined #salt
08:03 epcim joined #salt
08:09 larsfronius joined #salt
08:17 ignasr joined #salt
08:24 silver310 joined #salt
08:24 silver310 I have a problem with windows repo
08:27 silver310 I'm trying to use a locally hosted repository, I have created a directory in /srv/salt/win/repo for 7zip, in the directory are the .msi installers and the .sls file, when i run winrepo.genrepo it completes with no problems, but when i run salt '*' pkg.refresh_db it doesn't list 7zip, and if i try to install it using pkg.install '7zip' it return "unable to locate package"
08:41 al joined #salt
08:48 kukacz joined #salt
08:49 glyf joined #salt
08:58 traph joined #salt
08:59 Aikar joined #salt
09:01 losh joined #salt
09:13 markm joined #salt
09:14 evle1 joined #salt
09:39 kitplummer joined #salt
09:41 freelock joined #salt
09:44 epcim joined #salt
09:48 lionel joined #salt
09:53 tgrv left #salt
09:54 sgargan joined #salt
10:00 freelock joined #salt
10:06 glyf joined #salt
10:10 otter768 joined #salt
10:11 tongpu joined #salt
10:16 hax404 joined #salt
10:17 markm_ joined #salt
10:25 felskrone joined #salt
10:32 ziro` joined #salt
10:41 aqua^c joined #salt
10:41 freelock joined #salt
10:41 kitplummer joined #salt
10:43 mehakkahlon joined #salt
10:52 stephanbuys joined #salt
11:05 slav0nic joined #salt
11:16 adongy joined #salt
11:34 MadHatter42 joined #salt
11:38 freelock joined #salt
11:53 mehakkahlon joined #salt
12:00 glyf joined #salt
12:07 subsignal joined #salt
12:09 deus_ex joined #salt
12:11 larsfronius joined #salt
12:14 GOD_ joined #salt
12:14 deus_ex1 joined #salt
12:21 GOD_ I have installed salt minion in multiple machine including home desktops which are working on broadband connection. All the salt minion key are getting registered. On running test.ping few machines are responding and few are not.Configuration are exactly same . What could be the reason?
12:35 ingwaem joined #salt
12:43 kitplummer joined #salt
12:47 fsteinel joined #salt
13:08 cyborg-one joined #salt
13:10 bluenemo joined #salt
13:22 traph joined #salt
13:22 traph joined #salt
13:23 wtf joined #salt
13:24 wtf hey
13:41 synical joined #salt
13:42 Corey joined #salt
14:02 pratikmallya joined #salt
14:02 glyf joined #salt
14:14 tobbez joined #salt
14:22 geekatcmu joined #salt
14:27 epcim joined #salt
14:30 mattiasr joined #salt
14:31 mattiasr joined #salt
14:36 mr-op5 joined #salt
14:37 god_ joined #salt
14:39 MadsRC joined #salt
14:45 kitplummer joined #salt
14:47 kermit joined #salt
14:53 epcim joined #salt
14:54 ambientsound left #salt
14:55 pfalleno1 joined #salt
14:59 favadi joined #salt
15:03 symphorien joined #salt
15:08 tobbez What's the best practices for doing something like this? http://dpaste.com/26B4PAJ
15:09 favadi joined #salt
15:10 tobbez It's already ~50 lines, and that's just for one host/port combination, of which I have about 50 (that would mean 2500 lines of config, which is not sensible).
15:10 babilen https://github.com/saltstack-formulas/iptables-formula/ maybe ?
15:10 tobbez Should I look into using jinja templates (loops) and pillars, or is there a preferred way?
15:11 babilen But then you could also write a formula around ferm, ufw and somesuch. I would *definitely* generate the states from data in your pillar, but I'm not sure if the iptables formula is the best way to go (it might very well be though)
15:14 tobbez I saw that formula, but from what I can tell it seems to be too high level for what I'm doing.
15:16 tobbez I guess I'll do something myself using pillars and templates. Thanks.
15:21 viq joined #salt
15:28 jtang joined #salt
15:35 pratikmallya joined #salt
15:36 kukacz joined #salt
15:37 malinoff joined #salt
15:48 bfoxwell joined #salt
16:02 qman__ joined #salt
16:05 kitplummer joined #salt
16:05 ziro` joined #salt
16:10 Fiber^ joined #salt
16:11 johnkeates joined #salt
16:19 pratikma_ joined #salt
16:40 rbjorklin joined #salt
16:40 slav0nic joined #salt
16:49 nidr0x joined #salt
17:00 jmreicha joined #salt
17:01 linjan joined #salt
17:07 jvv joined #salt
17:09 kitplummer joined #salt
17:26 tzero joined #salt
17:30 markm joined #salt
17:36 lionel joined #salt
17:37 Lionel_Debroux joined #salt
17:37 malinoff joined #salt
17:40 subsignal joined #salt
17:43 rojem joined #salt
17:49 anotherZero joined #salt
17:49 felskrone joined #salt
17:53 bfoxwell joined #salt
17:55 bfoxwell joined #salt
18:00 morsik Hi, it's possible to load yaml file to python rendederer somehow?
18:01 morsik I want to use defaults.yaml file in state written in python
18:11 cliluw joined #salt
18:14 falenn joined #salt
18:14 sunkist joined #salt
18:14 tzero joined #salt
18:16 saffe joined #salt
18:19 pratikmallya joined #salt
18:22 keimlink joined #salt
18:28 Corey joined #salt
18:32 pratikmallya joined #salt
18:43 ajw0100 joined #salt
18:44 clintberry joined #salt
18:45 felskrone joined #salt
18:49 morsik lol… I am bad guy :D  https://dpaste.de/9O1V
18:50 babilen morsik: That looks quite alright. Is the cache_file call necessary?
18:51 babilen https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cp.html#salt.modules.cp.get_file_str ?
18:51 morsik babilen: at line 5 i'm just reading system file. Without enforcing cache_file I got not updated file
18:51 babilen aye
18:51 morsik hmm… so I can just read that file from salt using get_file_str…? hmm… let's try
18:52 babilen Feed that to yaml.load() and you should be fine
18:52 tzero joined #salt
18:52 babilen should™ that is
18:52 morsik [INFO    ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://icinga/definitions.yaml'
18:52 morsik babilen: yeah! looks like it does exactly the same I wrote
18:52 morsik thanks…
18:53 morsik now it's nicer a lot
18:53 babilen With the added bonus that you don't have to open the file yourself and the whole __file__ magid can go too
18:57 felskrone joined #salt
18:58 sunkist joined #salt
19:01 linjan joined #salt
19:08 trph joined #salt
19:10 tzero joined #salt
19:12 cberndt joined #salt
19:17 falenn joined #salt
19:25 tzero joined #salt
19:29 opensource_ninja joined #salt
19:37 tzero joined #salt
19:45 aqua^c joined #salt
19:46 pratikmallya joined #salt
20:00 kitplummer joined #salt
20:07 FreeSpencer say I have a pillar that has a ton of information in it, can I specify what depth to send? Say I want to only send base:mysql how would I do that?
20:08 mehakkahlon joined #salt
20:10 morsik FreeSpencer: send… where?
20:10 FreeSpencer In my pillar top
20:10 morsik FreeSpencer: you should limit your pillar in top.sls
20:10 FreeSpencer to the minion
20:11 morsik if you want that, you need .sls files to be more separated, and assign only those files to hosts
20:13 mehakkahlon joined #salt
20:13 FreeSpencer Aw crap that is what I was hoping wasnt the answer
20:13 lionel joined #salt
20:13 aidalgol joined #salt
20:18 mehakkahlon joined #salt
20:23 furrowedbrow joined #salt
20:23 mehakkahlon joined #salt
20:23 penguinp1wernz joined #salt
20:24 freelock joined #salt
20:24 clintberry joined #salt
20:28 mehakkahlon joined #salt
20:29 felskrone joined #salt
20:29 ajw0100 joined #salt
20:33 mehakkahlon joined #salt
20:36 pratikmallya joined #salt
20:38 mehakkahlon joined #salt
20:43 mehakkahlon joined #salt
20:45 FreeSpencer How would I do something like this {{ salt['pillar.get']('servers:{{grains.id}}:domain') }}
20:46 FreeSpencer That doesnt work :(
20:47 symphorien try {{ pillar['servers:'+grains.id+':domain'] }}
20:48 mehakkahlon joined #salt
20:48 symphorien but you could nest dictionnaries in your pillar so that you get : pillar['servers'][grains['id']]['domain']
20:50 FreeSpencer You are a genius thanks symphorien
20:50 morsik or even:  pillar.servers[grains.id].domain
20:50 morsik :P
20:51 Bryson joined #salt
20:53 mehakkahlon joined #salt
20:57 N-Mi_ joined #salt
20:58 mehakkahlon joined #salt
21:03 mehakkahlon joined #salt
21:03 sunkist joined #salt
21:08 mehakkahlon joined #salt
21:13 mehakkahlon joined #salt
21:15 grumm_servire joined #salt
21:18 mehakkahlon joined #salt
21:21 catpig joined #salt
21:21 Norios joined #salt
21:21 clintberry joined #salt
21:23 mehakkah_ joined #salt
21:24 dh__ joined #salt
21:25 scoates joined #salt
21:26 dh joined #salt
21:28 mehakkahlon joined #salt
21:29 dreamcat4 left #salt
21:31 dh joined #salt
21:32 Norios left #salt
21:33 mehakkahlon joined #salt
21:36 dh joined #salt
21:38 ziro` joined #salt
21:38 mehakkahlon joined #salt
21:39 JDiPierro joined #salt
21:40 trph joined #salt
21:43 mehakkahlon joined #salt
21:48 mehakkahlon joined #salt
21:53 mehakkahlon joined #salt
21:55 jeddi joined #salt
21:58 serverascode joined #salt
21:58 mehakkahlon joined #salt
22:03 kitplummer joined #salt
22:03 mehakkahlon joined #salt
22:06 markm joined #salt
22:06 viq joined #salt
22:08 mehakkahlon joined #salt
22:13 mehakkahlon joined #salt
22:15 hasues joined #salt
22:15 hasues left #salt
22:15 cberndt joined #salt
22:16 [vaelen] joined #salt
22:18 mehakkahlon joined #salt
22:23 mehakkahlon joined #salt
22:26 aparsons joined #salt
22:28 mehakkahlon joined #salt
22:28 moogyver joined #salt
22:33 mehakkahlon joined #salt
22:35 Grokzen joined #salt
22:38 mehakkahlon joined #salt
22:38 sgargan joined #salt
22:41 clintberry joined #salt
22:43 TyrfingMjolnir joined #salt
22:43 falenn joined #salt
22:43 mehakkahlon joined #salt
22:48 mehakkahlon joined #salt
22:49 ziro` joined #salt
22:51 jondonas joined #salt
22:53 mehakkahlon joined #salt
22:54 jtang joined #salt
22:58 mehakkahlon joined #salt
22:58 aparsons joined #salt
23:02 sgargan joined #salt
23:03 mehakkahlon joined #salt
23:08 mehakkahlon joined #salt
23:12 hasues joined #salt
23:12 hasues left #salt
23:13 mehakkahlon joined #salt
23:18 mehakkahlon joined #salt
23:18 aqua^c joined #salt
23:18 ekristen joined #salt
23:21 Milijus joined #salt
23:22 TyrfingMjolnir joined #salt
23:23 mehakkahlon joined #salt
23:28 mehakkahlon joined #salt
23:33 mehakkahlon joined #salt
23:33 mohae joined #salt
23:34 clintberry joined #salt
23:35 rojem joined #salt
23:38 mehakkahlon joined #salt
23:43 mehakkahlon joined #salt
23:48 mehakkahlon joined #salt
23:53 johtso joined #salt
23:53 mehakkahlon joined #salt
23:55 aqua^c joined #salt
23:55 trapha joined #salt
23:58 mehakkahlon joined #salt

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