Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-06-01

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

All times shown according to UTC.

Time Nick Message
00:05 milind joined #salt
00:10 UtahDave dfinn: sorry, let me look at those now.  got pulled away
00:10 dfinn np, no rush
00:13 jlaffaye_ joined #salt
00:13 UtahDave ok, so the "watch" statement also implies "require"  so the additional require on pkg: httpd isn't necessary
00:14 dfinn k, let me try that
00:15 Katafalkas joined #salt
00:16 UtahDave dfinn: also, there's something odd going on with your file.recurse.
00:16 UtahDave Specified target /etc/httpd/modules is a directory
00:17 dfinn oh yeah, it's complaining
00:17 dfinn those are actually symlinks but it still creates them
00:17 dfinn and it creates them correctly
00:17 dthom91 joined #salt
00:17 dfinn but on the salt master they are broken symlinks
00:19 UtahDave ok, well the problem is that the file.recurse returning a failure status
00:19 UtahDave that's why the other states aren't working
00:19 UtahDave you might try no having those symlinks in your source, and then using file.symlink to create them.
00:20 dfinn ok, good to know
00:20 dfinn i think the apache install creates them on it's own so maybe I can just remove them from my source dir
00:20 UtahDave yeah, so any state the requires that file.recurse is not going to run because the file.recurse state is returning false
00:21 dfinn ok, that makes more sense
00:21 dfinn the error made it seem like it was failing on a file and user that existed
00:21 UtahDave Salt doesn't actually look at the filesystem to check on the requisites.  It looks at the corresponding state and looks for success/failure
00:22 dfinn can I have it recursively watch the /etc/httpd dir?
00:22 UtahDave also, you may want to have your file.recurse require the pkg: httpd,    to make sure that the package installation doesn't stomp on the results of your file.recurse
00:22 Katafalkas joined #salt
00:23 UtahDave dfinn: yeah, since you're doing a file.recurse on /etc/httpd  if you    - require:\n -file: /etc/httpd      that will recursively watch that directory
00:23 dfinn cool
00:26 baniir joined #salt
00:28 dfinn removing the sym links worked, just need to test it on a client that doesn't have apache to see if the install creates them
00:30 spudbook joined #salt
00:32 Ryan_Lane joined #salt
00:33 favadi joined #salt
00:35 UtahDave cool
00:36 dfinn and apache re-created so I'm good.  thanks again
00:58 napperjabber joined #salt
01:11 Katafalkas joined #salt
01:16 jslatts joined #salt
01:19 favadi joined #salt
01:25 aat joined #salt
01:29 nrub joined #salt
01:29 oz_akan joined #salt
02:04 druonysus joined #salt
02:04 druonysus joined #salt
02:04 auser joined #salt
02:10 raz hrm.. anyone know of an example state that shows how to wget/install an apt-key before adding a pkg repo?
02:10 raz (debian here)
02:10 yidhra joined #salt
02:16 raz hrm
02:16 raz i'm starting to feel strongly that yaml is a terrible format for all this :(
02:32 raz http://hastebin.com/duputomari
02:33 raz can't get this to work :(
02:33 auser raz: I happen to like it
02:33 raz auser: i'm trying to like it, but it's giving me migraine :(
02:33 auser what's the error?
02:33 raz auser: The state "fetch-jenkins-apt-key" in sls jenkins is not formed as a list
02:33 auser you need a - before name
02:33 auser on line 10
02:34 raz then it gives
02:34 raz Requisite declaration fetch-jenkins-apt-key in SLS jenkins is not formed as a single key dictionary
02:34 raz lol
02:34 auser you're passing a list of features
02:34 auser yeah
02:34 auser line 6 you need - cmd:
02:34 auser so on line 6, it has to know which state to require
02:34 raz huh?
02:35 auser in fetch-jenkins-apt-key:, you could have a file, a cmd, a host, etc.
02:35 auser so you just have to specify which one you want
02:35 * raz scratches head
02:35 auser in your case, you have just one, a cmd
02:35 auser sec.
02:35 raz could you edit the pastie? (middle button on the top right)
02:35 auser http://hastebin.com/pohajibofi.sm
02:35 auser er, need to fix line 10
02:35 auser sec
02:36 auser http://hastebin.com/diqevacofu.sm
02:36 auser there
02:36 raz holy batman...
02:36 raz thanks man! :)
02:37 raz i guess there *is* some logic to when it has to be a hash and when a list
02:37 auser no problem raz
02:37 raz i just haven't yet wrapped my head around it
02:37 auser sure, once you get it, it's simple
02:37 auser but you just have to "get" it
02:37 auser took me some time initially too
02:37 raz some awesome tutorial would be aweomse.. ;)
02:37 auser but it's awesome
02:37 auser raz: you know… I'm working on one :)
02:37 raz ha!
02:37 raz work faster ;)
02:38 raz i like that salt has a lot of docs, and some of them are quite good
02:38 auser between client work, my book, teaching and work… there's a lot to do
02:38 raz but it's quite hard to find a "path" to follow
02:38 auser yep
02:38 raz yea i know that problem
02:38 auser I hope to have the first "chapter" out by EOW next week +1
02:38 raz you may want to sign my petition for the 25h day
02:38 auser 25h?
02:38 auser hahha
02:38 auser took me a minute
02:38 raz 24 just ain't enough ;)
02:39 auser i'm doing 4 things at once
02:39 raz me too
02:39 auser totally get it
02:39 raz and 0 ever get finished :<
02:39 auser yep
02:39 auser I get that
02:39 raz ah well, at once point everything will converge into one glorious supernova of shipping
02:40 raz one*
02:40 auser yep
02:41 auser I gotcha
02:51 favadi joined #salt
02:59 spudbook joined #salt
03:14 kmwhite joined #salt
03:16 kmwhite joined #salt
03:20 felixhummel joined #salt
03:21 kmwhite joined #salt
03:24 adotbrown joined #salt
03:27 jslatts joined #salt
03:29 aat joined #salt
03:56 lvicks joined #salt
03:59 taotetek joined #salt
04:00 t0rrant joined #salt
04:01 oz_akan joined #salt
04:02 RichiH_ joined #salt
04:06 nkuttler joined #salt
04:06 nkuttler joined #salt
04:07 backjlack_ joined #salt
04:08 pcarrier_ joined #salt
04:08 jdelic joined #salt
04:08 oc_ joined #salt
04:08 agj_ joined #salt
04:09 dcrouch joined #salt
04:09 tonthon_ joined #salt
04:09 jkleckner joined #salt
04:10 minaguib_ joined #salt
04:12 Asphyxiated joined #salt
04:12 Asphyxiated joined #salt
04:15 kvbik joined #salt
04:16 dfinn joined #salt
04:19 necronian joined #salt
04:19 axisys joined #salt
04:21 Nexpro joined #salt
04:21 yota joined #salt
04:25 jeddi joined #salt
04:34 efixit joined #salt
04:35 monokrome joined #salt
04:39 auser joined #salt
04:40 joshe joined #salt
04:50 dlam joined #salt
05:20 dfinn is there a way to run salt in a noop mode where it will tell you what it would be doing but not actually do anything?
05:26 koolhead17 joined #salt
05:26 koolhead17 joined #salt
05:36 auser joined #salt
05:38 spudbook_ joined #salt
05:43 raydeo joined #salt
05:43 marshy joined #salt
05:43 marshy hi
05:44 marshy I just installed salt on OSX using homebrew's pip
05:44 marshy but /etc/salt doesn't exist
05:44 marshy and salt-master command can't be found
05:50 pcarrier_ joined #salt
05:58 lvicks joined #salt
06:00 spudbook joined #salt
06:04 nliadm marshy: look in /usr/local/etc? /opt/local/etc?
06:05 dfinn i'm having some trouble getting this to work: http://pastebin.com/434AKUie
06:06 marshy nliadm: i figured it out, thanks
06:06 dfinn it seems like I have everything correct according to the web examples
06:07 dfinn must be missing something
06:07 nliadm dfinn: what's the error?
06:08 dfinn http://pastebin.com/9VEF1ELN
06:09 nliadm what version?
06:10 dfinn salt-0.15.1-1.el5
06:11 nliadm odd. if you make 'source' just a string and not a list, that might fix it. but it should still work...
06:11 dfinn remove the :?
06:12 dfinn also, this shows on the client
06:12 dfinn http://pastebin.com/WgPcwwfZ
06:14 nliadm wait, do those blank lines have a single space on them?
06:14 nliadm or is that just my bad pasting
06:14 dfinn they are empty blank lines
06:14 nliadm just me, then
06:16 nliadm try adding '- enabled: True' after '- running'
06:16 nliadm no idea why that would work
06:16 nliadm wild guess
06:17 dfinn same error
06:17 dfinn although doing that earlier today for a service did make it work so worth a shot ;)
06:17 dfinn it does seem to be that - running line that it's complaining about
06:17 nliadm yeah
06:17 dfinn isn't that the correct way to install and start a service?
06:18 bemehow joined #salt
06:19 elasticdog joined #salt
06:19 mjmac joined #salt
06:20 nliadm dfinn: yeah
06:20 nliadm maybe try a watch: on those files?
06:20 nliadm (it is late, I am fried, these may be horrible suggestions)
06:24 dfinn watch still fails with same error
06:24 dfinn i think i'll give up for the evening but thanks for trying
06:25 * nliadm nods
06:25 bemehow_ joined #salt
06:36 joehh joined #salt
06:38 bemehow joined #salt
06:39 favadi joined #salt
06:47 lahwran joined #salt
06:59 dthom91 joined #salt
07:01 ggoZ joined #salt
07:01 EugeneKay joined #salt
07:02 joehh joined #salt
07:04 melinath joined #salt
07:06 sebgoa joined #salt
07:16 EugeneKay So, I'm exploring the use of Salt for our infrastructure, which is heavily VMware based.
07:17 EugeneKay I see an open issue on salt-cloud for VMware support; am I to understand there's nothing for it yet?
07:19 emilis_info joined #salt
07:23 Newt[cz] joined #salt
07:26 backjlack joined #salt
07:35 Tekni joined #salt
07:35 longdays joined #salt
07:53 marshy left #salt
07:58 lvicks joined #salt
07:59 dthom91 joined #salt
08:01 SpX joined #salt
08:07 azbarcea joined #salt
08:26 taotetek joined #salt
08:48 azbarcea joined #salt
08:51 ogrisel joined #salt
08:59 lvicks joined #salt
09:00 dthom91 joined #salt
09:05 faust joined #salt
09:09 adotbrown joined #salt
09:38 Charatna joined #salt
09:38 Charatna left #salt
09:46 SpX joined #salt
09:52 Newt[cz]1 joined #salt
09:55 azbarcea_ joined #salt
10:06 s2r2 joined #salt
10:09 bemehow joined #salt
10:10 bemehow_ joined #salt
10:13 ogrisel joined #salt
10:25 giantlock joined #salt
10:27 yidhra joined #salt
10:31 bhosmer joined #salt
10:37 dumol joined #salt
10:40 dumol hi. how do i check through salt if there are some tables in a mysql database and act on it?
10:40 favadi joined #salt
10:40 dumol something akin to {% if mysql.db_tables['database'] == ""  %} ...
10:40 dumol can someone direct me to some documentation?
10:42 backjlack joined #salt
10:51 dumol ok, found something in the docs: {% if salt['mysql.db_tables']('zabbix') == ''  %}
10:52 dumol the problem is that the result is not empty even with no tables in the zabbix database
11:00 lvicks joined #salt
11:01 oz_akan joined #salt
11:01 dcrouch joined #salt
11:19 napperjabber joined #salt
11:24 Ivo joined #salt
11:42 m_george|away joined #salt
11:45 adotbrown joined #salt
12:14 oz_akan joined #salt
12:16 felixhummel joined #salt
12:20 bhosmer joined #salt
12:26 favadi joined #salt
12:31 m_george left #salt
12:35 napperjabber joined #salt
12:47 faust joined #salt
12:51 mgw joined #salt
12:56 mnemonikk joined #salt
13:00 z3uS joined #salt
13:01 lvicks joined #salt
13:06 ogrisel joined #salt
13:08 taotetek joined #salt
13:09 SEJeff joined #salt
13:14 oz_akan joined #salt
13:20 mgw joined #salt
14:02 lvicks joined #salt
14:10 ogrisel joined #salt
14:11 aat joined #salt
14:13 mgw joined #salt
14:18 danielbachhuber joined #salt
14:46 abe_music joined #salt
14:48 Ryan_Lane joined #salt
14:53 jslatts joined #salt
14:53 mgw joined #salt
15:01 oz_akan joined #salt
15:02 oz_akan_ joined #salt
15:10 ogrisel joined #salt
15:16 favadi joined #salt
15:16 dthom91 joined #salt
15:19 Gifflen joined #salt
15:19 favadi joined #salt
15:39 kurol left #salt
15:39 kurol joined #salt
15:39 koolhead17 joined #salt
15:39 koolhead17 joined #salt
15:51 oz_akan joined #salt
15:56 danielbachhuber joined #salt
15:59 raydeo joined #salt
16:01 bhosmer joined #salt
16:05 dthom91 joined #salt
16:11 ogrisel joined #salt
16:19 mgw joined #salt
16:36 dthom91 joined #salt
16:48 melinath joined #salt
16:52 f4cl3y joined #salt
16:59 mgw joined #salt
17:11 ogrisel joined #salt
17:24 m_george|away joined #salt
17:25 kurol left #salt
17:28 spudbook joined #salt
17:36 dthom91 joined #salt
17:38 nrub joined #salt
17:41 pcarrier_ joined #salt
17:53 backjlack joined #salt
18:08 whit joined #salt
18:12 ogrisel joined #salt
18:28 mgw joined #salt
18:31 ogrisel joined #salt
18:32 jslatts joined #salt
18:32 andrewclegg joined #salt
18:32 s2r2 joined #salt
18:33 octarine joined #salt
18:33 abscond joined #salt
18:33 ada joined #salt
18:34 neilf joined #salt
18:34 xerxas joined #salt
18:35 munhitsu joined #salt
18:36 druonysus joined #salt
18:36 druonysus joined #salt
18:36 SEJeff_work joined #salt
18:46 Charatna joined #salt
18:56 UtahDave joined #salt
19:04 pcarrier_ joined #salt
19:04 lvicks joined #salt
19:07 dthom91 joined #salt
19:07 mgw joined #salt
19:23 mgw joined #salt
19:33 mgw joined #salt
19:38 whit joined #salt
19:42 whit joined #salt
19:44 ogrisel joined #salt
19:53 it_dude joined #salt
20:05 lvicks joined #salt
20:09 jslatts joined #salt
20:15 mgw joined #salt
20:26 dumol joined #salt
20:27 dumol left #salt
20:33 it_dude joined #salt
20:38 it_dude joined #salt
20:44 aleszoulek joined #salt
20:44 ogrisel joined #salt
20:45 milind joined #salt
20:56 aat joined #salt
21:00 robertkeizer joined #salt
21:09 auser joined #salt
21:09 auser holla all
21:28 bemehow joined #salt
21:39 bhosmer joined #salt
21:42 baniir joined #salt
21:42 bejer joined #salt
21:45 ogrisel joined #salt
21:52 pcarrier_ joined #salt
22:02 dthom911 joined #salt
22:06 lvicks joined #salt
22:16 aat joined #salt
22:18 pcarrier_ joined #salt
22:20 auser Any idea when the next version will be released?
22:21 aat joined #salt
22:32 jkleckner joined #salt
22:46 aat joined #salt
22:48 jeddi quiet in here, isn't it.
22:58 whit joined #salt
23:04 auser yep jeddi
23:12 alexl joined #salt
23:44 bemehow_ joined #salt
23:45 ogrisel joined #salt
23:54 whit joined #salt

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