Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-21

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

All times shown according to UTC.

Time Nick Message
00:09 neogenix joined #salt
00:16 aqua^mac joined #salt
00:18 delinquentme {% if 'monitor_master' in salt['grains.get']('roles', []) %}
00:30 hasues joined #salt
00:34 hasues left #salt
00:43 xenoxaos joined #salt
00:44 diegows joined #salt
00:48 badon_ joined #salt
00:53 Mso150_d joined #salt
00:56 CeBe1 joined #salt
01:02 CeBe left #salt
01:02 CeBe1 left #salt
01:04 Mso150 joined #salt
01:14 yomilk joined #salt
01:16 felskrone joined #salt
01:21 nitti joined #salt
01:34 RainDoctor joined #salt
01:42 sk_0 joined #salt
01:46 esharpmajor joined #salt
01:54 _JZ_ joined #salt
01:57 delinquentme default location for the minion configuration file * on the minion * ?
01:59 otter768 joined #salt
02:05 aqua^mac joined #salt
02:07 delinquentme No matching sls found for 'graphite' in env 'base'
02:08 SheetiS joined #salt
02:17 electrix joined #salt
02:34 _JZ_ joined #salt
02:34 delinquentme salt://
02:34 delinquentme that resolves to the /srv dir on master
02:36 kossy joined #salt
02:41 cberndt joined #salt
02:42 bhosmer joined #salt
02:54 dude051 joined #salt
02:59 TheThing joined #salt
03:10 Furao joined #salt
03:40 mdupont joined #salt
03:40 mdupont howdy
03:43 TyrfingMjolnir joined #salt
03:46 Kenzor joined #salt
03:49 holyzhou joined #salt
03:50 holyzhou hi , guys . i want use salt-ssh to deploy salt-minion client, but i stuck i write roster file like this  test-vm1:     host:10.10.10.10     user:root     password:123456  so , how can i use "test-vm1" in my minion template or replace "ID" filed in minion file.
03:54 aqua^mac joined #salt
03:56 xenoxaos joined #salt
04:00 otter768 joined #salt
04:11 rizzo joined #salt
04:16 P0bailey joined #salt
04:17 rizzo howdy all... I am trying to configure /etc/network/interfaces with specific IP addresses based on the salt id.
04:17 P0bailey joined #salt
04:17 rizzo I created a pillar and can reference it, but how would I dynamically get the IP from the pillar based on the id?
04:17 rizzo address {{ salt['pillar.get']('ips:salt['grains.get']('id')') }}
04:17 rizzo Or am I going about this the wrong way?
04:19 acti0nman joined #salt
04:23 holyzhou joined #salt
04:23 holyzhou hi , guys . i want use salt-ssh to deploy salt-minion client, but i stuck i write roster file like this  test-vm1:     host:10.10.10.10     user:root     password:123456  so , how can i use "test-vm1" in my minion template or replace "ID" filed in minion file.
04:28 TheThing joined #salt
04:31 Guest88743 joined #salt
04:38 Ryan_Lane joined #salt
04:47 holyzhou_ joined #salt
04:52 nitti joined #salt
04:54 brianfeister joined #salt
04:56 dagrizbox joined #salt
05:07 dagrizbox joined #salt
05:12 cedwards1 /quit
05:15 aqua^mac joined #salt
05:44 ajolo joined #salt
06:01 otter768 joined #salt
06:16 Ryan_Lane joined #salt
06:19 MK_FG joined #salt
06:20 MK_FG joined #salt
06:25 TheThing joined #salt
06:36 Mso150 joined #salt
06:43 brianfeister joined #salt
06:43 catpiggest joined #salt
06:46 binarus joined #salt
06:49 forrest joined #salt
06:57 viq_ joined #salt
07:20 Cottser|away joined #salt
07:30 ttrumm joined #salt
07:31 dotz joined #salt
07:47 delinquentme joined #salt
07:47 delinquentme la
07:47 delinquentme ls
07:47 delinquentme deeeerrrrp
07:47 delinquentme {%- if 'monitor_master' in salt['grains.get']('roles', []) %}
07:57 atbell joined #salt
08:01 otter768 joined #salt
08:03 JlRd joined #salt
08:15 jeddi joined #salt
08:22 yomilk joined #salt
08:28 delinquentme left #salt
08:32 brianfeister joined #salt
08:50 ndrei joined #salt
08:54 felskrone joined #salt
09:21 TheThing joined #salt
09:26 pentabular joined #salt
09:26 CeBe joined #salt
09:31 huleboer joined #salt
09:39 saravanans joined #salt
09:50 Mso150 joined #salt
09:50 Ancient joined #salt
09:52 ninkotech_ joined #salt
09:55 nledez joined #salt
09:59 jdmf For managing the content of a file, from within the init.sls file - how should this be made? Currently I'm trying with file.managed:, file.append:, but as I want the entire content of this file managed from within the .SLS file, I'm not sure how to do this. Any pointers?
10:02 otter768 joined #salt
10:20 jmccree joined #salt
10:20 brianfeister joined #salt
10:37 huleboer joined #salt
10:50 saravanans joined #salt
10:58 P0bailey joined #salt
10:58 P0bailey joined #salt
11:02 saravana_ joined #salt
11:10 TheThing joined #salt
11:11 dotz joined #salt
11:14 cberndt joined #salt
11:15 felskrone joined #salt
11:30 TheThing ok, question, what's the best IRC channel to get help with DNS-related issues?
11:33 Mso150 joined #salt
11:40 avn joined #salt
11:54 TheThing well, never mind
11:54 TheThing turns out my friend's company DNS servers dont' have a single address saved
12:03 jdmf TheThing: Ok. If you where to have DNS related questions, let me know..
12:03 otter768 joined #salt
12:05 diegows joined #salt
12:09 brianfeister joined #salt
12:21 Mso150 joined #salt
12:47 mapu joined #salt
12:51 esharpmajor joined #salt
13:04 rtuin_ joined #salt
13:36 avn joined #salt
13:58 brianfeister joined #salt
14:03 crocket joined #salt
14:03 crocket How do I add radeon to MODULES="" if radeon is absent in MODULES?
14:04 crocket I don't know how to do so in a file.
14:04 crocket If MODULES="i915 ohai", salt should set MODULES to "i915 ohai radeon".
14:04 otter768 joined #salt
14:04 crocket It is hard to achieve with regular expression.
14:10 sijis joined #salt
14:10 sijis joined #salt
14:24 viq joined #salt
14:36 dude051 joined #salt
14:43 scott2b joined #salt
14:48 dude051 joined #salt
14:50 madduck Both grains and mine can be used to obtain minion data; what's their difference? What would be a really good example for mine?
14:54 pdayton joined #salt
15:02 ttrumm joined #salt
15:03 nitti joined #salt
15:05 crocket left #salt
15:14 scott2b joined #salt
15:17 brianfeister joined #salt
15:36 nitti joined #salt
15:37 rtuin joined #salt
15:40 ttrumm_ joined #salt
15:45 pdayton joined #salt
15:48 aquinas joined #salt
15:55 RainDoctor joined #salt
16:00 nitti joined #salt
16:03 agend joined #salt
16:05 otter768 joined #salt
16:20 dotz joined #salt
16:31 ajolo joined #salt
16:36 Furao joined #salt
16:36 ggoZ joined #salt
17:00 Furao joined #salt
17:11 TheThing joined #salt
17:16 zlhgo joined #salt
17:20 pdayton joined #salt
17:31 pdayton joined #salt
17:37 pdayton joined #salt
17:59 pdayton joined #salt
18:01 wolfpackmars2 joined #salt
18:02 wolfpackmars2 I'm trying to install kolab using the directions here: http://docs.kolab.org/installation-guide/debian.html  I'm stuck on #1 and #2 - how do I configure the SLS to set up the pkg repository and manage the keys for the repo
18:06 otter768 joined #salt
18:06 wolfpackmars2 here's what I have so far http://pastie.org/9793018
18:09 j4son joined #salt
18:12 pdayton joined #salt
18:13 otter768 joined #salt
18:14 pdayton joined #salt
18:18 nitti joined #salt
18:20 pdayton joined #salt
18:25 felskrone joined #salt
18:28 zadock joined #salt
18:29 ajolo joined #salt
18:29 otter768 joined #salt
18:31 glyf joined #salt
18:33 JlRd joined #salt
18:33 MarkMarine joined #salt
18:43 mgw joined #salt
18:50 ttrumm_ joined #salt
19:02 glyf joined #salt
19:04 dotz joined #salt
19:15 pdayton joined #salt
19:16 binarus joined #salt
19:18 cads joined #salt
19:25 saravanans joined #salt
19:29 rjc joined #salt
19:33 nitti joined #salt
19:40 tmh1999 joined #salt
19:40 MarkMarine joined #salt
19:42 binarus joined #salt
19:42 MarkMarine Does anyone know how the custom grains are created? Does the master push the python scripts in /srv/salt/_grains out to the minions and ask them to run the python script and generate their own grains? I'm using the ec2_tags script and it requires boto... I noticed a whole swath of my minions aren't returning keys and I suspect boto isn't installed on them
19:49 binarus joined #salt
19:55 mr_chris joined #salt
19:56 Raghu joined #salt
20:01 _one_ joined #salt
20:01 stoogenmeyer joined #salt
20:02 stoogenmeyer hi all, is there anything besides a basic install needed to get certain modules ? i'm referring to the docker module
20:03 binarus joined #salt
20:03 stoogenmeyer I did a basic salt install (using the bootstrapper script) and did not find i could use the dockerio module
20:06 cberndt joined #salt
20:11 binarus joined #salt
20:13 Mso150 joined #salt
20:24 MarkMarine pip install docker-py==0.5.0
20:25 MarkMarine 22.16.47.2. INSTALLATION PREREQUISITES You will need the docker-py python package in your python installation path that is running salt.
20:25 MarkMarine from here: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.dockerio.html
20:26 stoogenmeyer MarkMarine: thanks, dont know how i missed that..
20:28 MarkMarine no problem :)
20:30 simonmcc_ ktosiek: yeah, it was coverage testing inside jinja I was worrying about (conditional blocks etc)
20:48 otter768 joined #salt
20:49 markm_ joined #salt
20:52 binarus joined #salt
20:56 CeBe joined #salt
21:01 _1_CCaRSi1903 joined #salt
21:01 _1_CCaRSi1903 hi mi
21:11 mr_chris joined #salt
21:15 LeProvokateur joined #salt
21:20 nitti joined #salt
21:27 Singularo joined #salt
21:28 cnelsonsic joined #salt
21:31 wolfpackmars2 anyone know if the at module supports file watching?
21:31 wolfpackmars2 I'm trying to use at.present to restart my minions whenever the minion config changes.  unfortunately, it seems that at.present seems to run every time, not just when the config files change
21:32 wolfpackmars2 http://www.rackeroz.com/2013/10/how-to-restart-salt-minion.html
21:32 rm-rf joined #salt
21:35 wolfpackmars2 this is the sls I'm using http://pastie.org/9793264
21:37 eXistenZNL joined #salt
21:43 xenoxaos joined #salt
21:47 nitti joined #salt
21:55 Ryan_Lane joined #salt
22:04 nitti joined #salt
22:22 pdayton joined #salt
22:29 nitti joined #salt
22:33 esharpmajor joined #salt
22:37 markm_ joined #salt
22:37 alexbst joined #salt
22:41 cberndt joined #salt
22:41 mosen joined #salt
22:49 otter768 joined #salt
22:49 yomilk joined #salt
22:51 catpiggest joined #salt
22:55 acti0nman joined #salt
22:56 markm_ joined #salt
23:05 ckao joined #salt
23:09 delinquentme joined #salt
23:10 delinquentme OK so I have a minion type called *-monitor ... and I want to add a role to salt grains of "monitor_master"
23:26 delinquentme I THINK what I want to do is use the top file ... but im not 100% sure on how to configure ONLY the *-monitor nodes to assign the "monitor_master" role to themselves
23:27 wolfpackmars2_ joined #salt
23:28 TheThing joined #salt
23:34 babilen delinquentme: You can use grains.present for that
23:36 delinquentme babilen, grains.present is in the top file?
23:37 delinquentme this is rough too as I cant seem to find examples
23:37 viq joined #salt
23:37 delinquentme salt '*' grains.append key val
23:37 delinquentme so I can do that
23:41 babilen delinquentme: Well, you can either write a SLS file in which you use grains.present and target that by minion id (to '*-monitor') to your minions *or* you could use it manually
23:42 babilen Why do you need a role if you have such a clear naming scheme anyway? I mean: Why don't you simply target whatever you want to target to the monitor masters by minion id to begin with?
23:48 delinquentme I have a 3rd party formula file I want to try and get running ... so I think this would be a solid intro to grains
23:48 delinquentme I'm familar w like OS testing ... but just to familiarize myself a bit more
23:49 delinquentme http://www.mpaste.com/p/gsvMP2CVA79e6ZnultN babilen thats my current top file
23:49 delinquentme how far off am I/
23:54 markm_ joined #salt
23:58 babilen grains are only one of many ways to arget minions (and I personally dislike using grains for "roles")
23:59 babilen delinquentme: You are quite far off, as you would have to write a SLS file that you target in there. But why do you need "monitor_master" to begin with?
23:59 babilen I mean your minions seem to be sensibly named, why not simply rely on that?
23:59 delinquentme I have a 3rd party formula file I want to try and get running ... so I think this would be a solid intro to grains

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