Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-03-20

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

All times shown according to UTC.

Time Nick Message
00:00 mTeK speedtest.sls will just setup apache2 and php then run a cmd.run script that pulls down the speedtest mini site and moves it to the html dir.
00:01 mavhq joined #salt
00:02 beardedeagle do you have any servers explicitly called speed followed by whatever?
00:02 mTeK yes
00:02 mTeK speedtest.hostname.tld
00:06 mTeK this is in speedtest.sls https://gist.github.com/tricksol/b743617a060173ddc454
00:10 beardedeagle I do something similar in my top file for webservers that server conetent via docker containers. all I did was '*web*':  and it works fine. Looking at your gists, from what I am seeing, it should work.
00:10 mTeK No matching sls found for 'speedtest' in env 'base'
00:12 mavhq joined #salt
00:13 mTeK speedtest.sls is in /srv/salt/speedtest/
00:13 beardedeagle what is the file name?
00:14 beardedeagle nevermind
00:14 beardedeagle change the name to init.sls. so /srv/salt/speedtest/init.sls
00:14 mTeK I just changed it from speedtest.sls to init.sls and it looks like it going to run
00:14 beardedeagle right
00:14 beardedeagle so if you wanted to keep it what it was
00:14 beardedeagle it would be speedtest.speedtest in your top file
00:15 beardedeagle since you had it named speedtest but in a folder of speedtest it was looking for /srv/salt/speedtest.sls
00:15 beardedeagle couldnt find it
00:15 beardedeagle error
00:16 mTeK I like the init.sls as that follows all my other structures
00:16 beardedeagle right, that is how I do it.
00:16 mTeK Was brain fade, we I had changed it and it was running when you responded
00:17 mTeK Thanks you were on the right track
00:17 kliquori joined #salt
00:19 edrocks joined #salt
00:19 beardedeagle yeah, just hard to know how you have things laid out lol
00:21 mTeK I've been a sysadmin at a DC and for a webhost. This would have saved me lots of time at the web host had we been doing this.
00:21 mTeK We are closing down this month because there is no money left in it.
00:26 edrocks__ joined #salt
00:32 mosu_ joined #salt
00:33 bhosmer joined #salt
00:35 iggy tell Amazon about it
00:41 mTeK They might do ok because of their large budget. We were down to $8 per month and still loosing customers to cheaper hosts. We let our customers know that we would migrate them to their new webhost of their choice.
00:42 mTeK It's funny 6 years as we still had a full rack of equipement and 3ish years we got down to a 1/4 rack with VM's.
00:42 mTeK Now to keep in the + side we are down to 4 nameservers and one webserver/mailserver
00:43 mTeK But salt will have me taking on more sysadmin contracts
00:43 mTeK I can manage probably 50x the servers with the same time frame.
00:43 onlyanegg joined #salt
00:50 jjasinski joined #salt
00:57 edrocks_ joined #salt
01:01 SheetiS joined #salt
01:04 kliquori joined #salt
01:06 edrocks__ joined #salt
01:08 edrocks joined #salt
01:11 edrocks__ joined #salt
01:26 numkem joined #salt
01:27 spuder joined #salt
01:27 akhter joined #salt
01:27 bhosmer_ joined #salt
01:32 iceyao joined #salt
01:32 ekleog joined #salt
01:33 ekleog Hello! Is it possible, in a top file, to match against all *but* some minions? For our specific case, we'd like to match a smartmontools setup against every machine except the ones names "vm-*"
01:36 hemebond ekleog: Yes.
01:37 hemebond ekleog: https://docs.saltstack.com/en/latest/topics/targeting/compound.html
01:37 ekleog Oh great, thanks, hadn't seen the "not" match!
01:37 ekleog Sorry and thanks again :)
01:39 beardedeagle no need to apologize
01:40 euidzero joined #salt
01:49 fracklen joined #salt
02:01 rem5 joined #salt
02:01 hemebond Would it be better to add to salt/tests/unit/pillar.py or create a new test?
02:01 akhter joined #salt
02:02 ekleog left #salt
02:02 anmol joined #salt
02:05 hightekvagabond joined #salt
02:21 bhosmer joined #salt
02:28 anmol joined #salt
02:30 edrocks joined #salt
02:32 timoguin joined #salt
02:39 catpigger joined #salt
03:00 mavhq joined #salt
03:01 edrocks_ joined #salt
03:05 Kram_ joined #salt
03:05 kliquori joined #salt
03:15 mavhq joined #salt
03:16 bhosmer joined #salt
03:22 brianfeister joined #salt
03:23 mavhq joined #salt
03:23 brianfeister joined #salt
03:32 edrocks joined #salt
03:40 euidzero joined #salt
03:48 mavhq joined #salt
03:52 kliquori joined #salt
03:52 racooper joined #salt
04:03 edrocks_ joined #salt
04:04 joe_n joined #salt
04:04 west575_ joined #salt
04:10 bhosmer joined #salt
04:17 rem5 joined #salt
04:29 anmol joined #salt
04:39 iceyao_ joined #salt
04:46 iceyao joined #salt
04:51 _JZ_ joined #salt
04:54 akhter joined #salt
04:58 cyteen_ joined #salt
05:02 SheetiS joined #salt
05:04 bhosmer joined #salt
05:05 edrocks joined #salt
05:13 joe_n joined #salt
05:14 MTecknology Where's the salt conference at?..
05:14 MTecknology sorry, dumb question
05:27 jfindlay iggy: no one is really in charge of it at this point, but I keep bugging people about it.  Maybe UtahDave will have some time to spend there
05:30 MTecknology jfindlay: Random question.. do you know if the ticket provided with the saltack support contract includes pre-conf training?
05:42 onlyanegg joined #salt
05:45 teatime ugh, I wish I could afford things like this / had an employer that would pay for conferences and training.
05:52 brianfeister joined #salt
05:53 josuebrunel joined #salt
05:53 kliquori joined #salt
05:58 bhosmer joined #salt
05:59 ninjada joined #salt
06:07 edrocks_ joined #salt
06:18 cswang_ joined #salt
06:20 mavhq joined #salt
06:20 dober joined #salt
06:20 dober joined #salt
06:24 cswang joined #salt
06:38 edrocks joined #salt
06:39 kliquori joined #salt
06:43 antpa joined #salt
06:52 polyidus joined #salt
06:57 evle joined #salt
06:58 dober joined #salt
06:58 dober joined #salt
06:59 ninjada joined #salt
07:01 jfindlay MTecknology: I'm not really sure what you're asking
07:02 euidzero joined #salt
07:02 teatime it sounds like saltstack enterprise support contract includes a ticket to saltconf
07:02 teatime and he wants to know if that ticket includes the pre-conf training
07:03 teatime which is usually $300 on top of a normal saltconf ticket
07:03 Rumbles joined #salt
07:04 xmj teatime: why don't you? :)
07:05 teatime argh don't even ask
07:05 teatime I'm in a fine mood, no reason to ruin it :)
07:09 MTecknology teatime: Yup, that's what I was asking! Thanks!
07:09 edrocks_ joined #salt
07:10 dober joined #salt
07:10 dober joined #salt
07:20 keimlink joined #salt
07:25 subsignal joined #salt
07:34 cswang_ joined #salt
07:39 Adi1 joined #salt
07:39 Adi1 HI, I have some question about salt job ... http://paste.debian.net/417248 . Can anyone help?
07:41 xmj teatime: self-employed?
07:41 Adi1 joined #salt
07:41 brianfeister joined #salt
07:42 teatime yeah, we'll go with that.
07:42 xmj ha
07:43 Adi1 joined #salt
07:50 digitalhero joined #salt
07:51 fracklen joined #salt
07:53 edrocks joined #salt
08:02 ninjada joined #salt
08:04 bhosmer joined #salt
08:04 brianfeister joined #salt
08:12 txmoose Morning all.  I'm getting into learning to use Jinja templates now, but I'm not super confident in my ability to write them yet.  Is there any simple way to just render the sls file and print it to stdout so that I can see if I'm sane when writing it?
08:23 hemebond txmoose: You can do it all via a Python console
08:23 hemebond Well, most of it.
08:23 babilen There is also https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cp.html#salt.modules.cp.get_template
08:24 txmoose babilen: Thanks, I'll dig through that.  I really just need to have it render and print so that I can see what I'm writing.
08:25 babilen get_template_str would be easiest for that
08:25 babilen (which doesn't exist, yet)
08:27 cyteen_ joined #salt
08:27 txmoose hmm.... mayhaps I need to change my thinking on debugging jinja templates, then
08:38 cyborg-one joined #salt
08:41 kliquori joined #salt
08:42 edrocks joined #salt
08:45 dmaiocchi joined #salt
09:00 brianfeister joined #salt
09:11 hemebond I don't suppose there's anyone here who's played with the pillar unit test, is there?
09:27 kliquori joined #salt
09:34 onlyanegg joined #salt
09:36 baoboa joined #salt
09:36 dmaiocchi joined #salt
09:40 Fiber^ joined #salt
09:44 edrocks_ joined #salt
09:47 nidr0x joined #salt
09:49 slav0nic joined #salt
10:04 euidzero joined #salt
10:05 Lionel_Debroux_ joined #salt
10:08 josuebrunel joined #salt
10:13 tampakrap joined #salt
10:28 zenlot joined #salt
10:31 tampakrap joined #salt
10:34 iceyao joined #salt
10:34 oida joined #salt
10:38 TyrfingMjolnir joined #salt
10:43 tampakrap joined #salt
10:46 baoboa joined #salt
10:51 LostSoul_ Hello
10:52 LostSoul_ Is there way to set default values for variables in pillar, that are list of dict
10:52 LostSoul_ ?
10:52 hemebond LostSoul_: Yes, it works like a regular dict .get()
10:52 LostSoul_ I iterate on list: {% for file in salt['pillar.get']('nagios_plugin_files') %}
10:53 hemebond {{ salt['pillar.get']('myvar', 'fallback') }}
10:53 LostSoul_ And want that file.user and file.group was default set to root so that I don't need to add it to each element of list
10:55 LostSoul_ hemebond: http://paste.debian.net/hidden/51a7f386/ - how to add default values for user and group?
10:56 hemebond LostSoul_: http://jinja.pocoo.org/docs/dev/templates/#default
10:58 LostSoul_ LOL, so easy, hemebond you are always my superhero :D
10:58 hemebond np :-)
11:06 brianfeister joined #salt
11:08 mavhq joined #salt
11:13 LostSoul_ - user: {{ file.user | default('root') }}  - I added sth like this and now I get:  Too many functions declared in state 'file' in SLS 'nagios/nagios'
11:17 edrocks joined #salt
11:28 kliquori joined #salt
11:34 LostSoul_ I changed it to  - user: {{ file.user|default('root') }}  and the same effect
11:35 XenophonF LostSoul_: would you paste your updated code?
11:39 LostSoul_ Sure
11:39 LostSoul_ I even removed recurse
11:40 LostSoul_ XenophonF: http://paste.debian.net/hidden/203190e5/
11:42 onlyanegg joined #salt
11:42 XenophonF would you please paste the contents of the nagios_plugin_files pillar?
11:42 LostSoul_ Ok
11:43 XenophonF thanks
11:43 LostSoul_ I found it when I pasted it for you :)
11:43 LostSoul_ :{{ in near.group should be : {{             :)
11:43 LostSoul_ Thanks XenophonF :)
11:44 XenophonF ah hah!
11:44 XenophonF glad you figured it out :)
11:44 XenophonF the yaml parser needs better error messages, that's for damn sure
11:48 polyidus joined #salt
11:49 mavhq joined #salt
11:51 bhosmer joined #salt
11:53 fracklen joined #salt
11:55 pwalsh joined #salt
11:58 timg__ joined #salt
12:00 timg__ hi, i am new to salt and worked using ansible before. using ansible it was quite easy to build zero downtime deployment? is there a good solution for saltstack how to handle this?
12:00 LostSoul_ XenophonF: TRue :)
12:02 keimlink joined #salt
12:03 viq timg__: how would you do it in ansible/
12:03 viq ?
12:04 timg__ viq: ansible has build in support for that using some kind of pre and post tasks, but i am looking at salt because may there are more flexible solutions
12:05 quasiben joined #salt
12:05 viq timg__: I don't know well enough how ansible works, so I can't really answer without more information. Salt has dependencies/requirements of various kinds, orchestration runner, to name a couple of bits that could be used for that
12:07 timg__ viq: for example i want to deploy a tar file to a bunch of minions (not all) and deactivate logging before uploading a tar file. how would you handle this using salt?
12:08 viq timg__: a state file that first deactivates logging, uploads tar file and does whatever you want with it, and then reactivates logging
12:10 antpa joined #salt
12:10 timg__ so you would run 3 different kinds of commandos (for example from a jenkins) against your minions? at first one that disables logging, than the uploading of the tar file and than reactivate logging?
12:11 viq timg__: kinda. Ansible has playbooks, salt has state files - a bunch of operations grouped into a single "container"
12:12 viq timg__: so a single "event" would cause execution of all three operations, both in salt and ansible
12:13 Rumbles joined #salt
12:14 kliquori joined #salt
12:16 timg__ ok, i think i've to look up it in the docs, thanks
12:17 viq In the mean time I found http://www.afewmorelines.com/a-full-deployment-pipeline-using-vagrant-saltstack-and-jenkins/ though I haven't looked at it in too much detail
12:21 timg__ thanks, i'll take a look at the code
12:23 viq_ joined #salt
12:33 freeaks joined #salt
12:39 rem5 joined #salt
12:45 antpa joined #salt
12:51 edrocks_ joined #salt
12:55 brianfeister joined #salt
12:57 akhter joined #salt
12:59 quasiben joined #salt
13:04 ninjada joined #salt
13:07 antpa joined #salt
13:18 brianfeister joined #salt
13:22 edrocks joined #salt
13:29 amcorreia joined #salt
13:38 timoguin joined #salt
13:43 onlyanegg joined #salt
13:52 timoguin joined #salt
13:52 bhosmer joined #salt
13:53 edrocks_ joined #salt
13:55 akhter joined #salt
14:00 Jimlad joined #salt
14:03 rem5 joined #salt
14:15 Aron joined #salt
14:16 kliquori joined #salt
14:24 edrocks joined #salt
14:24 keimlink joined #salt
14:28 Aron I am experiencing memory leak with salt-master processes when repeatedly refreshing pillars. What is the best way to find the problem?
14:32 babilen https://github.com/saltstack/salt/issues/31979
14:36 Aron thanks, but I am not using gitfs
14:37 babilen Which might, or might not, be related
14:37 babilen There might even be multiple memory leaks, but the bug itself is simply about, well, memory leaking
14:38 Aron ah ok thanks
14:44 rem5 joined #salt
14:48 antpa joined #salt
14:49 slav0nic joined #salt
14:53 BradThurber joined #salt
15:02 kliquori joined #salt
15:05 hightekvagabond joined #salt
15:06 rem5 joined #salt
15:09 ninjada joined #salt
15:11 antpa joined #salt
15:40 bhosmer joined #salt
15:42 amcorreia joined #salt
15:51 dmaiocchi joined #salt
15:57 CeBe joined #salt
15:58 onlyanegg joined #salt
16:14 dmaiocchi joined #salt
16:25 mavhq joined #salt
16:28 edrocks_ joined #salt
16:28 Muchoz joined #salt
16:29 SpX joined #salt
16:29 quasiben joined #salt
16:29 keimlink joined #salt
16:30 arif-ali joined #salt
16:40 bhosmer joined #salt
16:49 sfxandy joined #salt
16:50 hasues joined #salt
17:03 kliquori joined #salt
17:05 illern joined #salt
17:10 ninjada joined #salt
17:11 lero joined #salt
17:23 ajw0100 joined #salt
17:23 subsignal joined #salt
17:26 catpig joined #salt
17:30 edrocks joined #salt
17:37 Jimlad joined #salt
17:46 onlyanegg joined #salt
17:47 hasues joined #salt
17:49 kliquori joined #salt
17:51 hasues left #salt
17:51 Rumbles joined #salt
17:54 brianfeister joined #salt
17:56 Muchoz joined #salt
17:58 subsignal joined #salt
17:59 iggy txmoose: salt-call -l debug state.sls foo test=True
17:59 iggy txmoose: also, state.show_sls is handy once you get to where you can read the output
18:06 onlyanegg joined #salt
18:10 josuebrunel joined #salt
18:11 BradThurber joined #salt
18:15 ThierryR joined #salt
18:16 cyborg-one joined #salt
18:17 dmaiocchi joined #salt
18:24 aixtools joined #salt
18:30 onlyanegg joined #salt
18:32 hightekvagabond joined #salt
18:39 justanotheruser joined #salt
18:40 bhosmer joined #salt
18:42 SheetiS joined #salt
18:48 jmedinar joined #salt
18:51 frizzby joined #salt
18:51 aixtools o/
18:53 aixtools wondering how to debug the following series:
18:53 aixtools [DEBUG   ] Created pidfile: /var/run/salt-minion.pid
18:53 aixtools [INFO    ] The salt minion is shut down
18:53 aixtools [ERROR   ] Minion failed to start
18:53 aixtools [WARNING ] ** Restarting minion **
18:53 aixtools [INFO    ] Sleeping random_reauth_delay of 6 seconds
18:55 AndreasLutro aixtools: try starting the salt minion manually with `salt-minion -l debug` instead of through whatever init system you're using
18:56 akhter joined #salt
18:58 aixtools that is how I started salt-minion
18:58 AndreasLutro odd... could the init system be interferring? is there a salt minion already running?
18:59 aixtools I am trying to get a masterless setup started. but the doc about what to put in /srv/salt is - as the master - but I cannot find how to setup /srv/salt for the master
19:00 aixtools no, just installed. The error is, I am assuming, mine. Just need some help making the failure a bit more verbose.
19:00 AndreasLutro what version of salt are you using?
19:00 aixtools 18.8.7
19:00 aixtools sorry, 15
19:00 AndreasLutro dunno why it's not giving you more information then. anyway
19:00 aixtools what pip supplies
19:01 slav0nic joined #salt
19:01 AndreasLutro in a masterless setup the master and minion are the same machine. you also don't run `salt-minion`, you just run `salt-call local state.highstate` for example
19:01 aixtools a) I am very new (squeak squeak) to both salt and python.
19:01 aixtools moment...
19:02 AndreasLutro I'd recommend installing from repo.saltstack.com instead of pip, but doesn't really matter I guess
19:02 elsmo joined #salt
19:02 aixtools well, I think I found another component I must build...
19:03 aixtools ah, there are two ways to converse, if I recall - the UDP one - is that raet?
19:04 AndreasLutro doesn't matter if you use masterless
19:04 mavhq joined #salt
19:05 aixtools it seems it wants libnacl - which I have not seen in any of the 'build documentation', nor in any tests by raet (is nacl a dependency of raet, or is caller.py trying to import something it does not really need
19:05 aixtools at least not always...
19:06 AndreasLutro eh no idea why it's needing that... I think you'll have more luck installing from repo.saltstack.com
19:06 aixtools actually, it is installed...
19:06 aixtools root@x069:[/etc/salt]pip search libnacl
19:06 aixtools checking:/usr/lib/libc.a
19:06 aixtools member is:shr_64.o
19:06 aixtools libnacl     - Python bindings for libsodium based on ctypes
19:06 aixtools INSTALLED: 1.4.4 (latest)
19:10 aixtools so, now I am thiking it is something missing in the logic of libnancl - it is looking for a library I do not have - libsodium
19:10 aixtools OSError: Could not locate nacl lib, searched for libsodium.so, libsodium.so.17, libsodium.so.13, libsodium.so.10, libsodium.so.5, libsodium.so.4,
19:12 ninjada joined #salt
19:13 antpa joined #salt
19:21 dmaiocchi joined #salt
19:22 mapu joined #salt
19:25 aixtools many thanks for the help with finding the issue. back later :)
19:34 edrocks_ joined #salt
19:41 JFray2 joined #salt
19:43 SheetiS joined #salt
19:43 JFray2 I have what I hope to be a simple question, but I can't seem to find anything so far. I'm trying to build a configuration file that needs a list of all the hosts it's trying to connect to. It seems like it should be simple to enumerate all hosts using something like runners.managed.up/alived but I can't figure out how to reference that in the .sls file. Any ideas?
19:44 mdupont joined #salt
19:44 JFray2 or is there a better way other than using runners.managed.up/alived to get that info?
19:44 AndreasLutro JFray2: mine data
19:45 JFray2 k, looking that up now
19:45 Rumbles joined #salt
19:49 JFray2 cool, I think I got it. Thanks!!
19:50 kliquori joined #salt
19:53 Jimlad joined #salt
19:57 elsmo joined #salt
20:08 bastiandg joined #salt
20:09 onlyanegg joined #salt
20:21 onlyanegg joined #salt
20:24 mavhq joined #salt
20:27 TTimo what's a good way to manage multiple edits to the same file by different .sls ?
20:27 guerby joined #salt
20:29 bhosmer_ joined #salt
20:32 cztanu joined #salt
20:36 edrocks joined #salt
20:37 kliquori joined #salt
20:41 joe_n joined #salt
20:46 Rumbles joined #salt
20:49 mavhq joined #salt
20:51 ajw0100 joined #salt
20:53 elsmo joined #salt
20:53 hemebond TTimo: Edits how?
20:54 hemebond (also, are you the TTimo?)
20:54 TTimo blockreplace type of things
20:54 TTimo err .. yeah I guess I am 'the' TTimo :)
20:54 hemebond Quake ttimo?
20:54 elsmo joined #salt
20:54 TTimo yes
20:54 hemebond Neat.
20:55 elsmo joined #salt
20:55 hemebond I haven't used blockreplace so I'm reading up on it now in case no one else responds.
20:56 hemebond What do you mean by "manage"?
20:56 hemebond Are your states stepping on each other?
20:56 TTimo yeah that's what would happen
20:57 TTimo adding some paths to a .bash_profile for instance
20:57 TTimo different states will want to add/maintain their own path edits
20:57 TTimo I would prefer individual files with a '.d' directory
20:58 TTimo but this is with fish shell, which doesn't seem to do that
20:58 AndreasLutro what's wrong with just adding a file.blockreplace state to each .sls?
20:58 TTimo I need to try. I assumed they would step on each other
20:58 hemebond It looks like blockreplace uses a custom comment/header for each edit.
20:58 AndreasLutro well you need to make sure the state ids are unique, and you need to provide unique start/end markers for each
20:58 TTimo I mean .. the only way it finds the block is with those '#-- start managed zone --' comments ?
20:59 TTimo ah
20:59 TTimo good, I may be in the clear then
20:59 rhodgin joined #salt
21:00 ageorgop joined #salt
21:02 elsmo joined #salt
21:06 TTimo (https://github.com/TTimo/linux-salted little side project if you're curious what I'm doing atm)
21:07 edrocks_ joined #salt
21:07 rem5 joined #salt
21:08 hemebond "more behavior I don't understand" LOL
21:08 TTimo yeah ya know, always learning
21:10 hemebond Oh neat, like a scripted build for a client machine.
21:10 TTimo yup
21:13 ninjada joined #salt
21:13 hemebond Will definitely be nicer than trying to do it with preseed, apt stuff and bash scripts.
21:14 TTimo I like that it can adjust to different configurations and contexts. I'm able to use it on VPS machines, on a new desktop, sometimes when I am at a customer and they give me a system to work on their stuff with for a few days
21:18 phila joined #salt
21:21 AndreasLutro luckily 98% of my personal configuration fits in ~/.config, and the remaining ~5 steps I'm ok with doing manually
21:30 rhodgin joined #salt
21:33 iggy TTimo: another way would be file.accumulated
21:35 Rumbles joined #salt
21:38 akhter joined #salt
21:39 sxar joined #salt
21:39 kliquori joined #salt
21:40 hoonetorg hi
21:41 hoonetorg is there a way to see the documentation of a state module
21:41 hoonetorg i only know "salt-run doc.execution"
21:42 hoonetorg and salt-call <module_name> -d
21:42 hoonetorg but that shows doc of modules and not state-modules
21:44 akhter joined #salt
21:46 mavhq joined #salt
21:50 hemebond hoonetorg: For states? Not that I know of. I've always used the docs.
21:54 tru_tru 'TODO
21:56 akhter joined #salt
21:58 Rumbles joined #salt
21:59 punkoivan joined #salt
22:00 punkoivan hi! is there are some active people? ;) Channel is alive?
22:00 hemebond 575 lurkers
22:00 punkoivan I'm absolutely newbie with Salt and have some question.
22:00 punkoivan ;)
22:01 hemebond punkoivan: Been through the tutorial?
22:01 punkoivan So, im sing Ansible for now
22:01 punkoivan yeah
22:01 hemebond Ask away :-)
22:02 rem5 joined #salt
22:02 punkoivan I have some task - need deploy Cassandra in vagrant using Salt. I found module for Cassandra, read about provisioning with Salt in vagrant.
22:02 shiriru joined #salt
22:02 punkoivan But I realy confused - do I need master and minions or I can do it with masterless ?
22:03 punkoivan What is the best way?
22:03 hemebond You can use Salt without a master by using salt-call.
22:03 hemebond Best way is to have a master.
22:03 hemebond I've not personally used Salt without a master.
22:03 punkoivan To be honest, after Ansible Salt realy difficult to me.
22:03 punkoivan Ok.
22:04 hemebond Ansible is a bit like using salt-ssh.
22:04 hemebond There is a little bit of setup with Salt.
22:04 punkoivan I have some node after NAT for minions, when I configured master, I need specify port?
22:04 hemebond e.g., you need the top.sls.
22:04 punkoivan Yeah, God bless both using YAML :)
22:04 punkoivan and jinja, It's ok.
22:05 hemebond Minions contact the master on 4505 and 4506
22:06 punkoivan So, if I have after NAT master, I need forward port 4505(6), that minions can connect to master, right?
22:07 hemebond Yes.
22:07 punkoivan But if master have white IP  doesn't matter where is minions?
22:09 edrocks joined #salt
22:09 ninjada joined #salt
22:10 hemebond white IP?
22:10 punkoivan hm.. Real IP?
22:11 hemebond As long as the minion can connect to the master on those ports, yeah, it'll work.
22:11 punkoivan I'm not english native speaker, so we call it white IP :)
22:11 punkoivan IP available from Internet without any forwarding may be.
22:12 punkoivan thanks.
22:15 punkoivan and last question for today and I'll go to manpages - is it ok have master and minions on guest and start formula localy, on vagrant? Or better have minions on guest and master on host?
22:16 hemebond For testing and development putting the master on a guest VM is fine.
22:17 bhosmer joined #salt
22:17 punkoivan realy thanks, hemebond!
22:17 hemebond Good luck.
22:19 rhodgin joined #salt
22:23 cpowell joined #salt
22:23 cpowell joined #salt
22:25 akhter joined #salt
22:25 _beardedeagle joined #salt
22:26 edrocks_ joined #salt
22:28 akhter joined #salt
22:31 punkoivan left #salt
22:31 ninjada joined #salt
22:32 ninjada joined #salt
22:32 nidr0x joined #salt
22:33 rem5 joined #salt
22:35 akhter joined #salt
22:36 hightekvagabond joined #salt
22:40 zenlot6 joined #salt
22:40 ageorgop joined #salt
22:41 kliquori joined #salt
22:41 cpowell joined #salt
22:43 akhter joined #salt
22:46 keimlink joined #salt
22:54 hightekvagabond joined #salt
23:00 brianfeister joined #salt
23:03 ninjada joined #salt
23:11 edrocks__ joined #salt
23:15 akhter joined #salt
23:16 bhosmer joined #salt
23:22 onlyanegg joined #salt
23:24 akhter joined #salt
23:24 mavhq joined #salt
23:26 kliquori joined #salt
23:26 akhter joined #salt
23:26 tedski joined #salt
23:28 joe_n joined #salt
23:30 akhter joined #salt
23:30 mavhq joined #salt
23:31 rhodgin joined #salt
23:31 rem5 joined #salt
23:32 akhter joined #salt
23:35 deus_ex joined #salt
23:43 tedski joined #salt
23:43 rem5 joined #salt
23:55 antpa joined #salt

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