Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-12-01

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

All times shown according to UTC.

Time Nick Message
00:00 saltslackbridge joined #salt
00:05 fracklen joined #salt
00:09 pbandark joined #salt
00:12 rojem joined #salt
00:16 pipps joined #salt
00:16 nixjdm joined #salt
00:26 zerocoolback joined #salt
00:29 mcqueenorama joined #salt
00:31 Felgar joined #salt
00:34 threwahway joined #salt
00:39 zerocoolback joined #salt
00:49 towens joined #salt
00:51 towens joined #salt
01:10 kellyp joined #salt
01:22 justanotheruser joined #salt
01:29 justanotheruser joined #salt
01:46 evle joined #salt
02:09 kellyp joined #salt
02:12 shanth_ joined #salt
02:13 zerocoolback joined #salt
02:13 gnomethrower_ joined #salt
02:13 NightMonkey_ joined #salt
02:14 zerocoolback joined #salt
02:15 londo joined #salt
02:17 robman_ joined #salt
02:17 pryorda joined #salt
02:18 cmichel_ joined #salt
02:18 nomeed joined #salt
02:18 Gabemo_ joined #salt
02:18 jab416171_ joined #salt
02:18 stillLotR joined #salt
02:19 N-Mi__ joined #salt
02:19 alau joined #salt
02:19 Linuturk2 joined #salt
02:20 upb_ joined #salt
02:20 upb_ joined #salt
02:21 kwilke joined #salt
02:23 NeoXiD joined #salt
02:23 egil joined #salt
02:24 vileni joined #salt
02:24 vileni joined #salt
02:27 ponyofdeath joined #salt
02:27 fl3sh joined #salt
02:27 hatifnatt joined #salt
02:27 weylin joined #salt
02:27 dcpc007 joined #salt
02:27 nonsenso joined #salt
02:27 Corey joined #salt
02:27 TomJepp joined #salt
02:27 JPT_ joined #salt
02:29 asyncsec joined #salt
02:32 aerbax joined #salt
02:34 rem5 joined #salt
02:37 rgrundstrom joined #salt
02:41 FreeSpencer joined #salt
02:41 FreeSpencer joined #salt
02:56 pipps joined #salt
02:58 ilbot3 joined #salt
02:58 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.8, 2017.7.2 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
03:06 fracklen joined #salt
03:07 v12aml joined #salt
03:09 miruoy joined #salt
03:12 bigjazzsound1 joined #salt
03:14 masber joined #salt
03:26 ouemt joined #salt
03:27 fracklen joined #salt
03:28 mcqueenorama joined #salt
03:55 dfinn joined #salt
04:03 shripadr joined #salt
04:08 fracklen joined #salt
04:11 saltslackbridge joined #salt
04:12 threwahway_ joined #salt
04:16 threwahway joined #salt
04:31 threwahway_ joined #salt
04:34 zer0def joined #salt
04:35 threwahway joined #salt
04:36 oida joined #salt
04:56 om2 joined #salt
05:04 threwahway_ joined #salt
05:08 threwahway joined #salt
05:09 SkyRocknRoll joined #salt
05:10 fracklen joined #salt
05:10 netcho joined #salt
05:10 netcho joined #salt
05:14 mcqueenorama joined #salt
05:23 armyriad joined #salt
05:36 shiranaihito joined #salt
06:01 euidzero joined #salt
06:09 kellyp joined #salt
06:11 colegatron joined #salt
06:13 threwahway_ joined #salt
06:22 shripadr joined #salt
06:22 LocaMocha joined #salt
06:23 threwahway joined #salt
06:27 felskrone joined #salt
06:29 fracklen joined #salt
06:54 MTecknology {% set zones = salt.mt_zones.zones_from_profiles(vlan=grains['fqdn_ip6'][0].split('.')[3]) -%}
06:55 MTecknology dunno if that should make me feel dirty or smart :S
07:05 svg joined #salt
07:06 pualj_ joined #salt
07:09 SkyRocknRoll joined #salt
07:16 jhauser joined #salt
07:27 filthyG joined #salt
07:30 coredumb MTecknology: a bit of both ?
07:31 gnomethrower_ left #salt
07:32 gnomethrower joined #salt
07:41 monokrome joined #salt
07:42 pualj_ joined #salt
07:43 Tucky joined #salt
07:45 rebbdohr joined #salt
07:56 Elsmorian joined #salt
07:57 yuhl joined #salt
07:57 zerocoolback joined #salt
08:00 yuhl joined #salt
08:00 aldevar joined #salt
08:01 Akkarin joined #salt
08:11 rebbdohr joined #salt
08:15 mcqueenorama joined #salt
08:16 Lenz joined #salt
08:16 cyteen__ joined #salt
08:18 Hybrid joined #salt
08:30 SkyRocknRoll_ joined #salt
08:38 cyteen__ joined #salt
08:39 Elsmorian joined #salt
08:43 jrenner joined #salt
08:45 zerocoolback joined #salt
08:47 Elsmorian joined #salt
08:51 robman joined #salt
08:52 shripadr_ joined #salt
08:53 CrummyGummy joined #salt
08:59 evle joined #salt
09:06 Elsmorian joined #salt
09:07 pualj_ joined #salt
09:09 _KaszpiR_ joined #salt
09:17 Lionel_Debroux joined #salt
09:24 Lionel_Debroux joined #salt
09:30 pualj_ joined #salt
09:31 MTecknology SaltRenderError: Jinja variable list object has no element 0
09:31 MTecknology Why can't this mention a line number?... :(
09:37 pualj joined #salt
09:43 jhauser joined #salt
09:54 MTecknology I'm having a hard time figuring out what's broken... anyone interest in venturing a guess?
09:54 MTecknology https://gist.github.com/MTecknology/b03b0c0b0b46924be340674cafbe1770
09:54 threwahway_ joined #salt
10:03 ahrs joined #salt
10:05 Elsmorian joined #salt
10:06 zerocoolback joined #salt
10:06 zerocoolback joined #salt
10:07 threwahway joined #salt
10:08 shripadr joined #salt
10:09 kellyp joined #salt
10:14 MTecknology Why can't the error just name the variable? :'(
10:15 mcqueenorama joined #salt
10:18 Akkarin joined #salt
10:27 babilen MTecknology: That would be too easy
10:33 MTecknology Is there a way in jinja to check the length of a list?
10:34 fracklen joined #salt
10:35 babilen And empty list should be falsey
10:36 babilen Or you could check the actual length against a constant
10:36 MTecknology ah, good point.
10:37 MTecknology hmm....
10:38 MTecknology I should go to sleep, or else my next step is to try to learn about scope of a var set inside a jinja loop
10:38 MTecknology I'm pretty sure anything I set inside of the loop dies after exting, but I /can/ change an existing value from within
10:39 babilen Oh, scoping :)
10:40 MTecknology I might be able to fix it by reworking my template. I'm gonna sleep on it and see if I can come up with anything smart tomorrow. :)
10:40 MTecknology g'night!
10:40 babilen Sleep well
10:43 Trauma_ joined #salt
10:45 jesusaur joined #salt
10:46 threwahway_ joined #salt
10:52 Trauma_ joined #salt
10:56 Trauma_ joined #salt
10:59 Elsmorian joined #salt
11:03 Trauma_ joined #salt
11:13 Elsmorian joined #salt
11:16 Trauma_ joined #salt
11:25 Trauma_ joined #salt
11:29 Trauma_ joined #salt
11:32 jesusaur joined #salt
11:36 Trauma_ joined #salt
11:38 Trauma_ joined #salt
11:46 Trauma_ joined #salt
11:50 Trauma_ joined #salt
11:53 Trauma_ joined #salt
11:55 alker joined #salt
11:56 Trauma_ joined #salt
11:57 xMopxShell joined #salt
12:00 mcqueenorama joined #salt
12:01 fracklen joined #salt
12:02 Trauma_ joined #salt
12:05 zerocoolback joined #salt
12:05 p joined #salt
12:09 aldevar joined #salt
12:28 Trauma_ joined #salt
12:32 Elsmorian joined #salt
12:36 Trauma_ joined #salt
12:41 Trauma_ joined #salt
12:46 mpas joined #salt
12:46 Trauma_ joined #salt
12:46 mpas Hi
12:47 mpas I have a question about a jinja test I'm doing
12:48 mpas The error is "reason: [Errno 8] Exec format error; line 45", and line 45 is: {% if salt['cmd.retcode']('test -d /hana') == 0 %}
12:50 Lionel_Debroux joined #salt
12:56 Lionel_Debroux_ joined #salt
12:59 haam3r_ mpas: Works fine for me. What version of salt are you running?
13:03 mpas this specific minion is 2016.11.4
13:03 mpas and the master is also 2016.11.4
13:05 mpas I don't understand, this seems to be the only minion running into this problem
13:06 haam3r_ Does the cmd.retcode work against that minion, if you use it directly?
13:06 haam3r_ ie does it work outside the state from CLI
13:08 mpas nope...
13:08 Trauma_ joined #salt
13:09 mpas https://pastebin.com/BzytnqNV
13:13 Nahual joined #salt
13:14 yuhl joined #salt
13:15 Trauma_ joined #salt
13:20 Trauma_ joined #salt
13:30 DanyC joined #salt
13:30 haam3r_ mpas: The value of shell is for some reason false. Try setting that to shell='/bin/sh' or something
13:32 Trauma_ joined #salt
13:35 Trauma_ joined #salt
13:39 mpas I cannot seem to get the syntax right... Where do I need to set the shell?
13:40 mpas For example, salt 'dcm189*' cmd.retcode "test -d /hana" shell='/bin/sh'  doesn't work
13:40 Trauma_ joined #salt
13:41 babilen mpas: What are you trying to achieve (on a more general level) ?
13:41 haam3r_ try double quotes around shell
13:43 Trauma_ joined #salt
13:46 edrocks joined #salt
13:50 Trauma_ joined #salt
13:52 mpas testing if directory /hana exists and if it exists place a script in another directory
13:53 mpas changing the quotes to no quotes or double quotes doesn't work
13:58 gh34 joined #salt
13:59 jholtom joined #salt
14:01 mcqueenorama joined #salt
14:03 Trauma_ joined #salt
14:03 colegatron joined #salt
14:05 Trauma_ joined #salt
14:06 edrocks joined #salt
14:09 netcho joined #salt
14:10 Trauma_ joined #salt
14:19 ouemt joined #salt
14:19 ouemt joined #salt
14:20 Trauma_ joined #salt
14:23 alker joined #salt
14:23 mcqueeno1ama joined #salt
14:26 Trauma_ joined #salt
14:29 racooper joined #salt
14:29 asyncsec joined #salt
14:35 haam3r_ mpas: have you thought about using file.file_exists?
14:40 mikecmpbll joined #salt
14:40 mpas that doesn't work for directories, right?
14:45 coredumb mpas: have you tried onlyif/unless instead?
14:48 saltslackbridge <chris.ruscio> What's the best way to modify a module across minions? There's a tiny modification to win_service.py in an open pull request on github, and I'd like to push it out to my current environment immediately.
14:49 saltslackbridge <gtmanfred> @chris.ruscio https://docs.saltstack.com/en/latest/ref/file_server/dynamic-modules.html
14:51 yuhl joined #salt
14:51 xet7 joined #salt
14:54 mpas I tried it before but didn't get it working
14:55 mpas for now I will stop troubleshooting.... time for weekend :-) thank you all for helping
15:03 drawsmcgraw joined #salt
15:07 syd_salt mpas you've just quit but there's also 'file.directory_exists'
15:08 keltim joined #salt
15:08 cgiroua joined #salt
15:12 saltslackbridge <chris.ruscio> It's safe to make /srv a git repo, right? (need something to track too many manual edits until I get better organized with formulas and a pillar backend)  and minions won't have access to /srv/.git/ if roots are /srv/salt and /srv/pillar in the master config?
15:13 saltslackbridge <gtmanfred> I have done it
15:13 saltslackbridge <gtmanfred> the minions would only have access to /srv/salt
15:13 saltslackbridge <gtmanfred> the /srv/pillar is only for the master
15:15 yuhl joined #salt
15:21 dhwt joined #salt
15:24 promorphus joined #salt
15:30 yuhl_ joined #salt
15:33 Elsmorian joined #salt
15:37 zerocoolback joined #salt
15:39 Trauma_ joined #salt
15:45 om2 joined #salt
15:54 ecdhe I'm running into this today: https://gist.github.com/alexhayes/118120bbfbb3828fc9f9
15:56 Trauma_ joined #salt
15:57 _JZ_ joined #salt
16:04 Trauma_ joined #salt
16:05 rem5_ joined #salt
16:06 ouemt joined #salt
16:15 jhauser joined #salt
16:20 user-and-abuser joined #salt
16:21 sh123124213 joined #salt
16:22 nixjdm joined #salt
16:24 shripadr joined #salt
16:30 promorphus joined #salt
16:38 colegatron joined #salt
16:38 svg left #salt
16:44 shripadr joined #salt
16:53 pualj_ joined #salt
16:57 jameoof joined #salt
16:57 jameoof left #salt
16:57 floralshoppe joined #salt
16:58 floralshoppe Hey, is it possible to run two minion daemons on a single host?
16:58 saltslackbridge <gtmanfred> yes
16:59 kellyp joined #salt
17:00 floralshoppe great, so I just start the minion twice with different conf files and that's it?
17:03 saltslackbridge <gtmanfred> yeah, make sure to give them a different id in the minion file so you can target them seperately
17:04 shripadr joined #salt
17:04 ecdhe is there a null/no-op state I can use?
17:04 saltslackbridge <gtmanfred> the test state
17:04 saltslackbridge <gtmanfred> https://docs.saltstack.com/en/latest/ref/states/all/salt.states.test.html
17:04 colegatron left #salt
17:23 shripadr joined #salt
17:30 tiwula joined #salt
17:33 GrisKo joined #salt
17:37 edrocks joined #salt
17:43 Trauma_ joined #salt
17:43 shripadr joined #salt
17:52 floralshoppe theres no way of doing multi-master without sharing keys at the moment?
17:52 saltslackbridge <gtmanfred> correct
17:52 mcqueenorama joined #salt
17:54 floralshoppe So there's no way of having multiple masters control one host? Tried two minions but both of them look for master's keys in /etc/pki so it's not working...
17:54 pipps joined #salt
17:55 pipps joined #salt
17:55 saltslackbridge <gtmanfred> i mean, just copy the master’s key over to the second master?
17:56 floralshoppe yeah, but I dont have access to the other master
17:56 saltslackbridge <gtmanfred> otherwise, youwould need to set pki_dir, and have two completely separated minions, with different config files
17:56 pipps99 joined #salt
17:57 floralshoppe oh, gonna try that
17:57 saltslackbridge <gtmanfred> oh, then yeah need to have two completely separate minion config directories, so that they can have different pki dirs
17:59 mauli joined #salt
18:02 demize joined #salt
18:03 shripadr joined #salt
18:05 rem5_ joined #salt
18:07 demize joined #salt
18:09 floralshoppe yeah, it works! thanks
18:10 yuhl joined #salt
18:13 sh123124213 joined #salt
18:15 scbunn joined #salt
18:16 rem5_ joined #salt
18:18 pipps joined #salt
18:20 wongster80 joined #salt
18:23 ecdhe joined #salt
18:23 shripadr joined #salt
18:23 edrocks joined #salt
18:27 pualj joined #salt
18:29 edrocks joined #salt
18:30 mcqueeno1ama joined #salt
18:32 Trauma_ joined #salt
18:32 fracklen joined #salt
18:43 shripadr joined #salt
18:49 yuhl joined #salt
18:50 onlyanegg joined #salt
18:56 edrocks joined #salt
18:59 promorphus joined #salt
19:00 fracklen joined #salt
19:02 shripadr joined #salt
19:04 Trauma__ joined #salt
19:06 skinkitten joined #salt
19:12 ik__ joined #salt
19:13 sh123124213 joined #salt
19:13 ik__ Why would I get "orchestrate is nil. Not running state.orchestrate." Can I check any logs?
19:15 MTecknology Did you give it an argument?
19:15 shripadr joined #salt
19:17 edrocks joined #salt
19:18 ik__ MTecknology: just this in my Vagrant file https://bpaste.net/show/092c6ecc698f
19:19 MTecknology none of that looks anything like orchestrate to me
19:19 sh123124213 joined #salt
19:21 ik__ MTecknology: Hmm, I'm just new to this. Not sure if I'm looking at the right place to confirm that.
19:24 edrocks joined #salt
19:35 shripadr joined #salt
19:37 alker joined #salt
19:40 jwon joined #salt
19:43 Hybrid joined #salt
19:45 drawsmcgraw left #salt
19:48 ouemt joined #salt
19:53 noobiedubie joined #salt
19:53 edrocks joined #salt
19:54 Trauma__ joined #salt
19:54 shripadr joined #salt
19:57 keltim joined #salt
20:01 Hybrid joined #salt
20:02 Trauma__ joined #salt
20:09 _val_ joined #salt
20:09 _val_ joined #salt
20:09 hax404 joined #salt
20:10 Mogget joined #salt
20:10 izibi joined #salt
20:12 nielsk joined #salt
20:12 saltslackbridge <whytewolf> ik__ because you don’t have an orchestrate. to run. that message means you have no orchestrate setting in your vagrant config. it is just info. not an error.
20:14 shripadr joined #salt
20:14 _KaszpiR_ joined #salt
20:17 zerocoolback joined #salt
20:18 ymasson joined #salt
20:19 trouba_w joined #salt
20:21 edrocks joined #salt
20:21 Trauma_ joined #salt
20:23 user-and-abuser joined #salt
20:24 JPT joined #salt
20:24 pipps joined #salt
20:30 pipps joined #salt
20:31 pipps joined #salt
20:33 pipps99 joined #salt
20:40 klaas_ joined #salt
20:44 shripadr joined #salt
20:45 klaas_ left #salt
20:46 klaas joined #salt
20:50 pipps joined #salt
21:01 edrocks joined #salt
21:03 pipps joined #salt
21:04 shripadr joined #salt
21:04 alker1 joined #salt
21:09 pipps joined #salt
21:10 alker joined #salt
21:10 pipps99 joined #salt
21:21 viq joined #salt
21:23 shripadr joined #salt
21:26 DammitJim joined #salt
21:43 shripadr joined #salt
21:45 cgiroua joined #salt
21:49 yuhl joined #salt
21:52 edrocks joined #salt
22:00 rem5 joined #salt
22:03 shripadr joined #salt
22:09 nebuchad` joined #salt
22:23 shripadr joined #salt
22:37 ponyofdeath joined #salt
22:40 Trauma_ joined #salt
22:42 shripadr joined #salt
22:44 Trauma__ joined #salt
22:57 nebuchad` left #salt
22:58 nebuchadnezzar joined #salt
23:00 rem5 joined #salt
23:00 sh123124213 joined #salt
23:02 shripadr joined #salt
23:07 Trauma_ joined #salt
23:07 Trauma__ joined #salt
23:11 om2 joined #salt
23:22 shripadr joined #salt
23:28 alker joined #salt
23:37 alker joined #salt
23:42 shripadr joined #salt
23:45 fracklen joined #salt
23:54 alker1 joined #salt

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