Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-05-02

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

All times shown according to UTC.

Time Nick Message
00:05 pdayton joined #salt
00:06 torment_ joined #salt
00:10 torment joined #salt
00:10 echo joined #salt
00:19 aquassaut joined #salt
00:34 bluenemo joined #salt
00:34 bhosmer_ joined #salt
00:45 thayne joined #salt
00:46 boredatwork joined #salt
00:49 otter768 joined #salt
01:01 rojem joined #salt
01:02 evilrob joined #salt
01:05 Zambz joined #salt
01:09 c10 joined #salt
01:20 Cottser joined #salt
01:35 RabidCicada joined #salt
01:42 druonysuse joined #salt
01:45 JDiPierro joined #salt
01:49 amcorreia joined #salt
01:55 JlRd joined #salt
02:00 scbunn joined #salt
02:26 otter768 joined #salt
02:30 Cottser- joined #salt
02:31 dendazen joined #salt
02:46 Nazca joined #salt
02:46 MaliutaLap left #salt
02:47 michelangelo joined #salt
02:51 ange joined #salt
02:51 ktosiek joined #salt
02:56 brendan left #salt
02:57 Hydrosine joined #salt
02:58 ajw0100 joined #salt
03:00 elfixit joined #salt
03:05 writtenoff joined #salt
03:10 cmb_ joined #salt
03:12 bfoxwell joined #salt
03:13 otter768 joined #salt
03:35 lictor36 joined #salt
03:40 Cottser- joined #salt
03:48 torment joined #salt
03:51 catpig joined #salt
04:00 fusionx86 joined #salt
04:05 JlRd joined #salt
04:07 joehh eightyeight: missed getting the fix into launchpad by a couple of hours - currently moving hosting of lucid to debian.saltstack.com
04:11 zugzwang joined #salt
04:12 zugzwang how do I force a systemctl reload-daemon after I install a package?
04:13 zugzwang it seams I cannot install a package and then start the service cause the need to reload the systemctl service cache
04:13 hemebond zugzwang: I think if you watch the installer state from a service it might trigger a restart
04:13 SeeDickCode joined #salt
04:14 zugzwang hemebond, the restart doesnt work, because systemd doesnt know the <service>.service exists
04:14 joehh temporary link to packages at https://github.com/saltstack/salt/issues/23179#issuecomment-98040319
04:14 hemebond You could watch from a cmd.run
04:19 desposo joined #salt
04:40 alexanderilyin joined #salt
04:43 echo joined #salt
04:45 bhosmer_ joined #salt
04:45 zugzwang why does salt.modules.systemd.available is called as service.available in the cli? it makes it difficult to search for these kind of thing in the docs
04:51 quintinadam joined #salt
04:52 JlRd joined #salt
04:53 hemebond zugzwang: Possibly because it provides a more consistent interface.
04:53 hemebond Like the package managers.
04:53 hemebond I can use pkg.install on Debian, Redhat and on Windows and get the same result.
04:53 VR-Jack2 same with service
04:54 tkharju joined #salt
05:38 catpigger joined #salt
06:14 stanchan joined #salt
06:16 echo joined #salt
06:36 joehh ubuntu lucid users, please see mailing list for packaging update
06:41 otter768 joined #salt
06:46 bhosmer_ joined #salt
06:57 c10 joined #salt
07:05 c10 joined #salt
07:05 penguinpowernz joined #salt
07:07 Fiber^ joined #salt
07:10 joeto joined #salt
07:11 Auroch joined #salt
07:16 zugzwang Everytime I install a package i have to call service.systemctl_reload so that I can start it (set it to running). is it correct? It had no problems before. I think its a bug with newly installed salts thru saltbootstrap
07:21 tmh1999 joined #salt
07:24 markm joined #salt
07:27 mikeywaites joined #salt
07:30 c10 joined #salt
07:38 markm joined #salt
07:41 c10 joined #salt
07:47 markm joined #salt
07:52 Miouge joined #salt
07:52 hemebond zugzwang: If you state has pkg.installed and the - running thingy, then it should start the service for you.
07:52 hemebond Perhaps Salt doesn't yet understand SystemD-only services.
07:55 zugzwang hemebond, it was working, but now with newly bootstrapped minions, it isn't for me in CentOS7. the systemd cache isnt updated after a pkg.installed, so a service.running doesnt find the <name>.service used by systemd
07:55 jasonrm joined #salt
07:55 a7xr joined #salt
07:56 hemebond Are you able to test with a different OS? Possibly one that also uses SystemD?
07:57 hemebond *systemd?
07:58 hemebond Are you using the latest version of the salt minion?
07:59 MaliutaLap joined #salt
07:59 zugzwang hemebond I am bootstrapping thru vagrant
07:59 zugzwang I think vagrant uses the bootstrap script behind the scenes
07:59 zugzwang I will check the minion version as soon my just started provisioning ends here
07:59 hemebond It does use a script, yes.
08:00 linjan joined #salt
08:05 markm joined #salt
08:14 markm joined #salt
08:18 markm_ joined #salt
08:33 markm__ joined #salt
08:36 cberndt joined #salt
08:37 c10 joined #salt
08:38 ndrei joined #salt
08:39 markm__ joined #salt
08:42 otter768 joined #salt
08:47 bhosmer_ joined #salt
08:48 penguinpowernz joined #salt
08:52 ktosiek joined #salt
09:01 CaptainMagnus joined #salt
09:01 c10 joined #salt
09:02 chiui joined #salt
09:16 fbergroth joined #salt
09:18 Jimlad_ joined #salt
09:22 proveditor joined #salt
09:41 peters-tx joined #salt
09:50 ndrei joined #salt
09:54 bluenemo joined #salt
09:54 bluenemo joined #salt
10:07 markm_ joined #salt
10:11 markm__ joined #salt
10:18 JayFK joined #salt
10:26 bhosmer joined #salt
10:42 otter768 joined #salt
10:48 c10 joined #salt
10:53 bhosmer joined #salt
10:54 tadasZ joined #salt
10:55 tadasZ hi guys, is there a way to debug value of variable in salt state sls file ? if i have {% set variableWhosValueIWantToGet = salt['pillar.get']('something:something') %} ?
10:57 CeBe joined #salt
10:57 MaliutaLap left #salt
10:58 c10_ joined #salt
10:58 hemebond tadasZ: Does this work for you? http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#debugging
10:59 hemebond show_full_context() might be useful.
11:00 GrueMaster joined #salt
11:00 c10 joined #salt
11:01 CeBe1 joined #salt
11:01 tadasZ hemebond: i don't quite understand how to use it
11:02 hemebond I think you can just put it in a template/Pillar.
11:05 tadasZ hemebond: srr, i still don't get it, i have this line in state sls file, and i just want to print out in console what values are assigned to variable, srr for my stupidness its my second day with salt
11:05 hemebond No need to apologise.
11:05 hemebond I haven't used it myself so I'm not sure. Let me try it out now.
11:07 linjan joined #salt
11:07 hemebond uwa
11:07 hemebond That's a lot of output.
11:07 tadasZ :))
11:07 hemebond Okay so putting that line into my sls just made it error out. But it does show the variables :-)
11:08 hemebond So I put {{ show_full_context() }} at the top of the sls file, then
11:08 hemebond salt 'servername' state.sls slsdir
11:08 hemebond where servername is the minion name
11:08 hemebond and slsdir is the state directory
11:10 tadasZ thanks! it really did print out variable i need, i just missed it the first time because of book long red text :D
11:11 hemebond I think there might be a way to get that output into the debug log, but I'm not sure how.
11:11 tadasZ its fine for now! thank you very much hemebond
11:12 hemebond you're welcome
11:15 amcorreia joined #salt
11:17 evle joined #salt
11:19 ktosiek joined #salt
11:23 markm_ joined #salt
11:24 a7xr joined #salt
11:34 bhosmer joined #salt
11:34 markm__ joined #salt
11:41 malinoff joined #salt
11:42 markm_ joined #salt
11:44 mapu joined #salt
11:49 teogop joined #salt
11:52 kaptan joined #salt
11:55 markm__ joined #salt
12:03 markm_ joined #salt
12:04 echo joined #salt
12:14 viq joined #salt
12:15 ktosiek joined #salt
12:17 markm__ joined #salt
12:21 aquassaut joined #salt
12:43 otter768 joined #salt
12:48 cpowell joined #salt
12:48 al joined #salt
12:49 cpowell joined #salt
12:50 cpowell joined #salt
12:52 cpowell_ joined #salt
12:58 Guest15 joined #salt
12:59 markm joined #salt
13:01 fbergroth joined #salt
13:08 Setsuna666_ joined #salt
13:08 markm joined #salt
13:11 P0bailey joined #salt
13:20 markm joined #salt
13:26 markm_ joined #salt
13:27 ktosiek joined #salt
13:32 markm__ joined #salt
13:34 bhosmer joined #salt
13:38 c10 joined #salt
13:39 c10 joined #salt
13:39 markm_ joined #salt
13:40 stoogenmeyer joined #salt
13:47 sandah joined #salt
13:49 markm__ joined #salt
13:49 scbunn joined #salt
13:52 markm_ joined #salt
13:56 fretscha joined #salt
14:06 markm__ joined #salt
14:08 fretscha joined #salt
14:09 ndrei joined #salt
14:09 markm joined #salt
14:11 linjan joined #salt
14:14 Berty_ joined #salt
14:14 _Cyclone_ joined #salt
14:22 Berty_ joined #salt
14:29 rocket joined #salt
14:44 otter768 joined #salt
14:52 elfixit joined #salt
15:15 malinoff joined #salt
15:17 markm joined #salt
15:18 ktosiek joined #salt
15:21 edrocks joined #salt
15:24 bluenemo joined #salt
15:24 c10 joined #salt
15:24 markm_ joined #salt
15:25 ndrei joined #salt
15:27 dendazen joined #salt
15:31 markm__ joined #salt
15:33 TOoSmOotH joined #salt
15:33 markm_ joined #salt
15:35 bhosmer joined #salt
15:41 stoogenmeyer joined #salt
15:53 ktosiek joined #salt
16:00 clintberry joined #salt
16:03 bmac2 joined #salt
16:17 ktosiek joined #salt
16:17 micko joined #salt
16:22 irctc176 joined #salt
16:26 al joined #salt
16:28 c10 joined #salt
16:37 ckao joined #salt
16:38 brianfeister joined #salt
16:44 markm_ joined #salt
16:45 cadelete joined #salt
16:45 otter768 joined #salt
16:50 al joined #salt
17:03 bfoxwell joined #salt
17:04 JDiPierro joined #salt
17:04 markm_ joined #salt
17:05 Berty_ joined #salt
17:06 fusionx86 joined #salt
17:07 markm__ joined #salt
17:12 ktosiek joined #salt
17:15 Miouge joined #salt
17:17 otter768 joined #salt
17:20 markm_ joined #salt
17:29 scbunn joined #salt
17:30 Whissi joined #salt
17:36 bhosmer joined #salt
17:41 keimlink joined #salt
17:45 clintberry joined #salt
17:45 markm joined #salt
17:57 lictor36 joined #salt
17:59 joeto1 joined #salt
18:04 tmh1999 joined #salt
18:06 joeto joined #salt
18:30 Kriss joined #salt
18:31 markm joined #salt
18:36 _Cyclone_ joined #salt
18:37 bhosmer joined #salt
18:48 denys joined #salt
18:53 _JZ_ joined #salt
19:08 c10 joined #salt
19:18 bhosmer joined #salt
19:22 c10 joined #salt
19:22 Setsuna666__ joined #salt
19:26 _Cyclone_ joined #salt
19:33 thayne joined #salt
19:36 stoogenmeyer joined #salt
19:45 clintberry joined #salt
19:47 clintberry joined #salt
19:54 clintberry joined #salt
19:55 clintberry joined #salt
19:56 echo joined #salt
19:58 ProT-0-TypE joined #salt
20:06 jab416171 joined #salt
20:07 electricFeel joined #salt
20:11 fusionx86 joined #salt
20:16 Guest15 joined #salt
20:17 monkey66 joined #salt
20:24 c10 joined #salt
20:26 c10 joined #salt
20:26 echo joined #salt
20:34 ajw0100 joined #salt
20:36 jab416171 joined #salt
20:39 farcaller joined #salt
20:40 farcaller hi. can someone advice me on how to use returners properly?
20:40 farcaller `sudo salt-call -l debug test.ping --return pushover` from minion doesn't fail but doesn't send anything to pushover either
20:41 farcaller moreover, I expected it to fail as I commented out the pushover config from /etc/salt/minion now
20:49 catpig joined #salt
20:54 farcaller https://gist.github.com/farcaller/5707372b6dbe05261d58 the stacktrace (running 2014.7.0)
21:02 Guest15 joined #salt
21:02 clintberry joined #salt
21:04 jab416171 joined #salt
21:06 mikeywaites joined #salt
21:08 CeBe joined #salt
21:14 monkey66 left #salt
21:15 farcaller finally made it to work by using git head of salt and `pushover.user: xxx`, `pushover.token: yyy` lines in the config file
21:15 farcaller not that obvious :)
21:16 otter768 joined #salt
21:18 bhosmer_ joined #salt
21:20 JayFK joined #salt
21:21 proveditor joined #salt
21:23 cedwards joined #salt
21:24 cedwards can someone suggest a jinja method of determining the domain portion of the fqdn?
21:24 cedwards I've got server.site.domain.tld and I need to templatize the site.domain.tld portion
21:25 notnotpeter joined #salt
21:35 c10 joined #salt
21:37 tmclaugh[work] joined #salt
21:40 steffo joined #salt
21:42 tmclaugh[work] joined #salt
21:47 notnotpeter joined #salt
22:08 lietu joined #salt
22:14 rogst joined #salt
22:15 rogst joined #salt
22:17 scbunn joined #salt
22:30 tmclaugh[work] joined #salt
22:36 tmclaugh[work] joined #salt
22:39 jonher937 joined #salt
22:54 otter768 joined #salt
22:55 c10 joined #salt
23:05 Hell_Fire joined #salt
23:10 tmclaugh[work] joined #salt
23:19 Berty_ joined #salt
23:19 bhosmer_ joined #salt
23:31 echo joined #salt
23:37 aparsons joined #salt
23:44 scbunn joined #salt
23:45 fusionx86 joined #salt
23:57 tmclaugh[work] joined #salt

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