Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-08-23

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

All times shown according to UTC.

Time Nick Message
00:06 aparsons joined #salt
00:09 cheus joined #salt
00:13 badon_ joined #salt
00:14 aparsons joined #salt
00:29 dvestal joined #salt
00:33 joehoyle joined #salt
00:38 egalano joined #salt
00:43 badon_ joined #salt
00:45 bhosmer joined #salt
00:50 pentabular joined #salt
01:02 joehoyle joined #salt
01:03 badon_ joined #salt
01:15 jhauser_ joined #salt
01:23 NV joined #salt
01:35 TOoSmOotH ugh
01:36 TOoSmOotH this is killing me
01:37 helderco joined #salt
01:37 TOoSmOotH There has to be a sexier way to do this in top.sls
01:37 oz_akan joined #salt
01:38 TOoSmOotH 'SaltMinionDEV':
01:38 TOoSmOotH - SaltMinionDEV
01:38 TOoSmOotH basically I want to have a pillar for each host with a list of host specific variables
01:38 TOoSmOotH I can list them out that way but then I would need to modify it every time
01:38 badon_ joined #salt
01:39 TOoSmOotH would like it to be something like ‘host:’: - match: grain
01:49 aparsons joined #salt
01:49 ajolo joined #salt
01:56 justyns joined #salt
02:02 tmh1999 joined #salt
02:02 bray left #salt
02:02 bray joined #salt
02:05 davet joined #salt
02:06 brent joined #salt
02:11 che-arne joined #salt
02:11 davet1 joined #salt
02:15 pled76 joined #salt
02:16 mosen_ joined #salt
02:24 snuffeluffegus joined #salt
02:24 orion_ joined #salt
02:25 vejdmn joined #salt
02:25 otter768 joined #salt
02:27 TheThing joined #salt
02:31 TheThing joined #salt
02:33 war2 joined #salt
02:34 jalaziz_ joined #salt
02:34 bhosmer joined #salt
02:38 egalano joined #salt
02:39 Ryan_Lane1 joined #salt
02:42 thayne joined #salt
02:45 pled76 joined #salt
02:51 halfss joined #salt
02:58 orion_ joined #salt
03:08 mordonez joined #salt
03:10 possibilities joined #salt
03:12 otter768 joined #salt
03:12 georgemarshall joined #salt
03:15 oz_akan joined #salt
03:16 screamingbanshee joined #salt
03:18 pled76 joined #salt
03:18 tmh1999 joined #salt
03:19 pled76_ joined #salt
03:20 skyler joined #salt
03:23 bhosmer joined #salt
03:37 aquinas_ joined #salt
03:39 Ryan_Lane1 joined #salt
03:41 Ryan_Lane joined #salt
03:48 pled76 joined #salt
03:57 dvestal joined #salt
03:57 n8n joined #salt
04:01 otter768 joined #salt
04:02 Ryan_Lane joined #salt
04:02 capitalfellow joined #salt
04:03 jalaziz joined #salt
04:09 TheThing joined #salt
04:12 ramishra joined #salt
04:16 oz_akan joined #salt
04:18 badon_ joined #salt
04:20 Ryan_Lane1 joined #salt
04:22 bezeee joined #salt
04:22 bhosmer joined #salt
04:23 ramishra_ joined #salt
04:30 pled76 joined #salt
04:38 oz_akan joined #salt
04:46 pled76 joined #salt
05:01 Ryan_Lane joined #salt
05:01 pentabular joined #salt
05:03 badon_ joined #salt
05:15 pled76 joined #salt
05:23 jinlin_gan joined #salt
05:39 oz_akan joined #salt
05:44 sectionme joined #salt
05:45 pled76 joined #salt
05:59 yetAnotherZero joined #salt
05:59 orion_ joined #salt
06:06 Katafalkas joined #salt
06:08 Katafalkas joined #salt
06:12 bhosmer joined #salt
06:15 Ryan_Lane joined #salt
06:16 Katafalkas joined #salt
06:17 pled76 joined #salt
06:24 thayne joined #salt
06:34 catpigger joined #salt
06:35 siul joined #salt
06:39 oz_akan joined #salt
06:40 vmdsch joined #salt
06:43 timb_dp joined #salt
06:45 pled76 joined #salt
06:55 jinlin_gan joined #salt
06:59 aparsons joined #salt
07:17 pled76 joined #salt
07:24 oz_akan joined #salt
07:46 pled76 joined #salt
08:00 bhosmer joined #salt
08:08 Katafalkas joined #salt
08:12 felskrone joined #salt
08:12 screamingbanshee joined #salt
08:14 roolo joined #salt
08:15 n8n joined #salt
08:17 pled76 joined #salt
08:22 timb_dp joined #salt
08:23 MrTango joined #salt
08:25 oz_akan joined #salt
08:25 badon_ joined #salt
08:32 kingel joined #salt
08:40 ckao joined #salt
08:40 aberdine joined #salt
08:42 intellix joined #salt
08:47 bhosmer joined #salt
08:48 pled76 joined #salt
08:52 jalaziz joined #salt
08:56 Katafalk_ joined #salt
08:56 badon_ joined #salt
08:57 wackycaptain joined #salt
08:57 Katafalk_ joined #salt
08:57 wackycaptain_ joined #salt
09:19 pled76 joined #salt
09:26 oz_akan joined #salt
09:30 kingel joined #salt
09:39 n8n_ joined #salt
09:41 Kraln joined #salt
09:41 Nexpro joined #salt
09:45 pled76 joined #salt
09:49 bhosmer joined #salt
10:01 z3uS| joined #salt
10:15 timb_dp joined #salt
10:15 pled76 joined #salt
10:17 badon_ joined #salt
10:18 Ryan_Lane joined #salt
10:19 vernondcole joined #salt
10:26 oz_akan joined #salt
10:55 pled76 joined #salt
10:59 badon_ joined #salt
11:00 CeBe joined #salt
11:16 pdayton joined #salt
11:27 oz_akan joined #salt
11:31 dccc joined #salt
11:31 jinlin_gan joined #salt
11:36 pled76 joined #salt
11:37 mapu joined #salt
11:38 bhosmer joined #salt
11:45 pled76 joined #salt
11:48 ndrei joined #salt
11:55 sectionme joined #salt
12:03 MrTango joined #salt
12:08 mosen joined #salt
12:08 patrickcp_ joined #salt
12:12 diegows joined #salt
12:17 pled76 joined #salt
12:21 TheThing joined #salt
12:25 mhubbard joined #salt
12:26 bhosmer joined #salt
12:29 alanpearce joined #salt
12:37 alanpear_ joined #salt
12:43 felskrone1 joined #salt
12:47 pled76 joined #salt
12:47 izibi joined #salt
12:49 pled76_ joined #salt
12:57 sectionme joined #salt
13:07 felskrone joined #salt
13:07 pled76 joined #salt
13:07 calvinh joined #salt
13:08 pled76_ joined #salt
13:13 TheThing joined #salt
13:13 pled76 joined #salt
13:13 calvinh joined #salt
13:17 totte left #salt
13:27 bhosmer_ joined #salt
13:29 oz_akan joined #salt
13:31 yomilk joined #salt
13:32 capitalfellow joined #salt
13:41 mechanicalduck_ joined #salt
13:42 davet joined #salt
13:56 cheus joined #salt
13:59 sectionme joined #salt
14:02 mgw joined #salt
14:07 mosen joined #salt
14:07 patrickcp_ joined #salt
14:08 capitalfellow joined #salt
14:11 oz_akan joined #salt
14:11 felskrone joined #salt
14:12 felskrone1 joined #salt
14:18 mgw joined #salt
14:18 intellix joined #salt
14:34 mr_chris joined #salt
14:42 thayne joined #salt
14:47 pled76 joined #salt
14:47 TOoSmOotH Is there a way to have a minion not cache files from a certain directory?
14:47 TOoSmOotH I want to copy some files over that have some configs to a cryptofs
14:47 TOoSmOotH but it looks like after reboot and I run salt-call it is pulling the fiels from local cache
14:56 che-arne|2 joined #salt
14:58 oz_akan joined #salt
15:04 vernondcole Is there anyone on line who is knowledgeable about the new salt.states.posgress_extension  == Management of PostgreSQL extensions (e.g.: postgis)
15:06 pdayton joined #salt
15:11 dude051 joined #salt
15:11 aparsons joined #salt
15:15 thayne joined #salt
15:15 pled76 joined #salt
15:16 bhosmer joined #salt
15:16 aparsons joined #salt
15:17 DaveQB joined #salt
15:17 MrTango joined #salt
15:19 mechanicalduck joined #salt
15:33 felskrone joined #salt
15:35 go|dfish joined #salt
15:43 aberdine joined #salt
15:49 pled76 joined #salt
15:56 peters-tx joined #salt
16:00 TheThing joined #salt
16:01 n8n joined #salt
16:08 blast_hardcheese joined #salt
16:10 pled76 joined #salt
16:10 mordonez joined #salt
16:10 badon joined #salt
16:11 pclermont joined #salt
16:14 FeatherKing joined #salt
16:15 aparsons_ joined #salt
16:19 oz_akan joined #salt
16:22 yetAnotherZero joined #salt
16:23 TheThing joined #salt
16:37 mgw joined #salt
16:41 wackycaptain joined #salt
16:46 pled76 joined #salt
16:53 XenophonF joined #salt
16:53 vmdsch left #salt
16:54 Katafalkas joined #salt
17:04 pled76 joined #salt
17:05 bhosmer joined #salt
17:06 bhosmer_ joined #salt
17:11 oz_akan joined #salt
17:14 aparsons joined #salt
17:15 aparsons_ joined #salt
17:23 badon_ joined #salt
17:24 aparsons joined #salt
17:26 kingel joined #salt
17:27 pled76 joined #salt
17:29 dccc_ joined #salt
17:32 orion_ joined #salt
17:37 kingel joined #salt
17:40 jslatts joined #salt
17:42 orion_ joined #salt
17:44 dvestal joined #salt
17:47 yomilk joined #salt
17:48 n8n joined #salt
17:51 badon_ joined #salt
17:55 thayne joined #salt
17:55 pled76 joined #salt
18:00 rawzone joined #salt
18:08 FeatherKing joined #salt
18:09 geekmush1 joined #salt
18:09 Katafalkas joined #salt
18:09 logix812 joined #salt
18:14 rjc joined #salt
18:16 pled76 joined #salt
18:29 dude051 joined #salt
18:33 oz_akan joined #salt
18:40 aquinas_ joined #salt
18:47 longdays_ joined #salt
18:47 longdays_ I have a state file I am working on for an elasticsearch template. I would like to read the amount of memory from the minion with grains like this
18:47 longdays_ {% set node_mem = salt['grains.get']('mem_total', '')%}
18:48 longdays_ then I want to use that node_mem variable to set an environment vairable in /etc/defaults/elasticsearch
18:48 longdays_ like this...
18:48 longdays_ {% set node_mem = salt['grains.get']('mem_total', '')%}
18:48 longdays_ sorry
18:48 longdays_ standby
18:48 longdays_ elasticsearch:   pkg.installed:     - require:       - pkgrepo: elasticsearch-repo       - sls: openjdk   file.replace:     - path: /etc/defaults/elasticsearch     - pattern: "^#ES_HEAP_SIZE="     - repl: {%"ES_HEAP_SIZE={0}m".format(int(round(node_mem*.85)))%}   service:     - require:     - running     - enable: True
18:49 longdays_ http://pastebin.com/zCMxjLVZ
18:49 longdays_ pastebin for easier reading
18:50 longdays_ anyhow I get an error when running salt-call
18:50 longdays_ Rendering SLS "base:elasticsearch" failed: Jinja syntax error: tag name expected; line 23
18:50 pled76_ joined #salt
18:50 longdays_ I am guessing that I cannot use python within a yml state file
18:50 longdays_ seeing if anyone here is able to help guide me in the correct direction
18:51 rjc joined #salt
18:53 capitalfellow joined #salt
18:54 bhosmer joined #salt
18:55 pled76 joined #salt
18:55 aparsons joined #salt
18:56 Katafalk_ joined #salt
18:58 tligda joined #salt
18:59 pentabular joined #salt
19:02 CeBe joined #salt
19:07 bhosmer joined #salt
19:11 badon_ joined #salt
19:12 Katafalkas joined #salt
19:19 nyx joined #salt
19:34 oz_akan joined #salt
19:37 ajw0100 joined #salt
19:39 badon_ joined #salt
19:49 TheThing joined #salt
19:53 dbanck joined #salt
19:56 Ryan_Lane joined #salt
19:59 Ryan_Lane joined #salt
20:00 Katafalk_ joined #salt
20:08 ralphr joined #salt
20:17 n8n joined #salt
20:22 felskrone joined #salt
20:27 kingel joined #salt
20:28 CeBe joined #salt
20:30 dude051 joined #salt
20:36 oz_akan joined #salt
20:37 thayne joined #salt
20:37 felskrone1 joined #salt
20:41 bhosmer joined #salt
20:43 bhosmer_ joined #salt
20:56 tligda joined #salt
20:58 mordonez joined #salt
21:00 mhubbard joined #salt
21:05 DaveQB joined #salt
21:17 tligda joined #salt
21:18 tligda1 joined #salt
21:27 jinlin_gan joined #salt
21:27 ajw0100 joined #salt
21:28 capitalfellow joined #salt
21:38 badon_ joined #salt
21:39 vukcrni joined #salt
21:49 nyx joined #salt
21:54 yidhra joined #salt
22:06 jeffrey4l joined #salt
22:08 atzebadekappe2k joined #salt
22:09 jkaye joined #salt
22:12 DaveQB joined #salt
22:17 viq_ joined #salt
22:17 viq_ joined #salt
22:18 elfixit joined #salt
22:31 nyx_ joined #salt
22:31 bhosmer_ joined #salt
22:34 n8n joined #salt
22:34 Outlander joined #salt
22:35 jkaye joined #salt
22:38 oz_akan joined #salt
22:44 Ryan_Lane joined #salt
22:49 koyd joined #salt
22:57 schimmy joined #salt
23:00 schimmy1 joined #salt
23:00 mordonez joined #salt
23:04 xsteadfastx joined #salt
23:14 sectionme joined #salt
23:22 sectionme joined #salt
23:27 pled76_ joined #salt
23:35 diegows joined #salt
23:36 mailo joined #salt
23:39 oz_akan joined #salt
23:44 Bosch[] joined #salt
23:49 pled76 joined #salt
23:49 intellix joined #salt
23:53 nyx joined #salt

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