Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-03-12

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

All times shown according to UTC.

Time Nick Message
00:03 shoemonkey joined #salt
00:07 ninjada joined #salt
00:21 filippos joined #salt
00:31 buglessdr joined #salt
00:33 shoemonkey joined #salt
00:36 Bryson joined #salt
00:42 Poppabear so why does the master show the ip of the minion in the key list ? what has to make the minion report in with a unique fqdn ??
00:43 ninjada joined #salt
00:43 hemebond Poppabear: Whatever the hostname is the first time salt-minion starts is what the minion ID will be
00:44 Poppabear hemebond: but the "hostname" in this case is "localhost" but the master see's the ID as the inet IP
00:45 hemebond Your hostname is localhost?
00:45 hemebond That doesn't seem right.
00:45 Poppabear its a vagrant box
00:45 Poppabear but hostname -f == "localhost"
00:45 hemebond Vagrant boxes don't have localhost as the hostname by default.
00:46 hemebond What's in /etc/salt/minion_id
00:46 edrocks joined #salt
00:46 Poppabear hemebond: the inet IP
00:47 hemebond Mmm, pass. Maybe there's something in the code preventing it from using localhost as the minion ID.
00:48 Poppabear yea, i mean i can change it ... and see if thats whats causing it (i assume you are correct tho)
00:49 Poppabear hemebond: just for reference this is the vbox i am messing around with https://atlas.hashicorp.com/centos/boxes/7
00:50 Poppabear out of the box by default the hostname -f is set to localhost
00:50 hemebond Did you install salt-minion manually?
00:50 Poppabear the install bootstrap script
00:51 ahrs_ joined #salt
00:52 hemebond What is/was hostname
00:52 hemebond Not hostname -f
00:52 Poppabear its a master/minion setup on the single vbox
00:52 Poppabear sec
00:53 Poppabear "hostname" == localhost.localdomain
00:54 hemebond Is this RedHat?
00:54 Poppabear is not just this vbox, others are setup like that also ... its not a big deal to set it up correctly, just trying to understand how it works, and yes its CentOS
00:56 hemebond Mmm, dunno. I'd be surprised if there was something in the code/script to change it.
00:57 hemebond Only thing I can think of is that the hostname wasn't really set to that when salt-minion was installed and started.
00:57 Poppabear yea its possible, but in real world it shouldn't be set as localhost anyhow
00:57 hemebond Does it still happen if the server is rebooted after the name change but before installing salt-minion?
00:57 Poppabear i never changed the name :P
00:58 Poppabear thats what the vagrant box shipped with by default
00:58 hemebond No, but it's likely set on first boot.
00:58 hemebond Ah. Then I'm out of ideas.
00:59 Poppabear yea, its no big deal was just wondering how Salt was dealing with the minion ID and you have answered that for me, now it makes sense
00:59 Poppabear thanks
01:00 Poppabear the only part that doesn't make sense is why it uses the IP in the case that hostnaem is "localhost" ... lol but not important as it shouldn't never be set to localhost anyhow
01:08 hunmonk joined #salt
01:09 hunmonk i'm wanting to have a minion access a master via a squid proxy. not quite clear if that's possible, or if it is, exactly how to accomplish it. can anyone provide some pointers?
01:12 hemebond hunmonk: Do you mean for the actual minion->master connection?
01:18 hunmonk hemebond: yes. looks like salt-syndic might be the thing to use?
01:19 hemebond Well... can you not just forward connections on to your master?
01:21 hunmonk hemebond: via iptables you mean?
01:21 hemebond Well, what is your proxy server proxying? Just HTTP or everything?
01:22 hunmonk hemebond: it's squid, i have it set up to proxy HTTP/HTTPS/FTP. i'm not exactly a squid expert though
01:23 hunmonk hemebond: a little poking around seemed to indicate that squid is only for proxying http protocol
01:24 hemebond But you can't connect directly out to your master?
01:24 hunmonk hemebond: i have a certain set of servers that don't have direct access to the public internet, and they use Squid
01:25 hunmonk hemebond: i haven't needed to proxy anything else until this moment :)
01:26 hunmonk hemebond: but it looks like i can do MINION -> MASTER/SYNDIC -> MASTER if i'm reading the doc correctly
01:26 hemebond But how will that master get out?
01:26 hunmonk hemebond: that master is on a server that *does* have access out
01:26 hemebond I've not used syndics before.
01:27 hemebond Oh I see.
01:27 hunmonk it sounds like it's either iptable magic, or syndic
01:27 hunmonk i think i'll try syndic first, it seems pretty straightforward
01:29 shoemonkey joined #salt
01:31 edrocks joined #salt
01:33 ninjada joined #salt
01:42 rim-k joined #salt
02:00 ninjada joined #salt
02:05 ninjada joined #salt
02:18 ninjada_ joined #salt
02:37 xet7 joined #salt
02:48 ilbot3 joined #salt
02:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.5, 2016.11.3 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers <+> Meet the Maintainers Friday, March 10th 3:00 PM MST https://goo.gl/pLv8Fz
02:55 bbradley joined #salt
03:14 Tanta joined #salt
03:29 icebal- joined #salt
03:30 dps joined #salt
03:30 descrepes joined #salt
03:31 iggy_ joined #salt
03:31 tooth_ joined #salt
03:31 Heartsbane_ joined #salt
03:32 TyrfingM1olnir joined #salt
03:32 LostSoul_ joined #salt
03:34 CrummyGummy_ joined #salt
03:35 catpig joined #salt
03:35 swa_mobil joined #salt
03:35 kaushal_ joined #salt
03:35 ThomasJ|d joined #salt
03:35 rideh- joined #salt
03:35 georgemarshall_ joined #salt
03:35 coldbrew- joined #salt
03:35 quarcu_ joined #salt
03:35 manfred joined #salt
03:35 JoeJulian_ joined #salt
03:35 mr_kyd- joined #salt
03:36 TheBigRedButton joined #salt
03:36 dlloyd_ joined #salt
03:37 Gareth joined #salt
03:39 aberdine joined #salt
03:40 lastmikoi joined #salt
03:43 rim-k joined #salt
03:43 saintromuald joined #salt
03:43 nickadam joined #salt
03:44 debian112 joined #salt
03:45 tom29739 joined #salt
03:45 KingJ joined #salt
03:45 ekkelett joined #salt
03:48 edrocks joined #salt
03:49 andi- joined #salt
03:49 sh123124213 joined #salt
03:49 rem5 joined #salt
03:49 PhilA joined #salt
03:49 hax404 joined #salt
03:49 Ryan_Lane joined #salt
03:49 peters-tx joined #salt
03:49 ThomasJ|m joined #salt
03:49 doriftoshoes_ joined #salt
03:49 CaptTofu_ joined #salt
03:49 chitown joined #salt
03:49 andi- joined #salt
03:53 hunmonk hemebond: in case you're curious, following these instructions got me what i needed pretty easily: https://docs.saltstack.com/en/latest/topics/topology/syndic.html
04:00 Klaus_Dieter joined #salt
04:05 onlyanegg joined #salt
04:11 shoemonkey joined #salt
04:24 evle1 joined #salt
04:35 rim-k joined #salt
04:40 Klaus_D1eter_ joined #salt
04:46 ninjada joined #salt
05:00 gmacon joined #salt
05:22 onlyanegg joined #salt
05:30 stooj joined #salt
06:12 shoemonkey joined #salt
06:25 netcho_ joined #salt
06:32 preludedrew joined #salt
06:36 impi joined #salt
06:38 dariusjs joined #salt
06:51 rim-k joined #salt
06:51 ninjada joined #salt
06:51 edrocks joined #salt
06:54 ninjada joined #salt
07:07 mavhq joined #salt
08:02 rim-k joined #salt
08:04 juntalis joined #salt
08:08 icebal joined #salt
08:13 shoemonkey joined #salt
08:19 aldevar joined #salt
08:21 aldevar left #salt
08:38 mavhq joined #salt
08:38 tongpu joined #salt
08:42 ninjada joined #salt
08:44 Trauma joined #salt
08:58 rim-k joined #salt
09:04 ninjada joined #salt
09:05 inad922 joined #salt
09:07 Parthi joined #salt
09:10 Parthi Hi, I am getting used to saltstack now.. I have question on salt orchestrate runner. I am trying salt.function & cmd.run and apparently I cant give onlyif if I use salt.function
09:11 overyander joined #salt
09:11 Parthi if I use salt.state i think i have to etch out the the state i want to run in a separate file or I  can give inline
09:15 Parthi freeze:     salt.function:       - name: abc       - kwarg:           onlyif: False       - arg:         - touch /root/1
09:15 Parthi this runs always
09:16 Parthi figure it calls cmdmod.py which doesn't take onlyif but it doesn't even through any error
09:16 Parthi how can i give onlyif for orchestrate runner for cmd.run
09:32 ronnix joined #salt
09:32 netcho_ joined #salt
09:37 fracklen joined #salt
09:46 netcho joined #salt
09:51 catpig joined #salt
09:54 edrocks joined #salt
10:03 cyteen joined #salt
10:10 Praematura joined #salt
10:13 shoemonkey joined #salt
10:21 Trauma_ joined #salt
10:34 cyborg-one joined #salt
10:44 dariusjs joined #salt
11:15 Nei joined #salt
11:35 dps joined #salt
11:49 evle1 joined #salt
11:50 dps_ joined #salt
12:05 catpig joined #salt
12:06 rim-k joined #salt
12:14 shoemonkey joined #salt
12:56 wasilewski joined #salt
12:56 wasilewski left #salt
13:13 shoemonkey joined #salt
13:13 Praematura joined #salt
14:11 inad922 joined #salt
14:11 cowyn joined #salt
14:13 abednarik joined #salt
14:34 rubenb joined #salt
14:36 xet7 joined #salt
14:39 shoemonkey joined #salt
14:40 fracklen joined #salt
14:58 netcho joined #salt
14:58 edrocks joined #salt
15:04 bbradley joined #salt
15:13 johnkeates joined #salt
15:20 Inveracity joined #salt
15:38 XenophonF joined #salt
15:39 cyborg-one joined #salt
15:43 shoemonkey joined #salt
15:47 abednarik joined #salt
16:00 rem5_ joined #salt
16:02 Tanta joined #salt
16:05 mavhq joined #salt
16:08 mavhq joined #salt
16:14 aldevar joined #salt
16:15 aldevar left #salt
16:15 ahrs joined #salt
16:17 desku joined #salt
16:22 Trauma joined #salt
16:34 guerby joined #salt
16:34 guerby joined #salt
16:36 inad922 joined #salt
16:52 ronnix joined #salt
16:57 msn joined #salt
17:00 edrocks joined #salt
17:04 joshin joined #salt
17:04 joshin joined #salt
17:16 Nahual joined #salt
17:17 Praematura joined #salt
17:22 yidhra joined #salt
17:26 rem5 joined #salt
17:39 Praematura joined #salt
17:39 impi joined #salt
17:44 mpanetta joined #salt
17:58 amcorreia joined #salt
18:10 DanyC joined #salt
18:12 shoemonkey joined #salt
18:17 NEOhidra joined #salt
18:17 johnkeates left #salt
18:18 bbradley joined #salt
18:21 bbradley joined #salt
18:27 drawsmcgraw joined #salt
18:30 DanyC joined #salt
18:32 DanyC_ joined #salt
18:36 nidr0x joined #salt
18:37 DanyC joined #salt
18:40 mikecmpbll joined #salt
18:58 bbradley joined #salt
19:16 shoemonkey joined #salt
19:30 netcho joined #salt
19:45 mpanetta joined #salt
19:46 Xopher joined #salt
19:52 Lionel_Debroux joined #salt
20:02 edrocks joined #salt
20:09 armyriad joined #salt
20:09 swills joined #salt
20:27 fracklen joined #salt
20:27 fracklen joined #salt
20:34 cyborg-one joined #salt
20:36 icebal joined #salt
20:38 netcho joined #salt
20:41 rpb joined #salt
21:13 Bryson joined #salt
21:19 fracklen joined #salt
21:26 cyborg-one joined #salt
21:46 mpanetta joined #salt
22:01 ninjada joined #salt
22:04 edrocks joined #salt
22:13 vodik joined #salt
22:15 ninjada joined #salt
22:37 mavhq joined #salt
22:49 onlyanegg joined #salt
22:50 Derailed joined #salt
22:52 Derailed joined #salt
22:56 ninjada joined #salt
23:03 ninjada joined #salt
23:11 saltsa joined #salt
23:17 justan0theruser joined #salt
23:24 fracklen joined #salt
23:27 saltsa joined #salt
23:32 Trauma joined #salt
23:32 darix joined #salt
23:53 shoemonkey joined #salt
23:55 shoemonkey joined #salt
23:57 Sammichmaker joined #salt

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