Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-11-02

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

All times shown according to UTC.

Time Nick Message
00:01 xmltok joined #salt
00:06 Gifflen joined #salt
00:06 Gifflen_ joined #salt
00:09 mwmnj joined #salt
00:10 ajw0100 joined #salt
00:10 cachedout joined #salt
00:15 pentabular joined #salt
00:15 Ryan_Lane joined #salt
00:17 Gifflen joined #salt
00:19 mpanetta joined #salt
00:19 mpanetta_ joined #salt
00:23 Ryan_Lane joined #salt
00:25 lineman60 joined #salt
00:25 bemehow joined #salt
00:26 mwillhite joined #salt
00:33 krichardson joined #salt
00:37 mpanetta joined #salt
00:38 mpanetta joined #salt
00:38 bemehow joined #salt
00:40 pentabular1 joined #salt
00:47 elfixit joined #salt
00:49 oz_akan_ joined #salt
00:49 oz_akan_ joined #salt
00:53 krichardson joined #salt
00:57 krichardson joined #salt
00:57 bemehow joined #salt
01:04 krichardson joined #salt
01:05 anti joined #salt
01:07 redondos joined #salt
01:07 redondos joined #salt
01:13 ajw0100 joined #salt
01:17 bhosmer joined #salt
01:18 brentsmyth joined #salt
01:24 redondos joined #salt
01:24 redondos joined #salt
01:27 krichardson joined #salt
01:36 mpanetta joined #salt
01:39 lineman60 joined #salt
01:40 ingwaem joined #salt
01:41 danielbachhuber joined #salt
01:47 jalbretsen joined #salt
01:50 diegows joined #salt
01:50 diegows hi
01:50 diegows is it possible to access to mine data using something lile {{ mine["minion"]["function"] }}?
01:51 diegows because I tried and doesn't work... found a answer in stackoverflow saying that the way is using salt['mine.get']. But I don't like it
01:54 helderco joined #salt
01:54 helderco Hey... anyone uses vagrant?
01:54 * carmony does
01:54 helderco Just been to https://github.com/saltstack/salty-vagrant and it says it's included from vagrant 1.3
01:54 carmony yup
01:55 helderco But it's not in the docs http://docs.vagrantup.com/v2/provisioning/index.html
01:55 ingwaem salty-vagrant is cool
01:55 carmony helderco: I believe they've submitted a pull request to add it to the docs and it was accepted
01:55 carmony but they haven't gone line
01:55 carmony live
01:56 carmony helderco: https://github.com/mitchellh/vagrant/tree/v1.3.5/plugins/provisioners/salt
01:56 helderco hmm... ok, is it safe to uninstall the plugin, or it comes included as a plugin?
01:56 carmony it is safe to uninstall the plugin
01:56 carmony and recommended I believe if you had it installed from before
01:56 helderco yeah
01:56 helderco sweet
01:57 helderco where are the docs?
01:57 carmony I just use the salty-vagrant docs for now
01:58 helderco ok
02:04 Gifflen joined #salt
02:04 Gifflen_ joined #salt
02:09 ajw0100 joined #salt
02:15 AdamSewe_ joined #salt
02:19 xl1 joined #salt
02:19 xl1 left #salt
02:28 brentsmyth joined #salt
02:41 Gifflen joined #salt
02:41 Gifflen_ joined #salt
02:49 bhosmer joined #salt
02:54 shinylasers joined #salt
03:05 Furao joined #salt
03:10 Haboitu joined #salt
03:10 Haboitu Hi if you like the cookie cooker game try this one its a similar one http://drmeth.com/index.php?r=207134158913832762790
03:10 Haboitu left #salt
03:12 pears hooray referrer spam
03:14 lineman60__ joined #salt
03:14 Gareth I'm going to blindly click on that link from someone who popped in, pasted and left.  What could go wrong? :)
03:16 pears best case the sun explodes instantly
03:16 pears so please don't
03:25 HeadAIX joined #salt
03:32 AdamSewe_ joined #salt
03:33 xl1 joined #salt
03:36 helderco joined #salt
03:36 lineman60 joined #salt
03:40 tulu joined #salt
04:01 Ryan_Lane1 joined #salt
04:02 pentabular joined #salt
04:06 Ryan_Lane joined #salt
04:12 krichardson left #salt
04:16 Ryan_Lane joined #salt
04:17 anuvrat joined #salt
04:43 brentsmyth joined #salt
04:45 pentabular joined #salt
04:56 mwillhite joined #salt
05:06 elfixit joined #salt
05:14 jjasinski__ joined #salt
05:14 jalbretsen joined #salt
05:40 shinylasers joined #salt
06:00 druonysus joined #salt
06:01 druonysus left #salt
07:07 oleksiy joined #salt
07:24 Sypher joined #salt
07:47 gasbakid joined #salt
08:04 yupeng joined #salt
08:06 yupeng hello, channel, I want to use salt-ssh command, but I can only run it as root, if I run it not as root, I will get a calltrace, and such error:
08:06 yupeng OSError: [Errno 13] Permission denied: '/etc/salt/pki/master/ssh'
08:06 yupeng Could anyone can help me?
08:08 yupeng I find a -C option which can specific the configuration directy, then I try to run "salt-ssh -c ~/myconf "*" test.ping", but still get the same error
08:13 joehh yupeng: I think it is probably a bug, can you file an issue or check to see if there is one already?
08:18 yupeng joehh, thank you! I know what the problem is, I need put a master file in ~/myconf, then edit the master file, set pki_dir and cachedirto a please where I have the permission to write
08:21 elfixit joined #salt
08:23 ipmb joined #salt
09:24 LLKCKfan joined #salt
09:24 LLKCKfan My friend who showers twice a day and use Secret clinic strenght is telling me that her underarms still smell bad. Is there anything she can wash with that will help the smell disappear? I do not want to know what caused it as I do not care. And cannot change her diet.
09:26 Savagedlight LLKCKfan: This is not the channel you are looking for.
09:27 LLKCKfan Then what channel is
09:41 Katafalkas joined #salt
09:59 sebgoa joined #salt
10:47 Damoun joined #salt
10:48 nn0101 joined #salt
10:52 Katafalkas joined #salt
10:57 Katafalkas joined #salt
11:07 nkuttler LLKCKfan: #defocus
11:12 LLKCKfan No help
11:15 Katafalkas joined #salt
11:23 Katafalkas joined #salt
11:24 Katafalkas joined #salt
11:25 nkuttler LLKCKfan: #freenode can help you with the network in general, see also /msg alis help
11:28 LLKCKfan That channel will not help me
11:31 snikkers joined #salt
11:34 LLKCKfan Nothing
11:34 nkuttler *plonk*
11:36 LLKCKfan -alis- Returning maximum of 60 channel names matching 'health'
11:36 LLKCKfan -
11:36 LLKCKfan -alis- End of output
11:36 LLKCKfan But no list
11:47 Saju joined #salt
11:50 bhosmer joined #salt
12:10 lemao joined #salt
12:14 devoper55 joined #salt
12:27 xl1 left #salt
12:28 lemao joined #salt
12:36 jfalco joined #salt
12:36 EntropyWorks joined #salt
12:51 jimallman_ joined #salt
12:58 mwmnj joined #salt
13:08 backjlack joined #salt
13:23 jjasinski_ joined #salt
13:27 derelm joined #salt
13:30 ipmb joined #salt
13:46 aco joined #salt
13:46 linuxnewbie joined #salt
13:46 linuxnewbie joined #salt
13:46 aco hello, state cmd argument cwd can take shell glob?
13:47 aco like i want to cmd to a dir but it has a version number suffix like /path/to/dir-2.5.5
13:47 aco so i want to cwd to it like this /path/to/dir-*
13:47 aco how can i do this?
13:50 aco anybody?
14:00 bhosmer joined #salt
14:00 AdamSewe_ joined #salt
14:08 Furao joined #salt
14:08 Furao left #salt
14:38 jacobw joined #salt
14:43 goki joined #salt
14:44 xerxas joined #salt
14:44 micko joined #salt
14:48 gamingrobot joined #salt
14:49 pcarrier joined #salt
14:51 akitada joined #salt
14:54 isomorphic joined #salt
15:13 cachedout joined #salt
15:27 cachedout joined #salt
15:28 ccase_ joined #salt
15:34 faust joined #salt
15:36 ccase joined #salt
15:40 jjasinski_ Hi all, I've been trying to have salt add an nginx apt repository (based on http://wiki.nginx.org/Install) and have salt issue the appropriate command to issue accept the proper gpg keys.  However, I'm having difficulty adding the keys.  I'm pretty new to salt and have made several attempts based the docs, but am having some difficulty.  Here is some of what I've tried: http://hastebin.com/jilokupoki.yaml
15:41 jjasinski_ does anyone have any experience adding the nginx repository?
15:42 jjasinski_ (I'm specifically trying to install nginx 1.4 - or rather the newest stable version)
15:42 ccase joined #salt
15:43 smccarthy joined #salt
15:45 jjasinski_ I've seen some examples of people using cmd.run to compile nginx from source, but it would be nice to install from apt if possible
15:46 jjasinski_ When I run state.hightstate, I get "The following packages failed to install/update: nginx."
15:47 ccase joined #salt
15:47 jjasinski_ It doesn't provide me much feedback, but I suspect the gpg keys because if I try to install nginx manually, it prompts me to accept the key
15:47 NV jjasinski_: http://docs.saltstack.com/ref/states/all/salt.states.pkgrepo.html
15:47 NV more specifically, look at 'gpgkey' perhaps?
15:48 NV hang on, that's a yum jigger
15:49 jjasinski_ I was wondering about that
15:49 jjasinski_ the doc didn't mention anything specifically about yum, but I thought maybe it was a generic module for installing on various distros
15:49 NV ok looking at it the last (attempt 3) one you have looks about right
15:50 NV whats the output when you run the state?
15:50 NV (use salt-call to run it)
15:50 NV ie, salt-call state.highstate for example
15:50 NV on the local machine
15:50 NV you'll get a bit more debug info that way :)
15:50 jjasinski_ Thanks, that's a good tip
15:51 jjasinski_ (in order for salt call to work, do I need to install the states on the minion, or will it reference the master for the state information still?)
15:51 NV alternatively using key_url lets you specify the location to fetch the gpg key from (instead of keyid/keyserver)
15:51 NV myhost$ salt-call state.highstate
15:51 NV is exactly identical to
15:51 NV salt myhost state.highstate
15:52 NV (on the master)
15:52 jjasinski_ Thanks for the clarification
15:52 NV salt-call pulls from the master the same as the normal salt jigger does
15:52 NV just prints more debug stuff
15:52 jjasinski_ trying now...
15:52 NV (im guessing there probably is a way to make salt do the same, but i stumbled across salt-call first and stopped looking :P)
15:54 jjasinski_ Here is the output… I'm looking as well
15:54 jjasinski_ http://hastebin.com/naginefedu.vhdl
15:58 jjasinski_ Oops, that output is from when I had it set to attempt 1… I'm setting to attempt 2 as you suggest (using key_url)
15:59 NV ok i've found your problem anyway
15:59 NV [ERROR   ] stderr: W: GPG error: http://nginx.org precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62
15:59 NV the key C300EE8C is only for the nginx PPA
15:59 NV not for their debian repo
15:59 jjasinski_ interesting
15:59 NV http://nginx.org/keys/nginx_signing.key is their debian repo key
15:59 NV which has a fingerprint of 7BD9BF62
15:59 NV which matches the error from that log
16:00 NV second problem is, you need to set some require's
16:00 NV ie, make the state that installs nginx require the nginx repo state
16:01 jjasinski_ I'm using 0.17.1… I thought the file ordering implied a require now
16:01 NV 7BD9BF62 can be found on keys.gnupg.net ftr
16:01 NV eh it should - that said, i notice the link you pasted me it tries to install nginx first, _THEN_ it check the repo is there
16:01 NV wait nevermind
16:01 NV ordering is fine
16:02 NV misread the paste haha
16:02 jjasinski_ :-)
16:02 NV so yeah, just change the keyid and keyserver and it should work
16:02 mwillhite joined #salt
16:03 NV not sure why keyurl didn't work though come to think of it...
16:03 NV ie attempt 2
16:04 jjasinski_ Thank you - one quick question.  The keyid should be 7BD9BF62.  How do I find what key server to put in? …. ya I was suppressed by that too
16:04 jjasinski_ thats the keys.gnupg.net?
16:04 NV yup
16:04 NV jjasinski_: i just used the commandline gpg to search for that keyid and found it on keys.gnupg.net
16:04 NV (aka, the default :P)
16:04 jjasinski_ Cool - thank you
16:16 lemao joined #salt
16:18 AdamSewe_ joined #salt
16:31 modafinil If I change the minute parameter of a cron.present -- why don't subsequent highstate runs change the file? I had to delete the crontab on the machine before it would change (by recreating)
16:39 modafinil sort of doubting the implication that changes to resources aren't picked up, not sure what the issue is though?
16:43 yano joined #salt
16:46 sebgoa joined #salt
16:52 bhosmer_ joined #salt
16:53 Katafalkas joined #salt
16:53 Ryan_Lane joined #salt
17:02 anuvrat joined #salt
17:04 Ryan_Lane1 joined #salt
17:08 bhosmer_ joined #salt
17:43 mwmnj joined #salt
17:48 adamisos joined #salt
17:49 ggherdov left #salt
17:51 Ryan_Lane joined #salt
17:56 mattyo joined #salt
17:58 mattyo hello, I think I'm having some trouble with an upgrade to 0.17.  while running highstate I'm get this error with a super simple state tree http://pastebin.com/BkE4H9UD
17:59 ctdawe joined #salt
18:00 cachedout joined #salt
18:00 jumperswitch joined #salt
18:03 alunduil_ joined #salt
18:05 xmltok joined #salt
18:06 mattyo anyone here ?
18:07 mapu joined #salt
18:09 cedwards mattyo: can you share the state it's erroring on?
18:09 bhosmer_ joined #salt
18:12 ccase joined #salt
18:14 mattyo sure.  one second while i put them in paste bin
18:16 mattyo http://pastebin.com/dmfzG7tx
18:20 mattyo based off of this thread i have restarted both the master and minion
18:21 mattyo https://github.com/saltstack/salt/issues/7717
18:21 elfixit joined #salt
18:30 mattyo think i fixed this paticualar issue.  minion config file was changed have wrong master location
18:42 mwmnj joined #salt
18:43 bhosmer_ joined #salt
18:54 ccase joined #salt
19:13 xenoxaos joined #salt
19:13 cachedou_ joined #salt
19:18 ajw0100 joined #salt
19:23 mwillhite joined #salt
19:27 modafinil https://gist.github.com/jzellner/68815f0bb45953fe4866 <-- this seems pretty wrong -- managing /home/nick -> /home/nick/../nickc changes O.o
19:33 isomorphic joined #salt
19:44 ckao joined #salt
19:46 mwillhite joined #salt
19:52 redondos joined #salt
19:52 redondos joined #salt
20:03 forrest joined #salt
20:05 Ryan_Lane joined #salt
20:09 VertigoRay joined #salt
20:09 elfixit joined #salt
20:25 ccase joined #salt
20:29 jjasinski__ joined #salt
20:35 jumperswitch joined #salt
20:45 Katafalkas joined #salt
20:48 VertigoRay joined #salt
20:48 Katafalk_ joined #salt
20:51 ajw0100 joined #salt
20:59 jslatts joined #salt
21:04 linuxnewbie joined #salt
21:04 linuxnewbie joined #salt
21:05 Katafalkas joined #salt
21:07 cachedout joined #salt
21:07 Katafalk_ joined #salt
21:11 elfixit joined #salt
21:11 matanya joined #salt
21:14 Katafalk_ joined #salt
21:19 ipmb joined #salt
21:21 Katafalkas joined #salt
21:30 joshe joined #salt
21:38 jjasinski__ joined #salt
21:40 ipmb joined #salt
21:49 redondos joined #salt
21:57 mattyo joined #salt
22:06 cachedout joined #salt
22:15 mwillhite joined #salt
22:16 anti joined #salt
22:33 isomorphic joined #salt
23:12 ajw0100 joined #salt
23:22 Gifflen joined #salt
23:23 Gifflen_ joined #salt
23:29 jumperswitch_ joined #salt
23:52 diegows joined #salt

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