Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-03-09

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

All times shown according to UTC.

Time Nick Message
00:00 forrest did you import socket?
00:00 NV stlouistechy: copy-paste t his into a shell: python -c 'import socket; print socket.getfqdn()'
00:01 stlouistechy yeah, both minions return: 66-152-109-25.tvc-ip.com
00:01 forrest ok so there's your problem
00:01 stlouistechy totally odd, so that's perhaps a DNS issue I have locally?
00:02 forrest stlouistechy, could be, I'm not quite sure about the internal workings of socket in python, so I don't know exactly where it's getting the fqdn from
00:02 snuffeluffegus joined #salt
00:02 stlouistechy interesting, likely outside of Salt then though right?
00:03 forrest that's all python
00:03 NV yes
00:03 thayne_ joined #salt
00:04 stlouistechy roger that, thanks a ton forrest. I'll see if I can't figure out why the hell these guys are giving a funky FQDN
00:04 forrest stlouistechy, yea np.
00:05 smcquay joined #salt
00:05 Ryan_Lane is there a way to use salt-call to call a single module?
00:05 Ryan_Lane without a top file
00:09 forrest stlouistechy, I ran an strace on that call, looks like it is checking a variety of files, most interestingly is the access of the resolv.conf to grab the nameserver entries, there's also a bit on uname in here.
00:10 stlouistechy I wonder if there is anything cached that Python could be pulling
00:10 forrest Ryan_Lane, do you mean an execution module?
00:10 forrest stlouistechy, well, what do you get when you query uname -a ?
00:10 stlouistechy this could be an old IP/hostname
00:10 Ryan_Lane whoops. I mean a state
00:10 forrest Ryan_Lane, local or from the master?
00:10 Ryan_Lane local
00:10 stlouistechy I get: Linux B827EB6924F6 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
00:10 forrest Did salt-call --local state.sls state_name not work?
00:11 forrest stlouistechy, oh what OS are you on? I'm running this in centos
00:11 stlouistechy its diffenetly not a current FQDN
00:11 Ryan_Lane well, that assumes I have it in some directory structure, right?
00:11 forrest stlouistechy, it could be a query of the IP against the nameservers *shrug*
00:11 stlouistechy rasbian Wheezy
00:11 forrest Ryan_Lane, yea, if you want to pull it from the master, just don't pass --local
00:11 Ryan_Lane well, I'm not using a master
00:11 stlouistechy yeah, not a current one though. I believe it is an old IP these guys had when they were plugged directly into my ISP without a local IP
00:12 Ryan_Lane I'm actually trying to go for the easiest way to test a single module that I pulled from github
00:12 forrest Ryan_Lane, you mean state
00:12 Ryan_Lane rawr. yes
00:12 Ryan_Lane state module :)
00:12 forrest Ryan_Lane, so where did you put the state? /srv/salt/?
00:12 Ryan_Lane I did now and it seems to be working
00:12 forrest stlouistechy, ahh, yea then you might need to check to see if it's cached anywhere, might be good to recursively grep through
00:13 stlouistechy roger that
00:13 forrest Ryan_Lane, yea, salt-call --local state.sls state_name will check in there, why are you making it so hard on yourself :P
00:13 Ryan_Lane because I'm stupid, that's why ;)
00:13 forrest lol
00:13 forrest Just blame it on Saturday
00:14 Ryan_Lane :D
00:17 schimmy joined #salt
00:19 krow joined #salt
00:21 Ryan_Lane sigh. now I'm trying to pull in pillars
00:23 Ryan_Lane ah. got it.
00:24 stlouistechy I am really at a loss here on where the crap this FQDN could be getting cached. I have deleted most everything that SALT could be caching
00:24 stlouistechy Is there a python cache I could possibly clear?
00:24 forrest stlouistechy, it's not salt that's doing the caching
00:24 forrest stlouistechy, you need to see how socket.getfqdn() works, and determine where it's pulling that data from, whether it's a local file, or whether it's querying name servers for that data.
00:25 forrest stlouistechy, if you run that call that NV has above but you strace it, you can see it opening and reading quite a few files on the system.
00:25 johtso joined #salt
00:25 stlouistechy I found a fix that was released by SaltStack for this issue https://github.com/mitchellh/vagrant/pull/2254
00:25 DaveQB joined #salt
00:25 fllr joined #salt
00:25 forrest stlouistechy, are you using vagrant?
00:26 rgbkrk joined #salt
00:26 stlouistechy no, it was linked as a fix from another post with this issue here: https://github.com/mitchellh/vagrant/issues/2085
00:26 stlouistechy maybe its unrelated
00:27 fllr joined #salt
00:31 fllr joined #salt
00:31 schristensen joined #salt
00:33 pdayton joined #salt
00:35 Ryan_Lane is there any way to require a module, rather than a specific resource?
00:36 helderco joined #salt
00:36 schimmy joined #salt
00:36 Ryan_Lane (inside of a state)
00:37 Ryan_Lane ah. sls: <module>
00:37 forrest Ryan_Lane, to do that you need to include the state as well
00:37 Ryan_Lane yep. am
00:37 forrest ok cool
00:42 manicouman joined #salt
00:47 HeadAIX joined #salt
00:50 manicouman joined #salt
00:57 shalicke joined #salt
01:02 forrest Ryan_Lane, good stuff on the redis formula
01:03 Ryan_Lane thanks. I was pretty surprised to see it installs from source by default ;)
01:03 forrest yea
01:03 forrest I was looking at your additions and going 'wait it installed from source before?'
01:03 Ryan_Lane :D
01:04 krow joined #salt
01:12 EnTeQuAk joined #salt
01:14 elsmorian joined #salt
01:14 rgbkrk joined #salt
01:15 sroegner joined #salt
01:15 kickerdog is there a way for salt to send an email when a certain state has been executed?
01:15 kermit joined #salt
01:19 baniir joined #salt
01:21 krow joined #salt
01:31 ajw0100 joined #salt
01:36 forrest kickerdog, looks like there's a returner for smtp: http://docs.saltstack.com/ref/returners/all/salt.returners.smtp_return.html#module-salt.returners.smtp_return
01:39 kickerdog so for that to work I would cloud alias "salt-call state.highstate —return smtp" ?
01:40 forrest I think you need to fill out some fields regarding the details of the smtp detail as well
01:40 forrest I haven't messed with it so I'm not ure
01:40 forrest *sure
01:40 kickerdog Sweet, thanks! I'll give it a try
01:40 forrest cool
01:46 meteorfox joined #salt
01:47 krow joined #salt
01:47 budrose joined #salt
01:49 kickerdog so this has started happening
01:49 kickerdog [ERROR   ] Command "dpkg --compare-versions '0.1-17' lt '0.1-17'" failed with return code: 1
01:49 kickerdog [ERROR   ] output:
01:49 kickerdog not sure how you can screw that up
01:50 mgw joined #salt
02:04 manicouman joined #salt
02:13 rgbkrk joined #salt
02:14 cpenner461 joined #salt
02:14 vxitch joined #salt
02:21 elsmorian joined #salt
02:23 krow joined #salt
02:28 krow joined #salt
02:31 quickdry21 joined #salt
02:34 \ask joined #salt
02:34 krow joined #salt
02:34 vxitch joined #salt
02:37 dangra joined #salt
02:39 yomilk joined #salt
02:40 krow joined #salt
02:42 Eugene Sooo..... just updated to 2014.1. On a scale of 1-potato, how drunk should I be?
02:46 ilbot3 joined #salt
02:46 Topic for #salt is now Welcome to #salt | Thanks to everyone who made SaltConf 2014 amazing! | 2014.1.0 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
02:48 Eugene Apparently pretty drunk. VMware has decided to rework their open-vm-tools packages. Argh.
02:48 krow1 joined #salt
02:51 bhosmer joined #salt
02:56 higgs001 joined #salt
03:04 sroegner joined #salt
03:08 baniir joined #salt
03:09 baniir is there a salt way to run a command only if a file does not exist
03:10 Eugene baniir - yes, by abusing onlyif:. See https://gist.github.com/EugeneKay/9442419
03:10 Eugene Here I'm doing it onlyif the file DOES exist, but you should be able to invert that easily
03:12 baniir Eugene: that relies on which. what if it the file were not in PATH
03:13 baniir i guess a simple ls would do
03:13 schimmy joined #salt
03:20 jalbretsen joined #salt
03:20 elsmorian joined #salt
03:22 rostam joined #salt
03:31 elsmorian joined #salt
03:31 ckao joined #salt
03:50 gnugnu9 joined #salt
03:55 CeBe joined #salt
04:10 thayne_ joined #salt
04:32 erjohnso joined #salt
04:34 nebuchad` joined #salt
04:36 lionel_ joined #salt
04:37 shano joined #salt
04:40 yomilk joined #salt
04:48 twinshadow joined #salt
04:50 fatbox joined #salt
04:58 Eugene baniir - which invoked with a full relative path does not depend upon PATH in any way ;-)
04:59 helderco joined #salt
05:00 Eugene s/relative/absolute
05:00 * Eugene drinks
05:04 xmj cedwards: did you see the (working :-) followup i submitted?
05:10 rjc joined #salt
05:14 rgbkrk joined #salt
05:15 smcquay joined #salt
05:19 higgs001 joined #salt
05:19 elsmorian joined #salt
05:22 sroegner joined #salt
05:24 xinkeT joined #salt
05:24 jeffro_ joined #salt
05:24 renoirb_ joined #salt
05:25 jalbretsen joined #salt
05:25 23LAAMJ4K joined #salt
05:26 pmcg joined #salt
05:27 Eugene Ugh fu vmware, inc for maintaining shitty yum repos
05:27 * Eugene drinks twice
05:29 jforest joined #salt
05:29 MTecknology joined #salt
05:42 jalbretsen left #salt
05:58 ipalreadytaken joined #salt
06:00 andr386 joined #salt
06:19 fllr joined #salt
06:20 elsmorian joined #salt
06:21 tomtomtomtom joined #salt
06:22 baniir joined #salt
06:32 krow joined #salt
06:33 travhill joined #salt
06:36 fllr joined #salt
06:39 d10n_ left #salt
06:41 fllr joined #salt
06:41 yomilk joined #salt
06:41 fllr joined #salt
06:41 sroegner joined #salt
06:43 fllr joined #salt
06:45 _fllr_ joined #salt
06:46 fllr_ joined #salt
06:48 fllr joined #salt
06:50 fllr joined #salt
06:51 manishr joined #salt
06:52 _fllr_ joined #salt
06:53 fllr_ joined #salt
06:55 fllr joined #salt
06:57 fllr joined #salt
06:59 fllr joined #salt
07:01 fllr joined #salt
07:02 _fllr_ joined #salt
07:04 _fllr_ joined #salt
07:06 fllr joined #salt
07:06 tr_h joined #salt
07:08 fllr joined #salt
07:09 _fllr_ joined #salt
07:11 fllr_ joined #salt
07:13 manishr joined #salt
07:13 fllr joined #salt
07:13 manishr Can anybody tell me the difference between grains and pillars?
07:14 xmj yes, the documentation.
07:15 manishr I read the documentation but stiil confused
07:15 _fllr_ joined #salt
07:15 manishr The configuration of grains and pillars are nearly same
07:17 fllr_ joined #salt
07:17 xmj pillars are per-host
07:18 xmj it's often used to store secrets (ssh/ssl keys etc)
07:18 fllr joined #salt
07:19 manishr ok thanks
07:20 _fllr_ joined #salt
07:20 elsmorian joined #salt
07:20 manishr I will once again go through the documentation and internet search and will get back to you if any doubts.
07:22 fllr_ joined #salt
07:24 fllr joined #salt
07:25 _fllr_ joined #salt
07:29 fllr joined #salt
07:31 _fllr_ joined #salt
07:33 fllr_ joined #salt
07:34 johtso joined #salt
07:34 fllr joined #salt
07:36 _fllr_ joined #salt
07:38 fllr_ joined #salt
07:40 fllr joined #salt
07:41 _fllr_ joined #salt
07:43 fllr_ joined #salt
07:45 fllr joined #salt
07:47 _fllr_ joined #salt
07:49 fllr_ joined #salt
07:50 fllr joined #salt
07:52 _fllr_ joined #salt
07:54 fllr_ joined #salt
07:56 fllr joined #salt
07:56 forrest fllr, can you please fix your connection?
07:56 forrest ir _fllr_
07:56 forrest *or
07:56 forrest or fllr_
07:57 _fllr_ joined #salt
07:59 fllr_ joined #salt
08:01 fllr joined #salt
08:03 _fllr_ joined #salt
08:05 fllr joined #salt
08:06 fllr_ joined #salt
08:08 fllr joined #salt
08:09 CeBe joined #salt
08:12 _fllr_ joined #salt
08:13 lietu joined #salt
08:13 fllr joined #salt
08:15 _fllr_ joined #salt
08:16 bhosmer joined #salt
08:17 fllr_ joined #salt
08:19 fllr joined #salt
08:21 _fllr_ joined #salt
08:21 elsmorian1 joined #salt
08:22 dusel joined #salt
08:22 fllr_ joined #salt
08:24 fllr joined #salt
08:26 _fllr_ joined #salt
08:28 fllr_ joined #salt
08:30 fllr joined #salt
08:30 sroegner joined #salt
08:31 dusel Hello.  I'm new to salt and have been reading through the docs over the past couple of days and trying things out.  I'm interested in the include and extend functionality in state files and have a question I'm hoping someone might be able to answer.  Is it possible to override states multiple times, beyond a depth of 2?  Kind of a contrived example, but here is some show_highstate output to illustrate (physical.mariadb is the furthest
08:31 dusel __extend__:   - vm.swappiness:       __env__: base       __sls__: physical.mariadb       sysctl:       - present       - value: 0   - vm.swappiness:       __env__: base       __sls__: physical       sysctl:       - present       - value: 10   vm.swappiness:     __env__: base     __sls__: tune     sysctl:     - present     - value: 15     - order: 10000
08:31 _fllr_ joined #salt
08:33 fllr_ joined #salt
08:35 fllr joined #salt
08:36 tomtomtomtom joined #salt
08:37 _fllr_ joined #salt
08:39 viod joined #salt
08:40 fllr joined #salt
08:42 _fllr_ joined #salt
08:44 fllr_ joined #salt
08:46 fllr joined #salt
08:47 fllr joined #salt
08:49 _fllr_ joined #salt
08:51 _fllr_ joined #salt
08:52 emostar joined #salt
08:53 fllr joined #salt
08:54 fllr_ joined #salt
08:56 _fllr_ joined #salt
08:58 fllr joined #salt
09:02 schristensen joined #salt
09:05 koobs joined #salt
09:08 gparent joined #salt
09:09 gparent o/
09:10 Ryan_Lane joined #salt
09:12 harobed joined #salt
09:13 harobed joined #salt
09:14 harobed joined #salt
09:18 urban joined #salt
09:22 krow joined #salt
09:23 krow1 joined #salt
09:23 linjan joined #salt
09:24 elsmorian1 joined #salt
09:25 bbinet joined #salt
09:41 fllr joined #salt
09:44 _fllr_ joined #salt
09:45 fllr_ joined #salt
09:47 fllr joined #salt
09:49 _fllr_ joined #salt
09:51 fllr joined #salt
09:52 _fllr_ joined #salt
09:54 fllr_ joined #salt
09:56 fllr joined #salt
09:56 ndrei joined #salt
09:58 _fllr_ joined #salt
10:00 fllr_ joined #salt
10:01 fllr joined #salt
10:03 _fllr_ joined #salt
10:04 jeffro joined #salt
10:05 _fllr_ joined #salt
10:07 fllr joined #salt
10:08 fllr_ joined #salt
10:09 Kenzor joined #salt
10:10 _fllr_ joined #salt
10:12 fllr joined #salt
10:14 _fllr_ joined #salt
10:16 fllr_ joined #salt
10:17 fllr joined #salt
10:19 sroegner joined #salt
10:19 _fllr_ joined #salt
10:21 _fllr_ joined #salt
10:23 fllr joined #salt
10:24 elsmorian joined #salt
10:24 fllr joined #salt
10:26 bhosmer joined #salt
10:26 _fllr_ joined #salt
10:28 _fllr_ joined #salt
10:30 fllr joined #salt
10:32 fllr joined #salt
10:33 _fllr_ joined #salt
10:35 fllr_ joined #salt
10:37 fllr joined #salt
10:39 fllr joined #salt
10:41 _fllr_ joined #salt
10:42 fllr_ joined #salt
10:44 fllr joined #salt
10:46 _fllr_ joined #salt
10:48 fllr_ joined #salt
10:49 fllr joined #salt
10:51 _fllr_ joined #salt
10:53 fllr_ joined #salt
10:53 DaveQB joined #salt
10:54 johtso_ joined #salt
10:55 fllr joined #salt
10:57 maveas fllr: Woaah, fix your timeout..
10:57 _fllr_ joined #salt
10:58 fllr_ joined #salt
11:00 fllr joined #salt
11:02 _fllr_ joined #salt
11:04 _fllr_ joined #salt
11:05 fllr joined #salt
11:07 fllr joined #salt
11:09 _fllr_ joined #salt
11:11 fllr_ joined #salt
11:13 fllr joined #salt
11:14 _fllr_ joined #salt
11:16 _fllr_ joined #salt
11:18 fllr joined #salt
11:20 fllr_ joined #salt
11:21 _fllr_ joined #salt
11:23 fllr joined #salt
11:25 fllr_ joined #salt
11:27 _fllr_ joined #salt
11:28 elsmorian1 joined #salt
11:29 fllr joined #salt
11:30 fllr_ joined #salt
11:32 _fllr_ joined #salt
11:34 fllr joined #salt
11:36 fllr joined #salt
11:37 fllr joined #salt
11:39 _fllr_ joined #salt
11:41 fllr_ joined #salt
11:41 simonmcc joined #salt
11:45 fllr joined #salt
11:45 taion809 joined #salt
11:54 gldnspud__ joined #salt
12:03 symroe joined #salt
12:05 sroegner joined #salt
12:08 pfallenop joined #salt
12:24 faldridge joined #salt
12:29 elsmorian1 joined #salt
12:42 fllr joined #salt
12:44 yomilk joined #salt
12:44 _fllr_ joined #salt
12:46 fllr_ joined #salt
12:46 manicouman joined #salt
12:47 fllr joined #salt
12:49 _fllr_ joined #salt
12:59 baniir joined #salt
13:05 mgw joined #salt
13:05 bhosmer joined #salt
13:07 krow joined #salt
13:15 ipmb joined #salt
13:19 akitada joined #salt
13:21 Whissi joined #salt
13:22 bhosmer joined #salt
13:22 vbabiy joined #salt
13:23 homelinen joined #salt
13:29 elsmorian1 joined #salt
13:36 xmltok joined #salt
13:36 krow joined #salt
13:40 faldridge joined #salt
13:41 roolo joined #salt
13:42 krow joined #salt
13:42 fllr joined #salt
13:44 fllr joined #salt
13:45 higgs001 joined #salt
13:46 fllr joined #salt
13:47 krow joined #salt
13:47 _fllr_ joined #salt
13:49 fllr_ joined #salt
13:53 krow joined #salt
13:56 krow1 joined #salt
13:58 rgbkrk joined #salt
14:02 krow joined #salt
14:03 koobs joined #salt
14:05 rgbkrk_ joined #salt
14:08 krow joined #salt
14:13 krow joined #salt
14:16 krow1 joined #salt
14:18 manicouman joined #salt
14:21 bhosmer joined #salt
14:22 krow joined #salt
14:22 bhosmer_ joined #salt
14:22 rostam joined #salt
14:26 Hipikat joined #salt
14:27 krow joined #salt
14:29 bhosmer_ joined #salt
14:30 elsmorian1 joined #salt
14:33 krow joined #salt
14:38 krow joined #salt
14:41 bhosmer joined #salt
14:42 fllr joined #salt
14:44 _fllr_ joined #salt
14:44 krow joined #salt
14:46 fllr_ joined #salt
14:47 fllr joined #salt
14:49 fllr joined #salt
14:49 krow joined #salt
14:50 elfixit1 joined #salt
14:51 _fllr_ joined #salt
14:53 _fllr_ joined #salt
14:54 odancer joined #salt
14:54 fllr joined #salt
14:55 krow joined #salt
14:56 fllr joined #salt
14:58 _fllr_ joined #salt
15:00 fllr_ joined #salt
15:00 krow joined #salt
15:02 fllr joined #salt
15:03 _fllr_ joined #salt
15:05 bhosmer joined #salt
15:05 _fllr_ joined #salt
15:06 generj joined #salt
15:06 krow joined #salt
15:07 tyler-baker joined #salt
15:07 fllr joined #salt
15:09 fllr_ joined #salt
15:10 fllr joined #salt
15:12 krow joined #salt
15:12 _fllr_ joined #salt
15:14 fllr_ joined #salt
15:16 fllr joined #salt
15:17 bhosmer joined #salt
15:17 krow joined #salt
15:18 fllr joined #salt
15:18 ndrei joined #salt
15:19 bhosmer joined #salt
15:19 _fllr_ joined #salt
15:21 fllr_ joined #salt
15:22 krow joined #salt
15:23 fllr joined #salt
15:25 _fllr_ joined #salt
15:26 fllr joined #salt
15:27 bhosmer joined #salt
15:28 krow joined #salt
15:28 fllr joined #salt
15:30 _fllr_ joined #salt
15:30 elsmorian1 joined #salt
15:32 fllr_ joined #salt
15:33 Psi-Jack left #salt
15:34 krow joined #salt
15:34 fllr joined #salt
15:35 fllr joined #salt
15:37 _fllr_ joined #salt
15:39 fllr_ joined #salt
15:39 krow joined #salt
15:39 generj1 joined #salt
15:40 astol joined #salt
15:40 generj1 left #salt
15:41 fllr joined #salt
15:41 astol hi all. is possible to somehow get list of states that currently 'are' on minion? I mean if minion executes state.highstate and receives states a, b, c is it possible to check later which states it currently has?
15:42 bhosmer joined #salt
15:43 _fllr_ joined #salt
15:44 fllr joined #salt
15:45 krow joined #salt
15:46 _fllr_ joined #salt
15:48 fllr_ joined #salt
15:50 fllr joined #salt
15:50 krow joined #salt
15:51 fllr joined #salt
15:53 fllr joined #salt
15:55 _fllr_ joined #salt
15:56 Networkn3rd joined #salt
15:57 fllr_ joined #salt
15:59 fllr joined #salt
16:00 _fllr_ joined #salt
16:02 fllr_ joined #salt
16:04 fllr joined #salt
16:05 bhosmer joined #salt
16:06 homelinen joined #salt
16:06 homelinen joined #salt
16:06 jeremyfelt joined #salt
16:07 alunduil joined #salt
16:08 bhosmer joined #salt
16:08 krow joined #salt
16:09 rgbkrk joined #salt
16:11 fllr joined #salt
16:12 timoguin joined #salt
16:13 raizyr joined #salt
16:14 krow joined #salt
16:14 raizyr joined #salt
16:15 raizyr joined #salt
16:15 bhosmer joined #salt
16:17 krow1 joined #salt
16:20 alunduil joined #salt
16:22 krow joined #salt
16:28 krow joined #salt
16:31 manicouman joined #salt
16:31 elsmorian1 joined #salt
16:34 krow joined #salt
16:34 homelinen joined #salt
16:34 manicouman joined #salt
16:39 krow joined #salt
16:43 faldridge joined #salt
16:44 elsmorian1 joined #salt
16:44 alunduil joined #salt
16:45 krow joined #salt
16:48 jtang1 joined #salt
16:49 fllr joined #salt
16:50 krow joined #salt
16:54 nextdoorwarren joined #salt
16:55 Kenzor joined #salt
16:55 krow joined #salt
17:03 nextdoorwarren joined #salt
17:04 krow joined #salt
17:07 backjlack joined #salt
17:10 krow joined #salt
17:11 fllr joined #salt
17:12 krow1 joined #salt
17:14 manicouman joined #salt
17:18 krow joined #salt
17:21 cedwards xmj: I did not. link?
17:24 krow joined #salt
17:24 fllr joined #salt
17:29 krow joined #salt
17:35 backjlack joined #salt
17:35 xmj cedwards: (all my browsers are broken at the moment) it's in your PR
17:35 krow joined #salt
17:40 johtso joined #salt
17:40 krow joined #salt
17:44 alekibango joined #salt
17:44 krow1 joined #salt
17:47 njs126 joined #salt
17:53 jtang1 joined #salt
17:53 krow joined #salt
17:55 dangra joined #salt
17:55 ajw0100 joined #salt
17:58 adyromantika joined #salt
17:59 krow joined #salt
18:01 ggoZ joined #salt
18:03 deozal joined #salt
18:04 krow joined #salt
18:11 krow joined #salt
18:16 krow joined #salt
18:17 krow1 joined #salt
18:21 linjan joined #salt
18:21 fllr joined #salt
18:23 krow joined #salt
18:27 helderco joined #salt
18:28 krow joined #salt
18:31 faldridge joined #salt
18:32 ajw0100 joined #salt
18:33 AndChat|359961 joined #salt
18:34 krow joined #salt
18:40 krow joined #salt
18:46 fllr joined #salt
18:46 knyazkov joined #salt
18:47 jslatts joined #salt
18:49 tr_h joined #salt
18:50 AndChat|359961 joined #salt
18:51 krow joined #salt
18:52 harobed_ joined #salt
18:55 gnugnu9_ joined #salt
18:57 krow joined #salt
19:03 montyboy_ joined #salt
19:03 mgw joined #salt
19:08 krow joined #salt
19:09 skynet joined #salt
19:10 gnugnu9 joined #salt
19:13 manicouman joined #salt
19:14 krow joined #salt
19:17 krow1 joined #salt
19:23 krow joined #salt
19:23 bhosmer joined #salt
19:26 jeremyfelt joined #salt
19:27 manicouman joined #salt
19:29 astol joined #salt
19:34 krow joined #salt
19:35 fllr joined #salt
19:36 _fllr_ joined #salt
19:37 bhosmer joined #salt
19:38 fllr_ joined #salt
19:40 fllr joined #salt
19:40 dancat joined #salt
19:42 fllr joined #salt
19:43 _fllr_ joined #salt
19:45 krow joined #salt
19:45 _fllr_ joined #salt
19:45 ajprog_laptop1 joined #salt
19:46 schimmy joined #salt
19:47 fllr joined #salt
19:49 fllr joined #salt
19:49 pfalleno1 joined #salt
19:51 _fllr_ joined #salt
19:51 astol hi all. is possible to somehow get list of states that currently 'are' on minion? I mean if minion executes state.highstate and receives states a, b, c is it possible to check later which states it currently has?
19:51 krow joined #salt
19:52 fllr joined #salt
19:54 fllr joined #salt
19:55 cpenner461 joined #salt
19:56 _fllr_ joined #salt
19:56 krow1 joined #salt
19:58 fllr_ joined #salt
20:00 fllr joined #salt
20:00 linjan joined #salt
20:01 _fllr_ joined #salt
20:03 fllr_ joined #salt
20:05 fllr joined #salt
20:07 _fllr_ joined #salt
20:07 krow joined #salt
20:09 fllr joined #salt
20:11 fllr_ joined #salt
20:12 _fllr_ joined #salt
20:13 krow joined #salt
20:14 fllr joined #salt
20:16 _fllr_ joined #salt
20:18 fllr_ joined #salt
20:19 fllr joined #salt
20:21 _fllr_ joined #salt
20:23 fllr joined #salt
20:24 higgs001 joined #salt
20:25 fllr_ joined #salt
20:27 _fllr_ joined #salt
20:28 krow joined #salt
20:28 fllr joined #salt
20:29 bhosmer joined #salt
20:30 fllr joined #salt
20:32 fllr joined #salt
20:34 _fllr_ joined #salt
20:34 krow joined #salt
20:34 tr_h joined #salt
20:35 taion809 joined #salt
20:35 fllr_ joined #salt
20:36 cro joined #salt
20:37 harobed_ joined #salt
20:37 fllr joined #salt
20:37 harobed_ joined #salt
20:38 budrose joined #salt
20:39 _fllr_ joined #salt
20:39 AndChat|359961 joined #salt
20:40 krow1 joined #salt
20:41 _fllr_ joined #salt
20:42 skynet joined #salt
20:43 fllr joined #salt
20:43 schimmy joined #salt
20:44 _fllr_ joined #salt
20:44 elsmorian1 joined #salt
20:46 fllr_ joined #salt
20:47 cewood joined #salt
20:48 fllr joined #salt
20:50 _fllr_ joined #salt
20:50 budrose I am creating a user and setting that users password via salt, but when I login and am prompted for that users password, the password I entered in the "user.ini" file does not work, any ideas on what I could be doing wrong?
20:51 fllr_ joined #salt
20:52 manicouman joined #salt
20:53 DaveQB joined #salt
20:53 fllr joined #salt
20:53 gnugnu9_ joined #salt
20:55 fllr joined #salt
20:57 _fllr_ joined #salt
20:58 faridkin joined #salt
20:58 fllr_ joined #salt
21:00 fllr joined #salt
21:01 jcockhren budrose: when minion OS?
21:01 jcockhren I mean... which*
21:01 budrose jcockhren: ubuntu 13.04
21:02 _fllr_ joined #salt
21:02 jcockhren budrose: I'm not familiar with any user.ini file. Salt uses the normal linux facilities to create users
21:03 jcockhren including setting up passwords
21:04 fllr_ joined #salt
21:04 budrose jcockhren: totally mistyped, I have a user.sls file
21:04 budrose ill link to it
21:04 budrose https://gist.github.com/JulianGindi/7032b6c287cd4dbba8d8
21:06 vortec_ joined #salt
21:06 fllr joined #salt
21:06 jcockhren budrose: in my experience, it's better to set a user's password using the shadow module
21:06 jcockhren I can provide an example
21:06 budrose jcockhren: amazing, thanks
21:07 _fllr_ joined #salt
21:09 fllr joined #salt
21:10 jcockhren https://gist.github.com/jcockhren/bab7ec814988e576b5ed
21:10 jcockhren budrose: ^
21:10 andr386 joined #salt
21:10 jcockhren assuming some user franky
21:11 jcockhren the user salt can be created via: http://docs.saltstack.com/ref/modules/all/salt.modules.shadow.html#salt.modules.shadow.set_password
21:11 fllr_ joined #salt
21:12 budrose jcockhren: so noob question, If I am "prompted" for that password, I use the original unhashed value, correct?
21:13 _fllr_ joined #salt
21:13 jcockhren yes
21:13 budrose cool, thanks a bunch
21:14 fllr joined #salt
21:16 fllr_ joined #salt
21:18 _fllr_ joined #salt
21:20 fllr joined #salt
21:20 Ryan_Lane joined #salt
21:22 fllr_ joined #salt
21:23 _fllr_ joined #salt
21:24 dancat joined #salt
21:25 fllr joined #salt
21:27 fllr joined #salt
21:28 AndChat|359961 joined #salt
21:29 fllr joined #salt
21:31 fllr joined #salt
21:32 _fllr_ joined #salt
21:34 _fllr_ joined #salt
21:36 fllr joined #salt
21:38 _fllr_ joined #salt
21:39 fllr joined #salt
21:41 kickerdog joined #salt
21:41 fllr_ joined #salt
21:42 kickerdog I know this should be trivial, but does anyone know how to set the PATH variable in the crontab via the cron state?
21:43 _fllr_ joined #salt
21:45 fllr joined #salt
21:45 elsmorian1 joined #salt
21:46 _fllr_ joined #salt
21:47 nkuttler fllr fella floods for sure
21:48 fllr_ joined #salt
21:49 kickerdog nevermind, found it
21:49 kickerdog that module is set_env, the sate is env_present
21:50 fllr joined #salt
21:52 _fllr_ joined #salt
21:52 kickerdog but it doesn't appear to work
21:52 kickerdog 2014-03-09 21:50:39,700 [salt.state       ][ERROR   ] State cron.env_present found in sls salt.minion is unavailable
21:54 fllr_ joined #salt
21:55 budrose jcockhren: for some reason, the password is still not being recognized when I am prompted for it on the server, any ideas?
21:55 tr_h joined #salt
21:55 fllr joined #salt
21:57 jcockhren budrose: no idea. double check if the salt was created properly
21:57 _fllr_ joined #salt
21:59 fllr_ joined #salt
22:01 fllr joined #salt
22:03 _fllr_ joined #salt
22:04 fllr_ joined #salt
22:06 fllr joined #salt
22:08 _fllr_ joined #salt
22:10 fllr_ joined #salt
22:11 krow joined #salt
22:12 fllr__ joined #salt
22:14 fllr joined #salt
22:16 rgbkrk joined #salt
22:20 fllr joined #salt
22:20 manicouman joined #salt
22:22 shalicke joined #salt
22:26 shalicke joined #salt
22:26 meteorfox joined #salt
22:27 helderco joined #salt
22:31 oz_akan_ joined #salt
22:35 fllr joined #salt
22:48 yomilk joined #salt
22:53 fllr joined #salt
22:53 schimmy joined #salt
22:54 fllr joined #salt
22:55 budrose joined #salt
22:56 Ryan_Lane I get seem to get gitfs working
22:56 Ryan_Lane *I can't seem to get
22:57 Ryan_Lane my master has this config: http://pastebin.com/aX3Xw2Mu
22:57 Ryan_Lane heh, and my logs immediate give me a clue: Git fileserver backend is enabled in configuration but could not be loaded, is GitPython installed?
22:58 Ryan_Lane however, 'from git import *' works, and the python-git package is installed
23:00 AndChat|359961 joined #salt
23:00 Ryan_Lane ah. it's an incredibly old version
23:01 fllr joined #salt
23:05 Ryan_Lane ... the ppa is being ignored on apt-get update? sigh
23:09 rgbkrk joined #salt
23:11 Ryan_Lane ah! the python-git package is missing from salt's ppa for precise
23:11 kickerdog I hate precise, pain in the ass
23:11 Ryan_Lane well, at least it isn't lucid :)
23:11 Ryan_Lane but, yeah, this is a problem
23:11 ipmb joined #salt
23:12 kickerdog true, i'm questioning the usefulness of LTS from Ubuntu though, seems like I spend most of my time dealing with out of date software.
23:13 Ryan_Lane well, that's the point of LTS? :)
23:13 kickerdog Currently moving my infra to CentOS + EPEL
23:14 Ryan_Lane centos is ancient
23:14 Ryan_Lane and EPEL is the equivalent of using PPAs
23:15 Ryan_Lane https://github.com/saltstack/salt/issues/11080
23:15 Ryan_Lane :)
23:15 Ryan_Lane I think this is just a matter of copying from one repo to another
23:16 kickerdog I guess i'm just biased :)
23:17 kickerdog Which ppa are you using, I know there are multiple salt ppa's
23:18 ndrei joined #salt
23:19 Ryan_Lane I'm using the official one
23:19 Ryan_Lane hm. python-gitdb is missing from all repos
23:21 baniir joined #salt
23:28 yano joined #salt
23:28 manicouman joined #salt
23:34 taion809 joined #salt
23:38 elsmorian1 joined #salt
23:48 rgbkrk joined #salt
23:50 pfallenop joined #salt

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