Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-09-22

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

All times shown according to UTC.

Time Nick Message
00:16 oz_akan_ joined #salt
00:16 piffio joined #salt
00:17 kvt joined #salt
00:21 jkleckner joined #salt
00:21 KyleG joined #salt
00:21 KyleG joined #salt
00:22 justin-real joined #salt
00:26 mike25ro left #salt
00:41 bhosmer joined #salt
00:44 noob2 joined #salt
00:45 noob2 salt: anyone know of a way to run salt-call that prevents it from running if another salt-call is running?  I'm finding that if one of them fails to returns than my cron job will just keep piling them up
00:49 krissaxton joined #salt
00:49 jamiem joined #salt
00:51 jkleckner joined #salt
00:54 justin-real joined #salt
01:04 rgbkrk joined #salt
01:20 offby1 noob2: there are general ways of preventing the same program from being run twice; nothing to do with salt
01:20 offby1 lemme see if I can find a particularly clever example that I ran into a few weeks ago
01:20 noob2 offby1: yeah i decided this would be easiest: pgrep salt-call || salt-call state.highstate
01:21 noob2 if you've got something even more cool i'll take it :)
01:21 jkleckner joined #salt
01:22 offby1 more cool but way more complex: https://plus.google.com/105487854388646525021/posts/QcrqvT3mUdy
01:22 offby1 ok, not THAT complex.
01:23 noob2 :)
01:23 noob2 offby1: do you know of a unique numeric id the minions have that i can use for a mysql server id?
01:23 noob2 i'm having trouble coming up with one
01:23 noob2 flock!  yes that's a great idea.  hah nice
01:24 offby1 noob2: well, their IP addresses should be unique, no?
01:24 noob2 true they'll be unique
01:24 noob2 i suppose if i remove the .'s that'll work
01:24 offby1 it should be straightforward to turn an IPv4 into an integer.  Probably IPv6 too but I'm not as certain
01:24 offby1 I suspect that just removing the .s isn't safe
01:25 noob2 yeah that's an easy python replace call
01:25 noob2 no?
01:25 offby1 I'd use inet_aton
01:25 offby1 socket.inet_aton if you're doing Python
01:25 noob2 that'd work good
01:25 offby1 http://docs.python.org/2/library/socket.html
01:26 noob2 yeah
01:26 noob2 i wonder if i can use that in the jinja template or if i need to go full py
01:26 justin-real joined #salt
01:26 pipps joined #salt
01:27 gmoro joined #salt
01:29 offby1 you may need to do "import socket" somewhere but other than that I'd expect it to work
01:29 offby1 Try It And See™.
01:29 noob2 yep i'm working on it now
01:36 noob2 offby1: how does the py render work with salt hosted files?
01:37 noob2 i know you can say in your sls that a files uses jinja templating but i'm not sure how to tell it to use py templates
01:40 gatoralli joined #salt
01:45 oz_akan_ joined #salt
01:48 kula noob2: http://docs.saltstack.com/ref/renderers/index.html#multiple-renderers
01:49 noob2 interesting
01:49 krissaxton joined #salt
01:49 noob2 so i can render the hard part in python and the rest in jinja?
01:51 jkleckner joined #salt
01:52 kula they have to be separate sls files, but yeah
01:52 kula i've never tried it, but it's one of the things thats sat in the back of my head as potentially useful in weird cases
01:58 justin-real joined #salt
02:02 noob2 kula: yeah i'd say this is a weird case
02:02 noob2 i need a unique numeric id in each of my mysql my.cnf files
02:02 noob2 hostid would work if i could convert it to an integer instead of hex
02:05 halfss joined #salt
02:08 noob2 kula: server_id in grains seems to be uniqe
02:08 noob2 does that ever changee?
02:10 noob2 yup i think that'll do it.  i found a thread where thatch mentions the exact problem i'm having
02:13 m_george|away joined #salt
02:15 xl1 joined #salt
02:18 kenbolton joined #salt
02:22 logix812 joined #salt
02:28 mgw joined #salt
02:31 littleidea joined #salt
02:31 justin-real joined #salt
02:49 shinylasers joined #salt
02:50 kenbolton joined #salt
02:50 krissaxton joined #salt
02:50 copelco joined #salt
03:02 justin-real joined #salt
03:07 StDiluted joined #salt
03:15 StDiluted joined #salt
03:28 higgs001 joined #salt
03:28 blee joined #salt
03:34 justin-real joined #salt
03:36 littleidea joined #salt
03:42 rgbkrk joined #salt
03:50 krissaxton joined #salt
03:51 welby_away joined #salt
04:03 blee_ joined #salt
04:06 justin-real joined #salt
04:38 zach joined #salt
04:46 piffio joined #salt
04:51 krissaxton joined #salt
04:57 littleidea joined #salt
05:01 StDiluted joined #salt
05:19 keekz joined #salt
05:37 redondos joined #salt
05:47 ml_1 joined #salt
05:51 krissaxton joined #salt
06:02 pipps joined #salt
06:05 Lue_4911 joined #salt
06:39 tomtomtomtom joined #salt
06:52 krissaxton joined #salt
07:00 Ryan_Lane joined #salt
07:04 nu7hatch joined #salt
07:14 hjubal joined #salt
07:26 scristian joined #salt
07:27 scristian joined #salt
07:28 scristian_ joined #salt
07:45 nu7hatch joined #salt
07:45 gmcwhistler joined #salt
07:52 krissaxton joined #salt
07:55 ronc joined #salt
08:31 Nexpro1 joined #salt
08:42 gildegoma joined #salt
08:52 unicoletti_ joined #salt
08:53 krissaxton joined #salt
08:55 tuxIO joined #salt
09:02 zach has anyone created an IRC bot around salt yet? one that displays the output into an IRC channel
09:37 EugeneKay joined #salt
09:44 jrgifford joined #salt
09:53 krissaxton joined #salt
09:59 davidone joined #salt
10:01 druonysus joined #salt
10:08 tuxIO joined #salt
10:09 elsmorian joined #salt
10:31 waverider joined #salt
10:31 linjan joined #salt
10:37 nu7hatch joined #salt
10:54 krissaxton joined #salt
11:09 bhosmer joined #salt
11:21 felixhummel joined #salt
11:39 felixhummel joined #salt
11:55 krissaxton joined #salt
12:15 jslatts joined #salt
12:15 jamiem joined #salt
12:17 linjan joined #salt
12:33 jslatts joined #salt
12:49 msheiny joined #salt
12:50 absolute joined #salt
12:55 krissaxton joined #salt
12:55 GoKage joined #salt
13:01 Furao joined #salt
13:04 tuxIO joined #salt
13:05 mgw joined #salt
13:06 tomtomtomtom joined #salt
13:11 nu7hatch joined #salt
13:13 jfalco joined #salt
13:22 davidone joined #salt
13:23 qba73 joined #salt
13:26 pdayton joined #salt
13:33 cro joined #salt
13:34 GoKage joined #salt
13:41 qba73 joined #salt
13:48 scott_w joined #salt
13:48 Zandy joined #salt
13:51 scott_w_ joined #salt
13:55 scott_w joined #salt
13:55 jamiem joined #salt
13:56 krissaxton joined #salt
14:12 kenbolton joined #salt
14:20 msheiny joined #salt
14:39 mwillhite joined #salt
14:51 ggoZ joined #salt
14:57 krissaxton joined #salt
15:26 Lue_4911 joined #salt
15:28 tuxIO joined #salt
15:28 higgs001 joined #salt
15:37 unicoletti_ joined #salt
15:52 * offby1 shifts uncomfortably
15:54 EugeneKay Increment or decrement?
15:54 EugeneKay zach - not that I know of, but you could real easily stitch something together using ii and/or one of the custom returners.
15:54 EugeneKay I have a general purpose ii "bot" that gets certain syslog messages piped into it
15:56 offby1 EugeneKay: begone, stalker
15:56 offby1 EugeneKay: I was about to suggest _exactly_ that.
15:57 offby1 "Write a bot that scrapes syslog or stdout", I was about to say.
15:57 offby1 Really, I was.
15:57 EugeneKay :-D
15:57 krissaxton joined #salt
15:57 jkleckner joined #salt
15:57 offby1 Dunno what "ii" is though.
15:57 EugeneKay stdin --> IRC
15:57 offby1 ah.
15:57 EugeneKay IRC --> stdout
15:57 * offby1 nods sagely
15:57 EugeneKay Small C app I <3
15:57 offby1 netcat for irc.
15:57 EugeneKay Exactly so.
15:57 * offby1 goes back to sleep
16:03 canci joined #salt
16:05 az87c joined #salt
16:18 Ryan_Lane joined #salt
16:21 jfalco joined #salt
16:22 antsygeek joined #salt
16:57 krissaxton joined #salt
17:00 noob2 left #salt
17:04 xinkeT joined #salt
17:23 redondos joined #salt
17:37 mohae joined #salt
17:45 littleidea joined #salt
17:47 GoKage joined #salt
17:55 berto- joined #salt
17:58 krissaxton joined #salt
18:02 jkleckner joined #salt
18:09 jdenning joined #salt
18:11 jdenning joined #salt
18:14 jdenning joined #salt
18:21 ioni joined #salt
18:22 ioni joined #salt
18:24 jamiem joined #salt
18:32 troyready joined #salt
18:33 sixninetynine joined #salt
18:35 qba73 joined #salt
18:41 Ryan_Lane joined #salt
18:42 felixhummel joined #salt
18:47 arad joined #salt
18:47 canci joined #salt
18:48 arad left #salt
18:58 krissaxton joined #salt
18:59 redondos joined #salt
19:13 ronc joined #salt
19:13 mgw joined #salt
19:20 Ryan_Lane joined #salt
19:30 redondos joined #salt
19:32 pentabular joined #salt
19:35 Ryan_Lane joined #salt
19:50 pdayton joined #salt
19:52 berto- joined #salt
19:54 ciss joined #salt
19:58 andrej joined #salt
19:59 krissaxton joined #salt
20:08 Daviey joined #salt
20:39 littleidea joined #salt
20:47 pentabular left #salt
20:55 Jahkeup joined #salt
20:58 mmilano joined #salt
20:58 Ryan_Lane joined #salt
21:16 oz_akan_ joined #salt
21:24 oz_akan_ joined #salt
21:27 Ryan_Lane joined #salt
21:27 aboe joined #salt
21:32 jkleckner joined #salt
21:34 pentabular joined #salt
21:35 mmilano joined #salt
21:35 krissaxton left #salt
21:36 kenbolton joined #salt
21:43 ipmb joined #salt
21:43 benturner joined #salt
21:46 kenbolton joined #salt
21:48 Ryan_Lane joined #salt
21:51 Lue_4911 joined #salt
22:10 diegows joined #salt
22:12 jpeach joined #salt
22:14 jslatts joined #salt
22:15 tuxIO joined #salt
22:20 pentabular joined #salt
22:22 littleidea joined #salt
22:25 UtahDave joined #salt
22:28 StDiluted joined #salt
22:28 raghavp joined #salt
22:28 raghavp left #salt
22:34 middleman_ joined #salt
22:48 ggoZ joined #salt
22:57 oz_akan_ joined #salt
23:00 redondos joined #salt
23:19 pipps1 joined #salt
23:21 Brew joined #salt
23:22 Brew joined #salt
23:23 rgbkrk joined #salt
23:29 pipps joined #salt
23:31 Brew joined #salt
23:44 mmilano joined #salt

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