Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-04-05

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

All times shown according to UTC.

Time Nick Message
00:04 KyleG cedwards: When is the world going to realize how badly they fucked up :( http://w3techs.com/technologies/details/os-freebsd/all/all
00:08 pentabular joined #salt
00:13 yomilk joined #salt
00:17 njs126 joined #salt
00:26 tyler-baker left #salt
00:30 pentabular left #salt
00:31 eligos joined #salt
00:31 masterkorp hello
00:32 eligos left #salt
00:32 masterkorp so, running a command like salt minionname state.sls nagios
00:33 masterkorp the command generates no output whatsoever
00:33 masterkorp but the minion is still runing the process
00:34 bhosmer joined #salt
00:36 fllr joined #salt
00:36 napper joined #salt
00:36 Katafalkas joined #salt
00:41 masterkorp oh thank holy denis ritchie for debug messages
00:42 masterkorp can you commecnt ymal code ?
00:49 ndrei joined #salt
00:58 possibilities joined #salt
00:58 Katafalkas joined #salt
01:04 Linz joined #salt
01:09 joehillen joined #salt
01:18 OwenW joined #salt
01:19 OwenW Is there any way to automatically push out changes to a .sls to a minion every time it's edited?
01:20 Katafalkas joined #salt
01:22 ckao joined #salt
01:25 napper joined #salt
01:25 pfallenop joined #salt
01:28 xzarth joined #salt
01:31 faldridge joined #salt
01:33 fllr joined #salt
01:37 bhosmer joined #salt
01:42 Katafalkas joined #salt
01:46 ilbot3 joined #salt
01:46 Topic for #salt is now Welcome to #salt | 2014.1.1 is the latest | 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:48 swa_work joined #salt
01:58 possibilities joined #salt
02:02 elfixit joined #salt
02:03 fllr joined #salt
02:04 Katafalkas joined #salt
02:09 untamo13 joined #salt
02:10 OwenW_ joined #salt
02:10 yomilk joined #salt
02:13 jcockhren OwenW: that's possible via the gitfs backend
02:14 jcockhren you push to your repo, the master checks (every 60 secs, I think)
02:15 jcockhren then sls files are updated as needed
02:23 obimod joined #salt
02:25 Katafalkas joined #salt
02:28 jalbretsen joined #salt
02:30 ipalreadytaken joined #salt
02:41 N-Mi joined #salt
02:45 Linz joined #salt
02:47 Katafalkas joined #salt
02:52 yomilk joined #salt
02:52 taion809 joined #salt
02:53 napper joined #salt
02:54 l0x3py joined #salt
02:58 possibilities joined #salt
03:01 vbabiy joined #salt
03:08 N-Mi joined #salt
03:09 yomilk joined #salt
03:09 Katafalkas joined #salt
03:10 joehoyle joined #salt
03:20 mgw joined #salt
03:25 ipalreadytaken joined #salt
03:28 pfallenop joined #salt
03:30 Luke_ joined #salt
03:30 N-Mi joined #salt
03:30 N-Mi joined #salt
03:31 Katafalkas joined #salt
03:36 djinni` joined #salt
03:47 gladiatr joined #salt
03:52 Katafalkas joined #salt
03:58 possibilities joined #salt
04:01 eykd joined #salt
04:04 whyzgeek joined #salt
04:11 joehoyle joined #salt
04:14 Katafalkas joined #salt
04:26 combusean joined #salt
04:28 DaveQB joined #salt
04:36 Katafalkas joined #salt
04:38 combusean has anyone here done any salt debugging, perhaps at the network level?
04:41 combusean salt-minion raises the SaltReqTimeoutError even when TCP connections are refused or they're able to be opened.
04:55 Ryan_Lane joined #salt
04:56 pydanny joined #salt
04:58 Katafalkas joined #salt
04:58 possibilities joined #salt
05:14 joehoyle joined #salt
05:18 quickdry21 joined #salt
05:19 Katafalkas joined #salt
05:20 jab416171 joined #salt
05:41 Katafalkas joined #salt
05:42 Linz joined #salt
05:45 fllr joined #salt
05:47 fllr joined #salt
05:57 pydanny joined #salt
05:58 anuvrat joined #salt
06:03 Katafalkas joined #salt
06:05 fllr joined #salt
06:16 jonm joined #salt
06:17 njs126 joined #salt
06:36 Linz joined #salt
06:58 pydanny joined #salt
06:59 bhosmer joined #salt
07:05 fllr joined #salt
07:07 fllr joined #salt
07:09 _fllr_ joined #salt
07:18 joehoyle joined #salt
07:19 yomilk joined #salt
07:28 gildegoma joined #salt
07:30 Linz joined #salt
07:47 harobed_ joined #salt
07:52 anuvrat joined #salt
07:55 rombik joined #salt
08:02 abarakat joined #salt
08:06 fllr joined #salt
08:07 pydanny joined #salt
08:11 medsex joined #salt
08:16 yomilk joined #salt
08:24 Linz joined #salt
08:40 ggoZ joined #salt
08:49 joehoyle joined #salt
08:54 harobed joined #salt
08:55 harobed joined #salt
08:56 harobed joined #salt
09:03 srijan4 joined #salt
09:06 fllr joined #salt
09:11 andabata- joined #salt
09:12 joehoyle joined #salt
09:19 Linz joined #salt
09:31 viod1 joined #salt
09:32 viod2 joined #salt
09:33 ggoZ1 joined #salt
09:34 vbabiy joined #salt
09:42 joehoyle joined #salt
09:45 ndrei joined #salt
09:56 viod1 joined #salt
09:58 ndrei joined #salt
10:06 fllr joined #salt
10:08 ndrei joined #salt
10:09 harobed_ joined #salt
10:13 Linz joined #salt
10:22 bhosmer joined #salt
10:39 CeBe joined #salt
10:44 DaveQB joined #salt
11:06 fllr joined #salt
11:07 Linz joined #salt
11:21 taion809 joined #salt
11:33 harobed joined #salt
11:50 harobed_ joined #salt
11:54 ilbot3 joined #salt
11:54 Topic for #salt is now Welcome to #salt | 2014.1.1 is the latest | 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/
12:01 Linz joined #salt
12:04 harobed joined #salt
12:06 joehoyle joined #salt
12:06 fllr joined #salt
12:08 joehoyle_ joined #salt
12:11 elfixit joined #salt
12:18 ndrei joined #salt
12:35 ilbot3 joined #salt
12:35 Topic for #salt is now Welcome to #salt | 2014.1.1 is the latest | 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/
12:35 jeremyBass joined #salt
12:37 harobed joined #salt
12:37 jeremyBass left #salt
12:41 rotschopf joined #salt
12:45 harobed joined #salt
12:53 bhosmer joined #salt
12:55 bhosmer joined #salt
12:55 Linz joined #salt
12:55 abe_music joined #salt
13:15 harobed joined #salt
13:27 harobed joined #salt
13:28 harobed joined #salt
13:32 napper joined #salt
13:34 jslatts joined #salt
13:34 harobed joined #salt
13:39 mgw joined #salt
13:45 faldridge joined #salt
13:49 Linz joined #salt
14:15 ndrei joined #salt
14:28 joehoyle joined #salt
14:43 Linz joined #salt
14:49 mgw joined #salt
15:09 pydanny joined #salt
15:23 faldridge joined #salt
15:29 bhosmer joined #salt
15:37 sroegner_ joined #salt
15:37 Linz joined #salt
15:46 ravibhure joined #salt
15:52 timoguin joined #salt
16:08 ipalreadytaken joined #salt
16:16 Linz joined #salt
16:17 thedodd joined #salt
16:19 possibilities joined #salt
16:19 yomilk joined #salt
16:32 johtso joined #salt
16:35 naiyte joined #salt
16:37 faldridge joined #salt
16:38 faldridge joined #salt
16:39 faldridge joined #salt
16:56 johtso joined #salt
16:57 johtso joined #salt
17:05 druonysus joined #salt
17:10 Linz joined #salt
17:19 Linz joined #salt
17:31 pydanny joined #salt
17:43 Linz joined #salt
17:47 faldridge joined #salt
17:52 fllr joined #salt
17:59 swa_work joined #salt
17:59 xxxxlam joined #salt
18:01 pydanny joined #salt
18:09 faldridge joined #salt
18:09 joehoyle joined #salt
18:21 ndrei joined #salt
18:27 mgw joined #salt
18:34 ndbroadbent joined #salt
18:37 Linz joined #salt
18:37 thedodd joined #salt
18:39 ndbroadbent hi all, I've been working on our iptables rules with saltstack, but not sure what is the best way to write them. We previously had a giant iptables.conf with lots of conditionals, but I'm thinking about changing that to use 'file.accumulator'. The iptables state seems promising, but it doesn't look like it can save the final rules to disk.
18:40 ndbroadbent I was thinking to maybe use the reactor system as a workaround, maybe firing an event after highstate which tells the master to run "iptables.save" on the minion
18:40 Katafalkas joined #salt
18:40 ndbroadbent but that's a bit convoluted. Or should I stick with "file.accumulator" for now, and wait for the new 'firewall' state that is mentioned in the docs?
18:42 ndbroadbent * i mean "file.accumulated"
18:45 mgw joined #salt
18:55 ndbroadbent reading through the IRC chat logs (http://irclog.perlgeek.de/salt/search/?nick=&q=iptables), I'm seeing that there doesn't seem to be a clear consensus around iptables best practices
18:58 ndbroadbent but not a big of the dynamic iptables state, where iptables is modified on the fly. I think i'll just go the file.accumulated route
18:59 ndrei joined #salt
19:06 travisfischer joined #salt
19:11 Daviey joined #salt
19:13 kiorky ndbroadbent: you can also use a proper frontend .. like shorewall/
19:20 ndbroadbent interesting, thanks
19:20 ndbroadbent but that doesn't look like it helps with managing firewall rules on lots of servers
19:21 ndbroadbent and automatically opening 3306 for the mysql machine, etc.
19:24 ndbroadbent unrelated feature request - would it be a good idea if templates could be inferred from the file extension in the source? e.g. - source:  salt://.../file.jinja   would set the default 'template' to jinja
19:30 jeh joined #salt
19:31 Linz joined #salt
19:37 mway joined #salt
19:39 mway Is it possible to use YAML anchors to reuse topfile blocks (e.g. if I have a lengthy base env that I want to include but partially overwrite in another env)?  The parser doesn't complain, but if I use them, it seems like no states run (though it does match minions)... is there a more idiomatic approach?
19:44 druonysus joined #salt
19:45 faldridge joined #salt
19:47 gladiatr joined #salt
19:51 gildegoma joined #salt
19:55 oraqol joined #salt
19:55 oraqol left #salt
20:25 Linz joined #salt
20:29 pydanny joined #salt
20:34 srage joined #salt
20:41 eykd joined #salt
20:48 ndbroadbent mway: you might be looking for 'extend' - http://docs.saltstack.com/en/latest/ref/states/extend.html
20:54 bhosmer joined #salt
20:54 ndbroadbent I guess it's not a good idea to use file.accumulated across many different states, because then you can't run that individual state by itself -- you have to run state.highstate for all the accumulators to be loaded
20:54 ndbroadbent is there a way around that?
20:55 ndbroadbent for example, i have "{%- for tcp_port in accumulator.get('tcp_ports', []) %}" in my iptables template, and i wanted to have the SSH state include iptables, and then register the port that it uses
20:56 ndbroadbent but now I can't run salt-call state.sls iptables, since the accumulator is empty
20:58 ndbroadbent or is it bad practice to call states separately? and I should be always using "salt-call state.highstate"
21:02 druonysus joined #salt
21:03 harobed_ joined #salt
21:08 rjc joined #salt
21:19 Linz joined #salt
21:21 gladiatr joined #salt
21:24 anuvrat joined #salt
21:33 johtso joined #salt
21:34 srage_ joined #salt
21:38 AdamSewell joined #salt
21:39 srage joined #salt
21:46 pydanny joined #salt
21:52 Ryan_Lane joined #salt
22:00 Ryan_Lane joined #salt
22:04 harobed joined #salt
22:04 harobed joined #salt
22:06 Xe joined #salt
22:10 ndbroadbent joined #salt
22:10 wkf joined #salt
22:13 Linz joined #salt
22:30 fllr joined #salt
22:37 yomilk joined #salt
22:42 diegows joined #salt
23:01 ipalreadytaken joined #salt
23:08 Linz joined #salt
23:20 faldridge joined #salt
23:25 mway joined #salt
23:26 druonysus joined #salt
23:26 druonysus joined #salt
23:36 srage_ joined #salt
23:36 ndrei joined #salt
23:36 Ryan_Lane joined #salt
23:37 AdamSewell joined #salt
23:42 garthk joined #salt
23:54 garthk joined #salt

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