Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-08-02

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

All times shown according to UTC.

Time Nick Message
00:09 tzero joined #salt
00:19 tzero joined #salt
00:31 b18 joined #salt
00:31 tzero joined #salt
00:46 napsterX joined #salt
01:04 VooDooNOFX_ joined #salt
01:05 sunkist joined #salt
01:10 hasues joined #salt
01:12 hasues left #salt
01:40 brianfeister joined #salt
01:46 hrumph joined #salt
01:46 armguy joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt | 2015.5.2 is the latest | Please use https://gist.github.com for code, don't paste directly into the channel | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
01:53 amcorreia_ joined #salt
02:27 jodv joined #salt
02:30 jodv_ joined #salt
02:34 dthom91 joined #salt
02:37 nicos joined #salt
02:38 nicos Hi, anyone here can help me?
02:39 aqua^c joined #salt
02:48 napsterX joined #salt
03:04 dthom91 joined #salt
03:05 nicos Can someone help me get minions IP inside a jinja template?
03:11 yota joined #salt
03:13 MohShami_ joined #salt
03:14 cydergoth Not an expert but I think you can do that via publishing it to saltmine and then doing a saltmine query
03:15 cydergoth https://docs.saltstack.com/en/develop/topics/mine/index.html
03:17 dthom91 joined #salt
03:19 nicos I tried but still not working
03:19 dthom91 joined #salt
03:19 nicos My SO question here: http://stackoverflow.com/questions/31758639/get-minions-ip-inside-a-salt-template-filtered-by-grains and some explanation of my problem on mailing list: https://groups.google.com/forum/#!topic/salt-users/PVO95h28G_c
03:25 aparsons joined #salt
03:28 dthom911 joined #salt
03:31 aparsons joined #salt
03:49 napsterX joined #salt
04:07 nzero joined #salt
04:12 dthom91 joined #salt
04:13 napsterX joined #salt
04:14 subsignal joined #salt
04:24 sunkist joined #salt
04:27 aqua^c joined #salt
04:37 dthom91 joined #salt
04:48 ajmath joined #salt
04:49 napsterX joined #salt
05:23 tzero joined #salt
05:51 djstorm joined #salt
06:21 tzero joined #salt
06:28 stoogenmeyer__ joined #salt
06:31 joeto joined #salt
06:36 zer0def joined #salt
06:40 bougie joined #salt
07:15 micko joined #salt
07:24 X67r joined #salt
07:37 evle joined #salt
08:04 aqua^c joined #salt
08:11 Fiber^ joined #salt
08:22 otter768 joined #salt
08:30 denys joined #salt
08:33 napsterX joined #salt
08:48 favadi joined #salt
08:52 chiui joined #salt
09:43 napsterX joined #salt
10:03 joeto joined #salt
10:21 napsterX joined #salt
10:23 otter768 joined #salt
10:25 Norrland nicos: tried "salt '*' grains.get ipv4"?
10:25 Norrland or ipv6 for that matter
10:35 hoonetorg joined #salt
10:52 tmclaugh[work]_ joined #salt
11:17 X67r_ joined #salt
11:22 X67r joined #salt
11:31 yomilk joined #salt
11:35 amcorreia_ joined #salt
11:40 aqua^c joined #salt
11:48 mapu joined #salt
11:50 yomilk joined #salt
11:59 ThomasJ joined #salt
12:00 Jimlad joined #salt
12:24 otter768 joined #salt
12:32 nicos Norrland on console that works, how do I use it on a jinja template?
12:40 favadi joined #salt
12:45 nicos also, grains.get will get only the info from the current minion. I need the ip of all others too
12:47 stoogenmeyer joined #salt
12:53 favadi joined #salt
12:54 yomilk joined #salt
13:00 Norrland nicos: I guess you'll have to use the mine stuff
13:02 nicos Norrland: I'm using salt['mine.get']('roles:backend', 'network.ip_addrs', 'grains') to get the ip_addrs on the minions, but it returns only one interface. I need the eth0 and eth1. Sometime it returns one sometimes the other
13:02 nicos have you seend something loke this>
13:02 nicos ?
13:03 markm joined #salt
13:03 Norrland nope. Never used salt-mine
13:14 chiui joined #salt
13:19 Flusher joined #salt
13:32 evle1 joined #salt
13:32 favadi joined #salt
13:42 Charcol joined #salt
13:54 viq joined #salt
14:00 RandyT joined #salt
14:09 TyrfingMjolnir joined #salt
14:13 sgargan joined #salt
14:23 aqua^c joined #salt
14:24 otter768 joined #salt
14:26 cheus joined #salt
14:32 yomilk joined #salt
14:35 dthom91 joined #salt
14:37 eliasp joined #salt
14:37 dthom91 joined #salt
14:59 linjan__ joined #salt
15:00 sjorge joined #salt
15:00 sjorge joined #salt
15:02 X67r joined #salt
15:05 catpig joined #salt
15:06 hasues joined #salt
15:06 hasues left #salt
15:11 clintberry joined #salt
15:13 clintber_ joined #salt
15:14 linjan_ joined #salt
15:17 dthom91 joined #salt
15:24 X67r_ joined #salt
15:27 digitalhero joined #salt
15:34 glyf joined #salt
15:34 X67r joined #salt
15:36 jmreicha joined #salt
15:37 glyf joined #salt
15:46 jhauser joined #salt
15:51 SubOracle joined #salt
15:52 APLU joined #salt
15:53 MatthewsFace joined #salt
15:54 Matthews_ joined #salt
16:01 digitalhero joined #salt
16:03 ajw0100 joined #salt
16:07 dthom91 joined #salt
16:11 benny_ joined #salt
16:12 benny122 joined #salt
16:12 X67r joined #salt
16:13 benny122 can anyone point me at the docs that explains how to use the output of a module into another action? for example use the path from salt.modules.vbox_guest.additions_mount in a subsequent command?
16:19 X67r joined #salt
16:21 yomilk joined #salt
16:25 otter768 joined #salt
16:29 herpoderp joined #salt
16:34 glyf_ joined #salt
16:37 kossy joined #salt
16:37 Ztyx joined #salt
16:38 dthom91 joined #salt
16:48 kossy joined #salt
16:48 CeBe joined #salt
16:49 clintberry joined #salt
17:04 aparsons joined #salt
17:05 subsignal joined #salt
17:05 digitalhero joined #salt
17:07 subsignal joined #salt
17:11 ageorgop joined #salt
17:13 glyf joined #salt
17:18 bfoxwell joined #salt
17:20 BlackJackAc3 joined #salt
17:23 hasues joined #salt
17:24 hasues left #salt
17:24 stoogenmeyer joined #salt
17:27 malinoff joined #salt
17:27 malinoff joined #salt
17:34 X67r joined #salt
17:39 andrew_v joined #salt
17:46 babilen benny122: {{ set foobar = salt.modules.vbox_guest.additions_mount(foo, bar, baz) }}
17:47 babilen err, {% ... %}
17:49 dopesong joined #salt
17:51 malinoff joined #salt
17:51 dthom91 joined #salt
17:58 glyf joined #salt
18:02 linjan_ joined #salt
18:10 sjorge joined #salt
18:10 sjorge joined #salt
18:10 yomilk joined #salt
18:21 clintberry joined #salt
18:22 sjorge joined #salt
18:22 sjorge joined #salt
18:26 otter768 joined #salt
18:46 digitalhero joined #salt
18:55 otter768 joined #salt
18:55 sjorge joined #salt
18:55 sjorge joined #salt
18:56 ligthert joined #salt
18:56 evidence joined #salt
18:56 wedgie joined #salt
18:56 VooDooNOFX joined #salt
18:56 freelock joined #salt
18:56 egil joined #salt
18:56 dstokes joined #salt
18:56 carmony joined #salt
18:56 Sacro joined #salt
18:56 JoeJulian joined #salt
18:56 agj joined #salt
18:57 digitalhero joined #salt
18:57 wm-bot4 joined #salt
18:57 hacfi joined #salt
19:00 sjorge joined #salt
19:00 sjorge joined #salt
19:00 aparsons joined #salt
19:01 dunz0r joined #salt
19:01 Garo_ joined #salt
19:05 dwfreed joined #salt
19:10 zer0def joined #salt
19:10 gerhardqux joined #salt
19:10 baffle joined #salt
19:10 Ryan_Lane joined #salt
19:10 Ryan_Lane joined #salt
19:10 sjohnsen joined #salt
19:10 calebj joined #salt
19:10 jjdjj joined #salt
19:10 pfallenop joined #salt
19:10 ventris joined #salt
19:10 ayee joined #salt
19:10 Mate joined #salt
19:10 Mate joined #salt
19:11 __alex joined #salt
19:11 tedski joined #salt
19:11 Ouzo_12 joined #salt
19:11 sifusam joined #salt
19:11 Smoked_Duck joined #salt
19:11 ntropy joined #salt
19:11 amontalban joined #salt
19:11 shnguyen joined #salt
19:11 mkillebrew joined #salt
19:11 hhenkel joined #salt
19:11 tomasq joined #salt
19:11 phpdave11 joined #salt
19:11 stevednd joined #salt
19:11 chitown joined #salt
19:11 pcn joined #salt
19:11 ede joined #salt
19:11 mackstick joined #salt
19:11 Nebraskka joined #salt
19:11 DaveQB joined #salt
19:11 emid joined #salt
19:11 mrtrosen joined #salt
19:11 chutzpah joined #salt
19:11 markm joined #salt
19:11 mattrobenolt joined #salt
19:11 keekz joined #salt
19:11 Alan_S joined #salt
19:12 pmcg joined #salt
19:12 codysoyland joined #salt
19:14 aberdine joined #salt
19:15 dean joined #salt
19:15 digitalhero joined #salt
19:15 mnaser joined #salt
19:17 bbhoss joined #salt
19:21 Ixan joined #salt
19:24 Ixan left #salt
19:25 p34k joined #salt
19:26 p34k left #salt
19:30 rogst joined #salt
19:34 pmcg joined #salt
19:36 aparsons joined #salt
19:37 mamercad joined #salt
19:42 aparsons joined #salt
19:49 scoates joined #salt
19:51 mamercad joined #salt
19:54 mamercad joined #salt
19:59 yomilk joined #salt
20:00 digitalhero joined #salt
20:10 dthom91 joined #salt
20:16 Ztyx joined #salt
20:17 fersur3 joined #salt
20:24 Fiber^ joined #salt
20:29 jgelens joined #salt
20:30 mamercad joined #salt
20:33 bfoxwell joined #salt
20:43 Ztyx joined #salt
20:49 cedwards joined #salt
20:49 c10b10 joined #salt
20:50 cedwards any devs around? looking for some advice on whether a plugin i'm working on should be an ext_pillar or custom runner..
20:54 tzero joined #salt
20:55 glyf joined #salt
20:58 subsignal joined #salt
20:59 iggy cedwards: they generally serve wildly different purposes, so...
21:01 dthom91 joined #salt
21:25 clintberry joined #salt
21:28 digitalhero joined #salt
21:37 djinni` joined #salt
21:39 dthom91 joined #salt
21:41 mamercad joined #salt
21:48 yomilk joined #salt
21:53 primechuck joined #salt
21:56 xintron joined #salt
21:57 coderMe joined #salt
21:57 aparsons joined #salt
21:58 mamercad joined #salt
21:58 coderMe joined #salt
21:59 coderMe joined #salt
21:59 subsignal joined #salt
22:00 coderMe joined #salt
22:01 coderMe joined #salt
22:02 coderMe joined #salt
22:03 aparsons joined #salt
22:04 coderMe joined #salt
22:05 coderMe joined #salt
22:06 coderMe joined #salt
22:07 coderMe joined #salt
22:07 amcorreia_ joined #salt
22:09 coderMe joined #salt
22:10 coderMe joined #salt
22:11 coderMe joined #salt
22:12 coderMe joined #salt
22:13 coderMe joined #salt
22:14 coderMe joined #salt
22:16 coderMe joined #salt
22:17 coderMe joined #salt
22:18 coderMe joined #salt
22:23 primechuck joined #salt
22:31 digitalhero joined #salt
22:38 digitalhero joined #salt
22:51 anotherZero joined #salt
22:52 yomilk joined #salt
22:53 anotherZero guys.. I've been using saltstack for a year or so now, but I literally can't understand how to use a formula.  do I copy the formula around into /srv/salt and /srv/pillar , or is it designed to be used from within /srv/formulas ?
22:55 primechuck joined #salt
22:56 mosen joined #salt
23:01 subsignal joined #salt
23:05 amcorreia_ joined #salt
23:23 iggy anotherZero: you can do it multiple ways, both of those work, also see how the salt-formula does it (although I don't really suggest doing it that way)
23:24 nikob joined #salt
23:28 anotherZero iggy: if i were going to run the apache-formula, would I add /srv/formulas/apache-formula to the file_roots, and then copy the pillar to /srv/pillar/apache?  is that a common practice?
23:29 mosen nah just have gitfs_roots and point it to each git repo (locally cloned)
23:32 anotherZero ok i'll look at that
23:35 hblah joined #salt
23:37 mosen anotherZero: you could clone into another directory or a local server and then add each formula to gitfs_roots
23:39 anotherZero I'm not sure I want to take the time to learn what gitfs_roots is right now.  I can, however clone a repo so it's a real file structure...
23:41 mosen anotherZero: ah it just means that each git repo is treated as its own /srv
23:42 anotherZero sounds easy enough
23:42 mosen anotherZero: so you can add a formula git repo to the list, and then its accessible like it was in /srv
23:42 anotherZero thanks.  i think i'll set up a test bed with some VMs to try to get a handle on things so I don't kill my production servers :)
23:43 mosen anotherZero: hehe :) no probs
23:43 subsignal joined #salt
23:51 garthk joined #salt
23:55 aqua^c joined #salt
23:56 voileux_ joined #salt
23:59 Antiarc joined #salt

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