Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-11-26

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

All times shown according to UTC.

Time Nick Message
00:03 akhter joined #salt
00:11 akhter joined #salt
00:14 akhter joined #salt
00:15 jas02 joined #salt
00:23 akhter joined #salt
00:32 dxiri_ joined #salt
00:33 fgimian joined #salt
00:33 iggy wolfpackmars2: you've checked that the dir is getting created properly (and all the higher dirs have enough permissions)?
00:33 wolfpackmars2 thx iggy... actually the problem was staring me in the face
00:33 wolfpackmars2 I set the dir permissions to 640
00:33 wolfpackmars2 they should have been 750 :P
00:34 wolfpackmars2 so, it really was a permissions issue... but not in the way I was thinking
00:34 iggy yeah, that one gets me a lot to this day
00:39 akhter joined #salt
00:44 edrocks joined #salt
00:52 akhter joined #salt
00:54 dxiri joined #salt
00:58 stooj joined #salt
01:02 akhter joined #salt
01:05 sh123124213 joined #salt
01:06 DEger joined #salt
01:07 sh123124213 joined #salt
01:12 aarontc joined #salt
01:15 jas02 joined #salt
01:20 akhter joined #salt
01:24 akhter joined #salt
01:27 akhter joined #salt
01:31 akhter joined #salt
01:35 akhter joined #salt
01:36 jas02 joined #salt
01:40 akhter joined #salt
01:44 akhter joined #salt
01:48 akhter joined #salt
01:50 onlyanegg joined #salt
01:54 akhter joined #salt
01:55 DEger joined #salt
01:58 akhter joined #salt
02:04 akhter joined #salt
02:05 CampusD joined #salt
02:05 prg3 joined #salt
02:09 CampusD I am trying to use the state file.line and I am getting an exception thrown when trying to update two lines in a file.  https://gist.github.com/anonymous/66e5a718523e7b56774c0d4d6abc4419
02:09 akhter joined #salt
02:09 CampusD any ideas what I might be doing wrong?
02:09 CampusD I was referencing https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html
02:10 CampusD I am using mode ensure, wondered if I need replace, but then what happens if the line that I am matching to is not there
02:11 zulutango joined #salt
02:12 dxiri joined #salt
02:16 akhter joined #salt
02:16 jas02 joined #salt
02:25 akhter joined #salt
02:29 akhter joined #salt
02:33 akhter joined #salt
02:34 dtsar joined #salt
02:37 akhter joined #salt
02:41 akhter joined #salt
02:46 jas02 joined #salt
02:46 akhter joined #salt
02:48 ilbot3 joined #salt
02:48 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.8.12, 2016.3.4 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
02:52 catpiggest joined #salt
02:55 zulutango joined #salt
03:01 akhter joined #salt
03:05 akhter joined #salt
03:06 jas02 joined #salt
03:16 akhter joined #salt
03:18 jas02 joined #salt
03:19 Satyajit joined #salt
03:21 pcdummy_ joined #salt
03:26 lilvim joined #salt
03:26 akhter joined #salt
03:31 akhter joined #salt
03:32 lubyou joined #salt
03:38 akhter joined #salt
03:42 akhter joined #salt
03:47 akhter joined #salt
03:47 edrocks joined #salt
03:50 bastiandg joined #salt
03:50 akhter joined #salt
03:52 nicksloan joined #salt
03:56 stooj joined #salt
03:59 justanotheruser joined #salt
04:03 akhter joined #salt
04:06 DEger joined #salt
04:07 akhter joined #salt
04:11 akhter joined #salt
04:13 raspado joined #salt
04:14 donmichelangelo joined #salt
04:18 akhter joined #salt
04:18 jas02 joined #salt
04:20 nicksloa_ joined #salt
04:21 justan0theruser joined #salt
04:26 akhter joined #salt
04:30 akhter joined #salt
04:34 akhter joined #salt
04:35 rem5 joined #salt
04:36 bltmiller joined #salt
04:40 akhter joined #salt
04:44 akhter joined #salt
04:48 akhter joined #salt
04:57 akhter joined #salt
05:03 akhter joined #salt
05:07 akhter joined #salt
05:07 jas02 joined #salt
05:10 dxiri joined #salt
05:11 akhter joined #salt
05:15 akhter joined #salt
05:19 jas02_ joined #salt
05:19 akhter joined #salt
05:21 mpanetta joined #salt
05:30 akhter joined #salt
05:33 akhter joined #salt
05:36 xet7 joined #salt
05:40 stooj joined #salt
05:44 akhter joined #salt
05:46 Alagar joined #salt
05:48 stooj joined #salt
05:54 stooj joined #salt
05:58 akhter joined #salt
06:01 akhter joined #salt
06:05 akhter joined #salt
06:09 akhter joined #salt
06:13 akhter joined #salt
06:17 akhter joined #salt
06:20 jas02 joined #salt
06:23 akhter joined #salt
06:26 teclator joined #salt
06:30 akhter joined #salt
06:34 akhter joined #salt
06:37 jas02 joined #salt
06:39 preludedrew joined #salt
06:41 teclator joined #salt
06:45 akhter joined #salt
06:51 akhter joined #salt
06:54 akhter joined #salt
06:58 bocaneri joined #salt
06:59 akhter joined #salt
07:00 hemebond joined #salt
07:04 akhter joined #salt
07:08 akhter joined #salt
07:13 akhter joined #salt
07:17 akhter joined #salt
07:20 jas02 joined #salt
07:24 akhter joined #salt
07:27 mavhq joined #salt
07:32 akhter joined #salt
07:36 akhter joined #salt
07:36 jas02 joined #salt
07:37 jas02 joined #salt
07:48 akhter joined #salt
07:51 edrocks joined #salt
07:53 justan0theruser joined #salt
07:59 akhter joined #salt
08:06 akhter joined #salt
08:06 Trauma joined #salt
08:07 DEger joined #salt
08:12 ronnix joined #salt
08:16 akhter joined #salt
08:19 akhter joined #salt
08:21 jas02 joined #salt
08:26 amontalb1n joined #salt
08:31 akhter joined #salt
08:35 akhter joined #salt
08:38 jas02 joined #salt
08:41 eseyman joined #salt
08:45 fracklen joined #salt
08:53 akhter joined #salt
08:54 ronnix joined #salt
08:57 akhter joined #salt
08:59 av_ joined #salt
09:03 akhter joined #salt
09:07 akhter joined #salt
09:11 akhter joined #salt
09:15 Rumbles joined #salt
09:21 akhter joined #salt
09:22 jas02 joined #salt
09:31 akhter joined #salt
09:36 akhter joined #salt
09:40 akhter joined #salt
09:44 akhter joined #salt
09:45 jas02 joined #salt
09:49 akhter joined #salt
09:51 sh123124213 joined #salt
09:56 akhter joined #salt
10:00 akhter joined #salt
10:03 akhter joined #salt
10:07 kingpower joined #salt
10:11 akhter joined #salt
10:12 aarontc joined #salt
10:16 akhter joined #salt
10:21 akhter joined #salt
10:23 jas02 joined #salt
10:27 akhter joined #salt
10:34 akhter joined #salt
10:38 akhter joined #salt
10:42 akhter joined #salt
10:45 Rumbles joined #salt
10:46 jas02 joined #salt
10:48 sjorge joined #salt
10:48 sjorge joined #salt
10:57 akhter joined #salt
11:03 kingpower joined #salt
11:06 Rumbles joined #salt
11:06 akhter joined #salt
11:10 kingpower_ joined #salt
11:10 akhter joined #salt
11:10 sjorge joined #salt
11:10 sjorge joined #salt
11:14 akhter joined #salt
11:18 akhter joined #salt
11:19 Alagar joined #salt
11:24 akhter joined #salt
11:24 jas02 joined #salt
11:28 akhter joined #salt
11:32 akhter joined #salt
11:36 akhter joined #salt
11:42 akhter joined #salt
11:46 akhter joined #salt
11:50 akhter joined #salt
11:54 akhter joined #salt
11:54 jas02 joined #salt
11:54 edrocks joined #salt
11:58 akhter joined #salt
12:02 akhter joined #salt
12:05 Trauma joined #salt
12:08 DEger joined #salt
12:09 akhter joined #salt
12:11 amcorreia joined #salt
12:17 akhter joined #salt
12:23 akhter joined #salt
12:24 jas02 joined #salt
12:30 abednarik joined #salt
12:34 akhter joined #salt
12:38 akhter joined #salt
12:42 akhter joined #salt
12:46 akhter joined #salt
12:50 akhter joined #salt
12:54 akhter joined #salt
12:58 akhter joined #salt
13:00 kingpower joined #salt
13:04 akhter joined #salt
13:07 abednarik joined #salt
13:10 akhter joined #salt
13:14 akhter joined #salt
13:15 jas02 joined #salt
13:21 ProT-0-TypE is there anything better than salt.cmd.run('date +%s') to get the epoch?
13:24 ProT-0-TypE I think I found it myself: salt '*' status.time '%s'
13:25 jas02 joined #salt
13:29 akhter joined #salt
13:35 akhter joined #salt
13:39 akhter joined #salt
13:42 rem5 joined #salt
13:44 mavhq joined #salt
13:47 jas02 joined #salt
13:56 edrocks joined #salt
14:04 akhter joined #salt
14:07 akhter joined #salt
14:10 jeddi joined #salt
14:13 akhter joined #salt
14:19 akhter joined #salt
14:23 akhter joined #salt
14:26 jas02_ joined #salt
14:26 abednarik joined #salt
14:27 dendazen joined #salt
14:31 akhter joined #salt
14:35 akhter joined #salt
14:42 akhter joined #salt
14:46 akhter joined #salt
14:50 akhter joined #salt
14:54 akhter joined #salt
14:59 rem5 joined #salt
15:03 akhter joined #salt
15:07 akhter joined #salt
15:11 akhter joined #salt
15:15 akhter joined #salt
15:15 abednarik joined #salt
15:19 akhter joined #salt
15:23 akhter joined #salt
15:25 rem5 joined #salt
15:27 jas02 joined #salt
15:29 jkleckner joined #salt
15:33 _weiwae joined #salt
15:35 _weiwae_ joined #salt
15:43 akhter joined #salt
15:46 akhter joined #salt
15:49 abednarik joined #salt
15:58 akhter joined #salt
16:02 gtmanfred Welcome to #salt! <+> Latest Versions: 2015.8.12, 2016.3.4, 2016.11.0 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers
16:02 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2015.8.12, 2016.3.4, 2016.11.0 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers
16:02 akhter joined #salt
16:05 gtmanfred !help
16:05 saltstackbot Hang on, I'm creating a list.
16:05 wm-bot4 I'm a documentation bot. To control me, please use #salt-bot to avoid channel spam. See this URL for my commands: http://meta.wikimedia.org/wiki/WM-Bot
16:05 saltstackbot I've posted a list of my commands at https://gist.github.com/31666e9d0ac5a2a7766cf5387fa57447 - You can see more info about any of these commands by doing .help <command> (e.g. .help time)
16:05 gtmanfred !salt
16:05 saltstackbot AttributeError: 'NoneType' object has no attribute 'startswith' (file "/srv/sopel/.sopel/modules/salt.py", line 29, in salt)
16:06 gtmanfred ok
16:06 gtmanfred !salt modules
16:06 saltstackbot ValueError: need more than 1 value to unpack (file "/srv/sopel/.sopel/modules/salt.py", line 45, in salt)
16:06 gtmanfred !salt.modules.dockerng
16:07 gtmanfred !salt.modules.docker
16:07 gtmanfred ¯\(°_o)/¯
16:07 gtmanfred !salt modules.docker
16:07 saltstackbot https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.docker.html
16:07 gtmanfred !salt modules.dockerng
16:07 saltstackbot https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.dockerng.html
16:07 gtmanfred neat
16:11 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2015.8.12, 2016.3.4 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers"
16:12 gtmanfred !dice 20
16:12 saltstackbot gtmanfred: You roll 20: 20 = 20
16:12 gtmanfred !dice 20
16:12 saltstackbot gtmanfred: You roll 20: 20 = 20
16:12 gtmanfred !help dice
16:12 saltstackbot gtmanfred: The documentation for this command is too long; I'm sending it to you in a private message.
16:12 wm-bot4 I'm a documentation bot. To control me, please use #salt-bot to avoid channel spam. See this URL for my commands: http://meta.wikimedia.org/wiki/WM-Bot
16:12 gtmanfred !dice 2d20
16:12 saltstackbot gtmanfred: You roll 2d20: (18+20) = 38
16:12 gtmanfred nice
16:12 gtmanfred .dice 2d20
16:14 gtmanfred !topic
16:14 saltstackbot gtmanfred: I'm not a channel operator!
16:14 gtmanfred !topic
16:15 jas02 joined #salt
16:15 AndreasLutro I once implemented !dice for my own bot and didn't account for someone rolling 100k 100k-sided die
16:16 gtmanfred that would be a problem :)
16:16 gtmanfred !dice 100000d20
16:16 saltstackbot gtmanfred: I only have 1000 dice. =(
16:16 gtmanfred !dice 1000d20
16:16 saltstackbot gtmanfred: You roll 1000d20: (...) = 10478
16:17 gtmanfred welp, i know what I am going to be doing this weekend... writing an engine for salt that watches irc and can be a bot
16:17 gtmanfred :P
16:19 gtmanfred could easily be done with a tornado loop ... hrm
16:20 DEger joined #salt
16:21 amcorreia joined #salt
16:21 prg3 joined #salt
16:22 gtmanfred and then it could use the irc identity of the user to figure out if they can run certain commands
16:23 debian112 joined #salt
16:27 tiwula joined #salt
16:28 jas02_ joined #salt
16:37 akhter joined #salt
16:39 aslfhdxzcoi joined #salt
16:42 aslfhdxzcoi joined #salt
16:43 aslfhdxzcoi joined #salt
16:44 aslfhdxzcoi joined #salt
16:45 jas02 joined #salt
16:49 akhter joined #salt
16:53 akhter joined #salt
16:57 akhter joined #salt
16:58 edrocks joined #salt
17:06 dtsar joined #salt
17:08 jas02 joined #salt
17:12 akhter joined #salt
17:16 akhter joined #salt
17:16 iggy our slack bot requires you supplying it with a 2fa style key that you can only get on our VPN every so often (daily maybe?)
17:20 akhter joined #salt
17:22 pi_ joined #salt
17:25 akhter joined #salt
17:27 mpanetta joined #salt
17:33 muep joined #salt
17:34 upb joined #salt
17:36 jas02_ joined #salt
17:36 krymzon joined #salt
17:38 saltsa joined #salt
17:38 prg3 joined #salt
17:41 sh123124213 joined #salt
17:46 akhter joined #salt
17:48 nicksloan joined #salt
17:48 ssplatt joined #salt
17:54 akhter joined #salt
18:00 akhter joined #salt
18:07 akhter joined #salt
18:10 akhter joined #salt
18:14 akhter joined #salt
18:20 akhter joined #salt
18:23 rem5_ joined #salt
18:30 akhter joined #salt
18:32 jas02 joined #salt
18:32 DEger joined #salt
18:32 jkleckner joined #salt
18:33 kingpower joined #salt
18:35 prg3 joined #salt
18:39 jfelchner joined #salt
18:43 akhter joined #salt
18:47 akhter joined #salt
18:52 MTecknology I wonder how long it's gonna take for highstate to finish on my pi...
18:54 iggy probably not as long as on my openstack controller nodes
18:54 MTecknology It takes 7.2 seconds for it to attempt to authenticate and let the master cache the key..
18:55 MTecknology what do those run on?
18:55 iggy servers... just openstack is a beast
18:56 MTecknology ah
18:57 MTecknology I thought you meant you were working for openstack and working on some intricate part of the network.
18:58 sh123124213 joined #salt
18:59 rem5 joined #salt
19:00 edrocks joined #salt
19:04 akhter joined #salt
19:11 akhter joined #salt
19:15 akhter joined #salt
19:16 swills joined #salt
19:21 akhter joined #salt
19:24 jkleckner1 joined #salt
19:26 MTecknology iggy: what's your opinion been of openstack?
19:30 manfred babilen: are spm packages not good enough? techhat is working on a web frontend for all of the saltstack-formula stuff
19:30 manfred or he was
19:30 manfred then we all got put on stablizing 2016.11
19:31 J0hnSteel joined #salt
19:34 jkleckner joined #salt
19:38 akhter joined #salt
19:43 MTecknology HAHA!!
19:44 akhter joined #salt
19:44 MTecknology Succeeded: 67     Failed:  4      real 92351m10.076s   user 8m49.500s
19:45 MTecknology I think the actual time was about half an hour
19:49 akhter joined #salt
19:51 fracklen joined #salt
19:55 akhter joined #salt
19:55 chamunks So I just installed a salt master on a local docker container on my OS X, I tried hooking two Ubuntu 16.04 minions ( bare metal ).  They sent their keys successfully to my Salt Master container where I accepted the keys but I can't seem to get salt '*' test.ping to return with success.      "Minion did not return. [No response]"
19:55 chamunks How can I diagnose / fix this.
19:58 AndreasLutro check both the master and minion logs
20:04 akhter joined #salt
20:06 samodid joined #salt
20:10 akhter joined #salt
20:11 tapoxi joined #salt
20:15 akhter joined #salt
20:18 fracklen joined #salt
20:22 akhter joined #salt
20:23 sh123124213 joined #salt
20:26 DEger joined #salt
20:26 akhter joined #salt
20:31 Rolypoly joined #salt
20:31 DEger joined #salt
20:31 akhter joined #salt
20:36 akhter joined #salt
20:39 akhter joined #salt
20:40 vodik joined #salt
20:44 akhter joined #salt
20:48 akhter joined #salt
20:52 akhter joined #salt
20:53 rem5 joined #salt
20:56 rem5 joined #salt
21:00 chamunks AndreasLutro I tried running a few debug commands.
21:05 akhter joined #salt
21:09 akhter joined #salt
21:13 jas02 joined #salt
21:17 akhter joined #salt
21:23 jas02 joined #salt
21:23 akhter joined #salt
21:24 sh123124213 joined #salt
21:24 renoirb joined #salt
21:29 fracklen joined #salt
21:33 akhter joined #salt
21:33 jkleckner joined #salt
21:36 chamunks AndreasLutro [salt.minion      ][ERROR   ][23601] Error while bringing up minion for multi-master. Is master at REDACTED responding?
21:37 rpb joined #salt
21:38 AndreasLutro if the address is correct, check firewall rules maybe
21:45 akhter joined #salt
21:49 akhter joined #salt
21:50 chamunks today its just been a struggle it seems, now one of the minions is working but the other one isn't and is responding.  "[salt.loader      ][ERROR   ][29501] Exception raised when processing __virtual__ function for metadata. Module will not be loaded global name '__salt__' is not defined"
22:01 viq gtmanfred: check out err bot, it already has some plugins for salt. You could improve them ;)
22:01 gtmanfred neat
22:02 edrocks joined #salt
22:02 gtmanfred do you know what it uses for the asyncronous? i don't see anything right away in the requirements
22:02 chamunks 2016-11-26 17:01:33,471 [salt.loader      ][WARNING ][30442] salt.loaded.int.grains.metadata.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'metadata', please fix this.
22:04 gtmanfred chamunks: why are you using develop?
22:04 gtmanfred that is a known bug that I need to fix on monday
22:04 gtmanfred but it won't stop the minion from responding
22:04 chamunks its been a while since I wrote down my oneliner I cant remember why
22:05 chamunks Should I change it to, "curl -L https://bootstrap.saltstack.com | sudo sh -s -- -A REDACTED -P -i db.cubedcon.com git stable"
22:05 viq gtmanfred: no, I didn't look too hard under the mask
22:05 keimlink joined #salt
22:06 viq gtmanfred: other interesting bots / bot frameworks are cog and hubot
22:12 akhter joined #salt
22:14 gtmanfred chamunks: https://github.com/saltstack/salt/pull/37902 fixed
22:14 saltstackbot [#37902][MERGED] use opts for metadata grains | What does this PR do?...
22:15 gtmanfred chamunks: i would change it to stable, and not develop
22:15 gtmanfred viq: yar, i have been looking at this one https://github.com/nod/iobot/ cause it uses tornado
22:15 gtmanfred and is simple
22:16 viq last commit 4 years ago...
22:17 gtmanfred yup, which is why i like it, cause it is just a simple representation of what I am trying to do
22:17 gtmanfred I am basically rewriting it.
22:20 Xenophon1 joined #salt
22:21 chamunks gtmanfred ah tyvm, I will try both.  This salt setup is for a cyber convention for charity so it only needs to last a week.
22:21 gtmanfred i would recommend using stable then... and not using from git at all
22:22 chamunks So like this?  "curl -L https://bootstrap.saltstack.com | sudo sh -s -- -A REDACTED -P -i db.cubedcon.com"
22:22 xx1xx joined #salt
22:22 gtmanfred yeah
22:24 xx1xx left #salt
22:25 XenophonF joined #salt
22:29 akhter joined #salt
22:33 amontalban joined #salt
22:33 amontalban joined #salt
22:33 akhter joined #salt
22:37 akhter joined #salt
22:41 akhter joined #salt
22:48 akhter joined #salt
22:54 akhter joined #salt
22:58 akhter joined #salt
23:02 akhter joined #salt
23:05 akhter joined #salt
23:09 akhter joined #salt
23:13 akhter joined #salt
23:19 akhter joined #salt
23:23 akhter joined #salt
23:25 sh123124213 joined #salt
23:30 ssplatt joined #salt
23:32 xet7 joined #salt
23:36 akhter joined #salt
23:37 abednarik joined #salt
23:40 onlyanegg joined #salt
23:42 teclator joined #salt
23:46 akhter joined #salt
23:47 sh123124213 joined #salt
23:49 Sammichmaker joined #salt
23:50 krymzon joined #salt
23:54 akhter joined #salt

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