Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-11-30

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

All times shown according to UTC.

Time Nick Message
00:22 quickdry21 joined #salt
00:22 Linz joined #salt
00:22 premera joined #salt
00:36 elfixit joined #salt
00:46 zandy joined #salt
00:55 zandy joined #salt
00:57 zandy joined #salt
01:17 ddv joined #salt
01:21 zandy joined #salt
01:25 redondos joined #salt
01:26 Ryan_Lane joined #salt
01:27 zandy joined #salt
01:42 Ryan_Lane joined #salt
01:57 zandy joined #salt
02:00 cachedout joined #salt
02:06 oz_akan_ joined #salt
02:11 redondos joined #salt
02:12 wilywonka joined #salt
02:18 zandy joined #salt
02:36 mgw joined #salt
02:38 renoirb Is there a way to ensure some lines are present between braces?
02:39 renoirb e.g. a file in /etc/apparmor.d/ describes what it can impact, and the format is that the paths between {}  has rights given to each of them
02:39 Teknix joined #salt
02:52 Linz joined #salt
03:03 favadi joined #salt
03:04 Gifflen joined #salt
03:07 oz_akan_ joined #salt
03:12 roscius joined #salt
03:19 roscius joined #salt
03:19 mgw joined #salt
03:22 roscius left #salt
03:22 roscius joined #salt
03:37 favadi_ joined #salt
03:50 wilywonka joined #salt
04:08 oz_akan_ joined #salt
04:12 sroegner___ joined #salt
04:17 sandGorgon joined #salt
04:21 ckao joined #salt
04:28 Linz joined #salt
04:38 juicer2 joined #salt
04:42 lemao joined #salt
05:07 oz_akan_ joined #salt
05:25 wilywonka joined #salt
06:03 roscius joined #salt
06:07 srage joined #salt
06:08 oz_akan_ joined #salt
06:13 sroegner___ joined #salt
06:24 forrest quad Zs cro? JEEZ!
06:26 balboah joined #salt
06:43 lemao joined #salt
06:54 Furao joined #salt
07:08 oz_akan_ joined #salt
07:32 rmt joined #salt
07:35 bemehow joined #salt
07:43 gasbakid joined #salt
07:51 hhatfield joined #salt
07:52 bemehow joined #salt
08:02 scott_w joined #salt
08:09 oz_akan_ joined #salt
08:12 sroegner___ joined #salt
08:27 cym3try joined #salt
08:30 scott_w joined #salt
08:34 ajw0100 joined #salt
08:44 lemao joined #salt
08:50 gasbakid_ joined #salt
09:05 joelwhitehouse joined #salt
09:10 oz_akan_ joined #salt
09:34 pengunix joined #salt
09:50 scott_w joined #salt
09:56 mjulian joined #salt
10:11 oz_akan_ joined #salt
10:11 scott_w joined #salt
10:24 linjan_ joined #salt
10:25 JordanRinke joined #salt
10:26 JordanRinke morning
10:32 scott_w joined #salt
10:51 ajw0100 joined #salt
10:56 scott_w joined #salt
10:57 pengunix_ joined #salt
10:59 harobed_ joined #salt
11:00 harobed_ joined #salt
11:01 scott_w joined #salt
11:03 scott_w joined #salt
11:05 harobed_ joined #salt
11:07 Linz joined #salt
11:10 JordanRinke joined #salt
11:10 lemao joined #salt
11:11 scott_w joined #salt
11:12 oz_akan_ joined #salt
11:15 isomorphic joined #salt
11:17 zandy joined #salt
11:18 zooz joined #salt
11:20 scott_w joined #salt
11:41 kamal_ Is it possible to match multiple grains the state top file?
11:45 pengunix joined #salt
12:06 scott_w joined #salt
12:08 sroegner___ joined #salt
12:16 elfixit joined #salt
12:24 quickdry21 joined #salt
12:45 scott_w joined #salt
12:51 mapu joined #salt
12:56 mapu joined #salt
13:01 ggoZ joined #salt
13:03 sroegner___ joined #salt
13:11 scott_w joined #salt
13:13 oz_akan_ joined #salt
13:22 MrTango joined #salt
13:25 sroegner___ joined #salt
13:26 EWDurbin kamal_ yes, see http://docs.saltstack.com/topics/targeting/compound.html
13:27 honestly cro has a pretty light sleep
13:30 diegows joined #salt
13:39 kamal_ EWDurbin: oh, skimmed that page but completely missed that part. thanks
13:49 dccc joined #salt
13:51 sroegner___ joined #salt
13:52 snhddh joined #salt
14:12 joehh cro had really deep sleep a few hours ago - zz_zz_cro :)
14:14 oz_akan_ joined #salt
14:24 Linz_ joined #salt
14:46 rojem joined #salt
14:47 rojem joined #salt
15:01 sroegner___ joined #salt
15:03 xmltok joined #salt
15:10 Psi-Jack Hmm.
15:11 Psi-Jack How do I if on a particular role exsiting in a jinja template? Basically, if G@roles:logserver or equivalent.
15:18 EWDurbin Psi-Jack you can use something like {% if 'develop' in grains['roles'] % in a statefile
15:19 Psi-Jack I don't want it in the statefile, I want it in the jinjda.
15:19 Psi-Jack jinja* ;)
15:19 Psi-Jack but, that looks like jinja-usable format still.
15:21 EWDurbin Psi-Jack you can use the salt object in a template with {% if 'develop' in salt['grains.get']('roles', []) %}
15:24 Psi-Jack hmmm. Why the big difference in style?
15:24 Psi-Jack I know salt can do some wierd things with jinja, like converting objects into strings oddly, though. So hmm
15:25 EWDurbin when you use a 'file.managed/template: jinja' i believe the only thing in the default context is 'salt'
15:25 EWDurbin which is a dictionary into the corresponding methods
15:25 Psi-Jack Normally, yes.
15:25 Psi-Jack salt, and pillar, both.
15:26 Psi-Jack Cause I've used pillar in jinja because of the aformentioned object->string issue. :)
15:26 EWDurbin anywho, i'm trying to refactor as much logic as possible out of my templates now
15:27 EWDurbin so i'll generally pass the template everything it needs in the context:
15:27 mgw joined #salt
15:27 Psi-Jack yeah. I usually keep logic out of them, but sometimes, it's easier to keep it in, and still very readable. Like for example, rsyslog configuration file, is it a client server or a logserver? Just make a few changes if it is a logserver, and done.
15:27 EWDurbin fair 'nuff
15:27 Psi-Jack heh
15:28 EWDurbin i maintain separate templates for server/client. i guess if they were similar enough it would make sense to rub some logic in
15:30 Psi-Jack Heh yeah. Fore example, in the rsyslog.conf, if logserver in grains['roles'], module(load="omelasticsearch"), else it's a client, module(load="omrelp")
15:33 rojem joined #salt
15:33 rojem joined #salt
15:34 rojem joined #salt
15:35 mgw joined #salt
15:36 spyder2010 joined #salt
15:42 joelwhitehouse Okay to ask a simple strategy question?
15:42 lpmullig_ joined #salt
15:42 joelwhitehouse I'm new to salt today.  I've got a master and minion in vagrant and I'm trying to install mediawiki on the minion.
15:43 joelwhitehouse I've got the requisite packages installed (php, mysql et. al) but I want to install the PHP from source, not through the repos.
15:44 joelwhitehouse How do I direct salt to enforce a state of having a code.tar.gz from mediawiki.org, unpacking it, and storing the contents somewhere?
15:47 joelwhitehouse To pull the initial file, I did the following:
15:48 joelwhitehouse /root/mediawiki-1.21.3.tar.gz:
15:48 joelwhitehouse file.managed:
15:48 joelwhitehouse - source:
15:48 hellome joined #salt
15:48 joelwhitehouse -     salt://mediawiki/mediawiki-1.21.3.tar.gz
15:49 EWDurbin joelwhitehouse: please use gist
15:49 EWDurbin or pastebin
15:49 joelwhitehouse Sorry!
15:49 EWDurbin it's okay :)
15:50 sandGorgon joined #salt
15:51 Psi-Jack heh, nice, rsyslog configuration almost done, but I found one issue.
15:52 Psi-Jack For some reason, the pillar data has bulkmode: on, but it's translating on to True
15:52 Linz joined #salt
15:53 EWDurbin Psi-Jack: wrap the on in some 's
15:53 Psi-Jack I don't know how rsyslog would handle that, if it would fail or not. LOL
15:54 Psi-Jack Ahh that fixed it. :)
15:54 EWDurbin remember that sls are YAML http://yaml.org/type/bool.html
15:56 Psi-Jack heh
15:58 EWDurbin joelwhitehouse: i'll keep an eye out for more info from you, and would be happy to assist.
15:59 EWDurbin but alas, compiling from source/untaring/gzipping things isn't something i've done a whole lot of with salt
15:59 joelwhitehouse Thanks ERDurbin.
15:59 joelwhitehouse I think that's actually my generalized question--how do you install from source.
15:59 EWDurbin i build a package :-x
16:00 joelwhitehouse Huh--I hadn't thought of that.  I wonder if some third party has a PPA for mediawiki.,
16:00 EWDurbin now we're on the right track :-D
16:01 joelwhitehouse I have got to say, salt has been SO much easier to work with than the CF Gorillas.
16:02 joelwhitehouse I sat down to learn chef, and it was awesome, but it seems like everything is a "worst practice" by default.
16:02 joelwhitehouse It took me a solid week to internalize all the primitives.
16:02 EWDurbin i have a lot of salt, a little ansible, and a boatload of chef i deal with on a regular basis
16:03 joelwhitehouse No puppet?
16:03 Linz joined #salt
16:03 EWDurbin Chef isn't all bad, but community cookbooks tend to make a lot of promises they can't keep
16:03 EWDurbin nope, no Puppet or CF in my day-to-day
16:04 EWDurbin i've toyed with them in the past, but only to keep myself abreast. i wouldn't consider myself passable in either
16:04 joelwhitehouse I learned about chef largely from opscode's youtube.
16:04 joelwhitehouse The passion of some of those guys was awesome.
16:05 joelwhitehouse When FB, AWS, and others trust a technology, it seems like a decent choice.
16:05 scott_w joined #salt
16:05 joelwhitehouse But the complexity got me.  Berkshelf, for instance.
16:05 joelwhitehouse You have to have configuration-management management tools.
16:06 joelwhitehouse When I saw Tom Hatch talking about Salt (youtube again) I was sold.
16:07 joelwhitehouse Salt is a few simple primitives that can be trivially extended--excellent.
16:07 joelwhitehouse No management tools to manage the management tools.
16:08 EWDurbin yeesh, i'm having a hell of a time here with a weird pillar oddity
16:08 mannyt joined #salt
16:09 EWDurbin https://github.com/python/pypi-salt/blob/master/provisioning/salt/roots/salt/monitoring/server/graphite-web.sls#L10
16:10 EWDurbin https://github.com/python/pypi-salt/blob/master/provisioning/salt/roots/pillar/monitoring/server/init.sls#L1
16:10 EWDurbin https://github.com/python/pypi-salt/blob/master/provisioning/salt/roots/pillar/secrets/monitoring.sls
16:10 EWDurbin works great in Vagrant, but the calls at https://github.com/python/pypi-salt/blob/master/provisioning/salt/roots/pillar/monitoring/server/init.sls#L32 and a line below fail in prod :-/
16:11 EWDurbin calling salt-call pillar.get monitoring_secrets gets me what i expect to see in prod
16:11 EWDurbin but it just renders the defaults on the salt run
16:12 mgw joined #salt
16:13 sroegner___ joined #salt
16:13 intchanter joined #salt
16:14 EWDurbin works great in Vagrant (puzzled)
16:15 bhosmer_ joined #salt
16:15 oz_akan_ joined #salt
16:16 dstanek joined #salt
16:17 dstanek does pillar data get cached somewhere - i'm changing some of the values, but they don't seem to change on the nodes
16:17 EWDurbin dstanek, oh snap i think that's my issue too
16:17 EWDurbin try restarting the minion?
16:18 dstanek hey EWDurbin
16:18 dstanek EWDurbin: i'll give it a try
16:18 EWDurbin and the master... screw it
16:18 EWDurbin have you tried turning it on and off again ;)
16:20 dstanek EWDurbin: hmm..that worked!  do i really have to restart all the minions when pillar data changes
16:20 dstanek ?
16:20 EWDurbin dstanek: i'm not positive on the caching mechanisms
16:20 EWDurbin you can force a manual refresh via a module
16:20 sroegner___ joined #salt
16:23 davidfischer joined #salt
16:23 EWDurbin http://docs.saltstack.com/ref/runners/all/salt.runners.cache.html
16:24 EWDurbin http://salt.readthedocs.org/en/latest/topics/pillar/#refreshing-pillar-data
16:25 dstanek EWDurbin: have i told you recently that you're my hero?
16:25 EWDurbin lolz
16:26 EWDurbin hrmmmmmm, i'm still really confused on my pillar issue
16:26 EWDurbin the difference appears to be running from files (Vagrant) and running from a master
16:26 EWDurbin not sure if i can force the ordering that the pillar data is rendered
16:26 ajw0100 joined #salt
16:26 EWDurbin i need my secrets to render before my init.sls
16:28 diegows joined #salt
16:28 scott_w joined #salt
16:29 EWDurbin toooooo the docs
16:30 rojem joined #salt
16:31 rojem joined #salt
16:32 dstanek EWDurbin: i have not yet started to put my secrets in pillar - that's my next step
16:32 EWDurbin feels good
16:32 dstanek EWDurbin: is you pillar data just not showing up?
16:33 EWDurbin one sec, i think i got it
16:33 EWDurbin one pillar needs data out of another pillar
16:33 EWDurbin and i was doing it the dumb way
16:33 EWDurbin :-/
16:33 dstanek i didn't realize that you could do that
16:34 EWDurbin http://docs.saltstack.com/topics/pillar/#including-other-pillars
16:34 EWDurbin that's the /right/ way
16:34 EWDurbin i was doing something entirely dumb
16:41 bemehow joined #salt
16:59 bhosmer_ joined #salt
17:04 scott_w joined #salt
17:09 smccarthy joined #salt
17:09 redondos joined #salt
17:09 redondos joined #salt
17:10 bhosmer_ joined #salt
17:12 EWDurbin there's the fix for my stupid pillar idea https://github.com/python/pypi-salt/commit/fc44b31b57f38eae98ad799892d5676ada15fc94
17:16 rojem joined #salt
17:17 EWDurbin woot, with that model i think i'll feel comfortable extracting out all of the pillar/prod-pillar stuff so that i can share between prod/Vagrant
17:19 sgviking joined #salt
17:19 rojem joined #salt
17:21 bhosmer_ joined #salt
17:26 zandy joined #salt
17:36 sandGorgon joined #salt
17:37 Corey Good evening.
17:40 redondos joined #salt
17:45 davidfischer joined #salt
17:52 zandy joined #salt
17:56 dwyerj joined #salt
18:04 nmistry joined #salt
18:05 IAmNotARobot joined #salt
18:07 khaije|io joined #salt
18:10 khaije|io I'd like to create a bunch of symlinks (in /usr/local/bin ) to files in a program directory, is there a more terse way of doing this than (the regular YAML) shown in the docs at salt.states.file ?
18:12 khaije|io oh, maybe I should use a jinja template for loop...? I'll look that up but please let me know any other suggestions
18:12 bretep @all I'm working on encrypting yaml values in pillars so that I can store them in version control and salt will decrypt when needed. Both Puppet and Chef have this capability. I have a few ideas on implementation and thought I would bounce ideas off anyone interested. If you are contact me here or on Google hangouts bretep@gmail.com
18:12 bretep khaije|io: yeah, use a loop
18:12 bretep Do you have an example or do you need one?
18:13 rojem joined #salt
18:16 davidfischer joined #salt
18:17 oz_akan_ joined #salt
18:17 khaije|io bretep: if you have one handy, I'd put it to use, but otherwise I should be able to track it down
18:21 bretep khaije|io: Sure I have one handy
18:22 jcockhren bretep: I'd like to talk about that
18:22 zandy joined #salt
18:23 bretep jcockhren:
18:23 bretep jcockhren: Awesome, give me a sec
18:24 jcockhren bretep: wait wait. about to eat
18:24 bretep K
18:24 bretep Just ping me when you are ready
18:24 jcockhren ok
18:25 dwyerj joined #salt
18:28 bretep khaije|io: http://pastebin.com/dfRCKP86
18:28 bretep Does that example work for you?
18:33 khaije|io it does! thank you bretep thats mighty kind of you
18:34 bretep Fantastic! Good luck!
18:35 redondos joined #salt
18:38 matanya joined #salt
18:46 zandy joined #salt
18:57 lpmullig_ joined #salt
19:00 bhosmer_ joined #salt
19:15 patrek joined #salt
19:17 oz_akan_ joined #salt
19:22 minaguib joined #salt
19:23 mgw joined #salt
19:26 intchanter joined #salt
19:40 ddv left #salt
19:46 zandy joined #salt
19:46 roscius joined #salt
19:48 joelwhitehouse Has anyone installed wikimedia through salt states?
19:54 ajw0100 joined #salt
20:20 oz_akan_ joined #salt
20:45 roscius joined #salt
20:46 zandy joined #salt
20:48 bhosmer_ joined #salt
20:50 william_20111 joined #salt
20:56 zandy joined #salt
21:12 Teknix joined #salt
21:15 dwyerj joined #salt
21:21 oz_akan_ joined #salt
21:22 nmistry joined #salt
21:33 forrest_ joined #salt
21:33 forrest_ hey Corey are you around?
21:34 hhatfield joined #salt
21:34 drxzcl joined #salt
21:34 drxzcl dfsdf
21:34 drxzcl Hey guys.
21:34 forrest_ hey
21:35 drxzcl I have this weird thing where a specific state transition works fine if I issue it to a manually started -l debug minion, but hangs forever when using the service. Any hints?
21:36 forrest_ can you elaborate a bit more?
21:36 drxzcl Yeah, I have a state that requires a specific package to be installed. It comes from a custom PPA, but i'm not sure that matters.
21:37 drxzcl Anyway, if i remove the package, then issue highstate, it will install the package, but the job will never finish.
21:37 drxzcl OTOH, if i run the minion from the command line, it will finish and report installation correctly.
21:38 drxzcl So i was kinda wondering if there are any more troubleshooting options than running the minion from the commandline, since that obviously wont help here :P
21:38 bemehow joined #salt
21:38 forrest_ so when you run the highstate that doesn't finish, have you A. Set your master to be in debug mode for the logs, and B. Run the highstate with -l debug? Have you also confirmed the job is saying it isn't complete on the master?
21:39 drxzcl Ah,, the master in debug mode. For some reason I was fixating on the minion. Let me try.
21:39 forrest_ ok
21:40 forrest_ Damn I need to find the actual forrest now that he's logged in, and request he drop his friggin user
21:40 drxzcl And yeah, the job needs to be killed by hand.
21:40 drxzcl :P
21:41 forrest_ that's lame
21:46 zandy joined #salt
21:48 drxzcl Ok, i generated all the logs. What i'm seeing is that the minion keeps getting find_job requests from the master for the highstate job.
21:50 drxzcl At least, that's what I think I'm seeing :P
21:50 cachedout joined #salt
21:53 drxzcl If i run salt '*' saltutil.running the minion returns info on it, so I'm taking it the minion still think it's running.
21:54 forrest_ what does the master see the job ID status as?
21:55 forrest_ also, are there any processes running regarding the installation?
21:55 forrest_ the state JUST installs the package from your custom PPA right?
21:55 drxzcl I'm triggering the whole kaboodle, but the package install is the only state that needs corrective action.
21:56 forrest_ ok, so what happens if you run just that state from the master, as opposed to a highstate?
21:58 forrest_ I'd start by trying to run that state by itself to see what happens, if it still fails, I'd copy over the appropriate states to the minion, then try a salt-call --local state.sls 'state_name'
21:58 forrest_ from the minion
21:58 drxzcl I'm not sure how to check the status of the job id. The PID associated with the job is running (it's a python salt-minion). I'm not seeing any other processes (like apt etc).
21:58 forrest_ then we're eliminating the master.
21:59 drxzcl ok. let me try again with just the pkg state
21:59 forrest_ yea on the master with salt-run jobs.active you see it though right?
21:59 forrest_ drxzcl, on the minion look in /var/cache/salt/proc
21:59 forrest_ you should see the job in there.
22:01 drxzcl Yes, i see it with both salt-run jobs active and salt '*' saltutil.running
22:02 forrest_ ok
22:02 drxzcl i just killed it for the next test, proc is empty
22:04 forrest_ sounds good
22:05 drxzcl running just pkg.install now. I added -v so i can see the find_job job issues on the master
22:05 forrest_ cool
22:06 forrest_ does your pkg.install also require the apt repo gets added?
22:07 drxzcl I'm literally just running  ''salt -v 'f*' pkg.install shellinabox -l debug", so it shouldnt be touching my states at all, right?
22:08 drxzcl And yeah, same thing. No return.
22:08 drxzcl There's a file in proc
22:08 drxzcl So it looks like the minion is not done with it yet.
22:09 forrest_ Yea that's not touching the state at all, it just uses the module.
22:09 forrest_ are you getting any output from the logging?
22:09 forrest_ or does it kick you back to the console?
22:09 forrest_ as a note, how large is what you're installing?
22:10 drxzcl The master keeps going "Execution is still running on >hostname<" over and over again.
22:10 forrest_ ok that's good
22:10 forrest_ because that means it's communicating with the minion, basically what happens is you have a 5 second timeout set by default, so it waits 5 seconds, communicates with the minion, and if it doesn't get a response after that time, it trashes it.
22:10 drxzcl package is 500K, so not a monster.
22:11 forrest_ oh yea that should be quick..
22:11 drxzcl I think the minion is answeing those queries, because i keep seeing "[salt.minion      ][INFO    ] Returning information for job: 20131130221042911728"
22:11 forrest_ yea, that's it returning a status update to the master so it doesn't kick you back to the console on the master server
22:11 drxzcl That's not the original job id, that's the job id of the status q  right?
22:12 forrest_ can you hook onto the process?
22:12 drxzcl Like with a debugger?
22:12 forrest_ It should only spawn one job ID like that
22:12 forrest_ yea with strace -p <process_id>
22:12 drxzcl yeah sec
22:12 forrest_ because the apt process is running right?
22:12 forrest_ hook onto that and see wtf is going on
22:13 hhatfield joined #salt
22:14 drxzcl restart_syscall(<... resumign interrupted call ...>
22:14 drxzcl Not sure what that means
22:15 forrest_ is it just doing that over and over?
22:16 drxzcl Nope, just one time.
22:16 forrest_ and now apt isn't doing anything else, but the package isn't installed?
22:16 drxzcl AFAICT the package is installed and apt is done.
22:16 drxzcl This is the salt minion PID (python)
22:16 forrest_ oh ok
22:16 forrest_ so the apt process did finish
22:17 forrest_ and you don't see it any longer
22:17 drxzcl Exactly. No more apt.
22:17 forrest_ what release of salt/your distro are you on (I assume Debian/Ubuntu, but which release)?
22:17 drxzcl package is installed.
22:17 drxzcl Ubuntu precise (12.04).
22:18 drxzcl salt comes from the ppa, I installed it yesterday on this particular minion.
22:18 forrest_ can you do salt-call --version?
22:18 drxzcl 0.17.2
22:18 forrest_ what version is the master?
22:19 forrest_ should be able to get it with just salt --version
22:19 drxzcl master is 0.17.2 too
22:19 oz_akan_ joined #salt
22:20 forrest_ hmm
22:20 drxzcl If i install python gdb extensions i might be able to get a call stack out of the process.
22:20 forrest_ that's a good idea
22:20 forrest_ clearly something isn't happening between salt and apt that should be, it's as though it isn't being triggered/
22:23 drxzcl It's stuck in poll() (libc), but I can't get the python frames decoded properly
22:24 forrest_ Ok, at this point we're beyond my level of troubleshooting, especially since it's apt I don't know how the interactions are done there versus the RPM stuff. Can you make a post on the mailing list detailing this stuff? Maybe we can get a better answer there.
22:24 drxzcl Yeah, i'll do that. For completeness' sake, can you tell me how to issue the commans using salt-call on the minion? Then we dont have to consider the master at all.
22:24 forrest_ This is the first time I've seen an issue like this where it just hangs the process. I don't know if it's because of a custom PPA or what.
22:25 forrest_ yea of course, so the commands are basically identical, just salt-call --local <your command here>
22:25 drxzcl It also did it when i was distributing the deb over salt:// but i figured that was a bad idea anyway so i switched to a ppa :P
22:25 forrest_ if you're trying with the states and not the module, you'd have to move the content.
22:25 forrest_ That's good to note though, that it failed both ways.
22:26 lpmulligan joined #salt
22:29 drxzcl GAH! salt-call --local just installs the package and returns :P
22:29 forrest_ when you use the module, or when you use your states?
22:29 drxzcl module.
22:29 drxzcl But remotely, the module failed.
22:29 forrest_ Yea
22:29 forrest_ can you try to states as well just to eliminate everything?
22:30 forrest_ /to/the/
22:30 drxzcl just copy over the /srv/salt dir?
22:31 forrest_ yea as long as you aren't pulling any pillar data in that should be fine
22:31 drxzcl I am, but not in that particular sls
22:31 forrest_ we're basically just making a masterless minion :P
22:31 drxzcl And then just salt-call --local blah.sls?
22:31 forrest_ ok yea, then if you use state.sls instead of state.highstate it should be fine
22:31 forrest_ salt-call --local state.sls blah
22:36 bhosmer_ joined #salt
22:37 scott_w joined #salt
22:39 honestly joined #salt
22:40 nmistry joined #salt
22:41 drxzcl That works too.
22:42 drxzcl grrr
22:42 forrest_ at least it narrows down the issue
22:44 dwyerj joined #salt
22:44 drxzcl Thanks bunches, I'm off to write an email to the list :P
22:44 forrest_ yea np, I wish I had a solution
22:44 drxzcl At least now I know a lot more about the system and logfiles and stuff :D
22:45 drxzcl ... and I'm not completely crazy.
22:45 forrest_ hah
22:46 zandy joined #salt
22:47 dstanek joined #salt
22:50 AdamSewell joined #salt
22:50 harobed_ joined #salt
22:54 dwyerj joined #salt
23:02 mannyt joined #salt
23:04 isomorphic joined #salt
23:10 AdamSewell joined #salt
23:20 oz_akan_ joined #salt
23:23 AdamSewell If I have a file that is managed, how can I ensure that it's executable? through the mode?
23:24 dstanek joined #salt
23:26 forrest_ yea exactly AdamSewell
23:28 dstanek_afk joined #salt
23:28 AdamSewell thanks
23:28 forrest_ np, you already knew the answer.
23:28 AdamSewell forrest_just making sure :)
23:29 forrest_ gotcha
23:29 luketheduke joined #salt
23:33 ajw0100 joined #salt
23:40 lpmulligan joined #salt
23:46 zandy joined #salt
23:52 nmistry joined #salt
23:57 jbub joined #salt
23:58 Chrisje joined #salt
23:59 nmistry joined #salt
23:59 dwyerj joined #salt

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