Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-09-24

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

All times shown according to UTC.

Time Nick Message
00:04 rubenb joined #salt
00:20 onlyanegg joined #salt
01:09 tiwula joined #salt
01:12 JawnAuz salt['mssql.tsql_query'] ...gives me an error on sls render of... 'salt.utils.templates.AliasedLoader object' has no attribute 'mssql.tsql_query'
01:12 JawnAuz What's up with that? It's not a custom module.
01:15 justanotheruser joined #salt
01:21 JawnAuz Seems I need to confirm I have FreeTDS and pymssql, not sure if normal for it not to work.
01:33 JawnAuz Hmm, getting pymssql to work might be a bit of a chore..
01:55 ilbot3 joined #salt
01:55 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.7, 2017.7.1 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers
01:56 onlyanegg joined #salt
02:11 SamYaple JawnAuz: you dont need it on the master, just the minions (where it actually renders and runs)
02:22 iggy unless you are using it in pillar which gets rendered on the master
02:25 blu__ joined #salt
02:32 relidy joined #salt
02:35 socket- joined #salt
02:49 socket- joined #salt
02:51 SamYaple ah i must have missed that this was in the pillar data
02:56 justanotheruser joined #salt
03:33 justanotheruser joined #salt
03:41 justanotheruser joined #salt
04:04 justanotheruser joined #salt
04:18 justanotheruser joined #salt
04:39 Dereckson joined #salt
05:28 ikarpov joined #salt
05:35 zerocool_ joined #salt
06:11 _aeris_ joined #salt
06:14 sh123124213 joined #salt
06:15 sh123124213 joined #salt
06:16 aldevar joined #salt
06:33 JawnAuz Struggling to think of a way I can rename a minion based on values that only exist in a SQL database _on_ the minion. I suppose I could just write a PowerShell script...
06:35 Lionel_Debroux joined #salt
06:40 aldevar left #salt
06:43 * whytewolf shrugs. break it down into parts. step 1. get value from database. sounds like you were working on that with mssql.tsql_query. 2. put that value into /etc/salt/minion_id and make sure a minion id is not set anywhere else. 3. restart minion. 4. accept key
06:56 johnj joined #salt
07:04 JawnAuz Yeah, that all already works. It's the getting the value from the database part that doesn't.
07:05 JawnAuz I'm managing Windows minions and was hoping not to have to also deploy dependencies out to enable Salt to run modules to interact with the local mssql, but that appears to be the case.
07:06 JawnAuz Hence the "maybe just PS the new value into minion.conf in minion.d and call it a day.
07:06 whytewolf well, yeah dependencies kind of have to be installed in order for modules to work
07:10 zerocool_ joined #salt
07:14 JawnAuz Yep, I just got excited and missed that Salt can't run it out-of-the-box and didn't intend to go down any roads that needed something like that, so lesson learned to check the top of the docs for dependencies.
07:14 JawnAuz Learned some other stuff along the way, so not all is lost.
07:30 Hybrid joined #salt
07:42 jas02 joined #salt
07:44 pualj joined #salt
07:56 Hybrid joined #salt
07:57 johnj joined #salt
08:02 JAuz joined #salt
08:02 JawnAuz__ joined #salt
08:15 Kira joined #salt
08:16 sh123124213 joined #salt
08:29 Hybrid joined #salt
08:31 sh123124213 joined #salt
08:50 Lionel_Debroux_ joined #salt
08:54 Lionel_Debroux joined #salt
09:01 Lionel_Debroux joined #salt
09:10 johnj joined #salt
09:13 zerocool_ joined #salt
09:17 ivo_ joined #salt
09:22 evle joined #salt
09:28 zerocool_ joined #salt
09:39 zerocool_ joined #salt
09:50 zerocoo__ joined #salt
10:01 Lionel_Debroux joined #salt
10:09 Sammichmaker joined #salt
10:09 Sammichmaker joined #salt
10:11 johnj joined #salt
10:31 mikecmpbll joined #salt
10:39 jas02 joined #salt
10:45 Janpaul joined #salt
10:49 izrail joined #salt
10:56 mikecmpbll joined #salt
10:57 ahrs joined #salt
11:06 jas02 joined #salt
11:12 johnj joined #salt
11:51 vb29 joined #salt
11:52 vb29 left #salt
12:13 johnj joined #salt
12:18 jas02 joined #salt
12:22 mikecmpbll joined #salt
12:47 _aeris_ joined #salt
13:09 XenophonF joined #salt
13:09 XenophonF left #salt
13:14 johnj joined #salt
13:16 zerocool_ joined #salt
13:39 Ricardo1000 joined #salt
13:53 lkolstad joined #salt
13:59 iggy sadly, not all the modules/states list their dependencies
14:03 zerocool_ joined #salt
14:05 tiwula joined #salt
14:12 zerocool_ joined #salt
14:16 johnj joined #salt
14:29 fleaz joined #salt
15:11 Muir joined #salt
15:16 johnj joined #salt
15:38 zer0def joined #salt
15:38 tiwula joined #salt
15:40 tiwula joined #salt
15:41 tiwula joined #salt
15:43 tiwula joined #salt
15:45 tiwula joined #salt
15:45 sh123124213 joined #salt
15:47 tiwula joined #salt
15:48 tiwula joined #salt
15:49 vexati0n joined #salt
16:12 seffyroff joined #salt
16:17 johnj_ joined #salt
16:18 jas02 joined #salt
16:24 jas02 joined #salt
16:47 tiwula joined #salt
17:13 jas02 joined #salt
17:18 johnj_ joined #salt
17:35 ProT-0-TypE joined #salt
17:37 wavded joined #salt
17:49 jas02 joined #salt
17:50 Lionel_Debroux joined #salt
18:04 ahrs joined #salt
18:04 Mogget joined #salt
18:12 jas02 joined #salt
18:18 cyborg-one joined #salt
18:19 johnj_ joined #salt
18:20 jas02 joined #salt
18:28 jas02 joined #salt
18:40 sjorge joined #salt
18:42 LeProvokateur joined #salt
18:51 johnj_ joined #salt
18:57 justan0theruser joined #salt
19:01 justanotheruser joined #salt
19:21 aldevar joined #salt
19:22 jas02 joined #salt
19:40 XenophonF joined #salt
20:18 JawnAuz joined #salt
20:22 Hybrid joined #salt
20:27 toastedpenguin joined #salt
20:31 tiwula joined #salt
20:32 tiwula joined #salt
20:33 tiwula joined #salt
20:35 tiwula joined #salt
20:37 tiwula joined #salt
20:39 tiwula joined #salt
20:46 sh123124213 joined #salt
20:47 jab416171 joined #salt
20:48 kwork joined #salt
20:50 kwork joined #salt
21:04 justan0theruser joined #salt
21:06 justan0theruser joined #salt
21:08 nocaberi joined #salt
21:30 kwork joined #salt
21:32 kwork joined #salt
21:45 JawnAuz The documentation for the https://docs.saltstack.com/en/latest/ref/beacons/all/salt.beacons.ps.html doesn't seem to indicate it, but can I have a beacon just track how long a service has been stopped or running? I'd like to only enforce a service start when the service has been offline for a period of time.
21:45 JawnAuz Also, is there a difference between ps and service beacon modules?
22:11 andi- joined #salt
22:17 Vaelatern Nobody has written a beacon which checks for git repo changes, have they?
22:25 XenophonF Vaelatern: I'd probably use a webhook for that.
22:43 andi- joined #salt
22:45 * MTecknology uses git hooks that can run a custom script via sudo that runs salt-event w/ whatever payloads I want
22:57 justan0theruser joined #salt
23:11 ashmckenzie joined #salt

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