Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-04-19

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

All times shown according to UTC.

Time Nick Message
00:00 thayne joined #salt
00:03 jeblair joined #salt
00:07 cpowell joined #salt
00:10 amcorreia joined #salt
00:17 otter768 joined #salt
00:20 echo joined #salt
00:26 jpaetzel joined #salt
00:27 litwol joined #salt
00:27 johngrasty joined #salt
00:27 juanito joined #salt
00:28 SheetiS joined #salt
00:30 blacked joined #salt
00:32 sunkist joined #salt
00:32 otter768 joined #salt
00:33 blacked joined #salt
00:44 radd joined #salt
00:46 isodude_ joined #salt
00:59 MrMorden joined #salt
01:00 MAbeeTT_ joined #salt
01:01 yomilk joined #salt
01:06 mohae_ joined #salt
01:10 scoates joined #salt
01:26 yomilk joined #salt
01:27 blacked joined #salt
01:32 pravka joined #salt
01:38 ckao joined #salt
01:39 irctc665 joined #salt
01:45 blacked joined #salt
01:45 cberndt joined #salt
01:47 _Cyclone_ joined #salt
02:00 bhosmer joined #salt
02:02 Aidanjl joined #salt
02:02 drawsmcgraw joined #salt
02:08 malinoff joined #salt
02:24 _Cyclone_ joined #salt
02:31 bhosmer joined #salt
02:36 drawsmcgraw joined #salt
02:37 thayne joined #salt
02:40 michelangelo joined #salt
02:41 Not_ joined #salt
02:49 mattiaswolff joined #salt
02:51 brianfeister joined #salt
02:52 cberndt joined #salt
03:00 viq joined #salt
03:05 malinoff joined #salt
03:05 seev joined #salt
03:16 qybl_ joined #salt
03:17 solidsnack joined #salt
03:22 blacked joined #salt
03:28 qybl joined #salt
03:29 irctc445 joined #salt
03:29 lictor36 joined #salt
03:30 zwi joined #salt
03:31 irctc445 Question: how to delete multiple files? file.absent works only for one -name
03:32 irctc445 Doesn't take wildcard either.
03:36 zach cmd.run '/bin/rm {file,file2,file3}'
03:37 malinoff it is better to write three file.absent states since they're idempotent
03:38 irctc445 cmd.run - thanks... but really cmd.run is a workaround for everything
03:38 soren_ joined #salt
03:39 catpig joined #salt
03:39 irctc445 tried 3 file.absent - complained "Conflicting ID 'file.absent'"
03:40 malinoff irctc445, can you http://pastie.org your sls?
03:40 irctc445 http://pastie.org/10100945
03:41 irctc445 Pasted what's finally working
03:41 irctc445 its not the best way to delete 3 files.
03:44 desposo joined #salt
03:44 malinoff irctc445, you should understand the difference between writing idempotent state and scripting. I believe you need file.absent that directory
03:44 irctc445 It is root directory
03:44 malinoff irctc445, don't put rpms into root
03:44 irctc445 :) Its not me
03:45 irctc445 the default rpm is like that....yum install leaves them over
03:45 malinoff irctc445, I never saw yum which leaves rpms in /
03:45 malinoff irctc445, your yum is broken
03:46 irctc445 yum is good, rpms are broken
03:46 irctc445 and i did not create the rpms
03:46 malinoff irctc445, anyway, i believe it is better to write a script and run cmd.script
03:46 irctc445 what is needed is file.absent to take multiple values....
03:46 irctc445 should raise a request
03:46 malinoff no, it's really not
03:46 malinoff file.absent is idempotent state
03:47 malinoff all you need is to run a script
03:47 irctc445 why can't idempotent states take multipel values?
03:47 malinoff you can't pronounce that state of absence in pure english
03:47 irctc445 pkgs is taking multiple values to install the packages
03:47 malinoff yes, because you can pronounce that
03:47 malinoff 'Make sure that these packages are installed'
03:48 irctc445 'Make sure these files are absent'
03:48 malinoff Which files? What role do they play?
03:48 irctc445 which package, what roles?
03:48 malinoff It's like 'Make sure that half of tmp has +x'
03:48 malinoff yes, you can say that, but why?
03:48 malinoff that makes no sense
03:49 malinoff irctc445, im trying to say that these rpms are basically some garbage that was not collected properly
03:49 malinoff simply write cleanup.sh script and run it
03:49 malinoff that makes a lot of sense
03:49 irctc445 right...There are 100 ways to do it
03:50 irctc445 just looking for the right salt way
03:50 malinoff exactly, and the *right* way to fix such issues is to write cleanup.sh script
03:50 malinoff simply because garbage files are not related to configuration management at all
03:51 irctc445 ok, i would have expected better....i am trying to move from python+shell scripts to a configuration manager
03:51 irctc445 and if I have to write scripts again, wahts the point
03:51 irctc445 even if its garbage collection
03:52 malinoff because you can't manage unmanaged content
03:52 malinoff these garbage rpms are like users comments in a database
03:52 irctc445 ok, i will take your word for it....moving onto the next problem
03:53 irctc445 thanks for your time.
03:53 malinoff *somebody* are creating them and you have clearly no control over that process
03:53 irctc445 salt is creating them when it calls pkgs to install those files....someone made the wrong rpm.....so now i am looking for salt to cleanup the mess...but alas its not to be so.
03:54 thayne joined #salt
03:56 malinoff can you show your sls which installs them?
03:56 davidbanham joined #salt
03:59 irctc445 http://pastie.org/10100958
03:59 irctc445 pasted the full sls
03:59 joeyparsons joined #salt
04:01 malinoff that's *very* strange
04:03 malinoff irctc445, you should probably create an issue about that in https://github.com/saltstack/salt/issues
04:03 malinoff i believe it's salt issue, not yum
04:04 irctc445 Its not salt issue, even with yum, the files are leftover
04:04 irctc445 someone did not create the rpm properly
04:04 malinoff really?
04:04 radd joined #salt
04:05 irctc445 what salt needs to do is add a files option in file.absent
04:05 irctc445 so that it can take multiple files, like pkgs
04:05 malinoff you can't write an rpm spec in order to make a package manager to leave rpms somewhere
04:05 scbunn joined #salt
04:06 malinoff check your /etc/yum.conf
04:06 irctc445 not sure how its leaving....but definitely not salt issue
04:06 irctc445 all other rpms are installed and cleaned up properly
04:06 irctc445 just these 3 are leaving behind
04:06 malinoff irctc445, which value has cachedir in /etc/yum.conf?
04:07 irctc445 cachedir=/var/cache/yum/$basearch/$releasever
04:07 malinoff and keepcache?
04:07 irctc445 0
04:07 malinoff hm
04:07 malinoff that's very strange
04:08 malinoff you should probably ask about that on #linux
04:08 malinoff gtg
04:08 irctc445 I am creating a issue, add multi file option in file.absent.....lets see if they accept
04:09 seev just use jinja loop and ad-hoc array
04:13 irctc445 https://github.com/saltstack/salt/issues/22834 issue created.
04:13 irctc445 thanks for your time again...
04:21 bluenemo joined #salt
04:26 blacked joined #salt
04:34 irctc297 joined #salt
04:36 irctc297 Got update in github - there is 'names', not documented well.....just make a list with names under file.absent and it works.
04:40 brianfeister joined #salt
04:54 blacked joined #salt
04:56 sunkist joined #salt
04:58 ckao joined #salt
05:03 brianfeister joined #salt
05:04 sunkist joined #salt
05:09 sunkist joined #salt
05:10 pdayton joined #salt
05:19 dalexander joined #salt
05:23 sunkist1 joined #salt
05:33 bhosmer joined #salt
05:37 zircote joined #salt
05:43 sunkist joined #salt
05:57 jab416171 joined #salt
06:01 blacked joined #salt
06:01 bhosmer joined #salt
06:08 brianfeister joined #salt
06:11 stoogenmeyer joined #salt
06:11 brianfeister joined #salt
06:21 stoogenmeyer_ joined #salt
06:24 sunkist joined #salt
07:00 circ-user-nv7s9 joined #salt
07:02 CaptainMagnus joined #salt
07:05 circ-user-nv7s9 quick question - I want to deploy minions that will be able to communicate only with my server. That is, I need it to be ready out-of-the-box with the master hostname (not salt but s.mydomain.com) and with the crypto keys that will make it only possible to connect to my server even if someone hijacks my dns. Can it be done?
07:06 testuser_ joined #salt
07:15 jeddi joined #salt
07:20 iromli joined #salt
07:22 stooj joined #salt
07:25 mattiaswolff joined #salt
07:36 bhosmer joined #salt
07:57 soren_ joined #salt
08:00 randomuser joined #salt
08:03 blacked joined #salt
08:14 stooj joined #salt
08:19 aquassaut joined #salt
08:21 stoogenmeyer joined #salt
08:24 blacked joined #salt
08:24 P0bailey joined #salt
08:24 P0bailey joined #salt
08:42 tkharju joined #salt
08:43 malinoff joined #salt
08:47 evle1 joined #salt
08:50 circ-user-nv7s9 joined #salt
08:54 keimlink joined #salt
08:58 joeto joined #salt
08:59 joeto Hi All, I am using s3fs, how can I force s3fs cache to be updated on my mnaster ... I am bored to wait 60 sec on each change :)
08:59 joeto s3 as backend fs
09:05 jngd joined #salt
09:10 CeBe joined #salt
09:11 joeto I am not sure how to call salt.fileserver.s3fs.update on salt master :(
09:11 joeto aways receive err that "not found"
09:14 stoogenmeyer joined #salt
09:22 ndrei joined #salt
09:30 echo joined #salt
09:30 joeto another one :), I am trying to mkfs one of my drives if it is not formated and mount it but it fails on onlyif cood you please take a look http://pastie.org/10101168#
09:32 otter768 joined #salt
09:39 peters-tx joined #salt
09:40 favadi joined #salt
09:42 cberndt joined #salt
09:43 cberndt joined #salt
09:45 viq joined #salt
09:45 markm joined #salt
09:45 mattiaswolff joined #salt
09:54 tomh- joined #salt
10:03 bhosmer joined #salt
10:08 favadi left #salt
10:19 Jimlad joined #salt
10:54 cygnetix joined #salt
10:59 teogop joined #salt
11:05 Jimlad joined #salt
11:06 CeBe joined #salt
11:10 Jimlad_ joined #salt
11:27 ndrei joined #salt
11:33 otter768 joined #salt
11:42 tkharju joined #salt
11:45 _Cyclone_ joined #salt
11:47 mapu joined #salt
11:49 cygnetix left #salt
12:09 masterkorp joined #salt
12:13 joehh1 joeto: what version of salt are you running?
12:13 joehh1 what does salt 'minion' file.is_blkdev /dev/xvde
12:13 joehh1 return?
12:15 amcorreia joined #salt
12:16 joehh1 should the onlyif bit be a shell command? http://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html#salt.states.cmd.run
12:17 soren_ joined #salt
12:34 bluenemo joined #salt
12:41 bhosmer joined #salt
12:50 andrew_v joined #salt
13:05 soren_ joined #salt
13:09 dkrae joined #salt
13:18 is_null joined #salt
13:19 is_null hi all, how to add a global environment variable ? it seems like pip.installed doesn't get REQUESTS_CA_BUNDLE which is defined in /etc/bash.bashrc and ~/.bashrc
13:19 is_null pip works when used outside of salt.
13:20 is_null when used in salt, it complains about ssl
13:27 bluenemo joined #salt
13:32 is_null code/output: http://dpaste.com/17549G7
13:33 otter768 joined #salt
13:35 is_null actually that was not my error at all, using -l trace shows the actual error: http://dpaste.com/33TGZRM any idea? using 2014.7
13:47 lictor36 left #salt
13:48 babilen is_null: Looks as if you have a broken manual distutils installation in /usr/local. This has little to do with salt I guess, can you install fabric manually on that minion ?
13:54 nicksloan joined #salt
14:11 scbunn joined #salt
14:12 faust joined #salt
14:17 chiui joined #salt
14:19 CeBe joined #salt
14:20 Jimlad joined #salt
14:20 sk_0 joined #salt
14:24 eichiro joined #salt
14:25 is_null babilen: yes, and the salt state for installing it still fails: http://dpaste.com/2QN085D
14:26 is_null my bad, i'm looking at some older log
14:30 ALLmightySPIFF joined #salt
14:31 zwi joined #salt
14:32 is_null ok, ran again in a fresh container, confirmed that the pip install command succeeds and exits with 0 when ran manually, and fails with salt: http://dpaste.com/1JA9NH7
14:32 is_null so, that's a bit weird :D
14:47 ndrei joined #salt
14:50 Furao joined #salt
14:57 scoates joined #salt
15:15 scbunn joined #salt
15:19 robinsmidsrod joined #salt
15:25 jasonrm joined #salt
15:25 mordonez joined #salt
15:32 ALLmightySPIFF joined #salt
15:34 otter768 joined #salt
15:39 blacked joined #salt
15:43 bhosmer_ joined #salt
15:56 otter768 joined #salt
15:59 echo joined #salt
16:00 soren_ joined #salt
16:01 thayne joined #salt
16:02 hellome joined #salt
16:05 blacked joined #salt
16:06 malinoff joined #salt
16:07 iromli joined #salt
16:15 hellome joined #salt
16:18 zwi joined #salt
16:25 www-BUKOLAY-com joined #salt
16:26 hackeron_ joined #salt
16:35 bluenemo_ joined #salt
16:51 yidhra joined #salt
16:59 lnr joined #salt
16:59 lnr joined #salt
16:59 lnr joined #salt
17:00 lnr joined #salt
17:00 lnr joined #salt
17:00 lnr joined #salt
17:01 lnr joined #salt
17:01 lnr joined #salt
17:01 lnr joined #salt
17:02 lnr joined #salt
17:02 lnr joined #salt
17:02 lnr joined #salt
17:03 lnr joined #salt
17:03 lnr joined #salt
17:03 lnr joined #salt
17:04 lnr joined #salt
17:04 lnr joined #salt
17:04 lnr joined #salt
17:05 lnr joined #salt
17:06 lnr joined #salt
17:06 lnr joined #salt
17:06 lnr joined #salt
17:07 lnr joined #salt
17:07 lnr joined #salt
17:07 lnr joined #salt
17:10 lnr joined #salt
17:10 lnr joined #salt
17:10 lnr joined #salt
17:11 lnr joined #salt
17:11 lnr joined #salt
17:11 lnr joined #salt
17:12 lnr joined #salt
17:12 lnr joined #salt
17:13 timoguin joined #salt
17:13 lnr joined #salt
17:13 chiui joined #salt
17:13 lnr joined #salt
17:13 lnr joined #salt
17:14 lnr joined #salt
17:14 jngd joined #salt
17:14 lnr joined #salt
17:15 lnr joined #salt
17:15 lnr joined #salt
17:15 lnr joined #salt
17:16 jcristau joined #salt
17:16 lnr joined #salt
17:16 lnr joined #salt
17:18 lnr joined #salt
17:19 lnr joined #salt
17:39 otter768 joined #salt
17:44 catpig joined #salt
17:46 bhosmer joined #salt
17:48 bfoxwell joined #salt
17:49 ALLmightySPIFF joined #salt
17:50 iggy joeto: salt-run fileserver.update (updates all fileserver backends incidentally)
17:54 joeto thank you :) will try it. btw I am using master with syndics how to make it works for syndics?
17:54 iggy nfc
17:54 joeto ?
17:54 joeto sorry I am newb here :)
17:54 iggy no friendly clue
17:55 joeto hahas ok than k you :) will search for it :)
17:57 teogop_ joined #salt
18:05 swa_work joined #salt
18:08 joeto joehh1: I change it a bit. It is works right now and cover what I want to do ... http://pastie.org/10101754
18:10 joeto the idea is that on some cloud images I do not have xvde so I do not need to do this at all
18:11 joeto if someone have better idea pls tell me :)
18:15 hellome joined #salt
18:17 catpig joined #salt
18:17 iggy so... can someone finally tell me wtf that black and white thing with the little stand on the back (That we got at saltconf) is?
18:18 hellome joined #salt
18:20 hellome joined #salt
18:23 keimlink joined #salt
18:25 catpigger joined #salt
18:26 babilen iggy: picture?
18:26 swa_work joined #salt
18:31 stoogenmeyer joined #salt
18:34 iggy http://imgur.com/a/YnMeH
18:34 drawsmcgraw joined #salt
18:48 nzero joined #salt
18:49 swa_work joined #salt
18:58 amcorreia joined #salt
18:59 babilen no idea
18:59 ALLmightySPIFF joined #salt
19:09 otter768 joined #salt
19:09 babilen Anything interesting under that foil?
19:15 drawsmcgraw joined #salt
19:23 aravind joined #salt
19:24 joeto I want to append string @some_text to file with file.append but looks like "@" is problematic how to escape it?
19:26 iggy rubbery surface
19:26 iggy joeto: quotes
19:26 joeto yeaa shame on me :D
19:26 joeto just checked it :D
19:27 iggy the @ is special in yaml
19:27 joeto works thank you :)
19:31 Vynce joined #salt
19:35 MatthewsFace joined #salt
19:39 timoguin joined #salt
19:45 raygunsix joined #salt
19:49 babilen iggy: holder for your mobile would be my best guess
19:52 otter768 joined #salt
20:19 aquassaut joined #salt
20:20 blacked joined #salt
20:34 ALLmightySPIFF joined #salt
20:35 Aidanjl joined #salt
20:35 ALLmightySPIFF joined #salt
20:36 MatthewsFace joined #salt
20:42 blacked joined #salt
20:44 hellome joined #salt
20:47 tmclaugh[work] joined #salt
20:50 bhosmer joined #salt
20:53 thayne joined #salt
21:03 blacked joined #salt
21:08 Not_ joined #salt
21:10 iggy I suppose... Not trusting my $700 smart phone with a $0.15 piece of plastic
21:34 fbettag joined #salt
21:42 cberndt joined #salt
21:43 timoguin joined #salt
21:45 edrocks joined #salt
21:48 cberndt joined #salt
21:51 bhosmer joined #salt
22:00 primechuck joined #salt
22:06 ajw0100 joined #salt
22:10 grrrrr joined #salt
22:14 dl_nz joined #salt
22:19 cberndt joined #salt
22:19 micko1 joined #salt
22:25 MatthewsFace joined #salt
22:29 Aidanjl joined #salt
22:35 yomilk joined #salt
22:38 grrrrr joined #salt
22:39 yomilk joined #salt
22:42 blacked joined #salt
22:43 cberndt joined #salt
22:53 hasues joined #salt
22:54 hasues left #salt
23:03 otter768 joined #salt
23:09 yomilk joined #salt
23:31 edrocks_ joined #salt
23:32 Singularo joined #salt
23:37 mosen joined #salt
23:40 fbettag joined #salt
23:56 thayne joined #salt

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