Fork me on GitHub
#clojure-uk
<
2016-09-01
>
dominicm06:09:49

Morning šŸ™‚

otfrom09:09:57

agile_geek: the evil day star: it burnses us and causes glare on the screen

agile_geek09:09:57

otfrom: feel better now I've scuttled back to the northern climes where I can skulk in the shadows.

otfrom10:09:42

agile_geek: indeed. In the land of the Northern Shadows.

otfrom10:09:27

(even though it is really North of the Humber, but anyway)

glenjamin10:09:32

itā€™s been sunny enough up here youā€™d have probably needed sunblock anyway

agile_geek10:09:11

@glenjamin it's not so fierce that I can't stay out for more than 10 minutes though!

mccraigmccraig10:09:00

i find clothes a much more convenient alternative to sunblock

glenjamin10:09:37

wearing a t-shirt in summer near the tyne is much like wearing a thin jacket there in the winter

glenjamin10:09:40

frowned upon

agile_geek10:09:26

@mccraigmccraig short of wearing a hood and gloves in a sub tropical climate I still needed sun block!

mccraigmccraig10:09:55

@agile_geek big floppy hat ! though a spot of goop is required for hands

agile_geek10:09:58

@mccraigmccraig I was wearing a hat too but couldn't risk exposure. It became a bit like suiting up for an EVA in earth orbit!

mccraigmccraig11:09:32

hey @otfrom are there any instructions for your terraboot ?

jasonbell11:09:48

@mccraigmccraig what are you trying to do?

mccraigmccraig11:09:42

@jasonbell just explore - i want to move away from my current config management (because it's doomed), and the clj-generating-terraform idea seems sound, so initially i would like to create a dcos cluster and play with it so i can get an idea of how to beat it in to the form i will need

jasonbell11:09:35

Have you seen the MC terraboot repo?

mccraigmccraig11:09:54

yes, that's what i was looking at... i tried the instrux in the README, but they don't work, and looking at the source didn't directly enlighten me as to suitable entrypoints or required configuration

jasonbell11:09:33

Itā€™s bascially a library so thereā€™s a few things youā€™ll need for it to generate a terraform json file that you can then plan/apply.

jasonbell11:09:02

I know the lib went through a few changes recently.

jasonbell12:09:27

I may be able to rattle up another repo, the other part of the puzzle this evening if thatā€™s any help.

mccraigmccraig12:09:27

yeah, i figured... AWS details, cluster descriptions etc,

mccraigmccraig12:09:53

that would be extremely helpful @jasonbell šŸ˜„

jasonbell12:09:06

Leave that one with me, may be later on this evening though.

jasonbell12:09:14

Iā€™m eyeballed today

mccraigmccraig12:09:00

no great pressure - i'm in exploratory phase, and i'm expecting replace my config management to be a background task over the next couple of months

jasonbell12:09:03

Another MC blog post to do as well šŸ™‚

jasonbell12:09:04

Iā€™ll see what I can do.

thomas12:09:40

@agile_geek maybe you should try a burkini next timeā€¦ and see what happens.

agile_geek12:09:20

Was thinking that bit as it was Spain probably nothing.

thomas13:09:20

sounds likely as wellā€¦ at least you wouldnā€™t get sun burned šŸ˜‰

otfrom13:09:02

so, this morning when I opened the door I thought a bit of fluff fell on my head. When I bent over to get my bag I saw a spider on a web drop out of my hair. I think I was able to brush it off, but I didn't see it drop. I have no idea where the spider is, but I think I can feel it crawling all over my head and in my ears. What kind of doctor (if any) should I see?

glenjamin13:09:49

visit an aviary

mccraigmccraig13:09:48

@otfrom you don't need a doctor, procure yourself a tarantula hawk

otfrom13:09:04

mccraigmccraig omfg tarantulas fly now!?!?!?

thomas13:09:41

@otfrom if you can still feel it go to you GP.

thomas13:09:03

or have someone look in your ear with a light and see if they can see it

thomas13:09:48

or you could go to A&E and wait for a few hours šŸ˜‡

otfrom13:09:05

mccraigmccraig: oh fuck! you want to put the wasps on me?

otfrom13:09:42

thomas I think it has gone through my ear into my brain. That is why it feels like it is everywhere

mccraigmccraig13:09:00

well, the wasps would sting the spider, paralyse it and lay their eggs inside it, and the wasp larvae will consume the spider from the inside out. that should teach it

otfrom13:09:17

that won't work well if the wasp is inside my head

mccraigmccraig13:09:04

you just need to stick some flies in your ear to attract the spider out of your brain

otfrom13:09:18

I am that old woman

korny15:09:31

Hmm - hadnā€™t seen terraboot before. Weā€™re generating terraform with, well, terraformā€¦ šŸ™‚ Whatā€™s the benefit of terraboot?

glenjamin15:09:57

terraform is a great compile target, and has very little logic capabilities

jasonbell16:09:24

@korny Terraboot lets you define your config in clojure and it will generate the definition file for terraform.

korny16:09:28

I think I just donā€™t know what terraboot does

jasonbell16:09:30

Just makes life easier.

korny16:09:29

so itā€™s a DSL to generate DSLs šŸ™‚ - which is fair enough, terraformā€™s ā€œlogicā€ is quite annoying at times, weā€™ve got ugly code to parse strings inside our terraform templates

jasonbell16:09:41

@korny basically šŸ™‚

jasonbell16:09:49

but itā€™s very handy from my point of view.

glenjamin16:09:32

I got a big boost from something similar when doing route53 stuff

glenjamin16:09:43

mine was in Ruby, since the rest of the infra stuff was puppet

glenjamin16:09:18

having a loop let me ensure all the other fields had good default values and there was no need to worry about copy-paste errors

otfrom16:09:38

mccraigmccraig: we're looking at moving over to that one. Basically the services that come bundled /dcos

otfrom16:09:08

and sorry that terraboot isn't quite ready for production.

mccraigmccraig16:09:46

@otfrom np - i'm happy to be a guinea-pig to help get terraboot to production readiness if that's useful

otfrom16:09:43

mccraigmccraig: that would be really helpful. :-D I'm going to be getting back into it next week I think

otfrom16:09:00

I need to upgrade it all to work with latest terraform apart from anything

mccraigmccraig16:09:56

cool, well @jasonbell offered to put together a repo with the missing bits in too, so however it works - i'm not in a massive rush, but i do want to get off of pallet and into the shiny new world of ubuntu 16.04, systemd and DC/OS

jasonbell16:09:18

yeah a ā€œgetting startedā€ thing with some docs would be good.

otfrom16:09:30

mccraigmccraig current version we're using for our stuff is almost right. Just need to make sure that all the client specific stuff is in a config file. I'll look at doing that first and then I can release at least an example repo

korny16:09:32

Terraform itself is slowly getting better - they added support for maps as parameters in the latest release šŸ™‚