Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-11-12

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

All times shown according to UTC.

Time Nick Message
00:05 gswallow joined #salt
00:06 nku joined #salt
00:07 johnj joined #salt
00:16 inetpro joined #salt
00:27 ThomasJ joined #salt
00:37 GMAzrael joined #salt
00:41 jasonrm joined #salt
00:49 Edgan viq: I agree on the home scale. On the work scale, you can hit it pretty quickly.
00:49 Edgan viq: At the home scale, I would argument you don't even really need something like salt.
01:01 Edgan viq: You thoughts on simplicity also seem to be the thing leading to why Salt seems to be in last place, and Ansible seems to be winning.
01:08 johnj joined #salt
01:09 GMAzrael joined #salt
01:12 KevinAn2757 joined #salt
01:13 hoonetorg joined #salt
01:18 gswallow joined #salt
01:30 overyander joined #salt
01:31 MTecknology Edgan: you need a hug?
01:42 Edgan MTecknology: no, but you seemed like you needed a cup of coffee earlier.
01:43 MTecknology It might be time to drop the butt-hurt game, ya?
01:43 MTecknology time to move on?
01:45 Edgan MTecknology: I would ask the same of you.
02:10 johnj joined #salt
02:19 jeffspeff joined #salt
02:34 XenophonF bum-ba-dum-dum i'm a stuffed animal tree
02:35 XenophonF so making progress on getting salt+certbot working better together
02:35 XenophonF took me a while but i re-homed my domains with a DNS host supported by certbot
02:36 XenophonF so next step is to wire the certbot deploy hook to a reactor that will disburse keymat
02:36 XenophonF which i haven't quite figured out yet
02:39 XenophonF right now I'm thinking I'll just send an event with nil data that signals a deployment should happen
02:40 XenophonF dunno if there's an easy way to hook things to the reactor or if i have to wire that manually (i.e., coding which states run on which minions to perform the deployment)
02:40 MTecknology XenophonF: If you've never played with it, I'd recommend checking out acmetool.
02:41 GMAzrael joined #salt
02:41 colegatron joined #salt
02:41 Edgan XenophonF: what mechanism is certbot using to verify in your case?
02:54 XenophonF MTecknology: I'll take a look at it once I get version 1 of this scheme deployed.  For now I'm sticking with letsencrypt-formula and friends.
02:54 XenophonF Edgan: dns-01
02:54 Edgan XenophonF: coding which states on which minion sounds like orchestration
02:54 XenophonF exactly
02:54 Edgan XenophonF: So are you using these only for internal things, or you having to swap out the dns?
02:54 XenophonF I was going to have the reactor call the orchestrate runner, which would have the state/target list
02:54 XenophonF not sure I understand your question, Edgan
02:54 XenophonF For this exercise, I have two domains, irtnog.org (public) and irtnog.net (AD DS).
02:54 Edgan XenophonF: I looked up dns-01. I understand now.
02:54 MTecknology XenophonF: Whenever you decide to play with it, lemme know. I ended up finding it a lot easier to work with and built some states for it.
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:56 laertus joined #salt
02:57 Edgan XenophonF: same here
02:58 XenophonF cool thanks - will bookmark and come back to it
03:10 shoogz joined #salt
03:11 johnj joined #salt
03:11 shoogz joined #salt
03:18 zerocoolback joined #salt
03:21 ahrs joined #salt
03:43 zerocoolback joined #salt
03:46 GMAzrael joined #salt
03:47 zerocoolback joined #salt
03:58 Manor joined #salt
04:03 jeddi joined #salt
04:12 johnj joined #salt
04:12 dhwt joined #salt
04:17 sp0097 joined #salt
04:39 Guest73 joined #salt
04:48 GMAzrael joined #salt
04:49 chesty joined #salt
04:53 chesty hi, saltstack 2017.7.2, I have in an sls spideroak:\n  grains.present:\n    -value: True   I thought the docs said if the grain was absent it would get set to True, otherwise it would be left alone.
04:55 chesty if I run "salt something grains.setval spideroak False", it changes to False, and then run "salt something state.apply", it changes to True, and I'm puzzled
04:56 chesty then I thought ah huh, maybe False and absent looks the same, so I ran "salt something grains.setval spideroak disabled" but state.apply still sets it to True
04:57 MTecknology chesty: The state defines the desired state. When you run a state, the state should be set to whatever is defined by the state.
04:57 MTecknology (you tell it to set X, it sets X)
04:58 chesty ok, what does this is the docs mean "If force is True, the existing grain will be overwritten regardless of its existing or provided value type. Defaults to False"
04:58 chesty https://docs.saltstack.com/en/latest/ref/states/all/salt.states.grains.html#salt.states.grains.present
05:01 MTecknology I'd have to look at the source, but I suspect it has to do with grains coming from other sources
05:02 iggy my guess is it's more about the type
05:02 iggy i.e. if the current type is list/dict, it won't touch it unless you force it
05:02 chesty oh, it does say "value type"
05:03 MTecknology ah, makes more sense, ya
05:04 chesty tricky. ok, I think I can do what I want with template if statement, cheers
05:05 MTecknology I usually suggest not manually managing grains or pillar stuff on the minion and prefer the master decide what's up. Writing your own _grains/foo.py module is trivial, easier to maintain, and easier to predict.
05:06 MTecknology You just need to create a _grains/ dir in your states root, define a public function, and return a dict. -> https://github.com/MTecknology/saltstack-demo/blob/master/states/_grains/public_ip.py
05:11 chesty MTecknology, cheers, I still need to read in depth  best practised and refactor, I'll get around to it and keep your suggestion in mind. ie I need to support laptops better, I think your demo will help with that
05:12 MTecknology I use a separate salt master with entirely different states for endpoints. Mixing the two scares me.
05:13 johnj joined #salt
05:37 Guest73 joined #salt
05:43 GMAzrael joined #salt
05:55 aldevar joined #salt
06:04 Manor joined #salt
06:12 NightMonkey joined #salt
06:12 dxiri_ joined #salt
06:14 johnj joined #salt
06:20 TheRock joined #salt
06:20 TheRock left #salt
06:30 maestropandy joined #salt
06:30 maestropandy left #salt
06:47 GMAzrael joined #salt
06:52 colegatron joined #salt
07:14 johnj joined #salt
07:32 onlyanegg joined #salt
07:42 GMAzrael joined #salt
07:44 rgrundstrom joined #salt
07:44 rgrundstrom Good morning
07:45 pualj joined #salt
08:04 coredumb morning
08:08 rgrundstrom o/ coredumb How are you?
08:08 * viq waves
08:10 Lionel_Debroux joined #salt
08:16 johnj joined #salt
08:23 Guest73 joined #salt
08:43 GMAzrael joined #salt
09:03 onlyanegg joined #salt
09:17 Antiarc joined #salt
09:17 johnj joined #salt
09:40 GMAzrael joined #salt
09:46 mavhq joined #salt
09:58 Akkarin joined #salt
10:00 kjsaihs joined #salt
10:14 PotatOS joined #salt
10:16 mavhq joined #salt
10:18 johnj joined #salt
10:35 Hybrid joined #salt
10:36 Akkarin joined #salt
10:36 mikecmpbll joined #salt
10:37 lkolstad joined #salt
10:47 Hybrid joined #salt
10:48 GMAzrael joined #salt
10:51 shred joined #salt
11:08 pualj joined #salt
11:12 Hybrid joined #salt
11:15 shred joined #salt
11:15 shred left #salt
11:16 mavhq joined #salt
11:19 johnj joined #salt
11:33 jeddi joined #salt
11:44 GMAzrael joined #salt
12:01 Praematura joined #salt
12:04 onlyanegg joined #salt
12:20 johnj joined #salt
12:39 dhwt joined #salt
12:42 GMAzrael joined #salt
12:43 ChubYann joined #salt
13:13 Praematura joined #salt
13:16 bowhunter joined #salt
13:19 LostSoul joined #salt
13:19 evle2 joined #salt
13:21 johnj joined #salt
13:33 DarkKnightCZ joined #salt
13:45 evle2 joined #salt
13:50 GMAzrael joined #salt
13:56 XenophonF doing my laptop rebuild on hardmode - only using Salt
14:00 nkuttler sounds like easy mode
14:03 XenophonF the laptop's running Windows
14:03 XenophonF and I need to install Office :)
14:04 poige I tried using salt.modules.cp.push_dir
14:05 poige realized it follow symlinks and proceed outside the given hierarchy. I can't call it any sane
14:05 onlyanegg joined #salt
14:06 poige Of course there're no knobs to tell it not doing this. But anyways defaults are "surprising"
14:09 poige I know there're ansible, puppe and chef except Salt. More or less I'm familiar with ansible. What about chef/puppet? Were any of them designed, not made chaotically?
14:21 XenophonF ???
14:22 johnj joined #salt
14:27 Praematura joined #salt
14:27 XenophonF what are you using cp.push_dir for?
14:43 GMAzrael joined #salt
14:45 poige what is it made for?
14:45 poige ???
15:04 snc joined #salt
15:06 onlyanegg joined #salt
15:24 johnj joined #salt
15:26 gswallow joined #salt
15:34 gswallow joined #salt
15:37 Praematura joined #salt
15:44 GMAzrael joined #salt
16:02 gswallow joined #salt
16:03 sp0097 joined #salt
16:04 dxiri joined #salt
16:13 XenophonF it's made to copy stuff from the minion to the master
16:14 XenophonF i mean, if you want additional knobs to turn, the source code is right here - https://github.com/saltstack/salt/blob/develop/salt/modules/cp.py
16:14 XenophonF saltstack's been pretty good about accepting my PRs
16:15 XenophonF which reminds me, i need to submit my patches to salt.modules.selinux
16:15 XenophonF and start work on the boto_* docfixes
16:16 XenophonF ansible, puppet, chef, salt - they're all designed
16:16 poige LOL
16:16 poige PHP I guess was also designed
16:17 XenophonF yes, absolutely
16:17 XenophonF and the designs evolved
16:17 poige no more questions. We're all set
16:17 XenophonF in PHP's case, that evolution has been over the course of 20+ years
16:17 poige If someone says PHP was designed he knows nothing about what designing is
16:17 poige nor PHP is probably
16:17 * XenophonF shrugs
16:17 mavhq joined #salt
16:18 poige xactly
16:18 XenophonF #salt-offtopic is that away ->
16:19 poige the thing is some things are poorly designed; meanwhile some — are of somewhat better design
16:19 XenophonF in other news users-formula once again reads my mind, putting me another step closer to my goal of Salt-distributed Let's Encrypt keys
16:19 poige I'd prefer using CMS that had put time into design before rushing into implementation
16:20 poige Cause otherwise efforts it would take from all its users are enormous
16:22 poige BTW, from what I've heard, ansible is something that have had been this through; several attempts; re-write from scratch
16:25 johnj joined #salt
16:26 dhwt joined #salt
16:26 Drunk_admin joined #salt
16:28 XenophonF AWS credentials deployed - now to push the certbot-dns-route53 configs and issue a test CSR
16:29 XenophonF The docs don't say but this hinges on whether I can use absolute paths with import_text
16:29 XenophonF Hm time to RTFS
16:29 bowhunter joined #salt
16:30 XenophonF oh crap there's a wordpress state module!!!
16:33 dxiri joined #salt
16:36 gswallow joined #salt
16:37 dxiri joined #salt
16:38 tiwula joined #salt
16:41 DarkKnightCZ joined #salt
16:43 GMAzrael joined #salt
16:46 XenophonF well a quick scan of salt/utils/jinja.py doesn't seem to say I *can't* use absolute paths in imports...
16:46 * XenophonF crosses his figners
16:49 XenophonF well that was just about the dumbest Jinja syntax error ever
17:00 gswallow joined #salt
17:00 bowhunter joined #salt
17:02 RandyT joined #salt
17:02 RandyT joined #salt
17:06 onlyanegg joined #salt
17:26 johnj_ joined #salt
17:31 gswallow joined #salt
17:44 zerocoolback joined #salt
17:48 aerbax joined #salt
17:49 GMAzrael joined #salt
17:51 samodid joined #salt
17:53 pipps joined #salt
17:55 pipps joined #salt
18:00 Praematura joined #salt
18:02 orgaizer joined #salt
18:07 orgaizer joined #salt
18:19 pipps joined #salt
18:19 sp0097 joined #salt
18:26 johnj_ joined #salt
18:43 pualj joined #salt
18:50 GMAzrael joined #salt
18:54 mavhq joined #salt
18:57 onlyanegg joined #salt
19:01 DarkKnightCZ joined #salt
19:23 felskrone joined #salt
19:27 johnj_ joined #salt
19:29 pipps joined #salt
19:30 NightMonkey joined #salt
19:30 HTTP_____GK1wmSU joined #salt
19:30 pipps99 joined #salt
19:31 sp0097 joined #salt
19:36 gswallow joined #salt
19:45 GMAzrael joined #salt
19:49 aldevar joined #salt
20:01 Guest73 joined #salt
20:03 gswallow joined #salt
20:12 GMAzrael joined #salt
20:18 Hybrid joined #salt
20:18 swills joined #salt
20:18 swills joined #salt
20:21 DarkKnightCZ joined #salt
20:29 johnj_ joined #salt
20:31 hgbd joined #salt
20:35 Hybrid joined #salt
20:43 GMAzrael joined #salt
20:48 onlyanegg joined #salt
20:55 onlyanegg joined #salt
20:57 Cvetko joined #salt
21:21 johnj_ joined #salt
21:34 Manor joined #salt
21:36 hgbd test
21:37 hgbd Hello all, I am looking for a solution to monitor saltstack states with Kibana and elastic. Did anyone implement such solution? Tried saltbeat+logstash, its a hell to figure out how to pharse its fields
21:40 iggy I suspect most people have cooked up something that ties into whatever monitoring/logging they had before they started using salt (i.e. no 2 are alike)
21:50 GMAzrael joined #salt
21:54 magz0r joined #salt
21:56 DarkKnightCZ joined #salt
21:58 aldevar left #salt
21:58 gaizeror Didnt understand your answer. All i want is a dashboard about which states failed, when, on which servers and the ability to filter and aggregate into a nice dashboard
22:21 Manor joined #salt
22:31 gswallow joined #salt
22:39 major joined #salt
22:46 GMAzrael joined #salt
23:03 Manor joined #salt
23:06 tiwula joined #salt
23:07 Manor joined #salt
23:11 jeddi joined #salt
23:13 jeddi joined #salt
23:14 jeddi joined #salt
23:28 mavhq joined #salt
23:35 bigjazzsound joined #salt
23:47 GMAzrael joined #salt
23:48 XenophonF that reminds me, I need to take another look at Saltpad
23:54 magz0r joined #salt

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