Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-03-08

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

All times shown according to UTC.

Time Nick Message
00:00 Steve____ Having problems getting cp.push_dir to work via salt-call
00:01 Steve____ this -> salt 'admin-prod-1' cp.push_dir /home/deploy/.virtualenvs  -> gives me this warning 'cp.push_dir' is not available.
00:01 dansalmo forrest: Thanks, I try sending password hash
00:01 Steve____ Any one have any advice on how to enable cp. push_dir
00:02 Steve____ I have file_recv: True  set in master config file
00:06 Teknix joined #salt
00:07 tvle joined #salt
00:13 zain joined #salt
00:13 rawtaz Steve____: is that you? :o
00:16 frasergraham joined #salt
00:17 manicouman joined #salt
00:17 AndChat|359961 joined #salt
00:18 frasergraham joined #salt
00:19 mpanetta joined #salt
00:20 rgbkrk joined #salt
00:21 johtso joined #salt
00:22 mpanetta joined #salt
00:26 Steve____ :)
00:27 Steve____ We haven't met so maybe not :)
00:28 yomilk joined #salt
00:30 dansalmo forrest: Thanks, using the password hash worked.
00:30 gkze joined #salt
00:30 rawtaz Steve____: :)
00:31 tvle left #salt
00:31 hunter is there a jinja variable that tells me what formula/state file I'm in?
00:31 hunter something to fill in source: salt://{{STATE_NAME}}/files/blahblah
00:32 ndrei joined #salt
00:33 gnugnu8 joined #salt
00:35 manicouman joined #salt
00:38 gkze joined #salt
00:38 rgbkrk joined #salt
00:39 manicouman joined #salt
00:39 allanparsons joined #salt
00:40 allanparsons in a salt state, how do i assign a var True/False?
00:40 allanparsons {% set ssh_enabled = ssh_config_client.get('ssh_enabled', False) -%}
00:40 allanparsons and then ... {% if ssh_enabled|default(False) %}
00:40 allanparsons but it keeps running code inside {% if ssh_enabled|default(False) %}
00:40 gnugnu9 joined #salt
00:40 allanparsons and ssh_enabled is definitely false (i dont have it defined in a pillar)
00:42 frasergraham joined #salt
00:43 ajw0100 joined #salt
00:43 zain joined #salt
00:45 pdayton joined #salt
00:50 helderco joined #salt
00:52 krow joined #salt
00:56 ndrei joined #salt
00:56 bhosmer joined #salt
01:00 xmltok joined #salt
01:04 dangra joined #salt
01:10 krow joined #salt
01:11 krow1 joined #salt
01:13 zain joined #salt
01:18 joehoyle joined #salt
01:20 wkf_ joined #salt
01:23 Gifflen joined #salt
01:23 xzarth_ joined #salt
01:24 bhosmer joined #salt
01:24 bemehow_ joined #salt
01:29 bemehow joined #salt
01:31 Teknix joined #salt
01:45 taion809 joined #salt
01:50 Networkn3rd joined #salt
01:50 joehoyle joined #salt
01:56 canadian_dhamma_ joined #salt
01:56 gkze joined #salt
01:57 canadian_dhamma_ hey, I'm new to Salt and was just installing it to try it out. I was following the documentation and I noticed it was a bit confusing at times. I do some technical writing and I wanted to propose using Confluence for the documentation
01:58 canadian_dhamma_ It may not be able to happen right away, but it seems like the best platform overall
01:58 canadian_dhamma_ the main issue is that I noticed an issue with the documentation and I couldn't make a comment
01:59 canadian_dhamma_ so at the very least I think it would be most helpful to have a good commenting system on the documentation pages
02:03 gfhxc joined #salt
02:08 dancat joined #salt
02:09 greg_macdonald I just started too. It's less confusing that some other CM sites out there, but I did notice that concepts are used before they're introduced. And sometimes I find it difficult to navigate; for example I use Google to find the "full list of built in state modules" cause I can never remember how I got to it.
02:15 joehoyle joined #salt
02:18 gmoro joined #salt
02:19 mgw joined #salt
02:19 liwen joined #salt
02:19 canadian_dhamma_ ok, I wonder who this discussion should be with / where it should happen. On a email list I imagine. I
02:21 canadian_dhamma_ I'm also curious about what software is currently being used for the documentation. Either it could have some functionality added to it, or the data could be moved over to Confluence
02:23 mgw joined #salt
02:29 fllr joined #salt
02:45 ndrei joined #salt
02:47 dangra joined #salt
02:48 mwmnj joined #salt
02:49 justlooks joined #salt
03:03 jeremyBass left #salt
03:04 fllr joined #salt
03:09 jeremyfelt joined #salt
03:10 lionel joined #salt
03:11 joehoyle joined #salt
03:16 sroegner_ joined #salt
03:22 rgbkrk joined #salt
03:23 rostam joined #salt
03:30 ckao joined #salt
03:32 mgw joined #salt
03:33 sroegner joined #salt
03:33 lionel joined #salt
03:34 schimmy joined #salt
03:37 schimmy1 joined #salt
03:38 liwen joined #salt
03:39 sroegner joined #salt
03:43 favadi joined #salt
03:45 krow joined #salt
03:46 mblagove joined #salt
03:50 krow joined #salt
03:55 ipalreadytaken joined #salt
03:56 krow joined #salt
03:56 Gifflen joined #salt
04:02 krow joined #salt
04:07 krow joined #salt
04:10 kickerdog joined #salt
04:11 krow1 joined #salt
04:15 monokrome joined #salt
04:17 krow joined #salt
04:17 Gifflen joined #salt
04:20 smcquay joined #salt
04:22 krow joined #salt
04:28 krow joined #salt
04:30 yomilk joined #salt
04:33 krow joined #salt
04:33 higgs001 joined #salt
04:39 krow joined #salt
04:40 thayne_ joined #salt
04:44 liwen joined #salt
04:44 krow joined #salt
04:50 krow joined #salt
04:52 Ixan joined #salt
04:56 krow joined #salt
04:59 lionel joined #salt
04:59 vxitch joined #salt
05:00 borgstrom joined #salt
05:01 krow joined #salt
05:03 kickerdog joined #salt
05:06 tvle joined #salt
05:07 krow joined #salt
05:11 Gifflen joined #salt
05:12 krow joined #salt
05:17 krow joined #salt
05:23 krow joined #salt
05:27 sroegner joined #salt
05:29 krow joined #salt
05:29 Gifflen joined #salt
05:34 krow joined #salt
05:37 krow1 joined #salt
05:50 tvle joined #salt
05:54 higgs001 joined #salt
05:57 thayne_ joined #salt
06:00 andr386 joined #salt
06:03 ajw0100 joined #salt
06:13 joehoyle joined #salt
06:14 Gifflen joined #salt
06:15 thayne_ joined #salt
06:20 ipalreadytaken joined #salt
06:23 manicouman joined #salt
06:25 snuffeluffegus joined #salt
06:28 Furao joined #salt
06:29 joehoyle joined #salt
06:37 Gifflen joined #salt
06:39 fllr joined #salt
06:43 fllr joined #salt
06:45 _fllr_ joined #salt
06:47 _fllr_ joined #salt
06:48 fllr joined #salt
06:50 fllr_ joined #salt
06:52 _fllr_ joined #salt
06:54 fllr joined #salt
06:56 _fllr_ joined #salt
06:57 fllr_ joined #salt
06:57 snuffeluffegus joined #salt
06:58 rgbkrk joined #salt
06:59 fllr joined #salt
07:01 _fllr_ joined #salt
07:02 joehoyle joined #salt
07:03 fllr joined #salt
07:04 _fllr_ joined #salt
07:06 fllr joined #salt
07:08 fllr joined #salt
07:08 joehoyle joined #salt
07:09 manicouman joined #salt
07:10 _fllr_ joined #salt
07:12 fllr_ joined #salt
07:13 fllr joined #salt
07:15 fllr joined #salt
07:16 sroegner joined #salt
07:17 _fllr_ joined #salt
07:19 fllr_ joined #salt
07:20 Ryan_Lane joined #salt
07:20 fllr joined #salt
07:21 tr_h joined #salt
07:22 Ryan_Lane1 joined #salt
07:22 fllr joined #salt
07:24 _fllr_ joined #salt
07:24 meteorfox joined #salt
07:27 Ryan_Lane joined #salt
07:27 Tinuva joined #salt
07:28 fllr joined #salt
07:29 _fllr_ joined #salt
07:31 fllr_ joined #salt
07:33 fllr joined #salt
07:35 _fllr_ joined #salt
07:36 fllr_ joined #salt
07:38 fllr joined #salt
07:40 fllr joined #salt
07:42 _fllr_ joined #salt
07:43 gfhxc joined #salt
07:44 fllr_ joined #salt
07:45 fllr joined #salt
07:53 krow joined #salt
08:05 xmj cedwards: ping
08:10 pmcg_ joined #salt
08:17 meteorfox joined #salt
08:28 Ryan_Lane joined #salt
08:39 harobed_ joined #salt
08:39 harobed_ joined #salt
08:40 cym3try joined #salt
08:46 koobs joined #salt
08:46 koobs cedwards: ping
08:46 koobs xmj: hai
08:46 koobs :)
08:46 Tekni joined #salt
08:49 aurigus_ joined #salt
08:49 eclectic_ joined #salt
08:50 kloplop321_ joined #salt
08:51 arnoldB_ joined #salt
08:51 erjohnso_ joined #salt
08:51 __alex_ joined #salt
08:51 arapaho_ joined #salt
08:51 vegardx joined #salt
08:51 sulky_ joined #salt
08:51 Ymage_ joined #salt
08:51 trevorjay joined #salt
08:51 TamCore_ joined #salt
08:51 canci joined #salt
08:51 mephx joined #salt
08:51 kvbik_ joined #salt
08:52 jeblair_ joined #salt
08:53 twinshadow_ joined #salt
08:54 homelinen_ joined #salt
08:54 brucewang joined #salt
08:55 faulkner- joined #salt
08:55 EugeneKay joined #salt
08:55 basepi_ joined #salt
08:56 homelinen joined #salt
09:01 travisfischer joined #salt
09:02 urban joined #salt
09:05 sroegner joined #salt
09:09 aaroneous joined #salt
09:45 johtso joined #salt
09:54 thayne_ joined #salt
09:59 Ryan_Lane joined #salt
10:05 elfixit1 joined #salt
10:33 vbabiy joined #salt
10:40 taion809 joined #salt
10:50 roolo joined #salt
10:54 sroegner joined #salt
11:04 ndrei joined #salt
11:13 joehoyle joined #salt
11:14 manicouman joined #salt
11:21 rojem joined #salt
11:21 manicouman joined #salt
11:23 nebuchadnezzar joined #salt
11:39 montyboy joined #salt
11:47 manicouman joined #salt
12:01 favadi joined #salt
12:06 shano joined #salt
12:12 manicouman joined #salt
12:18 nebuchadnezzar joined #salt
12:19 shano joined #salt
12:21 sroegner joined #salt
12:33 yomilk joined #salt
12:34 manicouman joined #salt
12:35 MrTango joined #salt
12:35 bhosmer joined #salt
13:14 raizyr joined #salt
13:22 montyboy joined #salt
13:22 bbinet joined #salt
13:28 HeadAIX joined #salt
13:46 stahanov joined #salt
13:48 sroegner joined #salt
13:58 quickdry21 joined #salt
14:02 thayne_ joined #salt
14:08 raizyr joined #salt
14:11 manicouman joined #salt
14:12 gnugnu9 joined #salt
14:24 markizano joined #salt
14:33 scarcry -sn 179693
14:34 yomilk joined #salt
14:38 quickdry21 joined #salt
14:52 techdragon joined #salt
14:54 thayne_ joined #salt
14:54 rgbkrk joined #salt
15:14 rgbkrk joined #salt
15:18 manicouman joined #salt
15:22 rostam joined #salt
15:24 ipmb joined #salt
15:31 jeremyfelt joined #salt
15:34 baniir joined #salt
15:48 linjan joined #salt
15:54 montyboy joined #salt
16:00 manicouman joined #salt
16:11 xmltok_ joined #salt
16:29 dangra joined #salt
16:37 cedwards xmj: koobs: pong
16:38 xmj cedwards: hi
16:39 xmj cedwards: i've had a look at your salt PR the other day, and noticed that the patch didn't apply properly without making it..apply
16:39 xmj cedwards: so I fiddled around a bit, and came up with this https://dpaste.de/BCA5/raw
16:41 cedwards xmj: i think that looks ok
16:42 xmj cedwards: it should. i'll submit it as yet another follow-up to your PR :-)
16:42 cedwards xmj: I also saw a submitted patch to use PYDISTUTilS_AUTOPLIST=  yes
16:42 xmj yeah, and i noticed 20min after submitting that this didn't work, and submitted one wihtout pkg-plist due to SVN issues. sigh
16:43 xmj (the il part was truly embarassing.)
16:45 manicouman joined #salt
16:46 cedwards so do we want to use PYDISTUTILS_AUTOPLIST or no?
16:46 xmj i've tried (with all-caps) and there was some issue.
16:46 ThomasJ|d joined #salt
16:46 flashflood joined #salt
16:47 xmj am good with pkg-plist :)
16:47 Networkn3rd joined #salt
16:47 cedwards ok. that's fine.
16:48 cedwards i've got to run, but i'll approve the latest patch when i can
16:49 xmj wonderful, thanks!
16:52 xmj cedwards: (sent)
17:06 pdayton joined #salt
17:53 rgbkrk joined #salt
17:55 bhosmer joined #salt
18:00 sroegner joined #salt
18:01 jaimed joined #salt
18:03 manicouman joined #salt
18:08 manicouman joined #salt
18:16 nextdoorwarren joined #salt
18:17 jslatts joined #salt
18:21 canadian_dhamma_ joined #salt
18:22 schimmy joined #salt
18:25 rojem joined #salt
18:27 budrose joined #salt
18:33 techdragon joined #salt
18:40 mgw1 joined #salt
18:45 wkf joined #salt
18:52 kermit joined #salt
18:58 thayne_ joined #salt
19:02 Steve_ joined #salt
19:03 Steve_ Hi All... how does one pass additional arguments to a salt cmd?
19:03 Steve_ eg: sudo salt-call django.command settings collectstatic pythonpath=/home/vagrant/src/smartapps  -l debug arg1
19:04 Steve_ want to pass arg1 as a non-keyword arg to django command
19:06 xet7 joined #salt
19:07 fllr joined #salt
19:10 fllr joined #salt
19:10 gnugnu9_ joined #salt
19:11 Ryan_Lane joined #salt
19:16 Steve_ Anybody out there? :)
19:18 jslatts joined #salt
19:18 elsmorian joined #salt
19:21 schimmy joined #salt
19:22 fllr joined #salt
19:26 johtso joined #salt
19:29 pavera joined #salt
19:30 pavera is there a way to require a specific state?  IE inside of a .sls file I have multiple states defined, and I want to make sure that state-a: succeeds before applying state-b:?
19:38 bhosmer joined #salt
19:40 vbabiy joined #salt
19:44 fllr joined #salt
19:48 AndChat|359961 joined #salt
19:48 DaveQB joined #salt
19:49 sroegner joined #salt
19:53 sfello joined #salt
19:55 fllr joined #salt
19:56 philipsd6 pavera: http://docs.saltstack.com/ref/states/ordering.html#requisite-statements
19:57 pavera I've read the docs, all of the examples are for packages
19:57 pavera i.e. -require: -pkg: somepkg
19:57 pavera i need to say - require: - state: state-a
19:57 pavera or something like that
19:58 philipsd6 read the page: "In addition to state declarations such as pkg, file, etc., sls type requisites are also recognized, and essentially allow 'chaining' of states."
19:58 pavera right, so what is the syntax? if I attempt to do sls: name-of-state
19:59 hunter joined #salt
19:59 pavera it fails with "unable to find requisite name-of-state"
20:00 pavera should it be sls.state?
20:00 pavera I understand that it certainly should be possible, but I can't find an example with the correct syntax
20:00 philipsd6 There's an example of using it in that section.
20:00 baniir is anyone managing jenkins plugins with saltstack
20:01 taion809 joined #salt
20:01 pavera yeah, I know... but - sls: state-name doesn't work,
20:01 pavera if I point it to a whole sls file that works
20:02 pavera but I don't want to point to a whole file, I'm trying to point to a state in the same file, and salt says its not found
20:02 dstanek_afk joined #salt
20:02 philipsd6 oh I see. you're right that example is refering to a separate sls file.
20:02 hunter joined #salt
20:03 philipsd6 but the documentation wording indicates that's not a requirement.
20:03 philipsd6 I haven't worked out a large state tree myself yet, I'm still in learning and testing mode.
20:04 hunter_ joined #salt
20:05 bhosmer joined #salt
20:05 philipsd6 but are your sure the state_auto_order won't just take care of it automatically?
20:06 philipsd6 the sls file is one state. It will execute in order from to bottom, if something fails on the way, it stops. (I think.)
20:07 pavera well the auto_order will make sure it executes in order
20:07 pavera but if a definition in the file fails
20:07 fxhp http://russell.ballestrini.net/replace-the-nagios-scheduler-and-nrpe-with-salt-stack/
20:07 pavera it keeps trying to execute all the definitions
20:10 tr_h joined #salt
20:10 philipsd6 I see. Well, I would have to experiment with it myself. The documentation seems to say that you can do what you want though.
20:10 pavera yeah I agree, just can't find the syntax
20:11 linjan joined #salt
20:12 patrek joined #salt
20:12 seksifemale joined #salt
20:15 pdayton joined #salt
20:18 MrTango joined #salt
20:30 elsmorian1 joined #salt
20:32 ajw0100 joined #salt
20:36 bhosmer joined #salt
20:40 higgs001 joined #salt
20:44 AndChat|359961 joined #salt
20:46 higgs001 joined #salt
20:46 Kenzor joined #salt
20:50 quickdry21 joined #salt
20:51 Ryan_Lane joined #salt
20:54 seksifemale joined #salt
20:57 tr_h joined #salt
20:57 dramagods joined #salt
21:07 CeBe1 joined #salt
21:08 elsmorian joined #salt
21:08 ruzavin joined #salt
21:10 andr386 joined #salt
21:22 ggoZ joined #salt
21:33 jeremyBass1 joined #salt
21:33 jeremyBass1 left #salt
21:33 manicouman joined #salt
21:33 ajw0100 joined #salt
21:37 sroegner joined #salt
21:44 rojem joined #salt
21:45 googolhash joined #salt
21:48 rgbkrk joined #salt
21:53 dramagods joined #salt
21:54 AndChat|359961 joined #salt
21:57 kickerdog joined #salt
21:57 HeadAIX joined #salt
21:58 kickerdog is there a way for the pip.installed state to only execute when a package is updated?
21:58 greg__ joined #salt
21:58 babooka joined #salt
22:02 dansalmo joined #salt
22:03 quickdry21 joined #salt
22:07 maveas joined #salt
22:11 dansalmo How can I completely shut down salt-master to restart it?  It is not responding but will not start again due to port binding error
22:11 dansalmo OS is Ubuntu 12.04
22:11 harobed joined #salt
22:11 aaroneous1 joined #salt
22:13 thayne_ joined #salt
22:15 manicouman joined #salt
22:17 higgs001 joined #salt
22:19 dramagods joined #salt
22:21 goncalo joined #salt
22:24 dramagods joined #salt
22:24 kickerdog killall salt-master
22:25 dansalmo joined #salt
22:27 schimmy joined #salt
22:28 maveas joined #salt
22:28 maveas joined #salt
22:29 smcquay joined #salt
22:36 wkf_ joined #salt
22:38 yomilk joined #salt
22:38 pavera hmm, bit of a chicken and egg issue I'm having with pip, not sure what the best way to get around it
22:39 pavera in my high state I install pip, and then later want to use pip to install packages
22:39 dramagods joined #salt
22:39 pavera but I assume because that is all happening in a single execution, salt says pip.installed is not available
22:47 elsmorian joined #salt
22:50 Ryan_Lane one thing salt's docs are very horribly missing: how do I actually layout the filesystem?
22:50 Ryan_Lane if I want to use states, grains, pillars, returners, reactors, etc., based on the file roots, where do I put the files?
22:52 Ryan_Lane every time I do this from scratch I have to figure this all out again
22:53 dramagods joined #salt
22:53 Ryan_Lane file_roots and documentation suggest that it'll look in /srv/salt for states
22:54 Ryan_Lane then http://docs.saltstack.com/ref/file_server/dynamic-modules.html says it's _states
22:55 kloplop321 left #salt
22:57 ajw0100_ joined #salt
23:01 manicouman joined #salt
23:06 dramagods joined #salt
23:12 skynet joined #salt
23:19 dmwuw joined #salt
23:19 shalicke joined #salt
23:20 dramagods joined #salt
23:23 smcquay joined #salt
23:25 jeffro joined #salt
23:26 sroegner joined #salt
23:28 Ryan_Lane -_-
23:28 Ryan_Lane the salt formula for redis builds it from scratch?
23:29 meteorfox joined #salt
23:29 dvogt joined #salt
23:30 dramagods joined #salt
23:35 krow joined #salt
23:42 forrest joined #salt
23:44 dramagods joined #salt
23:54 manicouman joined #salt
23:54 stlouistechy joined #salt
23:55 stlouistechy hey there, anyone got a second to help troubleshoot an issue with Salt minions improperly registering with the Master with the wrong hostname?
23:56 tzero joined #salt
23:56 forrest stlouistechy, what's up?
23:57 stlouistechy well, I have two new minions that are freshly imaged on a Debian Wheezy OS. One attempts to register, and completely fails, the other attempts to register with a funky 66-152-109-25.tvc-ip.com hostname
23:58 forrest stlouistechy, well, salt uses the getfqdn() function inside of python as a first check, then it checks the hostname if that doesn't return anything
23:58 stlouistechy hmm, is it doing a reverse lookup of the ip address?
23:58 forrest stlouistechy, so if you start a python shell on the minion and import socket, then do socket.getfqdn() what happens?
23:59 forrest stlouistechy, that happens as the third and final alternative if the other options don't work
23:59 stlouistechy trying now
23:59 stlouistechy Traceback (most recent call last):   File "<stdin>", line 1, in <module> NameError: name 'socket' is not defined

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