Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-07-06

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

All times shown according to UTC.

Time Nick Message
00:02 oz_akan_ joined #salt
00:09 rau joined #salt
00:13 bhosmer joined #salt
00:15 bhosmer_ joined #salt
00:27 ramishra joined #salt
00:33 mgw joined #salt
00:48 acabrera joined #salt
00:53 mateoconfeugo joined #salt
01:02 ml_1 joined #salt
01:03 oz_akan_ joined #salt
01:04 logix812 joined #salt
01:25 jhauser_ joined #salt
01:27 acabrera joined #salt
01:28 ramishra joined #salt
01:28 rau joined #salt
01:40 krow joined #salt
01:49 dalexander joined #salt
01:54 acabrera joined #salt
01:59 DaveQB joined #salt
02:02 bhosmer joined #salt
02:04 oz_akan_ joined #salt
02:09 mgw joined #salt
02:14 acabrera joined #salt
02:28 krow joined #salt
02:28 ramishra joined #salt
02:36 Hipikat joined #salt
02:39 acabrera joined #salt
02:44 jnials joined #salt
02:45 jnials joined #salt
02:53 thedodd joined #salt
03:03 ml_1 joined #salt
03:04 acabrera joined #salt
03:04 oz_akan_ joined #salt
03:11 swa_work joined #salt
03:15 ajolo_ joined #salt
03:19 zain_ joined #salt
03:23 mateoconfeugo joined #salt
03:23 ajolo__ joined #salt
03:29 ramishra joined #salt
03:30 ipalreadytaken joined #salt
03:32 catpigger joined #salt
03:34 ipalreadytaken joined #salt
03:35 Outlander joined #salt
03:37 therealGent joined #salt
03:41 jalaziz joined #salt
03:43 acabrera joined #salt
03:44 krow joined #salt
03:47 ipalreadytaken joined #salt
03:49 ipalreadytaken joined #salt
03:58 mateoconfeugo joined #salt
04:05 oz_akan_ joined #salt
04:07 dcmorton joined #salt
04:17 zain_ joined #salt
04:30 ramishra joined #salt
04:32 acabrera joined #salt
04:33 swa_work joined #salt
04:37 swa_work joined #salt
04:46 ramishra joined #salt
04:46 thayne joined #salt
04:47 hhenkel_ joined #salt
04:47 miqui_ joined #salt
04:48 _gothix_ joined #salt
04:48 tedski- joined #salt
04:49 xzarth_ joined #salt
04:49 tru_tru_ joined #salt
04:49 Spark_ joined #salt
04:53 patrek joined #salt
04:55 aquinas joined #salt
04:56 DaveQB joined #salt
04:59 jmccree_ joined #salt
04:59 flebel_ joined #salt
04:59 basepi joined #salt
04:59 johtso joined #salt
04:59 jasonrm joined #salt
04:59 Damoun joined #salt
05:00 geekmush1 joined #salt
05:01 alainv_ joined #salt
05:01 notpete__ joined #salt
05:01 zain_ joined #salt
05:01 Tween joined #salt
05:01 jeremyBass joined #salt
05:01 SaveTheRbtz joined #salt
05:02 MTecknology joined #salt
05:03 jforest joined #salt
05:03 snuffeluffegus joined #salt
05:04 tempspace joined #salt
05:04 fxdgear joined #salt
05:04 faulkner joined #salt
05:04 johngrasty joined #salt
05:04 snuffeluffegus joined #salt
05:06 oz_akan_ joined #salt
05:06 fxdgear joined #salt
05:21 freelock joined #salt
05:25 jeddi joined #salt
05:28 swa_mobil joined #salt
05:29 dcmorton joined #salt
05:35 drags joined #salt
05:39 drags joined #salt
05:45 bhosmer joined #salt
05:45 dcmorton joined #salt
05:51 xDamox joined #salt
05:55 auser joined #salt
05:56 drags joined #salt
06:04 ipalreadytaken joined #salt
06:07 oz_akan_ joined #salt
06:12 zain_ joined #salt
06:15 zain_ joined #salt
06:17 zain__ joined #salt
06:20 Hell_Fire_ joined #salt
06:23 acabrera joined #salt
06:25 TheThing joined #salt
06:26 aquinas joined #salt
06:36 JayfordRo joined #salt
06:54 meganerd I must be missing something, but when I try "salt 'host' state.sls edit", I get No matching sls found for 'edit' in env 'base'
07:00 zain__ joined #salt
07:07 Hell_Fire joined #salt
07:07 oz_akan_ joined #salt
07:22 herlo joined #salt
07:26 bhosmer joined #salt
07:29 jeddi joined #salt
07:30 babilen meganerd: But it is present? (i.e. edit.sls in file_roots and a suitable top.sls for that host)
07:31 meganerd babilen: edit is a directory with .sls files inside (vim to start).  I just nuked the folder and started over.
07:32 meganerd babilen: I can get vim to install with a compound call (eg. all Ubuntu hosts in a certain sub-domain), but would like to get to where edit installs a cluster of things that are editor related.
07:33 babilen meganerd: Mind pasting the output of your command + that of "salt-key -L" to http://paste.debian.net ? (please redact sensitive information, but don't change the nature of it)
07:34 babilen A ls/cat on the file in question would probably also come in handy.
07:37 meganerd ls/cat http://paste.debian.net/hidden/c8975d39/
07:37 meganerd salt-key -L just has all my hosts under Accepted Keys:
07:38 babilen You have to run "edit.vim" rather than "edit" (which maps to file_roots/edit.sls or file_roots/edit/init.sls)
07:38 babilen s/run/use
07:38 meganerd when I run it I just use edit/vim
07:39 meganerd I must have had some whitespace issues before
07:39 babilen No, you have to use edit.vim not edit/vim
07:41 meganerd The following succeeded:  salt -C '*.domain.tld and G@os:Ubuntu' state.sls edit/vim
07:41 meganerd but I get the point that I need file_roots/edit/init.sls
07:42 meganerd in order to get where I want to be (once I have other stuff defined).
07:43 babilen So, to come back to my original suggestion: What does "salt '$MINION' state.sls edit.vim" give you?
07:45 meganerd same as salt '$MINION' state.sls edit/vim   (http://paste.debian.net/108353/)
07:46 babilen You pasted output of a different command (namely "salt -C '*.domain.tld and G@os:Ubuntu' state.sls edit/vim")
07:46 yomilk_ joined #salt
07:47 babilen And levels in the hierarchy are separated with . not /
07:49 meganerd I also tried it with a specific minion using edit.vim and edit/vim, and both succeed with the exact same output.
07:50 babilen Great, so: All is good?
07:51 meganerd I think so.  Quite a deep rabbit hole this is turning into.  One that looks like it solves my exact problems nearly perfectly though it might take a while to get there.
07:52 meganerd the original problem was likely whitespace issues in the vim.sls file.  Rebuilding from scratch was the solution.
07:52 meganerd thanks for the help
07:53 babilen No, you used "... state.sls edit" rather than "... state.sls edit.vim" -- "edit" refers to either file_roots/edit.sls or file_roots/edit/init.sls and both of those aren't present.
07:54 micko joined #salt
07:54 babilen There might also have been whitespace issues, but I have not seen any indication for that.
07:55 meganerd There were two problems, the one you noticed was me getting sloppy and not seeing the syntax error in my salt command.
07:56 babilen Ah, and then another that caused an error that you never shared?
07:57 meganerd I figured it out by increasing the log level and then using google.  So yes :)
07:57 meganerd my biggest issue is jumping around trying to do too much at once.
07:58 babilen That seems to be a problem, yes. (and also makes it harder to support you)
07:58 mateoconfeugo joined #salt
08:02 meganerd I get that.  Thanks again.
08:02 dRiN joined #salt
08:08 oz_akan_ joined #salt
08:10 chiui joined #salt
08:19 ramteid joined #salt
08:25 jalaziz joined #salt
08:28 linjan joined #salt
08:46 stubee joined #salt
08:47 tkharju1 joined #salt
08:49 renoirb joined #salt
09:08 joehh ~.
09:09 ml_1 joined #salt
09:09 oz_akan_ joined #salt
09:09 kiorky joined #salt
09:47 xsteadfastx i try to get my head around "msiexec: True" for the a windows repo
09:47 xsteadfastx the docs say "Add msiexec: True if using an MSI installer requiring the use of msiexec /i to install and msiexec /x to uninstall. "
09:47 xsteadfastx but where?
09:47 xsteadfastx i need a example
09:47 rau xsteadfastx: Please stop abusing your return key, you ugly wanker.
09:48 xsteadfastx i want to use msiexec for removing a msi
09:48 xsteadfastx rau: wat?
09:48 Kenzor joined #salt
09:49 xsteadfastx it says "requiring the use of msiexec /x"
09:49 xsteadfastx thats what i want to do
09:49 xsteadfastx but where to add the "/x"?
09:51 xsteadfastx ok i think i got it... the flag msiexec: True adds that automatic
09:53 zain_ joined #salt
10:09 oz_akan_ joined #salt
10:44 ndrei joined #salt
10:53 TheThing joined #salt
11:02 bhosmer joined #salt
11:09 bhosmer joined #salt
11:10 oz_akan_ joined #salt
11:14 ramishra joined #salt
11:16 kermit joined #salt
11:27 m____s joined #salt
11:28 bhosmer joined #salt
11:46 mapu joined #salt
11:58 yomilk_ joined #salt
12:00 ndrei joined #salt
12:00 veb joined #salt
12:03 ndrei joined #salt
12:06 ramishra joined #salt
12:11 oz_akan_ joined #salt
12:26 bhosmer joined #salt
12:27 esogas joined #salt
12:31 Outlander joined #salt
13:12 oz_akan_ joined #salt
13:15 diegows joined #salt
13:21 martoss joined #salt
13:39 logix812 joined #salt
13:54 SachaLigthert joined #salt
14:05 thayne joined #salt
14:13 oz_akan_ joined #salt
14:20 ramishra joined #salt
14:25 happytux joined #salt
14:33 TheThing_ joined #salt
14:33 jnials_laptop joined #salt
14:33 LordOfLA|Broken joined #salt
14:33 mapu_ joined #salt
14:36 zain__ joined #salt
14:36 mateoconfeugo joined #salt
14:39 dude051 joined #salt
14:40 renoirb_ joined #salt
14:42 faulkner joined #salt
14:43 ramishra joined #salt
14:48 mattikus joined #salt
14:48 monokrome joined #salt
14:48 torrancew joined #salt
14:48 fxhp joined #salt
14:49 Nazca joined #salt
14:50 deny[all] joined #salt
14:58 yomilk joined #salt
15:06 bhosmer joined #salt
15:10 acabrera joined #salt
15:19 taterbase joined #salt
15:33 huleboer joined #salt
15:36 fxdgear joined #salt
15:36 johngrasty joined #salt
15:36 jforest joined #salt
15:39 Tween joined #salt
15:40 krow joined #salt
15:40 MTecknology joined #salt
15:41 tkharju2 joined #salt
15:45 diegows joined #salt
15:54 huleboer joined #salt
16:00 deny[all] joined #salt
16:02 fllr joined #salt
16:06 tkharju2 joined #salt
16:18 bhosmer joined #salt
16:19 ninkotech_ joined #salt
16:25 krow joined #salt
16:26 tkharju2 joined #salt
16:27 elfixit1 joined #salt
16:27 happytux___ joined #salt
16:35 aarontc joined #salt
16:45 JohanR joined #salt
16:45 JohanR yo
16:46 JohanR When I manually installs a package like splunk it returns 1 since it's already installed
16:46 JohanR and the state will always fail since error codes from rpm seems be really messed up
16:46 JohanR anyone figured out a work around for this issue?
16:47 JohanR I could add splunk to my own repository
16:48 catpiggest joined #salt
16:54 aquinas joined #salt
17:01 bhosmer joined #salt
17:07 acabrera joined #salt
17:13 Gareth JohanR: what does your state look like for installing splunk?  Can you pastebin it?
17:14 JohanR Gareth: http://pastebin.com/M5kVfvUD
17:15 JohanR always returns: http://pastebin.com/cf9D2gJG
17:16 JohanR because yum install <package> returns 1 since it's already installed
17:20 oncallsucks joined #salt
17:24 Gareth odd. that should work.
17:25 Gareth what version of salt?
17:26 JohanR latest
17:26 JohanR 2014.1.5
17:26 Gareth probably unrelated but I see one typo in your state.  5th line, requre_in.
17:27 JohanR does not complain, but I will fix that
17:27 tkharju2 joined #salt
17:27 Gareth nod.  probably just ignoring bits it doesn't understand.
17:27 JohanR yes =)
17:28 dude051 joined #salt
17:28 Gareth if you remove the RPM, then run the state, then run it again...does it fail?
17:29 JohanR yes
17:29 therealGent joined #salt
17:29 JohanR it will be installed
17:29 abng joined #salt
17:29 JohanR but the status tells me it failed
17:30 JohanR Running RH 6.5
17:31 abng is there a best practice with dynamically registering new minions with master when not using saltcloud? (i.e. when using AWS cloudformation/autoscaling)
17:32 Gareth try this, on the minion in question.  salt-call pkg.list_pkgs | grep splunk
17:33 babilen abng: There is https://github.com/saltstack-formulas/ec2-autoscale-reactor
17:35 JohanR Gareth: http://pastebin.com/yrRugruX
17:36 Gareth JohanR: so it looks like the name of package on the left side of the colon needs to be splunk, just splunk.  it needs to match the name that will be in the package list.
17:36 abng ok thanks!
17:37 JohanR Gareth: Yes!
17:37 JohanR Tnx, I thought I tested that as well but there must been other issues at the same time back then
17:38 JohanR it works as expected now
17:38 Gareth no worries :)
17:38 Gareth docs should be a bit more clear about that.
17:40 JohanR Yes, hm.  wounder if it's possible to contribute to the docs or if they are managed by the company
17:40 tkharju3 joined #salt
17:40 Gareth they're in github.
17:41 JohanR perfect
17:43 babilen (and contributions are very welcome)
17:48 xDamox joined #salt
17:51 JohanR Found the docs repo but the page was harder to find, will take a look =)
17:51 JohanR found it
17:53 xDamox joined #salt
17:55 bhosmer joined #salt
17:59 fllr joined #salt
18:01 tkharju4 joined #salt
18:12 Ssquidly joined #salt
18:15 tkharju joined #salt
18:22 schimmy joined #salt
18:28 ckao joined #salt
18:35 ajolo_ joined #salt
18:54 scoates joined #salt
19:05 scalability-junk joined #salt
19:09 TheThing joined #salt
19:11 kivihtin joined #salt
19:17 oncallsucks joined #salt
19:18 dalexander left #salt
19:32 xzarth joined #salt
19:32 snuffeluffegus joined #salt
19:40 thayne joined #salt
19:48 Guest59415 joined #salt
19:53 Guest59415 Hi all, I have a state to install and start glusterfs on 3 minions
19:55 Guest59415 I've manually added the peers, but salt '*' glusterfs.list_peers return glusterfs.list_peers is unavailable
19:55 Guest59415 any suggestion?
20:02 schimmy joined #salt
20:04 logix812 joined #salt
20:08 therealGent joined #salt
20:15 arknix joined #salt
20:26 acabrera joined #salt
20:26 HACKING-TWITTER joined #salt
20:30 tru_tru joined #salt
20:33 arknix joined #salt
20:34 HACKING-TWITTER joined #salt
20:34 HACKING-TWITTER joined #salt
20:34 HACKING-TWITTER joined #salt
20:35 krow joined #salt
20:35 HACKING-TWITTER joined #salt
20:35 HACKING-TWITTER joined #salt
20:36 HACKING-TWITTER joined #salt
20:37 ggoZ joined #salt
20:37 HACKING-TWITTER- joined #salt
20:38 HACKING-TWITTER- joined #salt
20:38 HACKING-TWITTER- joined #salt
20:38 HACKING-TWITTER- joined #salt
20:39 dccc joined #salt
20:41 scoates joined #salt
20:53 mateoconfeugo joined #salt
21:23 dccc joined #salt
21:25 krow joined #salt
21:38 aw110f joined #salt
21:41 aw110f_ joined #salt
21:44 dccc joined #salt
21:53 ggoZ joined #salt
22:08 flebel joined #salt
22:14 DaveQB joined #salt
22:15 dccc joined #salt
22:19 bhosmer joined #salt
22:27 krow joined #salt
22:28 gzcwnk joined #salt
22:33 acabrera joined #salt
22:33 Hell_Lap joined #salt
22:39 Outlander joined #salt
22:41 mgw joined #salt
22:43 dccc joined #salt
22:44 yomilk joined #salt
22:48 flebel joined #salt
22:48 gzcwnk morning   :D
22:56 aquinas joined #salt
23:01 yomilk_ joined #salt
23:05 thayne joined #salt
23:11 dccc joined #salt
23:20 scalability-junk joined #salt
23:20 otter768 joined #salt
23:21 xDamox joined #salt
23:34 happytux joined #salt
23:35 mosen joined #salt
23:39 dccc joined #salt
23:39 bhosmer_ joined #salt
23:43 xDamox joined #salt
23:46 bhosmer joined #salt
23:48 mgw joined #salt
23:49 otter768 joined #salt
23:50 otter768_ joined #salt
23:50 mateoconfeugo joined #salt
23:52 logix812 joined #salt
23:57 thayne joined #salt
23:58 ninkotech__ joined #salt

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