Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-03-13

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

All times shown according to UTC.

Time Nick Message
00:02 kliquori joined #salt
00:08 amcorreia joined #salt
00:16 edrocks joined #salt
00:17 shoemonkey joined #salt
00:31 bujordan joined #salt
00:33 CeBe joined #salt
00:34 bujordan joined #salt
00:36 hasues joined #salt
00:44 bujordan joined #salt
00:46 bhosmer_ joined #salt
00:46 XenophonF khaije1: i've posted most of my configs to github
00:48 XenophonF khaije1: https://github.com/irtnog/salt-states and https://github.com/irtnog/salt-pillar-example
00:48 XenophonF khaije1: if you look through the salt-pillar-example repo, you'll see references to at least salt-formula and users-formula
00:49 khaije1 brilliant, thanks XenophonF !
00:49 XenophonF khaije1: and if you look through the salt-states repo, you'll see a bunch of my own states written following the formula pattern (in many cases)
00:50 khaije1 The top.sls example is great to see. It's along the lines of how I felt it should be done but hadn't so far seen
00:51 XenophonF thanks
00:52 XenophonF i have this idea in mind that applies object oriented programming principals to system configuration
00:52 XenophonF how i target states to minions is informed by that
00:54 XenophonF my use of environments kind of follows the flow pattern, with the intention of using some kind of CI tool to automatically test configuration changes
00:57 iceyao joined #salt
01:06 digitalhero joined #salt
01:17 mavhq joined #salt
01:31 amcorreia joined #salt
01:40 bhosmer joined #salt
01:47 bujordan joined #salt
01:47 nZac joined #salt
01:47 quasiben joined #salt
01:47 bujordan joined #salt
01:49 rem5_ joined #salt
01:49 bujordan joined #salt
01:51 rem5_ joined #salt
02:04 kliquori joined #salt
02:07 euidzero joined #salt
02:18 shoemonkey joined #salt
02:18 michelangelo joined #salt
02:19 Eugene Well, this is disappoint. Using https:// URL for a file.managed source doesn't appear to support SNI
02:20 Eugene And an existing issue, yay! https://github.com/saltstack/salt/issues/16409
02:20 saltstackbot [#16409]title: Download of SSLv3/SNI fails | Currently it looks like Salt just uses urllib2.  Urllib2 doesn't work well with SNI servers....
02:22 subsignal joined #salt
02:23 digitalhero joined #salt
02:33 quasiben joined #salt
02:34 bhosmer joined #salt
02:35 cberndt joined #salt
02:47 quasiben joined #salt
02:49 euidzero joined #salt
02:51 kliquori joined #salt
02:54 catpigger joined #salt
03:03 bujordan joined #salt
03:13 edrocks joined #salt
03:13 cliffstah joined #salt
03:15 digitalhero joined #salt
03:17 quasiben joined #salt
03:22 bujordan joined #salt
03:23 hasues joined #salt
03:27 hasues left #salt
03:28 digitalhero joined #salt
03:28 bhosmer joined #salt
03:33 digitalhero joined #salt
03:35 nZac joined #salt
03:37 antpa joined #salt
03:38 sbogg joined #salt
03:40 fracklen joined #salt
03:41 bujordan joined #salt
03:44 bujordan joined #salt
03:46 mavhq joined #salt
03:48 euidzero joined #salt
03:50 CeBe joined #salt
03:53 kliquori joined #salt
03:54 antpa joined #salt
03:58 digitalhero joined #salt
04:00 bujordan joined #salt
04:02 antpa joined #salt
04:09 digitalh_ joined #salt
04:12 digitalhero joined #salt
04:19 shoemonkey joined #salt
04:22 bhosmer joined #salt
04:23 Nazzy joined #salt
04:24 malinoff joined #salt
04:28 bhosmer joined #salt
04:37 CeBe joined #salt
04:37 digitalhero joined #salt
04:40 mdasilva joined #salt
04:44 antpa joined #salt
04:47 mavhq joined #salt
04:53 malinoff joined #salt
04:55 armyriad joined #salt
04:56 tristianc joined #salt
04:57 favadi joined #salt
04:58 bujordan joined #salt
05:00 bujordan joined #salt
05:00 bujordan joined #salt
05:01 bujordan joined #salt
05:01 bujordan joined #salt
05:03 bujordan joined #salt
05:03 bujordan joined #salt
05:08 euidzero joined #salt
05:11 fracklen joined #salt
05:11 bujordan joined #salt
05:25 bujordan joined #salt
05:30 favadi joined #salt
05:35 bujordan joined #salt
05:37 bujordan joined #salt
05:38 bujordan joined #salt
05:39 kliquori joined #salt
05:40 bujordan joined #salt
05:50 ashmckenzie joined #salt
05:50 justanotheruser joined #salt
05:51 digitalhero joined #salt
05:51 bujordan joined #salt
05:59 favadi joined #salt
06:20 shoemonkey joined #salt
06:27 armyriad joined #salt
06:28 bhosmer joined #salt
06:38 sbogg joined #salt
06:40 mdasilva joined #salt
06:47 josuebrunel joined #salt
06:58 bujordan joined #salt
07:03 nZac joined #salt
07:12 evle joined #salt
07:22 digitalhero joined #salt
07:23 bhosmer joined #salt
07:38 sauvin joined #salt
07:41 kliquori joined #salt
07:49 sauvin joined #salt
08:01 malinoff joined #salt
08:03 armyriad joined #salt
08:07 digitalhero joined #salt
08:11 mavhq joined #salt
08:12 tpaul joined #salt
08:15 digitalhero joined #salt
08:17 bhosmer joined #salt
08:20 mavhq joined #salt
08:21 shoemonkey joined #salt
08:26 kliquori joined #salt
08:29 antpa joined #salt
08:30 Miouge joined #salt
08:32 digitalhero joined #salt
08:34 digitalh_ joined #salt
08:35 futuredale_ joined #salt
08:36 josuebrunel joined #salt
08:36 mavhq joined #salt
08:37 quasiben1 joined #salt
08:37 digitalhero joined #salt
08:37 CaptTofu_ joined #salt
08:38 lionel joined #salt
08:38 arapaho_ joined #salt
08:38 AndreasLutro` joined #salt
08:38 izrail_ joined #salt
08:39 GothAck joined #salt
08:39 spaceSub joined #salt
08:39 Sacro joined #salt
08:39 josue joined #salt
08:39 synical joined #salt
08:40 catpig joined #salt
08:43 cberndt joined #salt
08:45 sergeyt joined #salt
08:51 felskrone joined #salt
08:52 CeBe joined #salt
08:59 Fiber^ joined #salt
09:02 digitalhero joined #salt
09:04 elsmo joined #salt
09:08 chris___ joined #salt
09:08 chris___ Hi, How can I find which company are use SaltStack?
09:08 av_ joined #salt
09:08 chris___ companies
09:11 bhosmer joined #salt
09:15 antpa joined #salt
09:17 felskrone joined #salt
09:18 graffic chris___: perhaps in their website they cite some
09:19 digitalhero joined #salt
09:20 chris___ Does in SaltStack site it occur?
09:21 rogst joined #salt
09:21 digitalhero joined #salt
09:22 brianfeister joined #salt
09:22 Nazca__ joined #salt
09:22 lero joined #salt
09:24 mavhq joined #salt
09:25 favadi joined #salt
09:27 Trauma joined #salt
09:29 muep joined #salt
09:31 antpa joined #salt
09:33 malinoff joined #salt
09:35 cyborg-one joined #salt
09:39 Lionel_Debroux_ joined #salt
09:40 muep joined #salt
09:41 hemebond I've never seen a list of "These companies use Saltstack"
09:44 Nazzy joined #salt
09:45 AndreasLutro http://saltstack.com/ scroll down to "our customers" I guess
09:46 hemebond Oh, there we go.
09:49 Lionel_Debroux_ joined #salt
09:53 chris___ Thank you
09:53 chris___ I just see CERTIFICATION
09:53 chris___ Not customers list
09:53 chris___ sorry
09:53 chris___ Thank you very much :)
09:57 Lionel_Debroux joined #salt
09:58 CeBe joined #salt
09:59 chris___ Anybody know, what are the cons of salt?
09:59 chris___ I only find the probs
10:01 hemebond Before I break everything, is it easy to run salt-master from a Git clone when you have the package installed?
10:01 hemebond I need to test a small change in one file.
10:03 mavhq joined #salt
10:04 Lionel_Debroux_ joined #salt
10:05 bhosmer joined #salt
10:07 cyborg-one joined #salt
10:10 bhosmer joined #salt
10:12 mdasilva joined #salt
10:15 digitalhero joined #salt
10:17 digitalhero joined #salt
10:18 CeBe joined #salt
10:20 digitalhero joined #salt
10:21 shoemonkey joined #salt
10:25 hemebond Okay I got it working by following https://docs.saltstack.com/en/latest/topics/development/hacking.html
10:28 antpa joined #salt
10:28 kliquori joined #salt
10:33 fracklen joined #salt
10:36 Nazca__ joined #salt
10:39 dmaiocchi joined #salt
10:48 Nazzy joined #salt
10:55 SunPowered joined #salt
10:56 elsmo joined #salt
11:00 mavhq joined #salt
11:04 Nazca__ joined #salt
11:06 chris___ is Salt suffer from security? I have find an artivle (two year old)
11:07 chris___ How many module there are in Salts?
11:09 Nazzy joined #salt
11:11 brianfeister joined #salt
11:13 kliquori joined #salt
11:13 Nazzy joined #salt
11:14 fracklen joined #salt
11:17 mavhq joined #salt
11:18 Nazca__ joined #salt
11:20 hoonetorg nikogonzo: nice :+1:
11:21 digitalhero joined #salt
11:27 Nazca__ joined #salt
11:27 justanotheruser joined #salt
11:34 brianfeister joined #salt
11:35 hemebond chris___: https://www.cvedetails.com/vulnerability-list/vendor_id-12943/product_id-26420/Saltstack-Salt.html
11:36 Nazzy joined #salt
11:36 hemebond Looks like there might be around 400 modules (398).
11:43 digitalhero joined #salt
11:44 Nazzy joined #salt
11:49 Nazca__ joined #salt
11:51 yuhlw joined #salt
11:53 deus_ex joined #salt
12:02 Nazzy joined #salt
12:08 muep joined #salt
12:09 malinoff joined #salt
12:11 bhosmer joined #salt
12:12 mdasilva joined #salt
12:13 fracklen joined #salt
12:15 chris___ Thank you hemebond, Where did you find this details?
12:16 chris___ Is there any issue with the security of salt now?
12:16 ggoZ joined #salt
12:18 fracklen joined #salt
12:20 digitalhero joined #salt
12:22 antpa joined #salt
12:22 digitalhero joined #salt
12:22 shoemonkey joined #salt
12:25 Nazca__ joined #salt
12:29 fracklen_ joined #salt
12:39 Nazzy joined #salt
12:41 antpa joined #salt
12:43 nidr0x joined #salt
12:43 RandyT joined #salt
12:44 mavhq joined #salt
12:46 fracklen joined #salt
12:48 chris___ Is there any forum of help with salt?
12:49 antpa joined #salt
13:05 bhosmer joined #salt
13:06 fracklen joined #salt
13:09 Nazca__ joined #salt
13:15 kliquori joined #salt
13:17 Nazzy joined #salt
13:19 josuebrunel joined #salt
13:24 krymzon joined #salt
13:27 Nazzy joined #salt
13:35 LostSoul_ Hi
13:35 LostSoul_ How to escape # sign in pillar file?
13:35 LostSoul_ When I use it in file.state?
13:37 dmaiocchi joined #salt
13:42 chris___ join /#theforeman
13:45 dendazen joined #salt
13:45 cyborg-one joined #salt
13:46 XenophonF chris___: as to forums for salt support, there's here, there's a subreddit, and there might be a mailing list
13:46 XenophonF LostSoul_: in a YAML-formatted SLS, escape sharpsigns using backslash #\
13:47 XenophonF er
13:47 XenophonF \#
13:48 shoemonkey joined #salt
13:57 digitalhero joined #salt
13:59 Nazca joined #salt
14:01 kliquori joined #salt
14:05 bhosmer joined #salt
14:12 digitalhero joined #salt
14:13 mdasilva joined #salt
14:14 mavhq joined #salt
14:15 digitalhero joined #salt
14:26 eseyman joined #salt
14:36 iceyao joined #salt
14:41 XenophonF joined #salt
14:45 ggoZ joined #salt
14:50 quix joined #salt
14:51 cyborglone joined #salt
14:54 malinoff joined #salt
14:57 sbogg joined #salt
15:00 patrek joined #salt
15:02 eseyman joined #salt
15:04 cliffstah joined #salt
15:05 sergeyt joined #salt
15:08 cswang_ joined #salt
15:18 mdasilva joined #salt
15:39 nZac joined #salt
15:41 baoboa joined #salt
15:44 subsignal joined #salt
15:45 upb_ joined #salt
15:48 mdasilva joined #salt
16:02 tpaul joined #salt
16:02 kliquori joined #salt
16:05 bhosmer joined #salt
16:06 tiadobatima joined #salt
16:06 cyborglone joined #salt
16:12 digitalhero joined #salt
16:12 CeBe joined #salt
16:13 mavhq joined #salt
16:14 cyborgIone joined #salt
16:17 oida joined #salt
16:20 quix joined #salt
16:22 TyrfingMjolnir joined #salt
16:25 cyborgIone joined #salt
16:26 digitalhero joined #salt
16:30 evle1 joined #salt
16:35 west575 joined #salt
16:36 lempa joined #salt
16:41 mavhq joined #salt
16:43 skarn left #salt
16:49 kliquori joined #salt
16:50 mavhq joined #salt
16:53 mavhq joined #salt
16:54 cyborg-one joined #salt
17:03 ggoZ joined #salt
17:05 josuebrunel joined #salt
17:05 bhosmer joined #salt
17:12 mavhq joined #salt
17:26 digitalhero joined #salt
17:29 digitalhero joined #salt
17:30 amcorreia joined #salt
17:36 digitalhero joined #salt
17:36 mavhq joined #salt
17:37 mdasilva joined #salt
17:41 nZac joined #salt
17:41 digitalhero joined #salt
17:45 serbentautas joined #salt
17:45 serbentautas I'm a bit confused... am I supposed to be running salt-ssh as root?
17:47 AndreasLutro if you don't want to, you should look up the docs on Saltfile
17:48 digitalhero joined #salt
17:48 serbentautas Why should anyone want to run salt-ssh as root?
17:50 digitalhero joined #salt
17:51 mavhq joined #salt
17:56 mavhq joined #salt
18:03 digitalhero joined #salt
18:05 mavhq joined #salt
18:07 catpig joined #salt
18:09 mavhq joined #salt
18:12 mavhq joined #salt
18:18 mavhq joined #salt
18:20 digitalhero joined #salt
18:24 mavhq joined #salt
18:24 catpig joined #salt
18:24 quasiben joined #salt
18:28 mavhq joined #salt
18:30 serbentautas Running salt-ssh attempts to generate some sort of keys, why?
18:34 Lionel_Debroux joined #salt
18:36 fracklen joined #salt
18:37 mavhq joined #salt
18:50 kliquori joined #salt
18:55 teryx510 joined #salt
18:57 |Fiber^| joined #salt
18:59 shoemonkey joined #salt
19:01 fracklen joined #salt
19:06 bhosmer joined #salt
19:17 brianfeister joined #salt
19:19 fracklen joined #salt
19:21 digitalhero joined #salt
19:21 serbentautas Anyone?
19:23 mdasilva joined #salt
19:26 rmnuvg joined #salt
19:28 nZac joined #salt
19:31 fracklen_ joined #salt
19:34 iggy LostSoul_: use multiline literals (| and text on the next line indented extra spaces) or put quotes around it
19:36 ronnix joined #salt
19:37 ronnix joined #salt
19:37 barajasfab joined #salt
19:37 ronnix joined #salt
19:38 kliquori joined #salt
19:42 mavhq joined #salt
19:50 sergeyt joined #salt
19:50 serbentautas Why is salt-ssh trying to generate some sort of keys when I'm trying to connect to a host?
19:57 mdasilva_ joined #salt
19:59 AndreasLutro serbentautas: salt-ssh assumes you have a separate keypair used for salt-ssh purposes, by default stored in /etc/salt/pki/ssh
20:00 bhosmer joined #salt
20:00 serbentautas AndreasLutro but I have in my Saltfile under salt-ssh: stated priv: ./mykey.
20:00 AndreasLutro mkay, I don't do that so can't comment on that
20:01 fracklen joined #salt
20:02 serbentautas This is frustrating...
20:11 edrocks joined #salt
20:11 geomacy joined #salt
20:16 fracklen_ joined #salt
20:23 babilen serbentautas: What are you doing exactly and why do you think that it is generating "some sort of keys" ?
20:25 serbentautas I'm trying to run salt-ssh as non-root.
20:32 shaggy_surfer joined #salt
20:33 babilen go on ...
20:33 fracklen joined #salt
20:37 serbentautas In my salt-things directory (cwd) I created a Saltfile that has "root_dir: .", "roster_file: ./roster" and "priv: ./key.private" under "salt-ssh". When I run "salt-ssh myhost test.ping" (with debugging enabled) it says "salt-ssh could not be run because it could not generate keys" and nothing else to help me figure out what's going on.
20:40 babilen serbentautas: Try setting  pki_dir, cachedir and log_file and pass "-c /path/to/dir/with/Saltfile"
20:41 serbentautas Ok
20:41 babilen You could set them to /path/to/dir/with/Saltfile/{pki,cache,log} respectively (for example)
20:42 sergeyt joined #salt
20:43 oida joined #salt
20:43 serbentautas Nothing changed. :(
20:43 serbentautas I have a suspicion some salt-master configuration is at play here.
20:43 babilen Could you paste your Saltfile, your command and the exact output to one of http://refheap.com, http://paste.debian.net, https://gist.github.com, http://sprunge.us, … ?
20:43 serbentautas The first DEBUG line is "Configuration file path: /etc/salt/master".
20:44 serbentautas Sure, just a minute...
20:45 babilen Ah, did you set those options in a file called 'master' ?
20:46 serbentautas No, Saltfile.
20:46 babilen Ah, try setting it in 'master' -- you are essentially overriding settings in /etc/salt/master there
20:46 serbentautas I read the docs but I don't understand how tightly is salt-ssh coupled to salt-master.
20:47 babilen It uses its settings unless you override them (and set a new configuration file directory with "-c /path/to/that/dir")
20:47 AndreasLutro serbentautas: not at all tied
20:47 fracklen joined #salt
20:47 shoemonkey joined #salt
20:47 babilen That's config_dir: path/to/config/dir in he Saltfile
20:48 babilen You want 'master' in there with the aforementioned settings
20:49 serbentautas Here is my Saltfile: https://www.refheap.com/2d3e90fa95d9fffbb71e25814
20:49 AndreasLutro https://bpaste.net/show/3f2e5c256ff8 is a working non-root salt-ssh setup
20:49 AndreasLutro I'd recommend you ditch the key.private and just use salt's ssh key naming scheme to make it play nice
20:50 serbentautas Sure, I'll try your configuration.
20:51 babilen You really just have to set those three options to sensible values, refer to the configuration directory in your Saltfile and you should be set
20:53 serbentautas That worked! :)
20:53 serbentautas Could you give me an indea about how salt-ssh and salt-master are related?
20:53 AndreasLutro they're not at all
20:54 bhosmer joined #salt
20:54 AndreasLutro salt-ssh just installs and runs a masterless minion on the target host
20:55 babilen serbentautas: It just reuses some configuration settings that are, traditionally, set in the master configuration (hence the naming scheme)
20:56 babilen Well .. and probably a lot of code, but that is presumably not what you are after
20:56 rem5 joined #salt
20:57 serbentautas I was pretty sure I could be unaware of the existence of salt-master.
20:57 babilen You can
21:01 keimlink joined #salt
21:02 brianfeister joined #salt
21:03 linjan joined #salt
21:04 josuebrunel joined #salt
21:05 serbentautas Is there some sort of complete documentation of all the variables somewhere?
21:05 serbentautas For example, what's the complete path to the private key that salt will look at?
21:07 noraatepernos joined #salt
21:10 ronnix joined #salt
21:12 ajw0100 joined #salt
21:19 nZac joined #salt
21:21 linjan_ joined #salt
21:23 quix joined #salt
21:24 oida joined #salt
21:27 quix_ joined #salt
21:39 kliquori joined #salt
21:43 quasiben joined #salt
21:48 bhosmer joined #salt
22:04 overyander joined #salt
22:21 rogst joined #salt
22:21 lionel joined #salt
22:22 rem5 joined #salt
22:26 nZac joined #salt
22:28 kliquori joined #salt
22:30 digitalhero joined #salt
22:38 rem5 joined #salt
22:42 zenlot6 joined #salt
22:42 bhosmer joined #salt
22:46 digitalhero joined #salt
22:46 mavhq joined #salt
22:48 bhosmer joined #salt
22:50 rem5 joined #salt
23:03 quasiben joined #salt
23:07 captain_magnus joined #salt
23:09 sbogg joined #salt
23:13 cliffstah joined #salt
23:13 hasues joined #salt
23:16 chrismoos joined #salt
23:16 armguy joined #salt
23:16 liskl joined #salt
23:17 Gabemo joined #salt
23:18 pmcnabb joined #salt
23:25 subsignal joined #salt
23:26 digitalhero joined #salt
23:34 shoemonkey joined #salt
23:46 mavhq joined #salt
23:51 mavhq joined #salt
23:57 mavhq joined #salt

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